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

Certified Adversarial Defenses Meet Out-of-Distribution Corruptions: Benchmarking Robustness and Simple Baselines

Jiachen Sun, Akshay Mehra, Bhavya Kailkhura, Pin-Yu Chen, Dan Hendrycks, Jihun Hamm, Z. Morley MaoarXiv 2021

Abstract

While randomized smoothing (RS) provides provable "certified" robustness against adversarial attacks, this paper reveals a major blind spot: these models are surprisingly brittle when facing out-of-distribution (OOD) corruptions like fog or snow. By identifying a "spectral bias" where models over-index on high-frequency noise, the authors introduce FourierMix—a frequency-domain data augmentation—and a new benchmarking suite to ensure certified defenses can actually survive the messy, low-frequency reality of the physical world.

The Problem: The Fragility of Certified Robustness

In high-stakes applications like autonomous driving, empirical robustness is often insufficient; we require certified robustness. Randomized smoothing (RS) is the current gold standard, providing mathematical guarantees that a model's prediction remains stable within a specific radius of an input.

However, RS training typically relies on adding Gaussian noise, which the authors discovered creates a significant "spectral bias." Models become highly proficient at handling high-frequency jitter but fail against low-frequency shifts common in real-world weather (e.g., fog, frost). As shown in Figure 1, when state-of-the-art certified models encounter OOD data, their robustness guarantees can plummet by 35% to 74%.

Average Certified Radius (ACR) drops significantly on OOD corrupted inputs across standard datasets.

Proposed Methodology: FourierMix and HCR

To address this spectral imbalance, the authors propose a two-pronged approach:

  1. FourierMix Augmentation: Unlike standard pixel-level noise, FourierMix operates in the frequency domain. It perturbs the amplitude and phase of an image's Fourier transform and integrates these with affine transformations. This forces the model to learn from a broader spectral range during training.
  2. Hierarchical Consistency Regularizer (HCR): This new loss term encourages the model to maintain consistent representations across different levels of perturbation—specifically comparing the original image, its Gaussian-noised version, and its FourierMix-augmented version.
The proposed pipeline: FourierMix generates diverse augmented sets, while HCR ensures consistency across noise types to improve certified robustness.

Datasets and Benchmarking

The study utilizes standard OOD benchmarks (CIFAR-10-C, CIFAR-100-C, and ImageNet-C) alongside a newly introduced Spectral OOD Benchmarking Suite (CIFAR-10/100-F). This new suite provides 192 test sets that systematically cover different regions of the frequency spectrum using power-law noise, allowing researchers to pinpoint exactly where a model’s spectral defenses fail.

Key Insights

  • The Gaussian Trap: Training solely with Gaussian noise trains models to ignore high-frequency "static," making them "blind" to low-frequency structural changes like fog, which the model misinterprets as a fundamental change in the scene.
  • Phase Matters: Perturbing the phase component in FourierMix while preserving high-level semantics significantly boosts robustness without degrading the model's recognition capabilities.
  • Spectral Bias in Benchmarks: Popular OOD benchmarks are often biased toward specific frequency ranges; a model's performance can vary wildly depending on whether the corruptions hit its specific spectral "blind spots."

Results and Performance

  • Certified Robustness Gains: On CIFAR-10-C and CIFAR-100-C, the FourierMix+HCR approach improved the Average Certified Radius (ACR) by 18.3% and 26.3% respectively over standard baselines.
  • Weather Resilience: FourierMix models maintained significantly higher certified radii on low-frequency corruptions (like fog and frost) where previous state-of-the-art models typically collapsed.
  • Comparison to AugMix: FourierMix consistently outperformed AugMix in the context of certified robustness, demonstrating that frequency-domain diversity is more effective for randomized smoothing than standard empirical defenses.

Limitations and Future Work

While FourierMix provides substantial empirical gains, a unified theoretical framework bridging the gap between high-frequency Gaussian noise guarantees and low-frequency semantic shifts remains an open challenge. Additionally, the computational overhead of FourierMix and HCR is higher than standard training. Future research will likely explore semantic transformations and other $\ell_p$ norms to further harden models against OOD shifts.

Summary updated

BibTeX
@misc{sun2021certified,
  author = {Jiachen Sun and Akshay Mehra and Bhavya Kailkhura and Pin-Yu Chen and Dan Hendrycks and Jihun Hamm and Z. Morley Mao},
  title = {{Certified Adversarial Defenses Meet Out-of-Distribution Corruptions: Benchmarking Robustness and Simple Baselines}},
  year = {2021},
  eprint = {2112.00659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00659},
}
Figure