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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 48212e9e-8ba1-4382-93f3-bec9baf288deCited 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
