Efficient verification of neural networks based on neuron branching and LP abstraction

被引:0
|
作者
Zhao, Liang [1 ]
Duan, Xinmin [1 ]
Yang, Chenglong [1 ]
Liu, Yuehao [1 ]
Dong, Yansong [2 ]
Wang, Xiaobing [1 ]
Wang, Wensheng [1 ]
机构
[1] Xidian Univ, Sch Comp Sci & Technol, Xian 710126, Peoples R China
[2] Beijing Sunwise Informat Technol Ltd, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
Neural network; Formal verification; Branch and bound; Model abstraction; Linear programming;
D O I
10.1016/j.neucom.2024.127936
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
With the rapid development and wide application of neural networks in various domains including safetycritical systems, it is more and more important to investigate formal methods to provide strict guarantees on their behavior. As formal verification of a neural network has high computational complexity, caused by the nonlinear nature of activation functions such as ReLU, it is vital to improve the efficiency to solve verification problems. In this work, we propose a complete verification method for neural networks by means of neuron branching and linear programming (LP) abstraction. Specifically, the approach of branch and bound is adopted and a branching strategy is developed to divide a complex verification problem into sub-problems with smaller search space. And for each sub-problem, a part of ReLU neurons are abstracted with LP constraints and the others are accurately encoded with mixed integer linear programming (MILP) constraints, and an abstraction strategy is deployed to guide such mixed LP/MILP encoding so that the problem can be solved with reduced complexity. The method is implemented as a tool named BAVerify (Branching and Abstraction based Verification of neural networks), which is evaluated through experiments on benchmark network models and their verification problems. Experimental results show that BAVerify achieves a 43.13% advantage in verification efficiency compared with state -of -the -art complete methods for formal verification of neural networks.
引用
收藏
页数:13
相关论文
共 50 条
  • [1] A Sound Abstraction Method Towards Efficient Neural Networks Verification
    Boudardara, Fateh
    Boussif, Abderraouf
    Ghazel, Mohamed
    [J]. VERIFICATION AND EVALUATION OF COMPUTER AND COMMUNICATION SYSTEMS, VECOS 2023, 2024, 14368 : 76 - 89
  • [2] Neuron Dependency Graphs: A Causal Abstraction of Neural Networks
    Hu, Yaojie
    Tian, Jin
    [J]. INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [3] Neuron importance based verification of neural networks via divide and conquer
    Dong, Yansong
    Liu, Yuehao
    Zhao, Liang
    Tian, Cong
    Duan, Zhenhua
    [J]. NEUROCOMPUTING, 2024, 565
  • [4] nnenum: Verification of ReLU Neural Networks with Optimized Abstraction Refinement
    Bak, Stanley
    [J]. NASA FORMAL METHODS (NFM 2021), 2021, 12673 : 19 - 36
  • [5] An Abstraction-Refinement Approach to Verification of Artificial Neural Networks
    Pulina, Luca
    Tacchella, Armando
    [J]. COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2010, 6174 : 243 - 257
  • [6] Abstraction and Refinement: Towards Scalable and Exact Verification of Neural Networks
    Liu, Jiaxiang
    Xing, Yunhan
    Shi, Xiaomu
    Song, Fu
    Xu, Zhiwu
    Ming, Zhong
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (05)
  • [7] Efficient Neuron Architecture for FPGA-based Spiking Neural Networks
    Wan, Lei
    Luo, Yuling
    Song, Shuxiang
    Harkin, Jim
    Liu, Junxiu
    [J]. 2016 27TH IRISH SIGNALS AND SYSTEMS CONFERENCE (ISSC), 2016,
  • [8] An Abstraction-Based Framework for Neural Network Verification
    Elboher, Yizhak Yisrael
    Gottschlich, Justin
    Katz, Guy
    [J]. COMPUTER AIDED VERIFICATION (CAV 2020), PT I, 2020, 12224 : 43 - 65
  • [9] Efficient Verification of Neural Networks against LVM-based Specifications
    Hanspal, Harleen
    Lomuscio, Alessi
    [J]. 2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR, 2023, : 3894 - 3903
  • [10] Towards Efficient Verification of Quantized Neural Networks
    Huang, Pei
    Wu, Haoze
    Yang, Yuting
    Daukantas, Ieva
    Wu, Min
    Zhang, Yedi
    Barrett, Clark
    [J]. THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 19, 2024, : 21152 - 21160