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

RandAugment: Practical Automated Data Augmentation with a Reduced Search Space

Ekin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc Le

Introduction

Automated data augmentation methods like AutoAugment have achieved state-of-the-art results in computer vision, but they come with a massive computational cost. These methods typically require thousands of GPU hours to search for optimal augmentation policies on smaller "proxy" tasks.

This paper introduces RandAugment, a drastically simplified approach that reduces the augmentation search space from a staggering $10^{32}$ to just $10^2$. By utilizing a single global distortion magnitude and eliminating the need for a proxy task, RandAugment is computationally cheap, easy to tune, and achieves state-of-the-art performance across major benchmarks like ImageNet, CIFAR, and COCO.

The Problem with Proxy Tasks

Data augmentation techniques—such as random cropping, flipping, or color shifting—are crucial for training robust deep vision models. However, manually designing these pipelines is tedious and highly domain-specific. Recent automated methods treat this as a search problem, using reinforcement learning to find optimal augmentation policies.

Because the search space for these policies is massive, previous methods rely on a "proxy task"—a smaller dataset and a smaller model—to make the search computationally feasible. The authors of RandAugment discovered a critical flaw in this approach: the optimal strength of data augmentation depends heavily on both the model size and the dataset size. Therefore, an augmentation policy learned on a small proxy task is inherently sub-optimal when applied to a larger, real-world target task.

The RandAugment Approach

RandAugment proposes a remarkably simple procedure that completely eliminates the need for a separate, expensive search phase. Instead of learning individual probabilities and magnitudes for dozens of different transformations, RandAugment uses just two human-interpretable hyperparameters:

  1. $N$: The number of augmentation transformations to apply sequentially to an image.
  2. $M$: A single global magnitude that controls the distortion strength of all operations.
Visual examples of RandAugment transformations applied at varying magnitude levels.

For each image in a training batch, the algorithm uniformly samples $N$ operations from a standard list of 14 transformations (e.g., rotate, shear, color adjustments, posterize) and applies them with strength $M$. This shrinks the search space so drastically that a simple grid search directly on the target task is sufficient.

Key Insights and Ideas

By tying the magnitudes of completely different operations to a single integer scale, RandAugment reveals several counter-intuitive insights about how models learn:

  • Larger models need stronger regularization: The authors demonstrate a clear monotonic trend. As network size increases (e.g., the widening parameter in Wide-ResNets), the optimal distortion magnitude ($M$) also increases to prevent overfitting.
  • Larger datasets need stronger augmentation: Counter-intuitively, optimal augmentation strength increases with training set size. The authors hypothesize that aggressive augmentation on small datasets lowers the signal-to-noise ratio too much, whereas large datasets can handle—and benefit from—heavier distortion.
  • Proxy tasks are fundamentally flawed: Because optimal augmentation depends on model and dataset size, searching on a small proxy task guarantees a sub-optimal policy for the final, larger deployment.
Optimal distortion magnitude depends heavily on both network size and training set size, demonstrating the flaw in using small proxy tasks.

Key Results

The method was evaluated on standard computer vision benchmarks, consistently matching or beating complex, computationally heavy search methods:

  • ImageNet: Achieved 84.7% top-1 accuracy on EfficientNet-B7, a 1.0% boost over the baseline augmentation and 0.4% better than AutoAugment.
  • CIFAR & SVHN: Matched or outperformed previous complex search methods, achieving 99.0% accuracy on SVHN using a Wide-ResNet-28-10.
  • COCO Object Detection: Boosted Mean Average Precision (mAP) by 1.0-1.3% over the baseline. It remained highly competitive with AutoAugment (41.9 vs 42.1 mAP on ResNet-200) while saving roughly 15,000 GPU hours of search time.

Limitations and Future Work

While highly effective, RandAugment relies on a fixed, standard list of 14 transformations. The paper does not address how to automatically select which transformations belong in this pool for entirely new domains where standard operations might destroy labels (e.g., rotating a "6" into a "9" in digit recognition).

Future work could explore how RandAugment applies to non-natural image domains like medical imaging, 3-D perception, or audio recognition, where the base set of safe transformations might differ and a separate, lightweight search phase might still be necessary to curate the initial list of operations.

Summary updated

BibTeX
@inproceedings{cubuk2020randaugment,
  author = {Ekin Dogus Cubuk and Barret Zoph and Jonathon Shlens and Quoc Le},
  title = {{RandAugment: Practical Automated Data Augmentation with a Reduced Search Space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure