Introduction
Deep Neural Networks (DNNs) are increasingly deployed in safety-critical systems, yet they remain vulnerable to adversarial perturbations—small, targeted inputs that can trigger catastrophic failures. Formal Verification (FV) seeks to provide mathematical guarantees of safety within defined input ranges. However, FV often falls into a "conservatism trap": to ensure 100% certainty, the resulting bounds are frequently too loose to be useful, or the computational complexity (often NP-hard) leads to timeouts on complex architectures.
Conversely, existing probabilistic methods typically focus on the frequency of violations rather than their potential magnitude. This paper introduces Probabilistically Tightened Linear Relaxation-based Perturbation Analysis (PT-LiRPA), a framework designed to bridge the gap between strict formal verification and probabilistic robustness. By combining linear relaxation with Extreme Value Theory (EVT), PT-LiRPA produces significantly tighter bounds with high confidence (99%+), outperforming traditional methods in both precision and efficiency.
Methodology: The PT-LiRPA Framework
The primary innovation of PT-LiRPA lies in its approach to calculating "intermediate reachable sets"—the range of possible values at each hidden neuron. Traditional interval arithmetic propagates worst-case scenarios, leading to an "error explosion" in deep networks. PT-LiRPA mitigates this through a four-stage process:
- Sampling-based Estimation: Instead of relying solely on conservative mathematical bounds, the framework samples the input space to observe the actual range of values at each neuron.
- Wilks’ Theorem: To ensure statistical rigor, the authors apply Wilks’ Theorem to determine the precise number of samples required to achieve a specific confidence level (e.g., 99%) that a target fraction of the input space is covered.
- Extreme Value Theory (EVT): Recognizing that sampling cannot guarantee the discovery of absolute extrema, PT-LiRPA utilizes EVT to model the "tail" of the distribution. This allows the framework to estimate the maximum possible error between the sampled estimate and the true theoretical bound, providing a rigorous "safety buffer."
- Integration with LiRPA: These tighter, probabilistically-sound intermediate bounds are integrated into standard linear relaxation algorithms, such as CROWN. Because the intermediate bounds are more precise, the final output bounds are significantly tighter than those produced by standard FV.
Experimental Results
The framework was evaluated against standard benchmarks (MNIST, CIFAR-10) and the rigorous VNN-COMP (2022 & 2023) competition benchmarks, including ACAS xu, TllVerifyBench, and TinyImageNet.
Superior Tightness and Robustness
PT-LiRPA demonstrated a significant improvement in certified robustness—the maximum noise level a model can tolerate while maintaining its prediction. The framework improved robustness certificates by up to 3.31x compared to PROVEN and 2.26x compared to Randomized Smoothing.
Efficiency and Scalability
One of the most striking results was the framework's performance on the CIFAR_tinyimagenet benchmark. PT-LiRPA achieved 87.5% verified accuracy in just 425 seconds. In contrast, the standard worst-case formal approach only reached 62.5% accuracy and required over 1,400 seconds. Furthermore, PT-LiRPA successfully provided bounds for challenging instances where state-of-the-art formal verifiers (like $\alpha,\beta$-CROWN) either timed out or returned "unknown."
The computational overhead of sampling (e.g., 350,000 points) was found to be negligible, as the process is highly parallelizable on modern GPUs, unlike the heavy branching logic required by many formal solvers.
Discussion and Future Work
PT-LiRPA represents a shift from focusing on the probability of failure to the magnitude of potential errors. By tightening intermediate bounds, it prevents the compounding conservatism that plagues deep network verification.
However, the authors acknowledge certain limitations. As a probabilistic method, it provides high-confidence guarantees (e.g., 99.9%) rather than the 100% deterministic proof required by ultra-high-stakes environments (e.g., aerospace systems requiring $10^{-9}$ failure rates). Additionally, the current implementation assumes a uniform input distribution. Future research will explore more sophisticated sampling techniques, such as Importance Sampling, to maintain high confidence in the distribution tails with even fewer samples.
Conclusion
PT-LiRPA offers a scalable and effective middle ground for neural network verification. By leveraging the statistical power of EVT and the efficiency of linear relaxation, it provides a practical path forward for verifying deep models that were previously considered "unsolvable" by strict formal methods.
Summary updated