Abstraction and Refinement: Towards Scalable and Exact Verification of Neural Networks

被引:1
作者
Liu, Jiaxiang [1 ]
Xing, Yunhan [1 ]
Shi, Xiaomu [2 ]
Song, Fu
Xu, Zhiwu [1 ]
Ming, Zhong [3 ,4 ]
机构
[1] Shenzhen Univ, Shenzhen 518060, Peoples R China
[2] Chinese Acad Sci, State Key Lab Comp Sci, Inst Software, Beijing 100190, Peoples R China
[3] Shenzhen Univ, Shenzhen 518060, Peoples R China
[4] Shenzhen Technol Univ, Shenzhen 518060, Peoples R China
基金
中国国家自然科学基金;
关键词
Neural networks; abstraction; refinement; CEGAR; formal verification; robustness;
D O I
10.1145/3644387
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As a new programming paradigm, deep neural networks (DNNs) have been increasingly deployed in practice, but the lack of robustness hinders their applications in safety-critical domains. While there are techniques for verifying DNNs with formal guarantees, they are limited in scalability and accuracy. In this article, we present a novel counterexample-guided abstraction refinement (CEGAR) approach for scalable and exact verification of DNNs. Specifically, we propose a novel abstraction to break down the size of DNNs by over-approximation. The result of verifying the abstract DNN is conclusive if no spurious counterexample is reported. To eliminate each spurious counterexample introduced by abstraction, we propose a novel counterexample-guided refinement that refines the abstract DNN to exclude the spurious counterexample while still over-approximating the original one, leading to a sound, complete yet efficient CEGAR approach. Our approach is orthogonal to and can be integrated with many existing verification techniques. For demonstration, we implement our approach using two promising tools, MARABOU and PLANET, as the underlying verification engines, and evaluate on widely used benchmarks for three datasets ACAS Xu, MNIST, and CIFAR-10. The results show that our approach can boost their performance by solving more problems in the same time limit, reducing on average 13.4%-86.3% verification time of Marabou on almost all the verification tasks, and reducing on average 8.3%-78.0% verification time of Planet on all the verification tasks. Compared to the most relevant CEGAR-based approach, our approach is 11.6-26.6 times faster.
引用
收藏
页数:35
相关论文
共 56 条
  • [1] [Anonymous], 1990, Handbook of Theoretical Computer Science
  • [2] DeepAbstract: Neural Network Abstraction for Accelerating Verification
    Ashok, Pranav
    Hashemi, Vahid
    Kretinsky, Jan
    Mohr, Stefanie
    [J]. AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2020), 2020, 12302 : 92 - 107
  • [3] Bak S, 2021, Arxiv, DOI arXiv:2109.00498
  • [4] Bunel R, 2018, Arxiv, DOI arXiv:1711.00455
  • [5] Towards Evaluating the Robustness of Neural Networks
    Carlini, Nicholas
    Wagner, David
    [J]. 2017 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2017, : 39 - 57
  • [6] Clarke EdmundM., 2000, P INT C COMPUTER AID, P154, DOI DOI 10.1007/1072216715
  • [7] Cousot P., 1977, 4 ACM S PRINCIPLES P, P238, DOI [DOI 10.1145/512950.512973, 10.1145/512950.512973]
  • [8] Cousot Patrick, 1978, P C REC 5 ANN ACM S, P84, DOI [DOI 10.1145/512760.512770, 10.1145/512760.512770]
  • [9] Dalvi Nilesh, 2004, Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining, P99
  • [10] Output Range Analysis for Deep Feedforward Neural Networks
    Dutta, Souradeep
    Jha, Susmit
    Sanakaranarayanan, Sriram
    Tiwari, Ashish
    [J]. NASA FORMAL METHODS, NFM 2018, 2018, 10811 : 121 - 138