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

Improving Adversarial Robustness Using Proxy Distributions

Vikash Sehwag, Saeed Mahloujifar, Tinashe Handina, Sihui Dai, Chong Xiang, Mung Chiang, Prateek Mittal

Abstract

While additional training data improves the robustness of deep neural networks against adversarial examples, it presents the challenge of curating a large number of specific real-world samples. We circumvent this challenge by using additional data from proxy distributions learned by advanced generative models. We first seek to formally understand the transfer of robustness from classifiers trained on proxy distributions to the real data distribution. We prove that the difference between the robustness of a classifier on the two distributions is upper bounded by the conditional Wasserstein distance between them. Next we use proxy distributions to significantly improve the performance of adversarial training on five different datasets. For example, we improve robust accuracy by up to 7.5% and 6.7% in $\ell_{\infty}$ and $\ell_2$ threat model over baselines that are not using proxy distributions on the CIFAR-10 dataset. We also improve certified robust accuracy by 7.6% on the CIFAR-10 dataset. We further demonstrate that different generative models bring a disparate improvement in the performance in robust training. We propose a robust discrimination approach to characterize the impact of individual generative models and further provide a deeper understanding of why current state-of-the-art in diffusion-based generative models are a better choice for proxy distribution than generative adversarial networks.

Introduction

Deep neural networks are notoriously vulnerable to adversarial examples: inputs with small, intentional perturbations that are invisible to humans but cause models to fail. While adversarial training—training on these perturbed examples—is the most effective defense, its success depends heavily on the availability of vast amounts of training data. Collecting and curating millions of specific real-world samples is often prohibitively expensive.

This paper addresses a fundamental question: Can we use synthetic data from generative models to improve robustness? The researchers demonstrate that synthetic data from advanced generative models, particularly diffusion models, can serve as a powerful "proxy" to significantly boost a model's resistance to adversarial attacks, achieving state-of-the-art robustness without requiring additional real-world samples.

The PORT Framework

The researchers introduce a framework called PORT (PrOxy distributions in Robust Training). This approach is built on several key pillars:

  • Theoretical Foundation: The authors prove that "robustness transfer" from a proxy (synthetic) distribution to a real one is bounded by the conditional Wasserstein distance between them. Mathematically, if the synthetic data aligns with the real data's geometry, the robustness gained during training will carry over to real-world applications.
  • PORT Training: The framework utilizes a loss function that combines adversarial training on both real and synthetic data, balanced by a hyperparameter $\gamma$. This allows the model to leverage the volume of synthetic data while remaining anchored to the real distribution.
  • Adaptive Sampling: Recognizing that not all synthetic images are equally useful, the authors developed a synthetic score to identify and prioritize samples that are "closest" to the real data distribution, improving training efficiency.

Robust Discrimination and the ARC Metric

A significant contribution of this work is the discovery that standard metrics like Fréchet Inception Distance (FID), which measures image quality, are poor predictors of adversarial robustness. To solve this, the authors proposed ARC (Area under the Robust discrimination curve).

ARC measures how difficult it is for a robustly trained discriminator to distinguish between real and synthetic samples as adversarial perturbations increase. The following figure illustrates the geometry of this concept: while a simple model might easily distinguish real from fake, a robust discriminator reveals which synthetic data truly aligns with the real world under pressure.

Visualizing how robust discrimination distinguishes between real and proxy distributions under adversarial pressure.

Experimental Results

The authors evaluated PORT across five diverse datasets: CIFAR-10, CIFAR-100, CelebA, AFHQ (Animal Faces High Quality), and ImageNet (64x64). The results demonstrate massive gains in robustness:

  • CIFAR-10 Gains: PORT improved robust accuracy by up to 7.5% under $\ell_\infty$ attacks and 6.7% under $\ell_2$ attacks compared to baselines without extra data.
  • Certified Robustness: The method improved certified robust accuracy—a mathematically guaranteed level of defense—by 7.6% on CIFAR-10.
  • Breaking the Trade-off: Traditionally, increasing adversarial robustness comes at the cost of "clean" (standard) accuracy. PORT often improves both simultaneously, suggesting that synthetic data helps the model learn more fundamental, robust features.

Discussion: Diffusion vs. GANs

One of the most striking findings is that diffusion-based generative models (like DDPM) are far superior to GANs for improving robustness. Diffusion models appear to capture the underlying geometry of the data distribution much more effectively. The proposed ARC metric correctly ranked these generative models in terms of their utility for robust training, whereas FID failed to do so.

Conclusion and Future Work

PORT demonstrates that proxy distributions are a viable and highly effective substitute for massive real-world datasets in adversarial training. However, challenges remain. Generating millions of high-quality images from diffusion models is computationally expensive, and "unconditional" models require external classifiers for labeling, which can introduce noise. Future research will focus on tightening the theoretical bounds of robustness transfer and optimizing the generation process to make proxy-based training more accessible.

Summary updated

BibTeX
@inproceedings{sehwag2021improving,
  author = {Vikash Sehwag and Saeed Mahloujifar and Tinashe Handina and Sihui Dai and Chong Xiang and Mung Chiang and Prateek Mittal},
  title = {{Improving Adversarial Robustness Using Proxy Distributions}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  doi = {10.48550/arxiv.2104.09425},
}
Figure