NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Regularized Training and Tight Certification for Randomized Smoothed Classifier with Provable Robustness

Huijie Feng, Chunpeng Wu, Guoyang Chen, Weifeng Zhang, Yang Ning

Introduction

Deep neural networks are notoriously brittle, often failing against adversarial attacks where small, calculated perturbations flip a model's prediction. While empirical defenses exist, they frequently succumb to adaptive attacks. This vulnerability has driven research toward provable robustness, specifically through Randomized Smoothing. By adding Gaussian noise to an input and aggregating the classifier's "majority vote," one can mathematically guarantee prediction stability within a specific $\ell_2$ radius.

However, standard randomized smoothing faces two primary challenges: suboptimal training of the base classifier and overly conservative certification methods that underestimate the model's true safety margins. This paper introduces ADRE (ADaptive Radius Enhancing), a training regularizer that optimizes for the smoothed classifier's performance, and T-CERTIFY, a tighter certification algorithm.

Methodology

ADRE: Adaptive Radius Enhancing Regularizer

The authors observe that training a base classifier with simple noise augmentation does not explicitly optimize for the final smoothed model's robustness. ADRE addresses this by acting as a large-margin regularizer. It penalizes incorrect predictions by the smoothed classifier while maximizing the margin—the gap between the top class and the runner-up—for correct examples. This cross-entropy-based formulation is computationally efficient, as it reuses noise samples, and integrates seamlessly with both standard and adversarial training.

T-CERTIFY Algorithm

To certify robustness, one must estimate the probabilities of the top class ($p_A$) and the runner-up ($p_B$). Traditional methods often assume $p_B = 1 - p_A$, which is a loose bound. T-CERTIFY estimates $p_A$ and $p_B$ independently and employs a grid search to optimize statistical confidence allocation. This results in significantly tighter, and thus larger, certified radii.

Certified accuracy vs. $\ell_2$ radius comparing T-CERTIFY and standard CERTIFY.

Experimental Setup

The proposed methods were evaluated on two standard benchmarks:

  • CIFAR-10: Utilizing a ResNet-110 architecture.
  • ImageNet: Utilizing a ResNet-50 architecture to demonstrate scalability to large-scale computer vision tasks.

Key Results

The combination of ADRE and T-CERTIFY yields substantial improvements in provable robustness. On CIFAR-10, ADRE improved certified accuracy by up to 9% over basic noise augmentation. On ImageNet, improvements reached up to 8%. T-CERTIFY consistently produced larger certified radii than previous state-of-the-art methods, particularly at higher noise levels ($\sigma$).

Certified accuracy results for ADRE vs. basic training on CIFAR-10 and ImageNet benchmarks.

The results demonstrate that training specifically for the smoothed objective is crucial. By maximizing the class gap in the smoothed space rather than just the base model's confidence, ADRE provides a more robust foundation for certification.

Conclusion and Future Work

This work highlights the importance of aligning training objectives with the mechanisms of randomized smoothing. While ADRE and T-CERTIFY significantly advance $\ell_2$ provable robustness, challenges remain regarding the computational overhead of sampling and sensitivity to regularization parameters. Future research may explore extending these adaptive margin concepts to other norms, such as $\ell_\infty$, and optimizing the sampling process to reduce training and inference time.

Summary updated

BibTeX
@inproceedings{feng2020regularized,
  author = {Huijie Feng and Chunpeng Wu and Guoyang Chen and Weifeng Zhang and Yang Ning},
  title = {{Regularized Training and Tight Certification for Randomized Smoothed Classifier with Provable Robustness}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5798},
}
Figure