Verifying and Improving Neural Networks Using Testing-Based Formal Verification

被引:0
|
作者
Liu, Haiyi [1 ]
Liu, Shaoying [1 ]
Liu, Ai [1 ]
Fang, Dingbang [1 ]
Xu, Guangquan [2 ]
机构
[1] Hiroshima Univ, Grad Sch Adv Sci & Engn, Hiroshima 7398511, Japan
[2] Tianjin Univ, Coll Intelligence & Comp, Sch Cybersecur, Tianjin 300072, Peoples R China
关键词
Neural network; Formal verification; Software test;
D O I
10.1007/978-3-031-29476-1_11
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Neural networks have been widely used in safety-critical systems, but those safety-critical systems containing neural networks still have security risks due to the existence of adversarial examples. The security of neural networks can be ensured to some extent by verifying them. However, since the verification of neural networks is a NP-hard problem, it is still impossible to apply the verification algorithm to large-scale neural networks. For this reason, we propose TBFV-INN, a new framework for verification and improving neural networks. First, we propose a testing-based neural network pruning algorithm, which obtains the execution path of each test case in the neural network by executing them. Secondly, test-based neural network pruning divides the original neural network into several sub neural networks. Finally, for divided sub neural network, a verification algorithm is used to verify and construct the data set to retrain the neural network, thus ensuring that each sub neural network is reliable in a particular input-output interval. We show a case study to demonstrate the feasibility of the framework.
引用
收藏
页码:126 / 141
页数:16
相关论文
共 50 条
  • [1] NNTBFV: Simplifying and Verifying Neural Networks Using Testing-Based Formal Verification
    Liu, Haiyi
    Liu, Shaoying
    Xu, Guangquan
    Liu, Ai
    Fang, Dingbang
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (02) : 273 - 300
  • [2] Testing-Based Formal Verification for Theorems and Its Application in Software Specification Verification
    Liu, Shaoying
    [J]. TESTS AND PROOFS, TAP 2016, 2016, 9762 : 112 - 129
  • [3] A Fault Localization Approach Derived From Testing-based Formal Verification
    Wang, Rong
    Liu, Shaoying
    Sato, Yuji
    [J]. 2020 25TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS 2020), 2020, : 165 - 170
  • [4] TBFV-SE: Testing-Based Formal Verification with Symbolic Execution
    Wang, Rong
    Liu, Shaoying
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2018), 2018, : 59 - 66
  • [5] Testing-Based Formal Verification for Alogrithmic Function Theorems and Its Application to Software Verification and Validation
    Liu, Shaoying
    [J]. 2016 INTERNATIONAL SYMPOSIUM ON SYSTEM AND SOFTWARE RELIABILITY (ISSSR), 2016, : 1 - 6
  • [6] Enhancing the Capability of Testing-Based Formal Verification by Handling Operations in Software Packages
    Liu, Ai
    Liu, Shaoying
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) : 304 - 324
  • [7] Branch Sequence Coverage Criterion for Testing-Based Formal Verification with Symbolic Execution
    Wang, Rong
    Liu, Shaoying
    [J]. 2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 205 - 212
  • [8] Validating Formal Specifications using Testing-Based Specification Animation
    Liu, Shaoying
    [J]. 2016 IEEE/ACM 4TH FME WORKSHOP ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE), 2016, : 29 - 35
  • [9] Simplifying Neural Networks Using Formal Verification
    Gokulanathan, Sumathi
    Feldsher, Alexander
    Malca, Adi
    Barrett, Clark
    Katz, Guy
    [J]. NASA FORMAL METHODS (NFM 2020), 2020, 12229 : 85 - 93
  • [10] Formal verification for quantized neural networks
    Kovasznai, Gergely
    Kiss, Dorina Hedvig
    Mlinko, Peter
    [J]. ANNALES MATHEMATICAE ET INFORMATICAE, 2023, 57 : 36 - 48