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

Learning data augmentation policies using augmented random search

Mingyang Geng, Kele Xu, Bo Ding, Huaimin Wang, Lei ZhangarXiv 2018

Abstract

Deep learning models are highly dependent on large-scale labeled datasets for effective generalization. While data augmentation is a critical tool for enhancing dataset variety, the search for optimal augmentation policies has historically been a manual or computationally expensive process. This paper presents ARS-Aug, a method that automates this search by utilizing a continuous search space and Augmented Random Search (ARS). ARS-Aug demonstrates superior performance across major benchmarks, including CIFAR-10, CIFAR-100, and ImageNet, while achieving a 15-fold increase in computational efficiency compared to prior reinforcement learning-based methods.

Introduction

The performance of deep neural networks is often limited by the availability and diversity of training data. Data augmentation—applying transformations such as rotations, color shifts, and flips—mitigates this by creating synthetic variations of existing samples. However, the "optimal" augmentation policy is often dataset-specific and difficult to determine manually.

Previous automated approaches, most notably AutoAugment, utilized Reinforcement Learning (RL) to navigate a discrete search space of transformation magnitudes and probabilities. This approach is hindered by two main factors: sub-optimality due to the coarse discretization of parameters and extreme computational overhead. ARS-Aug seeks to overcome these limitations by treating the policy search as a continuous optimization problem.

Methodology

The core innovation of ARS-Aug lies in its reformulated search space and optimization strategy.

Continuous Search Space

Unlike AutoAugment, which selects from fixed "levels" of intensity, ARS-Aug represents a policy as a 30-dimensional continuous vector. This vector defines five sub-policies, each consisting of two operations. Each operation is characterized by three continuous parameters: the operation type, its probability of application, and its magnitude. A sigmoid function is employed to map these parameters into a normalized range, allowing for fine-grained tuning (up to two decimal places of precision).

Augmented Random Search (ARS)

To navigate this continuous space, the researchers replaced complex RL controllers with Augmented Random Search (ARS), a derivative-free optimization technique. ARS functions by perturbing a candidate policy with random noise in opposing directions. The performance of these perturbed policies is evaluated on a "child model"—a smaller, faster-to-train version of the target architecture. The policy is then updated in the direction that yielded the greatest performance gain. This method is significantly more efficient, allowing for a more exhaustive exploration of the policy space within a fraction of the time required by RL or evolutionary strategies.

Visual representation of learned sub-policies applied to image batches. Each sub-policy consists of specific operations like Solarize, Equalize, or Rotate with optimized probability and magnitude values.

Experimental Results

The effectiveness of ARS-Aug was validated on three standard computer vision datasets: CIFAR-10, CIFAR-100, and ImageNet.

Benchmark Performance

  • CIFAR-10: Using a PyramidNet + ShakeDrop architecture, ARS-Aug achieved a record-low error rate of 1.26%, a significant improvement over the previous state-of-the-art.
  • CIFAR-100: The method reduced the error rate to 10.24%, outperforming AutoAugment's 10.67%.
  • ImageNet: On the large-scale ImageNet dataset, ARS-Aug reached a Top-1 accuracy of 83.88% using AmoebaNet-C, surpassing the 83.54% achieved by AutoAugment.

Key Insights

The search process revealed that high-level image recognition on ImageNet benefits most from color-based transformations (such as solarization and contrast adjustment) and geometric rotations. Furthermore, the researchers found that concatenating 25 discovered sub-policies into a single master policy provided the necessary diversity to maximize model robustness. Crucially, policies discovered on small "child models" transferred effectively to much larger, state-of-the-art architectures, proving the generalizability of the learned augmentations.

Conclusion

ARS-Aug represents a significant step forward in automated machine learning (AutoML) for data augmentation. By shifting to a continuous search space and employing efficient random search, the method removes the "dead weight" of rarely-used operations and achieves superior accuracy with far less computational cost. Future work will explore the application of this framework to other domains, such as audio processing and speech recognition, where manual augmentation design remains a bottleneck.

Summary updated

BibTeX
@misc{geng2018learning,
  author = {Mingyang Geng and Kele Xu and Bo Ding and Huaimin Wang and Lei Zhang},
  title = {{Learning data augmentation policies using augmented random search}},
  year = {2018},
  eprint = {1811.04768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.04768},
}
Figure