Pareto DNN Verification: Fast for Most Queries

Yizhak Yisrael Elboher, Avraham Raviv, Amihay Elboher, Zhouxing Shi, Hillel Kugler, Guy KatzNeurIPS 2026

TL;DR

Mathematically proving that a deep neural network won't be fooled by tiny adversarial perturbations is notoriously slow—often completely intractable for large models. This paper introduces PAVE (PAreto VErification), a clever shortcut that attaches lightweight "early exits" to a network and verifies them layer by layer. Because most inputs—and their perturbed neighbors—confidently exit early, PAVE can verify roughly 80% of safety queries in a tiny fraction of the usual time without sacrificing model accuracy.

What Problem Does This Paper Address?

When deploying neural networks in safety-critical domains like autonomous driving or medical diagnostics, "it works on the test set" isn't good enough. We want formal verification: a mathematical guarantee that for every possible perturbed input within a small radius (an $\epsilon$-ball) around an image, the network's prediction won't change.

The catch? Formal verification of DNNs is NP-hard. Standard verifiers have to reason about every neuron up to the final output layer. While state-of-the-art tools handle small networks just fine, they hit a computational brick wall and time out on deeper, modern architectures like ResNet-18 or VGG-16. How do we break this scalability bottleneck without lobotomizing the networks we want to verify?

Methods

The authors borrow a classic concept from efficient inference—Early Exit (EE) architectures—and repurpose it for formal verification.

First, they take a standard pre-trained DNN, freeze its weights, and bolt on thin auxiliary classifiers (a linear layer plus SoftMax) at intermediate depths. During inference, if an intermediate classifier's confidence exceeds a set threshold $T$ (say, $0.9$), the network outputs that prediction immediately and skips the remaining layers. Because the base model is frozen, adding EEs is non-destructive.

However, standard verifiers break on EE networks because they assume a single, static output layer and can't handle conditional if-then-else branching. Naive verification produces "spurious counterexamples"—claiming an adversarial class won at exit 3, while ignoring that the correct class already hit the confidence threshold and exited at exit 1!

To solve this, the authors introduce PAVE (implemented atop the popular $\alpha$-$\beta$-CROWN verifier):

  1. A Revised Robustness Property ($P_{ee}$): They mathematically formalize robustness for conditional exits: a counterexample is valid at exit $e$ only if a runner-up class wins at $e$ AND the true winner failed to trigger any earlier exit $e' < e$.
  2. Two Sound Optimizations: Proving an input is SAFE naively requires checking every runner-up class at every exit. PAVE adds two shortcuts:
  3. Continue: If the true winner's score is guaranteed to always exceed $1 - T$ at exit $k$, no runner-up can possibly cross $T$ (since SoftMax probabilities sum to 1). PAVE skips checking all runner-up classes at that exit.
  4. Break: If the winner's score is guaranteed to always exceed $T$ at exit $k$ (and no earlier counterexamples exist), every perturbed input in the neighborhood exits safely right here. Verification terminates immediately, ignoring the rest of the deep network.

Datasets

The authors evaluate PAVE on standard image classification benchmarks: MNIST, CIFAR-10, and CIFAR-100, paired with architectures ranging from 600K to 33.7M parameters (a 6-layer Fully Connected net, LeNet-5, ResNet-18, and VGG-16). No new datasets are introduced, though perturbations are applied across all 3,072 input pixels on CIFAR images, creating high-dimensional verification challenges.

Key Insights and Ideas

  • Trace Stability Makes Verification Tractable: The secret sauce behind PAVE's speed is trace stability—the phenomenon where an input and all of its $\epsilon$-perturbed neighbors take the exact same early exit. The authors prove theoretically that under trace stability, verification is Fixed-Parameter Tractable (scaling only with the shallow exit depth, not the full network), and show empirically that trace stability holds in the vast majority of SAFE cases.
  • Unlocking the "Goldilocks" $\epsilon$ Regime: At tiny perturbation radii ($\epsilon$), queries are trivially safe; at huge radii, counterexamples are trivially easy to find. PAVE shines brightest in the notoriously hard mid-range $\epsilon$ values, turning timeouts into solved proofs.
  • The 4-Way Design Trade-off: Practitioners tuning EE thresholds must balance four coupled metrics. Lowering confidence thresholds or placing exits earlier makes networks faster to run, faster to verify, and more verifiably robust, at the cost of a tiny dip in clean accuracy.

Key Results

  • Negligible Accuracy Loss: Adding sequential EEs alters original model accuracy by at most 0.3% across all tested architectures.
  • Up to 10$\times$ Speedup via Optimizations: Compared to the unoptimized EE baseline, the break and continue heuristics slash SAFE verification times by up to 10$\times$ (e.g., dropping ResNet-18 mean SAFE runtime from 409s to 42.6s, and making VGG-16 SAFE proofs possible where the baseline timed out completely).
  • Solving the Previously Unsolvable: As networks scale up, PAVE dramatically outperforms standard ("Vanilla") verification. On VGG-16 (CIFAR-10), PAVE resolves more than twice as many queries overall (55 vs. 24). In hard mid-range $\epsilon$ settings—such as ResNet-18 at $\epsilon \in \{0.005, 0.01\}$ and VGG-16 at $\epsilon \in \{0.001, 0.01\}$—Vanilla resolves zero queries within a 30-minute timeout, whereas PAVE successfully resolves queries in every setting.
Figure 2: Number of queries resolved per ϵ, on a matched ϵ grid. Missing Vanilla bars indicate that Vanilla resolved zero queries at that ϵ within the timeout (ResNet-18 at ϵ ∈{0.005, 0.01}, VGG-16 at ϵ ∈{0.001, 0.01}); PAVE resolves queries in all of those cells. As in Fig. 1, the benefit grows with network size: on FC-6, Vanilla matches or exceeds PAVE coverage; on the larger CIFAR-10 networks, PAVE adds coverage in the hard mid-range ϵ.
  • Scaling to CIFAR-100: On ResNet-18 trained on CIFAR-100 ($\epsilon = 0.001$), Vanilla verification hit a 2-hour timeout on every single SAFE query, while PAVE verified 14 SAFE samples in about an hour.

Limitations and Future Work

PAVE leans on an underlying verifier to solve sub-queries. If that backend tool is incomplete or lacks support for certain operations (for instance, $\alpha$-$\beta$-CROWN doesn't natively support nested AND operators, requiring PAVE to split conjuncts into separate sub-queries), PAVE inherits those limits and may return UNKNOWN. Furthermore, on small networks like FC-6 on MNIST, the overhead of checking multiple exits means Vanilla verification actually resolves slightly more queries overall—PAVE is built for deeper models.

For future work, the authors suggest scaling to larger and non-image architectures (like NLP/transformers), distributing exit checks in parallel across machines, verifying properties beyond local robustness, and exploring alternative gating mechanisms beyond simple SoftMax thresholds.

Summary updated

Abstract

Formal verification of deep neural networks (DNNs) faces a fundamental scalability challenge: verifying robustness is NP-hard and state-of-the-art tools often time out on modern architectures. We propose *PAreto VErification*, or *PAVE*: by augmenting DNNs with early exits (EEs) and verifying exit-by-exit, we solve a large fraction of robustness queries --- roughly 80\% in our evaluation --- in a small fraction of the time required for direct verification. The key insight is that many inputs in a robustness neighborhood exit at an early layer. Verifying this early-exit behavior is often a tractable problem, allowing verification to terminate long before the full network is analyzed. EEs can be added without modifying the base network, and incur at most a 0.3\% accuracy change across our tested architectures. We formalize the novel robustness property for EE networks, prove it is Fixed-Parameter Tractable under a trace stability condition (which commonly holds in practice), and present a sound and complete verification algorithm. Two sound optimizations --- *break* (early termination when the winner dominates) and *continue* (skipping the inner loop when no runner-up can win) --- reduce SAFE-case verification time by up to $10\times$. Experiments on MNIST, CIFAR-10, and CIFAR-100 with networks from 600K to 33M parameters demonstrate that *PAVE* enables solving queries that were not solved otherwise, including formal verification of ResNet-18 on CIFAR-100.
BibTeX
@inproceedings{elboher2026pareto,
  author = {Yizhak Yisrael Elboher and Avraham Raviv and Amihay Elboher and Zhouxing Shi and Hillel Kugler and Guy Katz},
  title = {{Pareto DNN Verification: Fast for Most Queries}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZDDAP6WLxi},
}
Figure