AI
PAVE: A Faster Path to Verifying Deep Learning Safety
Researchers propose augmenting neural networks with early exits to speed up formal verification by solving most robustness queries in a fraction of the usual time.
Proving that deep neural networks are robust against adversarial attacks remains one of the hardest problems in machine learning verification. The task is computationally intensive—classified as NP-hard—and existing verification systems frequently run out of time when analyzing the latest large-scale architectures.
A team of researchers has introduced PAVE (PAreto VErification), a new approach that tackles this bottleneck by breaking verification into smaller, more manageable steps. Instead of analyzing an entire neural network in one go, the method adds early exits at intermediate layers—decision points that allow the network to produce an answer and stop processing before reaching the final layer.
How Early Exits Speed Verification#
The core insight behind PAVE is pragmatic: many inputs in a robustness neighborhood can be safely classified by the network's earlier layers. When an input's classification at an early exit is so confident that no perturbation could flip it, verification can terminate immediately without examining the remainder of the network. This transforms an intractable global problem into a series of tractable local ones.
In practice, this strategy is remarkably effective. Across the researchers' experiments, roughly 80% of robustness queries resolved quickly through early-exit verification alone. Meanwhile, the added early exits produced negligible accuracy loss—at most 0.3% across all tested architectures—and required no modification to the underlying trained network.
Technical Soundness and Optimization#
The authors provide formal backing for their approach, defining a novel robustness property tailored to early-exit networks and proving it is Fixed-Parameter Tractable under a trace stability condition that typically holds in real networks. Their verification algorithm is both sound and complete.
Two key optimizations further accelerate verification:
- Break: Early termination when the top-predicted class has an overwhelming margin
- Continue: Skipping redundant inner-loop checks when no alternative class can possibly win
These refinements cut verification time for conclusive ("SAFE") cases by up to 10-fold.

