Probably Approximately Global Robustness Certification

Peter Blohm, Patrick Indri, Thomas Gärtner, Sagar Malhotra

Introduction

Neural networks are increasingly deployed in safety-critical domains, yet they remain vulnerable to adversarial perturbations—small, targeted changes to input data that result in incorrect classifications. Current approaches to ensuring robustness typically fall into two categories: formal verification and adversarial testing. While formal verification provides rigorous mathematical guarantees, it suffers from poor scalability, often limited to networks with only a few hundred parameters. Conversely, adversarial attacks scale to modern architectures but offer no formal guarantees of safety.

This paper introduces Probably Approximately Global (PAG) robustness, a framework designed to bridge this gap. By shifting from a deterministic "all-or-nothing" global guarantee to a probabilistic one, the authors provide a scalable method to certify the robustness of large-scale neural networks with high confidence.

The PAG Framework: From High-Dimensional Inputs to Quality Space

The primary challenge in global robustness is the high dimensionality of the input space (e.g., thousands of pixels in an image). To circumvent this, the authors propose mapping the input space into a two-dimensional Quality Space. Each input point $x$ is represented by a tuple $(\rho, \kappa)$, where $\rho$ represents the local robustness (the radius within which the prediction remains constant) and $\kappa$ represents the model's prediction confidence.

$\epsilon$-Nets and Sample Complexity

By leveraging $\epsilon$-net theory from computational geometry, the authors demonstrate that the number of samples required to characterize this Quality Space is independent of the input dimensionality. An $\epsilon$-net ensures that any region with a probability mass greater than $\epsilon$ is represented by at least one sample. Because the Quality Space is fixed at two dimensions, the VC-dimension of the problem remains constant ($d=2$). This allows for manageable sample sizes regardless of whether the model processes MNIST digits or high-resolution medical imagery.

Methodology and Oracle Agnosticism

The PAG framework acts as a "wrapper" around existing local robustness tools, referred to as local robustness oracles.

  1. Sampling: A specific number of i.i.d. (independent and identically distributed) samples are drawn from the data distribution.
  2. Local Checking: For each sample, a local oracle determines its robustness. This oracle can be a formal verifier (like Marabou or LiRPA) for rigorous bounds or an adversarial attacker (like PGD) for empirical scalability.
  3. Mapping: The results are used to construct a "robustness-confidence map," providing a high-probability lower bound: "If the model predicts a class with confidence $\kappa$, it is at least $\rho$-robust with probability $1-\delta$."

Experimental Evaluation and Scalability

The authors evaluated the PAG framework on standard benchmarks, including MNIST and CIFAR-10, using architectures ranging from simple FeedForward networks to complex models like VGG11 (9.5M parameters) and ResNet20. They compared standard training against TRADES (adversarial training) to verify if the certification could capture qualitative differences in robustness.

Key Results

  • Generalization: Across 230 experimental trials, the probabilistic guarantees held on unseen test data in 211 cases. The failure rate was consistent with the pre-defined failure probability ($\delta$), validating the underlying theory.
  • Scalability to Large Models: The framework successfully certified a VGG11 model with nearly 10 million parameters. This represents a significant advancement over traditional global verification methods, which are computationally prohibited at this scale.
  • Efficiency: Since local robustness checks are independent, the certification process is trivially parallelizable, making it suitable for modern high-performance computing environments.

Discussion: Confidence and Distribution Shift

A central insight of the paper is the formalization of the link between confidence and robustness. By parameterizing global robustness by confidence, the authors avoid the "constant prediction" trap, where a model is only considered globally robust if it predicts the same class for every possible input. This formalizes the intuition that more confident predictions are generally more robust.

Furthermore, the paper addresses the reality of distribution shift. Theorem 4.6 in the paper quantifies how robustness guarantees degrade as the "Total Variation" distance between the sampling distribution and the true deployment distribution increases. This provides a mathematical framework for understanding the reliability of a model when it encounters out-of-distribution data.

Limitations and Future Work

While PAG offers a powerful new tool for certification, it is not without limitations. The strength of the "global" guarantee is intrinsically linked to the "local" oracle used. If an empirical attacker is used as the oracle and fails to find a counterexample, the resulting guarantee is an empirical upper bound rather than a formal proof. Additionally, the method relies on the ability to sample from the data distribution, which may be challenging in data-scarce environments.

Future research may involve incorporating additional metadata—such as latent space features or specific class labels—to further refine the robustness bounds and exploring more sophisticated sampling techniques to mitigate the effects of distribution shift.

Conclusion

Probably Approximately Global robustness provides a pragmatic and theoretically grounded approach to neural network verification. By focusing on the Quality Space rather than the raw input space, the PAG framework achieves a level of scalability previously unattainable for global robustness guarantees, offering a promising path forward for the deployment of trustworthy AI in complex, real-world applications.

Summary updated

BibTeX
@inproceedings{blohm2025probably,
  author = {Peter Blohm and Patrick Indri and Thomas Gärtner and SAGAR MALHOTRA},
  title = {{Probably Approximately Global Robustness Certification}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=UKHlXpiFMy},
}
Figure