Zonotopic Analysis of Quantization Error in Neural Networks

Robert Debbas, Éric Goubault, Sylvie PutotarXiv 2026

TL;DR

This paper introduces a formal verification framework using zonotopes to bound the quantization error in neural networks. By proposing a novel, unified "round-clamp" abstract transformer, the authors achieve significantly tighter error bounds and faster runtimes compared to existing symbolic methods, particularly for small input perturbations.

What Problem Does This Paper Address?

Quantizing neural networks—reducing the precision of weights and activations to low-bit integers—is essential for deploying models on edge devices with limited compute. However, quantization introduces deterministic numerical errors that can compromise safety in critical applications like autonomous driving.

Verifying the "fidelity" of a quantized network requires finding formal bounds on the difference between the original real-valued network and its quantized counterpart. This is challenging because quantization involves discrete, non-linear operations: rounding (to the nearest integer) and clamping (to a fixed range). Traditional verification methods like Mixed-Integer Linear Programming (MILP) or SMT solving are "complete" (exact) but often too slow to scale. Faster "incomplete" methods often produce bounds that are too loose to be useful.

Methods

The authors leverage Abstract Interpretation, a technique that over-approximates the set of possible network outputs using geometric shapes. Specifically, they use:

  • Zonotopes: Center-symmetric convex polyhedra that are computationally efficient for affine transformations (like matrix multiplications) and track linear dependencies between variables.
  • Constrained Zonotopes: An extension that adds linear inequality constraints to the zonotope, allowing for much tighter approximations of non-linear functions like ReLU.
  • Unified Round-Clamp Transformer: Instead of abstracting rounding and clamping as two separate steps—which would double the number of "noise symbols" and lead to loose bounds—the authors derive a single affine transformation that captures both. This transformer is proven to be "affine-strip optimal" (the tightest possible linear enclosure) and "convex-hull optimal" when constraints are added.
Figure 2: Abstract round-clamp for Case 4: input range [l, u] spans both rounding and clamping thresholds. The affine ab- straction y ∈[bλx+bµ−be, bλx+bµ+be] (central affine line with upper and lower error bounds) soundly over-approximates the stepped function (solid black), with the grey regions elim- inated by the two box constraints y ≥0 and y ≤C. The complete formulation (Appendix A) adds a third, oblique constraint.

Datasets

The framework was evaluated on the ACAS Xu benchmark, a standard suite for neural network verification consisting of 45 feed-forward networks used for aircraft collision avoidance.

  • Configurations: The authors tested bit-widths of 6, 8, and 10 bits.
  • Perturbations: They evaluated performance across five "attack radii" ($r \in \{3, 6, 13, 19, 26\}$), representing the size of the input region being analyzed.

Key Insights and Ideas

  • Composition Matters: The "aha moment" of the paper is that treating rounding and clamping as a single atomic operation significantly reduces the accumulation of abstraction error. By halving the noise symbols required, the zonotope remains compact and precise.
  • Symmetry Breaking: Standard zonotopes are symmetric, which is a poor fit for the asymmetric nature of ReLU or clamping. Adding linear constraints "lifts" this symmetry, allowing the abstraction to better hug the actual function.
  • Regime-Specific Superiority: The paper reveals that there is no "one size fits all" tool. Constrained zonotopes dominate at small perturbation radii, while symbolic Differential Reachability Analysis (DRA) becomes more competitive as the input region grows.

Key Results

The authors compared their method against QEBVerif (DRA-Sym), the previous state-of-the-art for symbolic quantization error analysis.

  • Precision: At small radii ($r=3$ and $r=6$), constrained zonotopes reduced the average error-bound width by 70-85%.
  • Speed: In the same regime, they were 65-80% faster than DRA-Sym.
  • Efficiency: The "plain" (unconstrained) zonotope method was nearly 300 times faster than the baseline on average, providing a very high-speed "screening" tool, albeit with looser bounds.
Figure 3: Precision vs speed trade-off (log-log scale). Each point is one experiment. At small radii, constrained zono- topes are both faster and more precise than DRA-Sym: run- times converge only at the largest radius (r = 26).

As shown in the attack radius analysis, the advantage of zonotopes is most pronounced when the quantization is coarse (e.g., 6 bits) and the input region is small.

Figure 4: Average ODiff vs. attack radius for Q = 6 and Q = 10. Constrained zonotopes are tightest at small radii; DRA-Sym recovers at large radii.

Limitations and Future Work

  • Scalability to Large Radii: As the input perturbation radius increases, the zonotope bounds eventually become looser than symbolic DRA. The authors suggest a hybrid approach might be best.
  • Model Size: While ACAS Xu is a standard benchmark, the networks are relatively small (6 layers, 50 neurons each). Scaling this to deep convolutional or transformer architectures remains a challenge for the future.
  • Hybrid Zonotopes: The authors mention that incorporating binary MILP variables (Hybrid Zonotopes) could potentially yield even tighter bounds for ReLU activations, though at a higher computational cost.

Summary updated

Abstract

Quantized neural networks achieve computational efficiency by reducing precision, but bounding their quantization error remains a challenge due to discrete rounding and clamping operations. We present a zonotope-based abstract interpretation framework for quantized ReLU feed-forward network verification, introducing a unified round-clamp abstract transformer that jointly handles both operations. We extend this framework to constrained zonotopes, which add linear constraints to tighten bounds, and derive sound quantization error representations. We establish soundness and affine-strip optimality of the round-clamp abstract transformer, as well as convex-hull optimality of its complete constrained formulation. On the ACAS Xu benchmarks, our constrained zonotope method reduces average error-bound widths by approximately 70-85% and runtimes by 65-80% compared to QEBVerif's symbolic DRA propagation at the two smallest tested perturbation radii (r=3 and r=6). These improvements are not uniform across bitwidths, and symbolic DRA achieves tighter bounds at larger radii. Our plain zonotope method delivers competitive sound bounds nearly 300 times faster on average.
BibTeX
@misc{debbas2026zonotopic,
  author = {Robert Debbas and Éric Goubault and Sylvie Putot},
  title = {{Zonotopic Analysis of Quantization Error in Neural Networks}},
  year = {2026},
  eprint = {2611.24648},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24648},
}

Loading related content...

Figure