Automatic Data Augmentation for 3D Medical Image Segmentation

Ju Xu, Mengzhang Li, Zhanxing Zhu

Abstract

Deep learning for 3D medical image segmentation is often hindered by small datasets and the difficulty of designing domain-specific data augmentation (DA) strategies. We present ASNG (Automatic Search with Natural Gradient), an automated framework that optimizes DA policies through a differentiable bi-level optimization process. Unlike previous reinforcement learning approaches, ASNG trains the target network and the augmentation policy concurrently, reducing search time from hundreds of hours to under 100 GPU hours. Our method achieves state-of-the-art performance on multiple Medical Segmentation Decathlon tasks, outperforming benchmarks such as nnUNet.

Introduction

Medical image analysis faces unique challenges compared to natural image processing. Datasets are frequently small, leading to overfitting, and the geometric properties of organs or tumors vary significantly across modalities (MRI vs. CT). While data augmentation is a standard remedy, most researchers rely on hand-crafted "recipes" that may not be optimal for specific anatomical structures.

Previous attempts to automate DA search have utilized Reinforcement Learning (RL). However, RL-based methods are computationally expensive, often requiring thousands of GPU hours. ASNG addresses these limitations by framing the search as a differentiable optimization problem, making automated DA practical for standard research environments.

Methodology: The ASNG Framework

The core of ASNG is a bi-level optimization strategy that treats the search for augmentation parameters and the training of neural network weights as nested loops.

The ASNG framework architecture showing the bi-level optimization process for updating network weights $w$ and augmentation parameters $\theta$.

Differentiable Search via Stochastic Relaxation

Because selecting a specific augmentation operation is a discrete choice, standard gradient descent cannot be applied directly. ASNG employs stochastic relaxation, modeling the choice of augmentation policies as a probability distribution. This transformation makes the objective function differentiable.

Natural Gradient Descent

To navigate the probability space of policies efficiently, the framework uses Natural Gradient Descent with an adaptive step-size. This ensures faster convergence toward the optimal policy compared to traditional trial-and-error or standard gradient methods.

Magnitude Intervals

A key innovation in ASNG's search space is the use of magnitude intervals rather than fixed points. For example, instead of searching for a fixed rotation of 15 degrees, ASNG searches for an optimal range (e.g., [10, 20] degrees). This increases the diversity of the training data, improving the model's ability to generalize to unseen patient data.

Experimental Results

The method was evaluated on three tasks from the Medical Segmentation Decathlon (MSD): Task01 (Brain Tumour), Task02 (Heart), and Task05 (Prostate).

Quantitative Performance

ASNG consistently outperformed the state-of-the-art nnUNet across all tested tasks. In the Prostate segmentation task, ASNG achieved a Dice Similarity Coefficient (DSC) of 77.22%, compared to nnUNet's 74.84%. For the Brain Tumour task, ASNG reached 74.38% (vs. 73.65% for nnUNet).

Qualitative segmentation comparison and validation loss curves across different training epochs for ASNG, nnUNet, and a baseline without data augmentation.

Efficiency and Stability

As shown in the validation loss curves, ASNG provides a more stable training process and reaches lower loss values than competing methods. Notably, ASNG does not require a separate "search" phase followed by a "final training" phase; the policy evolves and the model trains simultaneously, significantly reducing total computation time to under 100 GPU hours for the search component.

Conclusion

ASNG represents a significant step forward in making automated data augmentation accessible and effective for 3D medical imaging. By leveraging natural gradients and bi-level optimization, it removes the need for manual tuning and expensive RL-based searches. Future work will explore expanding the search space to include non-linear transformations and generative models to further enhance robustness in diverse clinical settings.

Summary updated

BibTeX
@inproceedings{xu2020automatic,
  author = {Ju Xu and Mengzhang Li and Zhanxing Zhu},
  title = {{Automatic Data Augmentation for 3D Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2020},
  doi = {10.1007/978-3-030-59710-8\_37},
}
Figure