Certified adversarial defenses meet out-of-distribution corruption: robustness benchmarking and a simple baselineCertified Adversarial Defenses Meet Out-of-Distribution Corruptions: Benchmarking Robustness and Simple Baselines
The authors state that randomized smoothing certified defenses suffer up to a 74% drop in ACR under low-frequency OOD corruption, and propose FourierMix+HCR and the new spectral benchmark CIFAR-10/100-F.
The paper focuses on non-adversarial test-time distribution shift: deployment data differs from the training distribution (OOD), such as weather-related low-frequency corruption; the evaluation subject is randomized smoothing (RS) certified defenses, measuring the degradation of their certified robustness guarantees (ACR/mACR) under OOD, and mitigating it with FourierMix data augmentation and HCR regularization.
- The robustness guarantees of randomized smoothing (RS) certified defenses are all evaluated on in-distribution data; the authors examine whether they remain effective under OOD corruption and find that low-frequency corruption causes the guarantees to fail.
- Propose the FourierMix data augmentation (multiply the amplitude spectrum by uniform noise, add truncated Gaussian noise to the phase spectrum, then mix with an affine transformation) together with hierarchical consistency regularization HCR, and propose the CIFAR-10/100-F benchmark covering the full spectrum.
- On CIFAR-10/100-C/C̄ and ImageNet-C/C̄, the mACR of FourierMix+HCR is higher than baselines such as Gaussian, AutoAugment, and AugMix; on CIFAR-10-C, mACR rises from 0.363 to 0.460 (Table 1).
- The authors state that the robustness gap between high- and low-frequency corruption ranges remains an open problem; they study only incomplete verification and do not cover complete verification or other ℓp norms; preliminary experiments on test-time adaptation failed to improve ACR under OOD (Appendix G).
- Evaluated models
- ResNet-110ResNet-50
- Benchmarks
- CIFAR-10CIFAR-100ImageNetCIFAR-10-CCIFAR-100-CImageNet-CCIFAR-10-C̄CIFAR-100-C̄ImageNet-C̄CIFAR-10-FCIFAR-100-F
- Metrics
- ACRmACR
The paper finds that certified adversarially robust models see their robustness guarantees drop markedly when encountering low-frequency out-of-distribution (OOD) data such as weather-related corruption, making them difficult to deploy in real environments. To this end, the authors propose the FourierMix data augmentation scheme, which eliminates the spectral bias of certified robust models by improving the spectral coverage of training data, and pairs it with a regularization term that encourages the model to keep predictions consistent under noise perturbations of the augmented data, achieving markedly better certified robustness guarantees on multiple out-of-distribution benchmarks. The paper also points out that existing out-of-distribution benchmarks struggle to expose models' spectral bias, and accordingly builds a comprehensive benchmark suite containing corruptions in different spectral regions; evaluation of models trained with mainstream augmentation methods shows their respective spectral biases, and models trained with FourierMix achieve better certified robustness guarantees across the entire spectrum.
Paper analysis
What problem does this paper attempt to solve?
The authors examine the performance of RS certified defenses under OOD data, state that their guarantees fail under low-frequency corruption, and propose a mitigation method and a new benchmark.
Core question: whether the provable robustness guarantees of randomized smoothing (RS)-based certified defenses still hold on out-of-distribution (OOD) data.
- Setting and importance: Certified robustness guarantees are regarded as a measure of whether a model can be deployed in the real world (e.g., autonomous driving, cybersecurity), but the authors state that these guarantees are all evaluated under the ideal setting where test data and training data are identically distributed, whereas distribution shift is ubiquitous in real deployment.
- Shortcomings of existing methods: The authors state that SOTA certified models (Gaussian augmentation, SmoothAdv, MACER) are unexpectedly fragile to low-frequency OOD corruption (e.g., fog, frost), with robustness guarantees dropping by 35%, 45%, and 74% on CIFAR-10-C, CIFAR-100-C, and ImageNet-C, respectively (Figure 1); moreover, existing OOD benchmarks themselves are biased toward certain frequency regions and cannot expose the spectral bias of models.
- Core observation: Through Fourier sensitivity analysis, the authors state that certified models are biased toward high-frequency noise, with ACR consistently below 0.3 in low-frequency regions (Figure 3), and consider that Gaussian augmentation causing the model to be biased toward high-frequency regions relative to the original image is the cause.
- What the paper proposes: The data augmentation method FourierMix (producing augmentation samples with diverse spectra) together with hierarchical consistency regularization HCR, and the OOD benchmark suite CIFAR-10/100-F covering the entire spectrum.
- Threat model: The paper studies not malicious attackers but natural distribution shift at test time:
- Source of shift: OOD data whose deployment environment differs from the training distribution, such as weather-related corruption;
- Victim system: RS certified defenses (smoothed classifiers trained by Cohen et al., SmoothAdv, MACER);
- What is measured: degradation of certified radius / ACR under OOD; the paper does not specify the attacker's knowledge and capabilities.
What related research exists?
Related work is divided into four groups: certified defenses, benchmarks and defenses for common corruptions, data augmentation, and certified semantic robustness; the baselines are Gaussian/AutoAugment/AugMix.
Certified robustness and defenses
- After Szegedy et al. [48] discovered adversarial examples, many empirical defenses were proposed, but the authors state that many of them rely on gradient obfuscation and are easily bypassed by adaptive attacks [2].
- Early certification methods (convex polytope [52], recursive propagation [16], linear relaxation [42, 59]) can only be applied to shallow models; the randomized smoothing series [8, 31, 32, 39] scales to large networks, and this paper studies its OOD robustness.
- Mehra et al. [36] use data poisoning attacks to damage the robustness guarantees of RS models; the paper explicitly states the difference from this work: this paper demonstrates failure under test-time corruption that models may encounter in deployment.
Benchmarks and defenses for common corruptions
- Dodge et al. [13] find that standard-trained DNNs are susceptible to blur and Gaussian noise; Hendrycks et al. [21] propose CIFAR-10/100-C and ImageNet-C (15 corruption types, 5 severity levels); Mintun et al. [37] further propose CIFAR-10/100-C̄ and ImageNet-C̄.
- Two defense routes: test-time adaptation (e.g., BN statistics update [45], TENT [51]) and data augmentation (AutoAugment [10], AugMix [22]).
Data augmentation
- AutoAugment [10] uses reinforcement learning to learn augmentation policies; AugMix [22] mixes augmentations produced by randomly sampled operations and pairs them with a Jenson-Shannon consistency loss.
- The paper states the difference from this work: these augmentation methods aim to improve empirical robust accuracy, whereas this paper's augmentation method aims to improve adversarial robustness guarantees (ACR) on OOD data.
Certified semantic robustness
- [14, 34, 40] provide performance guarantees for seen common corruption types (e.g., rotation, brightness changes); the paper states that this work focuses on the more realistic scenario of unseen test-time corruption, and states that this paper's analysis and defense techniques can extend to these semantic robustness methods.
Baselines and benchmarks: The experimental baselines are three augmentations, Gaussian [8], AutoAugment [10], and AugMix [22], plus JSD regularization [24]; the benchmarks are CIFAR-10/100-C, ImageNet-C [21] and CIFAR-10/100-C̄, ImageNet-C̄ [37]. The authors position this paper as: revealing the vulnerability of certified defenses under OOD, and providing an augmentation method aimed at certified robustness (rather than empirical robustness) and an evaluation suite with full spectrum coverage.
How does the paper address this problem?
First use spectral analysis to locate low-frequency vulnerability, then propose FourierMix augmentation and HCR regularization, and construct the full-spectrum coverage benchmark CIFAR-10/100-F.
Overall approach: first diagnose the spectral bias of RS certified models via Fourier sensitivity analysis, then train the base classifier with the spectrally diverse data augmentation FourierMix plus hierarchical consistency regularization HCR, and finally propose the CIFAR-10/100-F benchmark to evaluate OOD certified robustness across the entire spectrum.
Background and diagnosis
- RS certification: The smoothed classifier M̂ outputs the most likely class of the base classifier M under Gaussian perturbation; the certified radius is CR(M̂,σ,x;y)=σ/2(Φ−1(pA)−Φ−1(pB)), where pA and pB are the probabilities of the top class and the runner-up class, approximated by Monte Carlo sampling.
- Evaluation metrics: ACR is the mean certified radius over the test set (prediction errors count as 0); on OOD, mACR is used (the ACR averaged over corruption types, c=15 for CIFAR-10/100-C and c=10 for -C̄).
- Corruption grouping: Based on visual similarity of the amplitude spectra of corrupted images, the 15 corruption types of CIFAR-10-C are divided into Group-H (Gaussian/impulse/shot noise, pixelate, JPEG), Group-M (defocus/frosted glass/motion/zoom blur, elastic), and Group-L (brightness, fog, frost, snow, contrast) (Appendix A).
- Fourier sensitivity analysis: For each test sample, add r·ε·U(i,j) (Fourier basis image, ε=4) and then compute ACR, plotted as a heatmap, with the center corresponding to low frequencies and the edges to high frequencies [57].
FourierMix data augmentation
- Amplitude perturbation: A(u,v)=Aorigu,v· U(1−sA,1+sA), multiplying all frequencies by a factor sampled from a uniform distribution, so that the augmentation ratio is similar across frequencies.
- Phase perturbation: P(u,v)=Porigu,v+𝒩truncated(0,σ2 I), adding truncated Gaussian noise; the authors state that phase preserves high-level semantics, so truncated Gaussian is used to constrain it and avoid destroying semantics.
- Mixing procedure: Following AugMix's high-level framework: sample k=3 branches, each branch performs FFT→spectral perturbation→IFFT, then mixes with the result of a random affine transformation using Beta-sampled weights, and finally mixes once more with the original image (Algorithm 1, α=1).
- Severity levels: On CIFAR-10/100, sA takes [0.2,…,0.6] and sP takes [π/12,…,π/4], for 5 levels in total; on ImageNet, sA is the same and sP is larger (Appendix D); the truncated Gaussian uses σ=5.
Hierarchical consistency regularization (HCR)
- Two-layer consistency: The first layer LG applies KL consistency to s=2 noise samples with Gaussian augmentation; the second layer applies KL consistency to the whole of k=2 FourierMix augmentations and the original image, with weights η and λ respectively (Equations 3, 4).
- Total loss: L=1/s∑i L(x0+δi,y)+LHCR; the authors state that HCR is equivalent to stacking two layers of JSD.
- Hyperparameters: On CIFAR-10, η=10, λ=40; on CIFAR-100, η=10, λ=20; on ImageNet, η=5, λ=5 (Appendix C).
CIFAR-10/100-F benchmark
- Generation method: Model the amplitude perturbation δFourier(f)A with power-law noise, center frequency fc∈{1,…,16}, α∈{0.5,1,2,3}, b=0.2; the phase perturbation is U(0,2π); normalize by γ to control severity, with ε∈{8,10,12} for 3 levels in total (Equation 5).
- Scale: 3×4×16=192 test sets, each focusing on a specific frequency region and together covering the entire spectrum; the authors state that its goal is to complement rather than replace existing benchmarks.
What experiments did the paper conduct?
Comparing 6 augmentation × regularization combinations on the -C/-C̄ benchmarks of CIFAR-10/100 and ImageNet, FourierMix+HCR has the highest mACR in all cases.
Experimental setup
- Subjects: RS smoothed classifiers with ResNet-110 (CIFAR-10/100) and ResNet-50 (ImageNet) backbones, trained with different augmentations and regularizations.
- Baselines: Three augmentations, Gaussian [8], AutoAugment [10], and AugMix [22], with regularization comparing JSD [24] and this paper's HCR; other augmentation methods add N(0,σ²I) Gaussian noise to half of the samples in each mini-batch during training.
- Datasets: In-distribution CIFAR-10/100 and ImageNet; OOD are CIFAR-10/100-C, ImageNet-C (15 corruption types) and CIFAR-10/100-C̄, ImageNet-C̄ (10 corruption types), plus the self-built CIFAR-10/100-F.
- Metrics: ACR and mACR; certification uses the official implementation of Cohen et al., with n=100,000, n0=100, α=0.001.
- Sampling scale: For CIFAR-10/100 -C/C̄, 500 samples are certified per corruption per severity level, and 350 for ImageNet; Fourier sensitivity analysis uses 200 samples per heatmap point (Appendix E).
- Training details: CIFAR is trained for 200 epochs and ImageNet for 90 epochs, with SGD; σ=0.25 (CIFAR) and 0.5 (ImageNet); the input normalization layer is removed.
Main results
According to Table 1 (mACR, with the -C columns of CIFAR-10/100 averaged by Low/Mid/High groups):
Swipe horizontally to read the table
Method CIFAR-10 ACR CIFAR-10-C mACR CIFAR-10-C̄ mACR CIFAR-100-C mACR ImageNet-C mACR ImageNet-C̄ mACR Gaussian 0.461 0.363 0.314 0.169 0.256 0.266 Gaussian+JSD 0.535 0.439 0.393 0.232 0.395 0.395 AutoAugment+JSD 0.432 0.400 0.346 0.225 not reported not reported AugMix+HCR 0.520 0.437 0.393 0.249 0.390 0.378 FourierMix+JSD 0.522 0.444 0.397 0.247 0.399 0.413 FourierMix+HCR 0.535 0.460 0.419 0.261 0.397 0.411 - The authors state that FourierMix+HCR improves mACR over the Gaussian baseline by 26.7%/33.4% on CIFAR-10-C/C̄, and over the strong baseline AugMix+HCR by 5.3%/6.6%; on CIFAR-100 it improves over Gaussian by 54.4%/74.6%, and over AugMix+HCR by 4.8%/7.6%.
- The authors state that AutoAugment degrades on CIFAR-10-C̄, and attribute this to its augmentations overlapping heavily with CIFAR-10-C corruptions and its limited spectral diversity.
- On ImageNet, the authors state that OOD reduces ACR from 0.600 to mACR 0.256 (about a 57% drop, about 30% for CIFAR); FourierMix's mACR is 55.9% and 2.1% higher than Gaussian and AugMix+JSD, respectively; HCR shows no clear difference relative to JSD on ImageNet.
Fourier sensitivity and spectral bias
- What was measured: Fourier sensitivity analysis on CIFAR-10/100 for Gaussian, SmoothAdv, MACER, and the variants in this paper (Figures 3, 5).
- Results: In Figure 3, the three SOTA methods have ACR consistently below 0.3 in the mid-to-low frequency region, and higher in the high-frequency region; in Figure 5, FourierMix+HCR improves across the entire spectrum, while AutoAugment improves little relative to Gaussian.
- Authors' interpretation: The authors state that certified models are biased toward high-frequency noise, and that FourierMix's spectrally diverse augmentation can mitigate this bias; the ranking differences between benchmarks stem from the different spectral characteristics of the corruptions.
CIFAR-10/100-F benchmark evaluation
- What was measured: The ACR of the models in §5.1 on CIFAR-10/100-F, averaged over 3 severity levels (Figure 6).
- Results: The authors state that FourierMix+HCR is on average 11.8% (CIFAR-10-F) and 16.0% (CIFAR-100-F) higher than AugMix+HCR; AutoAugment and AugMix models are relatively biased toward low-frequency corruption, Gaussian and Gaussian+JSD are relatively worse on CIFAR-100-F; the curves show a dip in the mid-frequency region.
- Authors' interpretation: The authors state that the FourierMix model does not exhibit obvious spectral bias and does not overfit CIFAR-10/100-F (the two differ in construction and visual patterns).
Other ablations and analyses
- Comparison of SOTA certification methods (Table 8, CIFAR-10-C, σ=0.25): MACER mACR 0.426, SmoothAdv 0.411, Gaussian 0.363, with all three clearly lower in the low-frequency group than in the high-frequency group.
- Test-time adaptation (Table 9, Appendix G): On CIFAR-10-C, Gaussian+BN mACR 0.356 and +TENT 0.357, both lower than the 0.363 without adaptation; the authors state that the small sample on which one-time adaptation relies is insufficient to correct the OOD shift.
- Comparison with empirically robust models (Figures 8, 9, Appendix B): Empirically robust models [22,29,43] maintain relatively high robust accuracy across corruption groups, and no single model on RobustBench is best on all benchmarks.
- ImageNet per-corruption results (Tables 6, 7): Gaussian+JSD has the highest ACR on high-frequency corruptions, AugMix+JSD is highest on several low-frequency corruptions of ImageNet-C, and FourierMix has the highest overall mACR.
What are some points that can be further explored?
The authors list open problems such as the high/low-frequency gap and test-time adaptive certification; the experiments cover RS-type incomplete verification and three image datasets.
Limitations and future directions noted by the authors
- Bridging the gap in robustness guarantees between high-frequency and low-frequency corruption regions remains an open problem and requires deeper theoretical understanding (§7).
- The authors encourage future research to apply the test-time adaptation idea to robustness certification and to design data-efficient, unsupervised adaptive methods (§7).
- The analysis in this paper can extend to other ℓp norm certification [55] and semantic transformation certification [34] (§7).
- This paper focuses only on incomplete verification techniques; the authors expect that OOD vulnerability will also affect complete verification techniques (§7).
- Appendix G notes that certification of adaptive models is a potential direction requiring more theoretical support, and the authors leave it as future work.
- Appendix C.3 notes that there is still much room above FourierMix's improvement on ImageNet, and hopes to inspire more research on ImageNet OOD certified defenses.
Scope of experiments
- The subjects are RS smoothed classifiers with ResNet-110 (CIFAR-10/100) and ResNet-50 (ImageNet) backbones, with training methods covering combinations of Gaussian, AutoAugment, AugMix, FourierMix and JSD/HCR; SmoothAdv and MACER appear in Table 8 and Figure 3.
- The evaluation benchmarks are CIFAR-10/100-C, ImageNet-C, CIFAR-10/100-C̄, ImageNet-C̄, and the self-built CIFAR-10/100-F (192 test sets).
- Certification parameters n=100,000, n0=100, α=0.001; 500 (CIFAR) or 350 (ImageNet) samples are certified per corruption per severity level; the paper does not report multiple repetitions or variance.
- Test-time adaptation is only preliminarily evaluated with two methods, BN and TENT, each performing one-time adaptation with 500 OOD images (Appendix G).
- The paper states that its augmentation method focuses on improving Gaussian augmentation-type defenses, and states that combining with SmoothAdv and MACER can yield further ACR gains (§4 footnote 2).
Summarize the main content of the paper
The authors state that RS certified defenses are fragile under low-frequency OOD corruption, and that FourierMix+HCR and the new spectral benchmark can mitigate and diagnose this problem.
An empirical study and defense paper on the robustness of certified adversarial defenses under out-of-distribution data.
- Problem: The robustness guarantees of RS certified defenses are all evaluated under in-distribution settings; the authors examine their performance under OOD corruption and report that SOTA models are unexpectedly vulnerable to low-frequency corruption (fog, frost, etc.), with guarantees dropping by 35%, 45%, and 74% on CIFAR-10-C, CIFAR-100-C, and ImageNet-C, respectively (Figure 1).
- Diagnosis: Fourier sensitivity analysis shows that Gaussian, SmoothAdv, and MACER have ACR consistently below 0.3 in the mid-to-low frequency region (Figure 3); the authors argue that Gaussian augmentation biases the model toward high-frequency regions.
- Method: FourierMix multiplies the amplitude spectrum by uniform noise, adds truncated Gaussian noise to the phase spectrum, and mixes the result with an affine transformation, combined with a two-layer KL consistency regularization HCR; they also propose the CIFAR-10/100-F benchmark, with 192 test sets covering the entire spectrum.
- Results: FourierMix+HCR achieves the highest mACR on all OOD benchmarks: CIFAR-10-C 0.460, CIFAR-10-C̄ 0.419, CIFAR-100-C 0.261, ImageNet-C 0.397 (Table 1); on CIFAR-10/100-F it is on average 11.8%/16.0% higher than AugMix+HCR.
- Exceptions: On ImageNet, HCR shows no clear difference relative to JSD; test-time adaptation (BN, TENT) fails to improve ACR under OOD (Table 9).
- Authors' conclusion: The authors argue that eliminating spectral bias can improve OOD certified robustness and that evaluation should not rely on a single benchmark; theoretical understanding of the high/low-frequency gap, adaptive certification, and the OOD performance of complete verification are left as future directions.