Abstract
Recent work on automated augmentation strategies has led to state-of-the-art results in image classification and object detection. An obstacle to a large-scale adoption of these methods is that they require a separate and expensive search phase. A common way to overcome the expense of the search phase was to use a smaller proxy task. However, it was not clear if the optimized hyperparameters found on the proxy task are also optimal for the actual task. In this work, we rethink the process of designing automated augmentation strategies. We find that while previous work required a search for both magnitude and probability of each operation independently, it is sufficient to only search for a single distortion magnitude that jointly controls all operations. We hence propose a simplified search space that vastly reduces the computational expense of automated augmentation, and permits the removal of a separate proxy task. Despite the simplifications, our method achieves equal or better performance over previous automated augmentation strategies on on CIFAR-10/100, SVHN, ImageNet and COCO datasets. EfficientNet-B7, we achieve 85.0% accuracy, a 1.0% increase over baseline augmentation, a 0.6% improvement over AutoAugment on the ImageNet dataset. With EfficientNet-B8, we achieve 85.4% accuracy on ImageNet, which matches a previous result that used 3.5B extra images. On object detection, the same method as classification leads to 1.0-1.3% improvement over baseline augmentation.
Introduction
Data augmentation is essential for training deep learning models that generalize well to unseen data. Recently, automated methods like AutoAugment have used reinforcement learning to discover optimal augmentation policies. While effective, these methods suffer from two major drawbacks: they require massive computational resources for a separate "search phase" (often costing thousands of GPU hours), and they rely on the assumption that policies found on a small "proxy task" will transfer to larger, final models.
RandAugment challenges this paradigm by radically simplifying the search space, eliminating the need for proxy tasks and complex search algorithms entirely.
The RandAugment Method
RandAugment replaces complex search algorithms with extreme simplicity. Instead of learning a specific probability and magnitude for every possible transformation, RandAugment makes two simplifying assumptions:
- Uniform Probability: Every available transformation (e.g., shear, solarize, contrast) has an equal chance of being selected.
- Global Magnitude: All transformations applied to an image share the same distortion magnitude, $M$.
This leaves only two hyperparameters to tune: $N$ (the number of transformations to apply sequentially) and $M$ (the magnitude/intensity of those transformations). Because the search space is so small, researchers can tune $N$ and $M$ directly on the final model using a simple grid search.
Rethinking the Proxy Task Gap
A key insight of RandAugment is that the optimal augmentation strategy is not static; it depends heavily on the size of the model and the dataset. The authors demonstrate that larger models and larger datasets require stronger augmentation (higher $M$). This explains why policies found on small proxy tasks are often sub-optimal for state-of-the-art models.
As shown in the figures above, there is a clear trend: as the network size (widening parameter) or training set size increases, the optimal distortion magnitude also increases. This suggests that augmentation acts as a form of regularization that must be scaled with model capacity.
Key Results
Despite its simplicity, RandAugment matches or exceeds the performance of much more complex methods:
- ImageNet: Achieved 85.0% top-1 accuracy on EfficientNet-B7, a 0.6% improvement over AutoAugment.
- CIFAR-10: Reached 98.5% accuracy on PyramidNet, matching the best results of computationally expensive methods.
- Object Detection: Improved Mean Average Precision (mAP) on the COCO dataset by 1.0-1.3% over the baseline.
- Efficiency: While AutoAugment can take 15,000 GPU hours for its search phase, RandAugment requires zero extra search time beyond a minimal grid search during standard training.
Conclusion
RandAugment demonstrates that a reduced search space can lead to more practical and effective automated data augmentation. By focusing on a single magnitude parameter, it allows augmentation to be tuned as a standard hyperparameter, ensuring that the regularization strength is always optimized for the specific model and dataset at hand.
Summary updated