Enabling Data Diversity: Efficient Automatic Augmentation via Regularized Adversarial Training

Yunhe Gao, Zhiqiang Tang, Mu Zhou, Dimitris N. Metaxas

Introduction

Deep learning models are notoriously data-hungry, often requiring vast amounts of labeled data to generalize effectively. To mitigate overfitting, researchers typically employ data augmentation—a technique that artificially expands training sets by applying transformations like rotations, flips, or color shifts. However, in specialized fields like medical imaging (e.g., CT scans or dermoscopy), standard augmentations designed for natural images often fail to capture the nuanced textures and complex anatomical structures.

Designing task-specific augmentation policies manually is labor-intensive and requires domain expertise. While automated methods like "AutoAugment" exist, they are often computationally prohibitive, relying on discrete search spaces and separate, costly training phases. This paper introduces a Regularized Adversarial Training framework that learns to generate challenging yet realistic training samples automatically and efficiently.

Methodology: The Triplet Network Framework

The proposed approach treats data augmentation as a competitive game involving three distinct neural network components, optimized jointly in an end-to-end fashion.

The overall optimization scheme and architecture of the proposed adversarial training framework.

1. Augmentation Generators ($G$)

Instead of selecting from a fixed list of operations, the system uses three differentiable networks to learn continuous transformations. This differentiable search space allows for more precise optimization via gradient descent compared to traditional discrete methods.

  • Global Affine Model ($G_A$): Learns rotation, scaling, and translation.
  • Local Deformation Model ($G_D$): Learns to stretch and warp specific regions of the image.
  • Appearance Model ($G_I$): Learns to perturb pixel intensities and colors.
Illustration of the three augmentation generators ($G_A, G_D, G_I$) and their respective outputs on a skin lesion image.

2. Target Learner ($T$)

This is the primary model being trained for the specific task, such as a skin cancer classifier or an organ segmentation network.

3. Discriminator ($D$)

The Discriminator acts as a "realism check," attempting to distinguish between original training images and those produced by the generators. This ensures that while the generator tries to "break" the classifier, it stays within the bounds of what a real medical image looks like.

The Min-Max Strategy and Regularization

The generators are trained with a dual objective: they must create "adversarial" samples that are difficult for the Target Learner to classify, while simultaneously fooling the Discriminator into believing the samples are realistic. To prevent the generators from producing non-sensical or overly distorted images, the authors incorporate regularization terms that penalize excessive transformations. This ensures the augmented data remains within the manifold of plausible medical images.

Experimental Evaluation

The framework was evaluated on two challenging medical imaging tasks:

  • 2D Skin Lesion Diagnosis: Utilizing the ISIC 2018 dataset, which contains over 10,000 dermoscopic images.
  • 3D Organ-at-Risk (OAR) Segmentation: Utilizing the MICCAI 2015 dataset, involving 38 3D CT scans for training head-and-neck organ segmentation.

Key Results

  • Performance: On the skin lesion task, the method consistently outperformed state-of-the-art techniques like RandAug and Fast-AutoAug across multiple backbones (EfficientNet, ResNet, DenseNet). In 3D segmentation, it achieved a Dice score of 0.814, surpassing the robust nnUNet baseline (0.786).
  • Efficiency: A major advantage is the training speed. For a ResNet-50 backbone, the proposed method required only 6.2 GPU hours, a significant reduction compared to the 36 hours needed for RandAug and 18.7 hours for a cGAN-based approach.

Conclusion

By repurposing adversarial training for generalization rather than just robustness, this framework provides a powerful tool for medical AI. The use of a differentiable search space and a realism-enforcing discriminator allows for the automatic discovery of complex augmentation policies that are both effective and computationally efficient. While the generators introduce some overhead and require hyperparameter tuning for loss weights, the gains in accuracy and training time represent a significant step forward for automated medical image analysis.

Summary updated

BibTeX
@inproceedings{gao2021enabling,
  author = {Yunhe Gao and Zhiqiang Tang and Mu Zhou and Dimitris N. Metaxas},
  title = {{Enabling Data Diversity: Efficient Automatic Augmentation via Regularized Adversarial Training}},
  booktitle = {IPMI},
  year = {2021},
  url = {https://openreview.net/forum?id=bgoZ9u0jrg},
}
Figure