QEBVerif: Quantization Error Bound Verification of Neural Networks
Yedi Zhang, Fu Song, Jun Sun
Abstract
To alleviate the practical constraints for deploying deep neural networks (DNNs) on edge devices, quantization is widely regarded as one promising technique. It reduces the resource requirements for computational power and storage space by quantizing the weights and/or activation tensors of a DNN into lower bit-width fixed-point numbers, resulting in quantized neural networks (QNNs). While it has been empirically shown to introduce minor accuracy loss, critical verified properties of a DNN might become invalid once quantized. Existing verification methods focus on either individual neural networks (DNNs or QNNs) or quantization error bound for partial quantization. In this work, we propose a quantization error bound verification method, named QEB-Verif, where both weights and activation tensors are quantized. QEBVerif consists of two parts, i.e., a differential reachability analysis (DRA) and a mixed-integer linear programming (MILP) based verification method. DRA performs difference analysis between the DNN and its quantized counterpart layer-by-layer to compute a tight quantization error interval efficiently. If DRA fails to prove the error bound, then we encode the verification problem into an equivalent MILP problem which can be solved by off-the-shelf solvers. Thus, QEBVerif is sound, complete, and reasonably efficient. We implement QEBVerif and conduct extensive experiments, showing its effectiveness and efficiency.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Training Verification-Friendly Neural Networks via Neuron Behavior Consistency cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation cites Towards Evaluating the Robustness of Neural Networks
- Certified Quantization Strategy Synthesis for Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- Certified Quantization Strategy Synthesis for Neural Networks cites Up or Down? Adaptive Rounding for Post-Training Quantization
- Formal Security Analysis of Neural Networks using Symbolic Intervals cites Towards Evaluating the Robustness of Neural Networks
- Formal Security Analysis of Neural Networks using Symbolic Intervals cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- Verification of Bit-Flip Attacks against Quantized Neural Networks cites Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- Verification of Bit-Flip Attacks against Quantized Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- Verification of Bit-Flip Attacks against Quantized Neural Networks cites Certified Quantization Strategy Synthesis for Neural Networks
- Verification of Bit-Flip Attacks against Quantized Neural Networks cites Formal Security Analysis of Neural Networks using Symbolic Intervals
Cited by top-tier papers3
- Certified Quantization Strategy Synthesis for Neural NetworksYedi Zhang, Guangke Chen, Fu Song, Jun Sun et al.FM 2024 · 4 citations
- Verification of Bit-Flip Attacks against Quantized Neural NetworksYedi Zhang, Lei Huang, Pengfei Gao, Fu Song et al.OOPSLA 2025 · 4 citations
- Training Verification-Friendly Neural Networks via Neuron Behavior ConsistencyZongxin Liu, Zhe Zhao, Fu Song, Jun Sun et al.AAAI 2025 · 1 citation
Builds on15
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- AI2: Safety and Robustness Certification of Neural Networks with Abstract InterpretationTimon Gehr, Matthew Mirman, Dana Drachsler-Cohen, Petar Tsankov et al.S&P 2018 · 987 citations
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
- Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural NetworksRuihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li et al.ICCV 2019 · 540 citations
- Formal Security Analysis of Neural Networks using Symbolic IntervalsShiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang et al.USENIX Security 2018 · 523 citations
Related papers
- QVIP: An ILP-based Formal Verification Approach for Quantized Neural NetworksYedi Zhang, Zhe Zhao, Guangke Chen, Fu Song et al.ASE 2022 · 21 citations
- Latency-Constrained Input-Aware Quantization of Time Series Inference Workflows at the EdgeAshitabh Misra, Nurani Saoda, Tarek F. AbdelzaherINFOCOM 2025 · 1 citation
- Towards Certificated Model Robustness Against Weight PerturbationsTsui-Wei Weng, Pu Zhao, Sijia Liu, Pin-Yu Chen et al.AAAI 2020 · 33 citations
- Quantization with Guaranteed Floating-Point Neural Network ClassificationsAnan Kabaha, Dana Drachsler-CohenOOPSLA 2025 · 1 citation
- Towards Accurate Low Bit-Width Quantization with Multiple Phase AdaptationsZhaoyi Yan, Yemin Shi, Yaowei Wang, Mingkui Tan et al.AAAI 2020 · 2 citations
