Abstract: Data augmentation plays a pivotal role in enhancing and diversifying training data. Nonetheless, consistently improving model performance in varied learning scenarios, especially those with inherent data biases, remains challenging. To address this, we propose to augment the deep features of samples by incorporating their adversarial and anti-adversarial perturbation distributions, enabling adaptive adjustment in the learning difficulty tailored to each sample’s specific characteristics. We then theoretically reveal that our augmentation process approximates the optimization of a surrogate loss function as the number of augmented copies increases indefinitely. This insight leads us to develop a meta-learning-based framework for optimizing classifiers with this novel loss, introducing the effects of augmentation while bypassing the explicit augmentation process. We conduct extensive experiments across four common biased learning scenarios: long-tail learning, generalized long-tail learning, noisy label learning, and subpopulation shift learning. The empirical results demonstrate that our method consistently achieves state-of-the-art performance, highlighting its broad adaptability.
Introduction
Deep learning models are notoriously sensitive to "biased" training data, which often leads to poor generalization on real-world test sets. This bias typically manifests in three primary forms: long-tail distributions (where a few classes dominate), noisy labels (incorrectly labeled training samples), and subpopulation shifts (where models rely on spurious correlations, like "dogs on grass," and fail on rare scenarios like "dogs in water").
Existing data augmentation (DA) techniques often apply uniform transformations across entire categories. However, a "hard" sample requires different treatment than an "easy" one, regardless of their shared label. Furthermore, explicit DA—generating new physical images—is computationally expensive. This paper introduces Implicit Adversarial Data Augmentation (IADA), a sample-wise approach that is both efficient and capable of bridging the gap between training and real-world distributions.
Implicit Adversarial Data Augmentation (IADA)
Instead of generating new physical images, IADA operates directly in the deep feature space. The core idea is to apply two types of perturbations to sample features:
- Adversarial Perturbations: Move features toward the decision boundary, increasing learning difficulty to improve robustness.
- Anti-adversarial Perturbations: Move features away from the boundary, simplifying the learning task to prevent overfitting on noisy or majority-class samples.
The "Implicit" nature of this method stems from a mathematical proof: training on an infinite number of these perturbed features is equivalent to optimizing a specific surrogate loss function. This derivation reveals three internal regularization terms that benefit the model:
- Generalization: Compacting feature distributions.
- Robustness: Aligning gradients to ensure stability near boundaries.
- Fairness: Adjusting for class frequency imbalances.
The Meta-IADA Framework
To determine whether a specific sample should be made "harder" or "easier," the authors employ a meta-learning approach. A small, clean, and balanced "meta-dataset" guides the training of a Perturbation Network (a simple MLP). This network analyzes 15 training characteristics of a sample—such as its current loss and margin—to predict the optimal augmentation strength ($\epsilon_i$) for that specific sample.
Generally, the strategy involves applying anti-adversarial augmentation to majority classes to prevent overfitting and adversarial augmentation to minority or "hard" samples to force the model to learn more robust boundaries. Because the augmentation is handled via the loss function, it avoids the computational bottleneck of standard data transformation pipelines.
Experimental Results
Meta-IADA was evaluated across a wide array of benchmarks, consistently outperforming state-of-the-art (SOTA) methods:
- Long-Tail Learning: On CIFAR-100 LT (100:1 ratio), Meta-IADA achieved 52.18% accuracy, surpassing the previous best of 50.16%. On the large-scale iNaturalist 2018 dataset, it reached 72.55% accuracy.
- Noisy Labels: In scenarios with 40% noise on CIFAR-10, Meta-IADA maintained 91.99% accuracy, whereas standard Cross-Entropy loss dropped to 70.78%.
- Subpopulation Shift: On the "Waterbirds" dataset, the model achieved a 92.5% worst-group accuracy, demonstrating that it successfully avoids relying on spurious correlations.
Conclusion
Meta-IADA provides a robust, efficient framework for handling data bias by simulating infinite augmentations through a surrogate loss. While it requires a small meta-dataset for guidance, its ability to adaptively tune augmentation strength at the sample level allows it to excel in diverse and challenging learning environments. Future work may extend this implicit approach to more complex tasks like object detection and multi-modal learning.
Summary updated