Fixing Data Augmentation to Improve Adversarial Robustness

Sylvestre-Alvise Rebuffi, Sven Gowal, Dan A. Calian, Florian Stimberg, Olivia Wiles +1 more
3/2/2021
343 citations
cs.CVcs.LG

Official code: google-deepmind/deepmind-research (15,282 stars, Jupyter Notebook, Apache-2.0, last commit 2026-06-17).

Abstract

Adversarial training suffers from robust overfitting, a phenomenon where the robust test accuracy starts to decrease during training. In this paper, we focus on both heuristics-driven and data-driven augmentations as a means to reduce robust overfitting.

Show full abstract

First, we demonstrate that, contrary to previous findings, when combined with model weight averaging, data augmentation can significantly boost robust accuracy. Second, we explore how state-of-the-art generative models can be leveraged to artificially increase the size of the training set and further improve adversarial robustness. Finally, we evaluate our approach on CIFAR-10 against $\ell_\infty$ and $\ell_2$ norm-bounded perturbations of size $ε= 8/255$ and $ε= 128/255$, respectively. We show large absolute improvements of +7.06% and +5.88% in robust accuracy compared to previous state-of-the-art methods. In particular, against $\ell_\infty$ norm-bounded perturbations of size $ε= 8/255$, our model reaches 64.20% robust accuracy without using any external data, beating most prior works that use external data.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains implementations and illustrative code to accompany DeepMind publications

15,2822,916Jupyter Notebook, PythonJan 15, 20195 months agoApache-2.0

Similar Papers

Cite this paper

@article{rebuffi2021fixing,
  title  = {Fixing Data Augmentation to Improve Adversarial Robustness},
  author = {Sylvestre-Alvise Rebuffi and Sven Gowal and Dan A. Calian and Florian Stimberg and Olivia Wiles and Timothy Mann},
  year   = {2021},
  eprint = {2103.01946},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.01946}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.01946.svg)](https://codeofpaper.com/paper/2103.01946)

Discussion