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

Incremental Randomized Smoothing Certification

Shubham Ugare, Tarun Suresh, Debangshu Banerjee, Gagandeep Singh, Sasa Misailovic

Introduction

Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial attacks—small, calculated perturbations to an input that cause the model to misclassify. Randomized Smoothing (RS) has emerged as a leading statistical method to "certify" robustness. It works by creating a smoothed version of a model that classifies an input based on the most likely output under random noise.

However, RS is computationally grueling. It requires thousands of model inferences for every single image to reach a high-confidence statistical bound. In real-world deployment, models are rarely static; they are iteratively quantized (reducing bit-precision) or pruned (removing weights) to run faster on edge devices. Currently, every time a model is tweaked, the certification process must start from zero, creating a massive bottleneck in the development pipeline.

Incremental Randomized Smoothing (IRS) is a new framework that reuses robustness certificates from a base neural network to rapidly certify modified versions of that network. By estimating the "disparity" between models rather than re-certifying from scratch, IRS achieves up to a 4.1x speedup while maintaining rigorous robustness guarantees.

The IRS Framework

The core idea behind IRS is that a modified model (like an int8 quantized version) behaves very similarly to its parent model. Instead of treating the new model as a total stranger, IRS reuses the information gathered during the parent model's certification.

The Incremental Randomized Smoothing (IRS) framework

The technical "secret sauce" relies on several key mechanisms:

  1. Disparity Estimation: IRS estimates the disparity ($\zeta_x$), which is the probability that the original model and the modified model will disagree on a noisy input. Because the models are similar, the disparity is usually very close to zero. Statistically, it requires far fewer samples to estimate a value near zero than it does to estimate the top-class probability (which is often near 0.5 in standard RS).
  2. Radius Transfer: The authors provide a new mathematical foundation that allows them to "transfer" the certified radius from the original model to the new one using this calculated disparity value.
  3. Seed Reusing: IRS saves the random seeds used for the original model's noise. By using the exact same noise samples for the new model, they can calculate the disparity more accurately and twice as fast as using fresh noise.
  4. Hybrid Approach: The algorithm includes a threshold ($\gamma$). If the original model was extremely confident, it might be faster to use standard RS. If not, the system dynamically switches to the incremental approach.

Experimental Setup

The researchers evaluated IRS across standard computer vision benchmarks:

  • CIFAR-10: Using ResNet-20 and ResNet-110 architectures.
  • ImageNet: Using the larger ResNet-50 architecture.
  • Approximations: They tested the method against common model compression techniques, including float16, bfloat16, and int8 quantization, as well as $l_1$ unstructured pruning (at 5%, 10%, and 20% levels).

Key Insights

  • The Efficiency of Small Numbers: One of the most important insights is that estimating a small probability (disparity) is significantly more sample-efficient than estimating a large one. This statistical reality drives the majority of the speedup.
  • Certification as a Lifecycle: The paper shifts the view of certification from a one-time event to an iterative process. By caching the "seeds" and "predictions" of the base model, certification becomes a reusable asset.
  • Robustness vs. Accuracy Trade-off: Interestingly, larger smoothing noise ($\sigma$)—which usually makes models more robust but less accurate—actually leads to even better speedups with IRS. This is because it tends to result in smaller top-class probabilities where the incremental approach excels.

Results and Performance

IRS demonstrated significant improvements in certification efficiency across multiple architectures and datasets.

Certification time vs. average certified radius for CIFAR-10 and ImageNet
  • Significant Speedups: On CIFAR-10 with a ResNet-110, IRS reduced certification time from 2.91 hours to just 0.71 hours—a 4.1x speedup.
  • ImageNet Performance: For ResNet-50, IRS was 1.33x faster and actually achieved a higher Average Certified Radius (0.90) than the baseline (0.875) within the same time constraints.
  • Pruning Resilience: Even with 10% of weights removed via pruning, IRS maintained speedups of roughly 1.4x to 2.2x depending on the noise level.
  • Consistency: Across all quantization types (fp16, bf16, int8), IRS consistently outperformed certifying from scratch.

Limitations and Future Work

While highly effective, IRS does have a few limitations. It requires storing a cache of the original certification (seeds and predictions). While the authors note this is small (under 2MB for their largest tests), it does introduce an extra step in the data management pipeline. Additionally, the speedup is directly tied to how similar the two models are. If a model is pruned extremely aggressively (e.g., 50%+), the disparity becomes too high, and the benefits of IRS diminish.

Looking forward, the authors suggest that this incremental logic could be extended beyond just quantization and pruning—perhaps to certify models as they undergo "online" updates or fine-tuning on new data distributions.

Summary updated

BibTeX
@inproceedings{ugare2024incremental,
  author = {Shubham Ugare and Tarun Suresh and Debangshu Banerjee and Gagandeep Singh and Sasa Misailovic},
  title = {{Incremental Randomized Smoothing Certification}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=SdeAPV1irk},
}
Figure