NNTBFV: Simplifying and Verifying Neural Networks Using Testing-Based Formal Verification

被引:1
|
作者
Liu, Haiyi [1 ]
Liu, Shaoying [1 ]
Xu, Guangquan [2 ]
Liu, Ai [1 ]
Fang, Dingbang [1 ]
机构
[1] Hiroshima Univ, Grad Sch Adv Sci & Engn, Hiroshima 7398527, Japan
[2] Tianjin Univ, Coll Intelligence & Comp, Sch Cybersecur, Tianjin 300072, Peoples R China
关键词
Neural network simplification; formal verification; neural network reliability;
D O I
10.1142/S0218194023500523
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Neural networks are extensively employed in safety-critical systems. However, these critical systems incorporating neural networks continue to pose risks due to the presence of adversarial examples. Although the security of neural networks can be enhanced by verification, verifying neural networks is an NP-hard problem, making the application of verification algorithms to large-scale neural networks a challenging task. For this reason, we propose NNTBFV, a framework that utilizes the principles of Testing-Based Formal Verification (TBFV) to simplify neural networks and verify the simplified networks. Unlike conventional neural network pruning techniques, this approach is based on specifications, with the goal of deriving approximate execution paths under given preconditions. To mitigate the potential issue of unverifiable conditions due to overly broad preconditions, we also propose a precondition partition method. Empirical evidence shows that as the range of preconditions narrows, the size of the execution paths also reduces accordingly. The execution path generated by NNTBFV is still a neural network, so it can be verified by verification tools. In response to the results from the verification tool, we provide a theoretical method for analysis.We evaluate the effectiveness of NNTBFV on the ACAS Xu model project, choosing Verification-based and Random-based neural network simplification algorithms as the baselines for NNTBFV. Experiment results show that NNTBFV can effectively approximate the baseline in terms of simplification capability, and it surpasses the efficiency of the random-based method.
引用
收藏
页码:273 / 300
页数:28
相关论文
共 32 条
  • [1] Verifying and Improving Neural Networks Using Testing-Based Formal Verification
    Liu, Haiyi
    Liu, Shaoying
    Liu, Ai
    Fang, Dingbang
    Xu, Guangquan
    STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD, SOFL+MSVL 2022, 2023, 13854 : 126 - 141
  • [2] Enhancing the Capability of Testing-Based Formal Verification by Handling Operations in Software Packages
    Liu, Ai
    Liu, Shaoying
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) : 304 - 324
  • [3] Formal verification for quantized neural networks
    Kovasznai, Gergely
    Kiss, Dorina Hedvig
    Mlinko, Peter
    ANNALES MATHEMATICAE ET INFORMATICAE, 2023, 57 : 36 - 48
  • [4] Formal verification for quantized neural networks
    Kovasznai, Gergely
    Kiss, Dorina Hedvig
    Mlinko, Peter
    ANNALES MATHEMATICAE ET INFORMATICAE, 2023, 57 : 36 - 48
  • [5] Towards Formal Verification of Neural Networks: A Temporal Logic Based Framework
    Wang, Xiaobing
    Yang, Kun
    Wang, Yanmei
    Zhao, Liang
    Shu, Xinfeng
    STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD (SOFL+MSVL 2019), 2020, 12028 : 73 - 87
  • [6] Verifying cache architecture vulnerabilities using a formal security verification flow
    Ghasempouri, Tara
    Raik, Jaan
    Paul, Kolin
    Reinbrecht, Cezar
    Hamdioui, Said
    Mottaqiallah
    MICROELECTRONICS RELIABILITY, 2021, 119
  • [7] Neural Networks Verification: Perspectives from Formal Method
    Maity, Priyanka
    PROCEEDINGS OF THE 17TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, ISEC 2024, 2024,
  • [8] QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks
    Zhang, Yedi
    Zhao, Zhe
    Chen, Guangke
    Song, Fu
    Zhang, Min
    Chen, Taolue
    Sun, Jun
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [9] Mutation Testing based Evaluation of Formal Verification Tools
    Rao, A. Chakrapani
    Raouf, A.
    Dhadyalla, G.
    Pasupuleti, V.
    2017 FOURTH INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND THEIR APPLICATIONS (DSA 2017), 2017, : 1 - 7
  • [10] Neural networks in closed-loop systems: Verification using interval arithmetic and formal prover
    Rossi, Federico
    Bernardeschi, Cinzia
    Cococcioni, Marco
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 137