GANsfer Learning: Combining labelled and unlabelled data for GAN based data augmentation

Christopher Bowles, Roger N. Gunn, Alexander Hammers, Daniel RueckertarXiv 2018

Abstract

Medical image segmentation often suffers from a severe lack of labelled data, despite an abundance of unlabelled scans sitting in hospital archives. This paper introduces "GANsfer Learning," a novel Generative Adversarial Network (GAN) training pipeline that leverages large unlabelled datasets to learn anatomical variance and small labelled datasets to learn segmentation mapping. The resulting synthetic data significantly improves downstream segmentation performance, effectively bridging the domain gap between healthy training data and pathological real-world cases.

Introduction

Deep learning models for medical image segmentation require pixel-perfect annotations, which are time-consuming and expensive for experts to create, particularly in 3D neuroimaging. Consequently, researchers often work with small labelled datasets that fail to capture the full spectrum of anatomical diversity.

While standard data augmentation techniques like rotations and scaling are staples in computer vision, they are less effective in neuroimaging. Brain scans are typically registered to standard spatial templates, rendering global transformations irrelevant, while random deformations risk violating strict anatomical constraints. GANsfer Learning addresses this by utilizing vast amounts of unlabelled medical images to generate realistic, labelled synthetic data to augment limited training sets.

The GANsfer Learning Framework

The authors propose a three-phase training approach using a Progressive Growing GAN (PGGAN). The core insight is that early layers in a GAN generator dictate low-frequency structural anatomy, while final layers control high-frequency appearance and channel mapping (e.g., coupling the MRI image with its segmentation mask).

The three-phase GANsfer Learning training pipeline.
  1. Phase 1 (Pre-training): The GAN is trained on the small labelled dataset. This forces the final layers of the generator to learn how to produce both an MRI image and its corresponding multi-class segmentation mask simultaneously.
  2. Phase 2 (Anatomical Expansion): The final layers of the generator are frozen. The early layers are then trained on the large unlabelled dataset using a new image-only discriminator. This teaches the network a wider variety of anatomical structures without losing the ability to generate segmentation masks.
  3. Phase 3 (Refinement): All layers are unfrozen. The GAN is fine-tuned using both datasets and two discriminators (one for images, one for segmentation masks) to improve overall image quality and consistency.

Following generation, synthetic images are filtered for quality—discarding the worst 25% based on Euclidean distance to real images—and used to train a standard segmentation network (DeepMedic).

Experimental Setup and Datasets

The study utilized two primary datasets to test the framework's ability to handle domain shift:

  • Labelled Dataset: 30 MRI scans from the MICCAI 2013 Grand Challenge, primarily featuring young, healthy subjects.
  • Unlabelled Dataset: The full OASIS-1 dataset (436 images), which includes an older demographic and many examples of Alzheimer’s Disease (AD) pathology.

By intentionally choosing a demographic mismatch, the authors tested whether the network could apply labels learned from healthy brains to the atrophied anatomy of older, pathological brains.

Key Results and Insights

Decoupling Anatomy from Appearance

By freezing specific layers, the authors successfully "tricked" the GAN into applying labels to anatomy it had never seen in a labelled context. As shown in latent space visualizations, the distribution of generated images shifts through the phases to better encompass the real data distribution.

Latent space visualization showing how the generated data distribution (Phases 1-3) evolves to match real images.

Performance and Data Efficiency

  • Data Efficiency: Training a segmentation network with just 6 real images plus synthetic data achieved the same Dice Similarity Coefficient (DSC) as training on 12 to 24 real images without augmentation.
  • Performance Boost: With only 1 real labelled image available, adding synthetic data boosted the average DSC from 0.69 to 0.75.
  • Clinical Utility: Predicted brain structure volumes were used to classify Alzheimer’s severity. Models trained with synthetic data boosted classification AUC from 57.6 to 66.7 (using 24 labels), proving the augmented models captured clinically relevant pathological features better than baselines.

Conclusion

GANsfer Learning demonstrates that unlabelled data can be a powerful resource for improving segmentation in data-scarce environments. While the technique shows diminishing returns as the volume of real labelled data increases, its ability to bridge domain gaps—such as applying healthy labels to pathological anatomy—offers significant promise for clinical applications where expert annotations are rare.

Summary updated

BibTeX
@misc{bowles2018gansfer,
  author = {Christopher Bowles and Roger N. Gunn and Alexander Hammers and Daniel Rueckert},
  title = {{GANsfer Learning: Combining labelled and unlabelled data for GAN based data augmentation}},
  year = {2018},
  eprint = {1811.10669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.10669},
}
Figure