Diffusion-based Data Augmentation for Nuclei Image Segmentation

Xinyi Yu, Guanbin Li, Wei Lou, Siqi Liu, Xiang Wan, Yan Chen, Haofeng Li

TL;DR

This paper introduces the first diffusion-based data augmentation framework for nuclei segmentation in histopathology images. By employing a two-step strategy to synthesize both nuclei structures and realistic tissue images, the authors demonstrate that augmenting just 10% of a labeled dataset can achieve segmentation performance comparable to a model trained on the full 100% labeled dataset.

What Problem Does This Paper Address?

Accurate nuclei segmentation is vital for clinical diagnosis and prognosis in histopathology. However, training deep learning models for this task requires massive amounts of pixel-level annotations. Manually labeling every nucleus in a high-resolution image is an exhausting, time-consuming process that requires specialized domain knowledge.

While Generative Adversarial Networks (GANs) have been used to synthesize training data, they often suffer from unstable training and a lack of diversity in the generated images. This paper tackles the "annotation bottleneck" by leveraging the superior stability and diversity of Diffusion Models to create high-quality, paired synthetic data (images and their corresponding labels) from a very small pool of real examples.

Methods

The authors propose a two-step generative framework, as illustrated in the overview below:

Fig. 2: The proposed diffusion-based data augmentation framework. We first generate a nuclei structure with an unconditional diffusion model, and then generate images conditioned on the nuclei structure. The instance map from the nuclei structure is paired with the synthetic image to forms a new sample.

1. Unconditional Nuclei Structure Synthesis

Instead of trying to generate complex instance maps directly, the model first learns to synthesize a "Nuclei Structure." This is a 3-channel surrogate map consisting of:

  • Pixel-level semantics: A binary mask showing where nuclei are.
  • Distance transforms: Horizontal and vertical maps representing the distance of each pixel to the nucleus center.

This structure is generated using an unconditional Denoising Diffusion Probabilistic Model (DDPM). Because these structures contain distance information, the authors can use a marker-controlled watershed algorithm to easily convert them into final instance maps.

2. Conditional Histopathology Image Synthesis

In the second step, a conditioned diffusion model generates a realistic histopathology image that perfectly aligns with the synthetic structure from Step 1.

To ensure the generated tissue matches the requested nuclei layout, the authors use Spatially-Adaptive Normalization (SPADE). This module embeds the structural information into the image generation process at multiple scales, ensuring nuclei appear in the correct locations while allowing the background textures to be created freely. They also utilize classifier-free guidance to balance the fidelity of the image with how well it follows the input structure.

Datasets

The framework was evaluated on two widely used public benchmarks:

  • MoNuSeg: Contains 44 labeled images (30 for training, 14 for testing) of size 1000 × 1000.
  • Kumar: Consists of 30 labeled images from seven different organs, split into 16 for training and 14 for testing.

Key Insights and Ideas

  • Structure as a Surrogate: Generating a multi-channel "structure" (mask + distance transforms) is more effective than generating raw instance labels. It provides the geometric cues necessary to separate touching nuclei, a common challenge in pathology.
  • Diffusion over GANs: The authors argue that diffusion models are naturally better for data augmentation because they cover the data distribution more broadly, providing the "diversity" that helps segmentation models generalize better.
  • The 10% Rule: The most striking insight is the efficiency. By training the generative models on only 10% of the available data and then using them to synthesize a larger training set, the resulting segmentation model performs as well as one trained on the full 100% real dataset.

Key Results

The authors tested their augmented datasets on two different segmentation architectures: Hover-Net and PFF-Net.

  • Data Efficiency: On the MoNuSeg dataset using Hover-Net, the baseline with 10% data achieved a Dice score of 0.7969. After augmentation, this jumped to 0.8291, surpassing the 100% fully-supervised baseline (0.8206).
  • Generalization: The method consistently improved performance across different labeling proportions (20%, 50%, and even 100%) and across both tested segmentation models.
  • Qualitative Quality: As shown in the visualization below, the synthetic images (third row) and structures (fourth row) are remarkably similar in style and texture to real samples, while maintaining perfect alignment between the image and the label.

Detailed quantitative results for Hover-Net can be seen in the table below:

Effectiveness of the proposed data augmentation method with Hover-Net.

Limitations and Future Work

The paper does not explicitly detail major limitations, but a common drawback of diffusion models is their inference speed; generating thousands of synthetic images for augmentation can be computationally expensive compared to GANs.

Future work could involve exploring even more complex tissue environments or applying this framework to other medical imaging modalities where labeling is equally scarce. The authors conclude that diffusion models hold "great potential" for paired sample synthesis in the medical domain.

Summary updated

BibTeX
@inproceedings{yu2023diffusion,
  author = {Xinyi Yu and Guanbin Li and Wei Lou and Siqi Liu and Xiang Wan and Yan Chen and Haofeng Li},
  title = {{Diffusion-based Data Augmentation for Nuclei Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  url = {https://openreview.net/forum?id=8FTnUq_WItp},
}
Figure