Adversarial Auto-Augment with Label Preservation: A Representation Learning Principle Guided Approach

Kaiwen Yang, Yanchao Sun, Jiahao Su, Fengxiang He, Xinmei Tian, Furong Huang, Tianyi Zhou, Dacheng Tao

Introduction

Data augmentation (DA) is a cornerstone of modern deep learning, essential for improving model generalization by expanding the diversity of training data. However, existing DA techniques face two primary challenges. First, they are often domain-dependent; standard operations like color jittering or rotation are designed for natural images and can inadvertently destroy critical diagnostic information in specialized fields like medical imaging. Second, they lack autonomy; even "Auto-Augment" frameworks typically select from a predefined menu of human-crafted operations rather than generating novel, task-specific variations from scratch.

To address these limitations, this paper introduces Label-Preserving Adversarial Auto-Augment (LP-A3). LP-A3 is a domain-agnostic, task-informed augmentation strategy that generates "hard positive" examples by leveraging the model’s internal representations, guided by the principles of representation learning.

Methodology

The Information Bottleneck Principle

LP-A3 is rooted in the Information Bottleneck principle, which suggests that an ideal representation should retain all information relevant to the label while discarding irrelevant "nuisance" noise. LP-A3 operationalizes this by seeking perturbations that maximize the difference in the model's feature space while strictly maintaining the original class label.

The LP-A3 Objective

The core of the method involves an optimization problem with two competing goals:

  1. Maximizing Perceptual Distance: Instead of simple pixel-wise changes, LP-A3 uses the Learned Perceptual Image Patch Similarity (LPIPS) distance between intermediate layer activations. This ensures the generated example is "hard"—visually or structurally distant from the original according to the model's current understanding.
  2. Label Preservation: The perturbation is constrained to ensure the model’s prediction remains consistent with the original label. This is achieved through a Lagrangian relaxation, allowing the model to generate challenging samples that remain within the correct class boundary.

Efficiency via Time-Consistency Score (TCS)

Generating adversarial-style augmentations can be computationally expensive. To mitigate this, the authors introduce the Time-Consistency Score (TCS). This metric identifies "informative" samples—those where the model’s predictions are currently unstable or fluctuating. LP-A3 is selectively applied to these samples, significantly reducing the computational overhead while maintaining performance gains.

Experimental Results

The researchers evaluated LP-A3 across diverse benchmarks, including natural image datasets (CIFAR-10/100, ImageNet) and the MedMNIST suite, which includes specialized medical datasets like DermaMNIST (skin cancer) and PathMNIST (pathology).

Semi-Supervised and Noisy-Label Learning

LP-A3 demonstrated remarkable robustness in low-data and high-noise regimes:

  • Semi-Supervised Learning (SSL): When integrated with the state-of-the-art FixMatch framework on CIFAR-100 (using only 400 labels), LP-A3 improved accuracy from 49.30% to 56.16%.
  • Noisy-Label Learning: In scenarios where 90% of labels were corrupted, LP-A3 boosted the performance of the PES baseline from 21.15% to 40.61%, nearly doubling the model's accuracy.

Medical Imaging Performance

In medical domains where human intuition for augmentation often fails, LP-A3 proved superior to standard methods like RandAugment. On the DermaMNIST dataset, visualizations revealed that while RandAugment often distorted medically significant features, LP-A3 primarily perturbed the background and non-essential regions, preserving the integrity of the lesion areas necessary for diagnosis.

Key Insights

  • Hard Positives Drive Learning: The most effective data points are those that are structurally distant from the original but share the same label. LP-A3 explicitly searches for these points.
  • Internal Knowledge as a Generator: The method demonstrates that a model's own intermediate layers contain sufficient information to guide the creation of meaningful data variations, removing the need for external generative models like GANs.
  • Complementary Utility: LP-A3 is not a replacement for existing methods like Mixup or RandAugment; rather, it is complementary and can be stacked with them to achieve superior results.

Conclusion and Future Work

LP-A3 represents a significant step toward "prior-free" data augmentation. By moving away from hand-crafted heuristics and toward a representation-guided approach, it provides a robust solution for diverse and specialized data domains. While the method introduces some computational overhead and requires tuning of the label-preserving margin, its ability to accelerate convergence and improve accuracy in challenging settings is substantial. Future research will explore extending LP-A3 to non-visual modalities such as text and audio, further refining the efficiency of the adversarial optimization process.

Summary updated

BibTeX
@inproceedings{yang2022adversarial,
  author = {Kaiwen Yang and Yanchao Sun and Jiahao Su and Fengxiang He and Xinmei Tian and Furong Huang and Tianyi Zhou and Dacheng Tao},
  title = {{Adversarial Auto-Augment with Label Preservation: A Representation Learning Principle Guided Approach}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure