Scalable Verification of Quantized Neural Networks

被引:0
|
作者
Henzinger, Thomas A. [1 ]
Lechner, Mathias [1 ]
Zikelic, Dorde [1 ]
机构
[1] IST Austria, Klosterneuburg, Austria
基金
奥地利科学基金会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Formal verification of neural networks is an active topic of research, and recent advances have significantly increased the size of the networks that verification tools can handle. However, most methods are designed for verification of an idealized model of the actual network which works over real arithmetic and ignores rounding imprecisions. This idealization is in stark contrast to network quantization, which is a technique that trades numerical precision for computational efficiency and is, therefore, often applied in practice. Neglecting rounding errors of such low-bit quantized neural networks has been shown to lead to wrong conclusions about the network's correctness. Thus, the desired approach for verifying quantized neural networks would be one that takes these rounding errors into account. In this paper, we show that verifying the bitexact implementation of quantized neural networks with bitvector specifications is PSPACE-hard, even though verifying idealized real-valued networks and satisfiability of bit-vector specifications alone are each in NP. Furthermore, we explore several practical heuristics toward closing the complexity gap between idealized and bit-exact verification. In particular, we propose three techniques for making SMT-based verification of quantized neural networks more scalable. Our experiments demonstrate that our proposed methods allow a speedup of up to three orders of magnitude over existing approaches.
引用
收藏
页码:3787 / 3795
页数:9
相关论文
共 50 条
  • [1] Formal verification for quantized neural networks
    Kovasznai, Gergely
    Kiss, Dorina Hedvig
    Mlinko, Peter
    [J]. ANNALES MATHEMATICAE ET INFORMATICAE, 2023, 57 : 36 - 48
  • [2] Formal verification for quantized neural networks
    Kovasznai, Gergely
    Kiss, Dorina Hedvig
    Mlinko, Peter
    [J]. ANNALES MATHEMATICAE ET INFORMATICAE, 2023, 57 : 36 - 48
  • [3] 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
  • [4] Scalable Quantitative Verification For Deep Neural Networks
    Baluta, Teodora
    Chua, Zheng Leong
    Meel, Kuldeep S.
    Saxena, Prateek
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 248 - 249
  • [5] Scalable Quantitative Verification For Deep Neural Networks
    Baluta, Teodora
    Chua, Zlieng Leong
    Meel, Kuldeep S.
    Saxena, Prateek
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 312 - 323
  • [6] Scalable Polyhedral Verification of Recurrent Neural Networks
    Ryou, Wonryong
    Chen, Jiayu
    Balunovic, Mislav
    Singh, Gagandeep
    Dan, Andrei
    Vechev, Martin
    [J]. COMPUTER AIDED VERIFICATION (CAV 2021), PT I, 2021, 12759 : 225 - 248
  • [7] An MILP Encoding for Efficient Verification of Quantized Deep Neural Networks
    Mistry, Samvid
    Saha, Indranil
    Biswas, Swarnendu
    [J]. IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2022, 41 (11) : 4445 - 4456
  • [8] 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)
  • [9] 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
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [10] DeepSplit: Scalable Verification of Deep Neural Networks via Operator Splitting
    Chen, Shaoru
    Wong, Eric
    Kolter, J. Zico
    Fazlyab, Mahyar
    [J]. IEEE Open Journal of Control Systems, 2022, 1 : 126 - 140