atlas

Research map / Architectures and efficiency / Quantization

Towards Efficient Verification of Quantized Neural Networks

AAAI 2024 · Architectures and efficiency › Quantization · approach: Mixed-precision quantization · 17 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes EQV, a verifier for PyTorch-style quantized neural networks combining exact ILP encoding, interval bound propagation (via Marabou) and gradient-based PGD counterexample search with a rewritten round operation.

Problem

Formal robustness verification of quantized neural networks (QNNs) under the real quantization schemes used in deep learning frameworks such as PyTorch, which prior work did not model and which scale poorly.

Approach

Exact ILP encoding of the full PyTorch quantization pipeline (round, clip, zero-point, scale), with a clip-as-two-ReLUs trick to enable abstract interpretation bounds, and a straight-through style rewrite y=Round(x)+x-x.detach() so gradient-based attacks can find counterexamples quickly before invoking the solver.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC2-256, r=4total execution time (s): 4456.76 -> 4019.10Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC2-512, r=4total execution time (s): 8013.00 -> 7637.05Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC3-100, r=4total execution time (s): 3347.88 -> 2421.66Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, CNN1, r=4total execution time (s): 221.64 -> 205.48Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, CNN2, r=4total execution time (s): 1041.85 -> 723.13Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC2-256, r=8total execution time (s): 22543.68 -> 19918.79Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC2-512, r=8total execution time (s): 29891.39 -> 29179.91Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, FC3-100, r=8total execution time (s): 24330.21 -> 22616.44Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, CNN1, r=8total execution time (s): 2503.19 -> 1850.32Helped
Use EQV instead of ILP+InQNN robustness verification · MNIST test, CNN2, r=8total execution time (s): 3715.99 -> 1499.73Helped
Add interval analysis to ILP (ablation)ILP QNN verification · MNIST test, FC1-100, r=4total execution time (s): 332.48 -> 93.52Helped
Add interval analysis to ILP (ablation)ILP QNN verification · MNIST test, FC2-100, r=4total execution time (s): 4039.38 (7) -> 1581.41 (3)Helped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST

Benchmarks: MNIST

Metrics: solving time (s) number of timeouts percentage robust / unsafe / unknown

Baselines: QVIP ILP ILP+In

Builds on: QVIP Marabou PGD big-M encoding

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy