QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deep learning has become a promising programming paradigm in software development, owing to its surprising performance in solving many challenging tasks. Deep neural networks (DNNs) are increasingly being deployed in practice, but are limited on resource-constrained devices owing to their demand for computational power. Quantization has emerged as a promising technique to reduce the size of DNNs with comparable accuracy as their floating-point numbered counterparts. The resulting quantized neural networks (QNNs) can be implemented energy-efficiently. Similar to their floating-point numbered counterparts, quality assurance techniques for QNNs, such as testing and formal verification, are essential but are currently less explored. In this work, we propose a novel and efficient formal verification approach for QNNs. In particular, we are the first to propose an encoding that reduces the verification problem of QNNs into the solving of integer linear constraints, which can be solved using off-the-shelf solvers. Our encoding is both sound and complete. We demonstrate the application of our approach on local robustness verification and maximum robustness radius computation. We implement our approach in a prototype tool QVIP and conduct a thorough evaluation. Experimental results on QNNs with different quantization bits confirm the effectiveness and efficiency of our approach, e.g., two orders of magnitude faster and able to solve more verification tasks in the same time limit than the state-of-the-art methods.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 50 of its 89 references that are in the map. First posted on arXiv 10 Dec 2022.
Builds on
50 of 89 references.
References · 50
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,114
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2016Adversarial examples in the physical worldcited by 1,762
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
38 more
- 2016Safety Verification of Deep Neural Networkscited by 262
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
- 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 241
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2018Formal Security Analysis of Neural Networks using Symbolic Intervalscited by 185
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
- 2017Maximum Resilience of Artificial Neural Networkscited by 97
- 2017Verifying Properties of Binarized Deep Neural Networkscited by 77
- 2020Verification of Deep Convolutional Neural Networks Using ImageStarscited by 75
- 2019An Abstraction-Based Framework for Neural Network Verificationcited by 68
- 2018TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzingcited by 67
- 2019Who is Real Bob? Adversarial Attacks on Speaker Recognition Systemscited by 66
- 2019Quantitative Verification of Neural Networks And its Security Applicationscited by 56
- 2018A Statistical Approach to Assessing Neural Network Robustnesscited by 54
- 2018Concolic Testing for Deep Neural Networkscited by 51
- 2020An SMT-Based Approach for Verifying Binarized Neural Networkscited by 47
- 2019Optimization and Abstraction: A Synergistic Approach for Analyzing Neural Network Robustnesscited by 40
- 2020Efficient Exact Verification of Binarized Neural Networkscited by 33
- 2020Scalable Quantitative Verification For Deep Neural Networkscited by 31
- 2020DeepAbstract: Neural Network Abstraction for Accelerating Verificationcited by 31
- 2017Output Range Analysis for Deep Neural Networkscited by 30
- 2020Improving Neural Network Verification through Spurious Region Guided Refinementcited by 30
- 2020ReluDiff: Differential Verification of Deep Neural Networkscited by 29
- 2019Analyzing Deep Neural Networks with Symbolic Propagation: Towards Higher Precision and Faster Verificationcited by 28
- 2020Scalable Verification of Quantized Neural Networks (Technical Report)cited by 28
- 2022An Abstraction-Refinement Approach to Verifying Convolutional Neural Networkscited by 24
- 2020NeuroDiff: Scalable Differential Verification of Neural Networks using Fine-Grained Approximationcited by 22
- 2022Towards Understanding and Mitigating Audio Adversarial Examples for Speaker Recognitioncited by 22
- 2021BDD4BNN: A BDD-based Quantitative Analysis Framework for Binarized Neural Networkscited by 17
- 2020Advanced Evasion Attacks and Mitigations on Practical ML-Based Phishing Website Classifierscited by 16
- 2018To compress or not to compress: Understanding the Interactions between Adversarial Attacks and Neural Network Compressioncited by 14
- 2019Taking Care of The Discretization Problem: A Comprehensive Study of the Discretization Problem and A Black-Box Adversarial Attack in Discrete Integer Domaincited by 14
- 2021Attack as Defense: Characterizing Adversarial Examples using Robustnesscited by 14
- 2020DiffRNN: Differential Verification of Recurrent Neural Networkscited by 12
- 2021Towards Practical Robustness Analysis for DNNs based on PAC-Model Learningcited by 12
- 2022Abstraction and Refinement: Towards Scalable and Exact Verification of Neural Networkscited by 11
- 2022AS2T: Arbitrary Source-To-Target Adversarial Attack on Speaker Recognition Systemscited by 10
- 2021SEC4SR: A Security Analysis Platform for Speaker Recognitioncited by 3
Built on by
Citing papers per year: 2023: 3; 2024: 3; 2025: 4; 2026: 2.
12 papers.
- 2023Logic for Explainable AIcited by 23
- 2024A Survey of Neural Network Robustness Assessment in Image Recognitioncited by 2
- 2025Verifying Quantized Graph Neural Networks is PSPACE-completecited by 2
- 2025Verification of Bit-Flip Attacks against Quantized Neural Networkscited by 2
- 2024Training Verification-Friendly Neural Networks via Neuron Behavior Consistencycited by 1
- 2025Bridging Efficiency and Safety: Formal Verification of Neural Networks with Early Exitscited by 1
- 2023QNNRepair: Quantized Neural Network Repaircited by 0
- 2023An Automata-Theoretic Approach to Synthesizing Binarized Neural Networkscited by 0
- 2024Efficient DNN-Powered Software with Fair Sparse Modelscited by 0
- 2025Of Good Demons and Bad Angels: Guaranteeing Safe Control under Finite Precisioncited by 0
- 2026Exact and Asymptotically Complete Robust Verifications of Neural Networks via Ising Solverscited by 0
- 2026SoK: Formal Methods for Fact-Checking and Information Integritycited by 0
- 2026SoK: Formal Methods for Fact-Checking and Information Integrity19 Sep 2026
- 2026Exact and Asymptotically Complete Robust Verifications of Neural Networks via Ising Solvers28 Feb 2026
- 2025Bridging Efficiency and Safety: Formal Verification of Neural Networks with Early Exits23 Dec 2025
- 2025Of Good Demons and Bad Angels: Guaranteeing Safe Control under Finite Precision30 Jul 2025
- 2025Verification of Bit-Flip Attacks against Quantized Neural Networks22 Feb 2025
- 2025Verifying Quantized Graph Neural Networks is PSPACE-complete22 Feb 2025
- 2024Training Verification-Friendly Neural Networks via Neuron Behavior Consistency17 Dec 2024
- 2024Efficient DNN-Powered Software with Fair Sparse Models3 Jul 2024
- 2024A Survey of Neural Network Robustness Assessment in Image Recognition12 Apr 2024
- 2023An Automata-Theoretic Approach to Synthesizing Binarized Neural Networks29 Jul 2023
- 2023QNNRepair: Quantized Neural Network Repair23 Jun 2023
- 2023Logic for Explainable AI9 May 2023