Halt Fast! Early Stopping for Certified Robustness

Andrew Craig Cullen, Paul Montague, Benjamin I. P. RubinsteinNeurIPS 2026

TL;DR

Mathematically proving that a neural network won't be fooled by subtle input noise usually requires passing every single input through the model tens of thousands of times—a massive waste of compute on "easy" or obviously hopeless inputs. By reframing certification as an adaptive betting game guided by a lightweight meta-learner, Meta E-Value (MEV) Certifications let you safely stop sampling early the moment an answer is clear. This slashes sample costs by up to $11.6\times$ while preserving ironclad statistical guarantees, turning certified robustness from an offline academic luxury into a practical tool for real-time risk triage.

What Problem Does This Paper Address?

Neural networks are famously brittle: imperceptible, adversarial tweaks to an image can flip a confident prediction into nonsense. Randomized Smoothing (RS) is the gold standard for certified robustness—a mathematical guarantee that a model’s prediction won't change within a certain radius $r$ around an input—because it treats any model as a black box. It works by adding random Gaussian noise to an input thousands of times and taking a majority vote.

The catch? Because RS relies on classical statistics, you must fix your sample budget before looking at the data (often $10,000+$ forward passes per image) to avoid invalidating your false-positive rate—known as the "peeking problem." Consequently, you burn thousands of GPU cycles over-verifying dead-obvious images and failing to salvage hopeless ones. Recent sequential methods using E-values (an anytime-valid statistical framework) allow early stopping, but only for simple yes/no threshold checks ("Is radius $r \ge c$?"), stripping away the continuous radius values needed to rank risk or triage inputs in the real world.

Methods

The authors reimagine Randomized Smoothing as an anytime-valid betting game against a sceptical bookmaker who claims the input is not robust.

Figure 1: Meta-RS Certification Architecture. Phase I uses a strictly discarded 100-draw glimpse to predict an F0-measurable prior via Mθ (Theorem 2). Phase II streams GPU batches (B = 100) with < 100 µs CPU bound updates, terminating adaptively into fast rejection (5.5–10.7×), high-fidelity (1.08–2.58×), or plateau certification (7.8–11.6× speedup).
  1. Phase I: Glimpse & Meta-Learned Prior (Novel). Standard RS takes a small 100-sample "glimpse" to pick the top candidate class, then throws those draws away. Instead of wasting that signal, MEV feeds the glimpse's hit rate, average softmax confidence, and optional embeddings into a tiny MLP Meta-Learner. The MLP predicts a bespoke prior distribution (a mixture of truncated Beta distributions) over where the true success probability likely sits, blended with a 1% non-informative safety anchor to guard against bad predictions.
  2. Phase II: Streaming Mixture E-Values (Novel Extension). As new noisy batches stream in ($100$ draws at a time), the system bets against every possible non-robust null hypothesis simultaneously using the Method of Mixtures. If the meta-learner guessed well, "wealth" grows exponentially fast. Inverting this wealth curve (in $<100\,\mu\text{s}$ on a CPU) yields a continuous, anytime-valid confidence interval and certified radius at every step.
  3. Task-Adaptive Exits (Novel). Because stopping anywhere is mathematically legal, the authors introduce customizable exit rules:
  4. Look-Ahead (High-Fidelity): Stops when projecting out to $10,000$ samples wouldn't meaningfully expand the radius.
  5. Plateau (Max-Efficiency): Stops when radius growth stalls over recent batches.
  6. Dual-Bankruptcy (Fast Rejection): Immediately aborts uncertifiable inputs if wealth crashes below $0.1$.

Datasets

The authors evaluate standard smoothed classifiers across three classic vision benchmarks at noise levels $\sigma \in \{0.25, 0.50, 1.00\}$:

  • MNIST
  • CIFAR-10
  • ImageNet

No new datasets are introduced; instead, the authors test operational regimes (like tiered risk buckets and cross-dataset zero-shot transfer of the meta-learner) on top of these standard benchmarks.

Key Insights and Ideas

  • Safety-Efficiency Separation (Theorem 2): Machine learning never touches the math guarantee. Because the meta-learner's prior is locked in before Phase II begins, even a terrible, wildly overconfident ML prediction can only slow down convergence—it can never inflate the false-positive rate $\alpha$.
  • Anytime Validity is a Resource Router, Not a Precision Amplifier: At a fixed sample count $N$, classical Clopper-Pearson bounds are inherently slightly tighter than anytime-valid bounds ($3.09$ vs. $3.72$ standard errors). The magic of MEV isn't beating fixed bounds head-to-head at $N=10,000$; it's starving easy and hopeless inputs of compute so you can route your budget where it actually matters.
  • Zero-Shot Prior Transfer: Because smoothing dynamics look remarkably similar across vision models, a meta-learner trained on MNIST (taking $<2$ minutes on a single CPU) transfers zero-shot to ImageNet with $100\%$ median decision agreement and less than $2.4\%$ sample overhead.

Key Results

Compared against the standard $10,100$-sample baseline (Cohen-10k):

Table 1: Operational Certification Regimes (Meta-10-Margin-Full, 10-seed median, eval split) vs. Cohen-10k (10,100 draws). High-Fidelity (ϵ = 0.0126σ, look-ahead) matches 96–99% of Cohen-10k ACR; Maximum-Efficiency (ϵstart = 0.1, ϵend = 0.042, ∆= 1.2, plateau) yields 7.8–11.6× fewer draws at Cohen-1k quality (Appendix E).
  • High-Fidelity Regime: Captures $96\text{--}99\%$ of Cohen-10k's Average Certified Radius (ACR) and within $0.7$ percentage points of accuracy using $1.08\times$ to $2.58\times$ fewer samples (translating to up to $2.53\times$ wall-clock speedups on CIFAR-10 and $2.23\times$ on ImageNet).
  • Maximum-Efficiency Regime: Plateau exits cut sample counts by $7.8\times$ to $11.6\times$ while dynamically matching 1,000-sample baseline quality.
  • Fast Rejection & Triage: Uncertifiable inputs are safely aborted $5.5\text{--}10.7\times$ faster. In a 4-tier operational risk triage case study (CIFAR-10), MEV routes every input into risk buckets in an average of just $796$ samples—over $12\times$ fewer than standard RS.

Limitations and Future Work

  • Anytime-Validity Tax on Uniformly Easy Data: When almost every input is certifiable (e.g., $93\%$ of MNIST), few samples trigger fast rejection, and the wider statistical margin required for continuous peeking limits High-Fidelity savings ($1.08\times$ at $\sigma=0.25$).
  • Small-Model GPU Overhead: Checking bounds every $100$ draws introduces GPU kernel-launch overhead that dampens single-input wall-clock latency gains on tiny backbones (like ResNet-18), though this bottleneck vanishes as models scale up (e.g., ResNet-50+).
  • Restricted Threat Model: In their impact statement, the authors candidly note that focusing strictly on $\ell_2$-norm perturbations—while mathematically convenient—offers a narrow slice of real-world security and may incentivize attackers to simply bypass $\ell_2$ defenses via other manipulation pathways.

Summary updated

Abstract

Randomized Smoothing (RS) provides rigorous robustness guarantees for neural networks without architectural constraints, yet its adoption is limited by its computational costs. However much of this compute is wasted through over-sampling. To resolve this, we introduce Meta E-Value (MEV) Certifications, which employ an adaptive streaming process with anytime statistical guarantees. Our framework establishes a controllable operating spectrum: in a High-Fidelity regime, meta-learned priors match $96$--$99\%$ of a $10{,}000$-sample certification's radius with up to $3\times$ fewer samples; in a Maximum-Efficiency regime, an adaptive efficient exit can deliver up to $11.6\times$ sample reductions while providing strong certification performance. This same framework can also be employed to dynamically allocate the query budget across samples depending upon resource constraints or sample-based triage. These advances demonstrate a realistic pathway towards high-throughput, scalable safety-critical deployments of certified robustness.
BibTeX
@inproceedings{cullen2026halt,
  author = {Andrew Craig Cullen and Paul Montague and Benjamin I. P. Rubinstein},
  title = {{Halt Fast! Early Stopping for Certified Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1Zs088RXoL},
}
Figure