Verifying Quantized Neural Networks using SMT-Based Model Checking
Not on the map. Why?
Abstract (arXiv)
Artificial Neural Networks (ANNs) are being deployed for an increasing number of safety-critical applications, including autonomous cars and medical diagnosis. However, concerns about their reliability have been raised due to their black-box nature and apparent fragility to adversarial attacks. These concerns are amplified when ANNs are deployed on restricted system, which limit the precision of mathematical operations and thus introduce additional quantization errors. Here, we develop and evaluate a novel symbolic verification framework using software model checking (SMC) and satisfiability modulo theories (SMT) to check for vulnerabilities in ANNs. More specifically, we propose several ANN-related optimizations for SMC, including invariant inference via interval analysis, slicing, expression simplifications, and discretization of non-linear activation functions. With this verification framework, we can provide formal guarantees on the safe behavior of ANNs implemented both in floating- and fixed-point arithmetic. In this regard, our verification approach was able to verify and produce adversarial examples for 52 test cases spanning image classification and general machine learning applications. Furthermore, for small- to medium-sized ANN, our approach completes most of its verification runs in minutes. Moreover, in contrast to most state-of-the-art methods, our approach is not restricted to specific choices regarding activation functions and non-quantized representations. Our experiments show that our approach can analyze larger ANN implementations and substantially reduce the verification time compared to state-of-the-art techniques that use SMT solving.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 31 of its 101 references that are in the map. First posted on arXiv 10 Jun 2021.
Builds on
31 of 101 references.
References · 31
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,214
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2016Safety Verification of Deep Neural Networkscited by 262
- 2019Algorithms for Verifying Deep Neural Networkscited by 221
- 2018Formal Security Analysis of Neural Networks using Symbolic Intervalscited by 185
19 more
- 2018Efficient Formal Safety Analysis of Neural Networkscited by 165
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2015Compression of Deep Convolutional Neural Networks for Fast and Low Power Mobile Applicationscited by 161
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
- 2020NNV: The Neural Network Verification Tool for Deep Neural Networks and Learning-Enabled Cyber-Physical Systemscited by 128
- 2018A Dual Approach to Scalable Verification of Deep Networkscited by 125
- 2018LaVAN: Localized and Visible Adversarial Noisecited by 112
- 2019Safety Verification and Robustness Analysis of Neural Networks via Quadratic Constraints and Semidefinite Programmingcited by 100
- 2016Measuring Neural Net Robustness with Constraintscited by 90
- 2017Output Reachable Set Estimation and Verification for Multi-Layer Neural Networkscited by 79
- 2017Verifying Properties of Binarized Deep Neural Networkscited by 77
- 2018A Survey on Methods and Theories of Quantized Neural Networkscited by 75
- 2020An SMT-Based Approach for Verifying Binarized Neural Networkscited by 47
- 2020Exploiting Verified Neural Networks via Floating Point Numerical Errorcited by 35
- 2020Scalable Verification of Quantized Neural Networks (Technical Report)cited by 28
- 2019Verification of Neural Network Behaviour: Formal Guarantees for Power System Applicationscited by 26
- 2016Probabilistic Inference Modulo Theoriescited by 5
- 2019Incremental Bounded Model Checking of Artificial Neural Networks in CUDAcited by 3
- 2020An Efficient Floating-Point Bit-Blasting API for Verifying C Programscited by 1
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 2; 2024: 0; 2025: 1.
6 papers.
- 2021QNNVerifier: A Tool for Verifying Neural Networks using SMT-Based Model Checkingcited by 4
- 2022Chordal Sparsity for SDP-based Neural Network Verificationcited by 4
- 2022Quantization-aware Interval Bound Propagation for Training Certifiably Robust Quantized Neural Networkscited by 3
- 2023NeuroCodeBench: a plain C neural network benchmark for software verificationcited by 3
- 2023QNNRepair: Quantized Neural Network Repaircited by 0
- 2025Influence-Guided Concolic Testing of Transformer Robustnesscited by 0
- 2025Influence-Guided Concolic Testing of Transformer Robustness28 Sep 2025
- 2023NeuroCodeBench: a plain C neural network benchmark for software verification7 Sep 2023
- 2023QNNRepair: Quantized Neural Network Repair23 Jun 2023
- 2022Quantization-aware Interval Bound Propagation for Training Certifiably Robust Quantized Neural Networks29 Nov 2022
- 2022Chordal Sparsity for SDP-based Neural Network Verification7 Jun 2022
- 2021QNNVerifier: A Tool for Verifying Neural Networks using SMT-Based Model Checking25 Nov 2021