Skip to content
AI.info

Research

Probably Approximately Global Robustness Certification

Probably Approximately Global Robustness Certification Overview Research area: Adversarial robustness certification for classification algorithms, sitting at the intersection of neural network verific

arXiv
2511.06495
Published
2025-11-09
Authors
Peter Blohm, Patrick Indri, Thomas Gärtner, Sagar Malhotra

AI summary

Probably Approximately Global Robustness Certification

Overview

Research area: Adversarial robustness certification for classification algorithms, sitting at the intersection of neural network verification and learning theory (ε-nets, VC dimension, quantile estimation).

Technical level: Intermediate. The core idea is intuitive (sample points, check them locally, use a coverage argument), but the guarantees rest on ε-net sample-complexity bounds, VC dimension, and Chernoff-style quantile bounds.

Scope: The paper proposes a sampling-based procedure that certifies a probabilistic relaxation of global robustness for a classifier with high probability, using only iid samples and any local robustness oracle, with a sample size independent of input dimensionality, number of classes, and learning algorithm.

What This Paper Is About

Traditional formal verification of neural network robustness gives exact yes/no answers about a single point, but becomes intractable for large networks, while adversarial/sampling-based methods scale well but give no formal guarantees. This paper bridges that gap: it defines a probabilistic relaxation of global robustness indexed by a confidence threshold, and shows that by checking local robustness on a sufficiently large iid sample — an ε-net over a two-dimensional "quality space" of (robustness, confidence) — one can certify that the classifier's high-confidence predictions are also robust with high probability. The sample size needed depends only on the accuracy and confidence parameters, not on the size or architecture of the model.

Key Contributions

  1. A new probabilistic notion of global robustness. The paper defines approximately global robustness (Definition 4.1): for X ~ D, Pr(rob(X) < ρ | conf(X) ≥ κ) < ε. This relaxes the exact global ρ-κ-robustness of Definition 3.2, which requires local ρ-robustness for every point whose softmax confidence exceeds κ.

  2. A dimensionality-free sampling method based on ε-nets. By mapping each input to a tuple q(x) = (rob(x), conf(x)) in a 2-dimensional "quality space," the problem becomes one of covering axis-aligned half-space intersections, a range space with VC dimension d = 2. The required sample size — computed from the explicit constant-bearing bound in Proposition 3.7 via Equation 8 — is thus independent of input dimensionality, number of classes, and the learning algorithm.

  3. The main PAG robustness theorem and a distribution-shift extension. Theorem 4.4 states that with sample size |N| ≥ s(ε, δ/2, 2) and i = i(|N|, 1 − p_min, δ/2) from Equation 24, if no counterexample appears in the sample, then with probability at least 1 − δ, Pr(rob(X) < ρ | conf(X) ≥ κ) < ε/p_min for all ρ and all κ ≤ N_(i). Theorem 4.6 extends this to sampling from a proxy distribution D′ with total variation distance Λ, yielding the bound (ε + Λ)/(p_min − Λ).

  4. A practical robustness lower-bound map. Equation 31 defines M(κ) ↦ ρ as the smallest observed robustness among sampled points with confidence at least κ, constructible in O(|N| log|N|) time (Algorithm 1), with Proposition 5.1 bounding Pr(rob(X) < M(conf(X))) < |M| ε where |M| is the size of the map's codomain.

Main Findings

  • One sample certifies all (ρ, κ) pairs simultaneously. Unlike prior work, a single sampling procedure yields distinct guarantees for every confidence value κ, rather than requiring a separate verification run per threshold.

  • The sample size does not depend on the model. Because the guarantee only uses confidence and robustness — not the input space or the classifier — it applies to large networks that are beyond the reach of formal methods, provided a local robustness oracle exists.

  • The method is oracle-agnostic. The framework accepts any local robustness oracle, whether exact (verification tools such as Marabou or auto_LiRPA/LiRPA) or heuristic (adversarial attacks such as PGD).

  • There is a natural confidence ceiling. Guarantees hold only for κ ≤ κ_max = N_(i), the confidence value corresponding to the quantile index i. For κ > κ_max, M(κ) is undefined because the sample cannot support a quantile guarantee (Lemma 4.3). For such κ, only the joint probability Pr(rob(X) < ρ ∧ conf(X) ≥ κ) < ε can be guaranteed, not the conditional one.

  • Distortion from imperfect sampling is quantifiable. Theorem 4.6 shows the guarantee degrades gracefully in terms of the total variation distance Λ between the true and sampling distributions.

  • Counterexample coverage is bounded across all steps of the map. Proposition 5.1 gives Pr(rob(X) < M(conf(X))) < |M| ε via a union bound over the |M| discrete steps of M; the paper states |M| is typically small and reports empirically demonstrating this.

  • Experimental setup. Four architectures were trained on MNIST (Deng, 2012) and CIFAR10 (Krizhevsky, 2009): FeedForward (39 k parameters, PGD and LiRPA oracles), ConvBig (1 663 k parameters, LiRPA), ResNet20 (272 k parameters, PGD), and VGG11_BN (9 491 k parameters, PGD). For each architecture, five network instances were trained with standard training and five with TRADES (Zhang et al., 2019) in a cross-validation setup; guarantees were produced from the validation split sampled with Gaussian noise to imitate iid sampling.

  • PGD experiment hyperparameters. With ε = 10⁻⁴, p_min = 0.01, and δ = 0.01, the required sample is s(ε, δ/2, 2) = 989 534 images. PGD was run with many small gradient steps, and the L∞ distance to the first adversarial example was used to quantify robustness. The auto_LiRPA experiments use ε = 2.5 · 10⁻³ (the remainder of this setting is cut off in the provided content).

  • Abstract-level experimental claim. The abstract states that experiments empirically confirm the approach characterizes robustness better than state-of-the-art sampling-based approaches and scales better than formal methods. The detailed results answering RQ2 (guarantee quality on unseen data), RQ3 (runtime scaling), and RQ4 (capturing qualitative differences between networks) are not reported in the truncated content provided, beyond the note that Marabou was not used for repeated experiments due to its high computational demand.

Methodology in Plain English

The researchers avoid inspecting the whole input space. Instead they:

  1. Draw an iid sample of points from the data distribution (or a proxy thereof).
  2. Run a local robustness oracle on each sampled point, recording how far the point is from a class-changing counterexample, and record the classifier's prediction confidence.
  3. Plot each point as a dot in a two-dimensional "quality space" whose axes are robustness and confidence. Whether a point is a counterexample for a given (ρ, κ) is a simple rectangle test: robustness below ρ and confidence at or above κ.
  4. If no sampled point lands in that rectangle, the theory of ε-nets says the rectangle's true probability mass must be below ε — provided the sample is large enough and the relevant range family has low VC dimension (here d = 2, because the ranges are intersections of two axis-aligned half-spaces).
  5. Handle the conditional probability by separately bounding the numerator (the joint counterexample probability, via the ε-net) and the denominator (the probability of high confidence, via a Chernoff-type quantile lemma on the sampled confidences). Dividing the two bounds gives ε/p_min.
  6. Convert the sample into a usable tool: the step function M(κ) returns, for any confidence κ, the smallest robustness value observed among sampled points with at least that confidence. This is a high-probability robustness lower bound that can be applied to new, unseen points.
  7. For cases where the sampling distribution does not match the deployment distribution, they use the data processing inequality and quantile perturbation arguments to translate the guarantee through the total variation distance Λ.

The paper is explicit that its guarantees are agnostic to the specific notion of robustness, since everything flows through the oracle.

Why This Matters

Impact on research. The paper provides a middle path between exact formal verification, which the authors note is generally intractable and has so far extended to global robustness only for networks with a few hundred (or hundreds of) parameters, and adversarial methods, which scale but give no formal guarantee. Because the certificate is probabilistic, it sidesteps the intractability of proving that no counterexample exists anywhere, while still making a statement about the whole input distribution rather than a single point. It also gives researchers a principled way to compare models and training procedures on a robustness-versus-confidence curve.

Real-world applications (the paper's motivating contexts and the settings its framing supports):

  • Safety-critical systems such as autonomous driving, cited by the paper as a domain where small input perturbations causing drastically changed predictions are detrimental.
  • Image recognition tasks, also cited as a deployment setting where adversarial perturbations matter.
  • Auditing or model-selection pipelines that need a defensible robustness statement for large pretrained networks that exact verifiers cannot handle.
  • Evaluating robustness-improving training regimes — the paper's own experiments compare standard training against TRADES on identical architectures.

Industry relevance. Any deployment where a model must make high-confidence decisions in an untrusted input environment benefits from a certificate that is cheap relative to exact verification and that transfers to new data points. The O(|N| log|N|) construction of the robustness lower-bound map makes the output usable as an inference-time lookup, and the distribution-shift theorem lets teams reason about the cost of sampling from a proxy rather than the true deployment distribution.

Future Directions

  • Tightening practical sample sizes. The PGD experimental setting required 989 534 sampled images for ε = 10⁻⁴, p_min = 0.01, δ = 0.01. Reducing the constant factors in the ε-net bound or using sharper quantile arguments is an obvious next step.
  • Certifying beyond the confidence ceiling. Guarantees are undefined for κ > κ_max because the sample cannot support the quantile estimate. Better estimators or stratified sampling could extend the certified confidence range.
  • Adapting the framework to alternative notions of confidence and robustness. The paper notes the approach is agnostic to the local robustness method, and cites margin-based confidence (Kabaha and Cohen, 2024) and other norm-bounded balls as alternatives that could be substituted.
  • Broadening empirical validation. The provided content leaves RQ2–RQ4 (guarantee tightness on unseen data, runtime scaling across network sizes, and qualitative discrimination between networks) unresolved; further study across larger models, stronger distribution shift, and additional oracle types would test the framework's limits.

Target Audience

Researchers working on neural network verification and adversarial robustness, learning theorists interested in ε-net and VC-dimension applications to modern models, and safety engineers who need scalable — if probabilistic — robustness assurance for large classifiers. It is also relevant to practitioners choosing between exact verification and empirical attack-based evaluation, since it quantifies the trade-off between the two. Readers without a background in statistical learning theory will need to work through Sections 3 and 4 carefully; the experimental section and the definition of the robustness lower-bound map are largely self-contained.

Authors’ abstract

We propose and investigate probabilistic guarantees for the adversarial robustness of classification algorithms. While traditional formal verification approaches for robustness are intractable and sampling-based approaches do not provide formal guarantees, our approach is able to efficiently certify a probabilistic relaxation of robustness. The key idea is to sample an $ε$-net and invoke a local robustness oracle on the sample. Remarkably, the size of the sample needed to achieve probably approximately global robustness guarantees is independent of the input dimensionality, the number of classes, and the learning algorithm itself. Our approach can, therefore, be applied even to large neural networks that are beyond the scope of traditional formal verification. Experiments empirically confirm that it characterizes robustness better than state-of-the-art sampling-based approaches and scales better than formal methods.

Read the original paper