Abstract
Data augmentation is a critical component in training robust deep neural networks, yet identifying optimal augmentation policies remains computationally expensive. We present Direct Differentiable Augmentation Search (DDAS), a hyper-efficient algorithm that automates this process. By employing a two-level hierarchy and a one-step meta-learning gradient update, DDAS achieves state-of-the-art performance while reducing search costs by orders of magnitude. Notably, DDAS identifies ImageNet policies in just 1.2 GPU hours, a significant improvement over the 15,000 hours required by traditional automated methods.
Introduction
While data augmentation techniques like rotation and color jittering are essential for model performance, the optimal policy is highly dependent on the specific dataset and task. Manually tuning these policies is labor-intensive and requires significant domain expertise. Automated approaches, such as AutoAugment (AA), have successfully discovered effective policies but at a prohibitive computational cost, often requiring thousands of GPU hours. Recent differentiable methods have attempted to mitigate this, but they frequently rely on complex approximations like Gumbel-Softmax or unstable second-order gradients. DDAS addresses these challenges by providing a direct, stable, and extremely fast search mechanism.
Methodology
DDAS introduces three primary innovations to streamline the search for augmentation policies:
1. Two-Level Hierarchy
The search space is partitioned into a total probability ($p_{tp}$) and operation probabilities ($p_o$). The $p_{tp}$ parameter determines whether any augmentation should be applied to a given sample, while $p_o$ selects the specific operation and magnitude. This explicit "no-augmentation" option prevents the search from converging on overly aggressive transformations that could degrade model performance.
2. One-Step Meta-Learning and Direct Differentiation
Inspired by differentiable architecture search (DARTS), DDAS optimizes the augmentation policy to maximize performance on a validation set after a single gradient update step. Unlike previous methods that use discrete sampling tricks, DDAS treats augmentation probabilities as weights for the expected training loss. This allows for direct gradient calculation, which is both more stable and computationally efficient.
3. Dynamic Offline Policy
Recognizing that optimal augmentations change throughout the training process, DDAS captures a snapshot of the best policy at every epoch during the search phase. This sequence is then replayed during final model training, allowing the augmentation strategy to evolve dynamically.
Experimental Results
DDAS was evaluated across standard benchmarks including CIFAR-10/100, ImageNet, and MS-COCO. The results demonstrate that DDAS matches or exceeds the accuracy of state-of-the-art (SOTA) methods while requiring a fraction of the search time.
- Efficiency: On CIFAR-10, DDAS requires only 0.15 GPU hours, compared to 5,000 hours for AutoAugment. On ImageNet, the search is completed in 1.2 GPU hours, a 12,500x speedup over AA.
- Performance: On CIFAR-100 using a Shake-Shake network, DDAS achieved a 15.1% error rate, outperforming DADA (15.3%).
- Scalability: The efficiency of DDAS allows it to be applied to complex tasks like object detection. On MS-COCO, DDAS found a policy in 20 GPU hours that achieved 39.8 mAP on ResNet-101, nearly matching AutoAugment's 40.0 mAP which required nearly 20,000 GPU hours.
Conclusion
Direct Differentiable Augmentation Search (DDAS) represents a significant step forward in automated machine learning. By simplifying the differentiation process and introducing a hierarchical search space, it removes the computational barriers to finding optimal data augmentation policies. Future work may explore continuous magnitude search and the potential for fully online, joint optimization of models and their augmentation strategies.
Summary updated