On the Generalization Effects of Linear Transformations in Data Augmentation

Sen Wu, Hongyang R. Zhang, Gregory Valiant, Christopher Ré
5/2/2020
96 citations
cs.LGcs.AIcs.CV

Official code: senwu/dauphin (29 stars, Python, Apache-2.0, last commit 2020-09-07).

Abstract

Data augmentation is a powerful technique to improve performance in applications such as image and text classification tasks. Yet, there is little rigorous understanding of why and how various augmentations work.

Show full abstract

In this work, we consider a family of linear transformations and study their effects on the ridge estimator in an over-parametrized linear regression setting. First, we show that transformations that preserve the labels of the data can improve estimation by enlarging the span of the training data. Second, we show that transformations that mix data can improve estimation by playing a regularization effect. Finally, we validate our theoretical insights on MNIST. Based on the insights, we propose an augmentation scheme that searches over the space of transformations by how uncertain the model is about the transformed data. We validate our proposed scheme on image and text datasets. For example, our method outperforms random sampling methods by 1.24% on CIFAR-100 using Wide-ResNet-28-10. Furthermore, we achieve comparable accuracy to the SoTA Adversarial AutoAugment on CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets.

View on arXivView PDF

Code Implementations(1)

senwu/dauphinOfficial100%
Apache-2.0

An uncertainty-based random sampling algorithm for data augmentation

297Python, ShellMay 22, 20206 years agoApache-2.0
data-augmentation

Similar Papers

Cite this paper

@article{wu2020generalization,
  title  = {On the Generalization Effects of Linear Transformations in Data Augmentation},
  author = {Sen Wu and Hongyang R. Zhang and Gregory Valiant and Christopher Ré},
  year   = {2020},
  eprint = {2005.00695},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.00695}
}

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/2005.00695.svg)](https://codeofpaper.com/paper/2005.00695)

Discussion