Abstaining Across Noise Levels: Certified Selective Risk for Randomized Smoothing

A selective classifier is allowed to say "I don't know" and pass the input to a human. It is judged by two numbers: the error rate on the inputs it answers (risk) and the fraction it answers (coverage). Existing guarantees for such systems assume test inputs look like the calibration data. An adversary who can nudge an image slightly can break the guarantee in two ways. It can push the model into confidently answering wrongly, or it can push correct inputs into abstention so that coverage collapses. Randomized smoothing has the opposite blind spot. It classifies by majority vote over many Gaussian-noised copies of the input and proves the label cannot change within a stated distance. But it answers almost everything, and its one knob, the noise level $\sigma$, trades clean accuracy for certified distance.

This note proposes a selective classifier whose risk and coverage under attack are certified from clean calibration data alone. It rests on a simple observation. The certified radius of a smoothed classifier changes by at most $\delta$ when the input moves by $\delta$. The same holds for the largest radius taken over several noise levels. So one can run smoothed classifiers at several fixed values of $\sigma$ and answer only when some noise level certifies a margin of at least $\tau$. Abstention then does the work that elaborate machinery currently does in input-dependent smoothing: it discards the ambiguous cases where different noise levels would disagree. What remains is a population-level guarantee on how often the system errs or abstains under any bounded attack.

Core Claim

Let $p_{k,c}(x)$ be the probability that the base network trained at noise level $\sigma_k$ predicts class $c$ on $x+\mathcal{N}(0,\sigma_k^2 I)$. For each $k = 1,\dots,K$, the quantity $\sigma_k\Phi^{-1}(p_{k,c}(x))$ is 1-Lipschitz in $x$ under the $\ell_2$ norm. Here $\Phi^{-1}$ is the inverse standard normal CDF, and this is the one-sided form of the radius from Certified Adversarial Robustness via Randomized Smoothing.. Because a maximum of 1-Lipschitz functions is again 1-Lipschitz, so is the multi-noise margin

$$M(x)=\max_{k}\max_{c}\ \sigma_k\,\Phi^{-1}\big(p_{k,c}(x)\big).$$

The system answers an input $x'$ with the maximizing class if $M(x')\ge\tau$ and abstains otherwise. Suppose an adversary moves a clean input $x$ to $x'$ with $\|x'-x\|_2\le\delta\le\tau$.

A wrong accepted answer at $x'$ requires that some noise level at the clean point already certifies a wrong class with margin at least $\tau-\delta$. Acceptance is also guaranteed whenever $M(x)\ge\tau+\delta$. Writing $E_{s}$ for the event "some $\sigma_k$ certifies a wrong class at clean $x$ with margin $\ge s$" and $A_s$ for "$M(x)\ge s$", every attack of size at most $\delta$ satisfies

$$\Pr[\text{accept}\wedge\text{wrong}]\le \Pr[E_{\tau-\delta}],\qquad \Pr[\text{accept}]\ge \Pr[A_{\tau+\delta}].$$

Both right-hand sides are probabilities of events on clean data. They can be bounded with binomial tail bounds on a calibration set, as in the Selection with Guaranteed Risk procedure of Selective Classification for Deep Neural Networks. Their ratio bounds selective risk under attack. Given a target risk $r^*$ and attack size $\delta$, we search for the smallest $\tau$ that meets the target and report the certified coverage.

Monte Carlo error enters in two places. At test time the gate uses lower confidence bounds on each $p_{k,c}$. At calibration time, detecting $E_{\tau-\delta}$ uses upper confidence bounds. A Bonferroni split of the failure probability across the $K$ noise levels covers both.

The novelty is not a new certificate for individual inputs. It is a certified guarantee on how an entire deployment behaves, combining abstention with several noise levels. It needs neither the stateful memory of Data Dependent Randomized Smoothing nor the smoothed noise-level predictor of Dual Randomized Smoothing: Beyond Global Noise Variance. Taking the maximum over noise levels is not a valid per-point robustness certificate: two noise levels can certify different labels near the same point. Abstention with margin $\tau$ is what makes the population bound hold anyway.

Relation to Prior Work

Three papers motivate the gap by showing that current gates can be manipulated. Certify or Predict: Boosting Certified Robustness with Compositional Architectures routes each input between an accurate network and a certified network, and proves the router itself must be certified. It uses deterministic interval bounds, never abstains, and does not touch $\sigma$. Certifying Confidence via Randomized Smoothing certifies that smoothed confidence stays above a threshold within a radius, and finds that radius and confidence are poorly correlated. It gives no risk–coverage guarantee and fixes $\sigma$. We use its confidence certificate as a competing gate. Certified but Fooled! Breaking Certified Defenses with Ghost Certificates shows attacks that produce large certified radii for wrong labels, with nearly 100% success on ImageNet ensembles at $\sigma=0.25$. Our bound speaks directly to that threat: it caps how often such wrong answers can be accepted, for every attack within $\ell_2$ distance $\delta$.

Two papers constrain the design. Hidden Cost of Randomized Smoothing shows that high noise erases narrow class regions. On ImageNet at $\sigma=0.5$, more than 75% of classes had zero accuracy, and on CIFAR-10 at $\sigma=1.0$ "cat" fell to 22% accuracy while "ship" kept 68%. This is why a single noise level is a poor gate and why class-wise reporting is required. Denoised Smoothing with Sample Rejection for Robustifying Pretrained Classifiers adds rejectors, but they only discard noisy samples inside the vote, and the final classifier still always answers. We reject at the level of the input, with a risk bound.

Two lines supply method and contrast. Adversarially Robust Conformal Prediction and Front-Loaded Robust Conformal Prediction: Heavy Calibration, Minimal Test-Time Cost keep set-valued coverage under attack by enlarging label sets. RSCP holds nominal 90% coverage where vanilla conformal prediction drops to about 45%. We borrow their idea of calibrating on clean data with a shift of $\delta$. The difference is the output: we return a single label or an abstention. Data Dependent and Dual Randomized Smoothing choose $\sigma$ per input in order to always predict. We choose among fixed noise levels in order to decide whether to predict.

Research Program

The work has three parts.

The first is the theorem and its finite-sample version. This means a proof that the multi-noise margin is 1-Lipschitz, confidence-bound bookkeeping for $K$ noise levels, and a calibration algorithm that returns $(\tau,\ \text{certified risk},\ \text{certified coverage})$ for given $r^*$, $\delta$, and failure probability.

The second is the system itself. It uses independently trained Gaussian-augmented networks on a grid such as $\{0.12, 0.25, 0.5, 1.0\}$, or one network trained with the smoothed adversarial training of Provably Robust Deep Learning via Adversarially Trained Smoothed Classifiers at each level. The Monte Carlo sample budget per input is matched to single-noise baselines by splitting it across levels. Because the budget is fixed while $K$ grows, we treat the choice of $K$ as a measured trade-off, not a free gain.

The third is an attack suite that tests the bound. It targets three behaviors: flipping accepted labels, forcing acceptance of wrong labels (including GhostCert-style perturbations projected to the $\ell_2$ ball), and forcing correct inputs into abstention.

Baselines

Naive reference. The do-nothing point is standard randomized smoothing at the best single $\sigma$, abstaining only when the binomial test fails, as in Certified Adversarial Robustness via Randomized Smoothing.. That paper reports 49% certified top-1 ImageNet accuracy at $\ell_2$ radius 0.5, and Provably Robust Deep Learning via Adversarially Trained Smoothed Classifiers reports 56% at the same radius. These are not selective-risk numbers: certified accuracy counts correct inputs with radius above $\delta$, whereas we bound the error rate among accepted inputs under attack. We therefore recompute the naive point's attacked risk and coverage on the same models.

Clean-calibrated confidence gate. The strongest competitor from the selective-prediction side thresholds the smoothed maximum probability and calibrates the threshold with Selection with Guaranteed Risk on clean data. On clean CIFAR-10, Selective Classification for Deep Neural Networks reports 1% error at 78% coverage with this kind of gate, and 2% top-5 error at about 60% coverage on ImageNet. It likely has better clean coverage than ours. The question is whether its guarantee survives attack.

Certified-confidence gate. This gate abstains unless the confidence lower bound of Certifying Confidence via Randomized Smoothing exceeds a threshold within radius $\delta$.

Robust conformal converted to abstention. Here the system answers only when the RSCP or FLoR set is a single label.

Adaptive-noise systems with abstention added. Dual RS and Data Dependent Randomized Smoothing each get a radius-threshold gate added on top. The file reports Dual RS relative certified-accuracy gains of 15.6%, 20.0%, and 15.7% over Multiscale RS at radii 0.5, 0.75, and 1.0 on CIFAR-10. It reports Data Dependent Randomized Smoothing raising CIFAR-10 average certified radius from 0.591 to 0.784. No reported result found on Lacuna for either system's selective risk under attack.

Key ablation. The same gate is run at the single best $\sigma$, which isolates the contribution of multiple noise levels.

Fairness. All methods share networks where possible, calibration splits, and per-input sample budgets, and all thresholds are tuned on the same held-out set. The proposal wins if it achieves higher certified coverage at fixed $r^*$ and $\delta$ than every gate whose empirical attacked risk stays below $r^*$. It must also do so while its own attacked risk never exceeds its bound.

Why not just…?

Why not just use randomized smoothing's built-in abstention? That abstention fires only when Monte Carlo samples cannot separate the top two classes. It has no risk target. Ghost Certificates show it will readily certify wrong labels. The naive baseline measures this directly.

Why not just threshold smoothed softmax and calibrate with SGR? The guarantee from Selective Classification for Deep Neural Networks assumes clean, identically distributed test data. Certify or Predict shows that an uncertified gate can be steered. Our experiments test whether attacks drive this gate's accepted-input error above $r^*$. If they cannot, even with attacks built to force acceptance, the certificate still adds assurance but its practical value shrinks, and we will say so.

Why not just use robust conformal sets and abstain on non-singletons? This is a real threat. RSCP inflates its threshold by a worst-case shift much as we shift $\tau$ by $\delta$, so singleton-or-abstain may inherit a similar guarantee. The difference is that its scores come from a single $\sigma$. Direct comparison of certified coverage at matched risk settles whether abstaining across multiple noise levels matters.

Why not just threshold the certified radius at one noise level? This is the most serious alternative, and it is our own ablation. The theorem already covers it with $K=1$. If the best single $\sigma$ matches the multi-noise gate, the contribution reduces to the certified selective-risk bound plus its evaluation, and we will report it that way. The Hidden Cost results suggest multiple levels should help narrow classes, which could use low noise while broad classes use high noise. That prediction is testable class by class.

Proposed Experiments

The experiments use CIFAR-10 and ImageNet with ResNet-110 and ResNet-50 smoothed models, $\delta\in\{0.25, 0.5, 1.0\}$, and $r^*$ from 1% to 10%. They sweep the certified risk–coverage curve against each baseline, then attack the calibrated systems with the suite above. Four checks decide the project.

First, attacked selective risk never exceeds the certified bound for any attack, while the clean-calibrated softmax gate exceeds $r^*$ under at least one attack.

Second, at matched sample budget, the multi-noise gate certifies more coverage than the best single-$\sigma$ gate at the same $(r^*,\delta)$.

Third, per-class coverage is more even than in the class-wise accuracy collapse reported by Hidden Cost of Randomized Smoothing, with low-noise levels carrying narrow classes.

Fourth, the proposal matches or beats singleton-or-abstain robust conformal prediction at equal compute.

A failure of the second or fourth check would narrow the claim to the bound itself.