[Paper Review] Improving Robustness using Generated Data
This paper proposes a method to improve adversarial robustness in deep neural networks by generating synthetic data from a generative model trained solely on the original training set, without relying on external datasets. By combining generated and real data during adversarial training, the approach achieves state-of-the-art robust accuracy of 66.10% on CIFAR-10 under ℓ∞ perturbations (ε=8/255), surpassing prior methods that used external data like 80 Million Tiny Images.
Recent work argues that robust training requires substantially larger datasets than those required for standard classification. On CIFAR-10 and CIFAR-100, this translates into a sizable robust-accuracy gap between models trained solely on data from the original training set and those trained with additional data extracted from the "80 Million Tiny Images" dataset (TI-80M). In this paper, we explore how generative models trained solely on the original training set can be leveraged to artificially increase the size of the original training set and improve adversarial robustness to $\ell_p$ norm-bounded perturbations. We identify the sufficient conditions under which incorporating additional generated data can improve robustness, and demonstrate that it is possible to significantly reduce the robust-accuracy gap to models trained with additional real data. Surprisingly, we even show that even the addition of non-realistic random data (generated by Gaussian sampling) can improve robustness. We evaluate our approach on CIFAR-10, CIFAR-100, SVHN and TinyImageNet against $\ell_\infty$ and $\ell_2$ norm-bounded perturbations of size $ε= 8/255$ and $ε= 128/255$, respectively. We show large absolute improvements in robust accuracy compared to previous state-of-the-art methods. Against $\ell_\infty$ norm-bounded perturbations of size $ε= 8/255$, our models achieve 66.10% and 33.49% robust accuracy on CIFAR-10 and CIFAR-100, respectively (improving upon the state-of-the-art by +8.96% and +3.29%). Against $\ell_2$ norm-bounded perturbations of size $ε= 128/255$, our model achieves 78.31% on CIFAR-10 (+3.81%). These results beat most prior works that use external data.
Motivation & Objective
- To close the robust-accuracy gap between models trained with and without external data, especially in settings where such data is unavailable or problematic.
- To investigate whether generated data—even from low-quality or random sources—can improve adversarial robustness.
- To demonstrate that generative models trained only on the original dataset can effectively augment training data for robustness without compromising privacy or requiring external data.
- To provide theoretical and empirical justification for when and why generated data improves robustness.
Proposed method
- Train a generative model (e.g., DDPM, StyleGAN2, BigGAN, VDVAE) exclusively on the original training data to produce synthetic samples.
- Train a non-robust classifier on the original data and use it to assign pseudo-labels to the generated samples.
- Combine the original training data with the pseudo-labeled generated data into a mixed training distribution.
- Train a robust classifier using adversarial training (e.g., PGD-based) on the combined dataset, using a weighted mixture of real and generated data.
- Use a mixing factor α to control the proportion of generated data in the training mix, balancing realism and diversity.
- Justify the method theoretically by showing that if the generative model covers the true data distribution and the non-robust classifier generalizes well, then the robust objective can be minimized.
Experimental results
Research questions
- RQ1Can generated data from a model trained only on the original dataset improve adversarial robustness?
- RQ2Does the quality of generated data (e.g., random vs. DDPM-generated) significantly affect robustness gains?
- RQ3Can even non-realistic, randomly sampled data improve robustness, and if so, under what conditions?
- RQ4Is it possible to match or exceed the performance of models trained with external datasets like 80M-Ti using only original data and generation?
- RQ5What theoretical conditions ensure that incorporating generated data leads to improved robustness?
Key findings
- The proposed method achieves 66.10% robust accuracy on CIFAR-10 under ℓ∞ perturbations of size ε=8/255, representing an 8.96% improvement over the prior state-of-the-art without external data.
- Even random, Gaussian-sampled inputs (from a conditional fit to the training data) improved robust accuracy by 0.93% on a Wide ResNet-28-10, demonstrating that diversity and distributional coverage matter more than realism.
- DDPM-generated samples were found to be closest to the true data distribution in Inception feature space, making them most effective for robustness.
- The method outperforms all prior approaches that use external data, including those using the 80 Million Tiny Images dataset, which has since been withdrawn due to offensive content.
- The approach avoids privacy and ethical risks associated with external datasets by training the generative model solely on the original data.
- The theoretical analysis shows that robustness improvement is guaranteed if the generative model covers the true data distribution and the non-robust classifier generalizes well on both real and generated data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.