CT-Realistic Lung Nodule Simulation from 3D Conditional Generative Adversarial Networks for Robust Lung Segmentation

Dakai Jin, Ziyue Xu, Youbao Tang, Adam P. Harrison, Daniel J. Mollura

Abstract

Deep learning in medical imaging often suffers from a lack of diverse training data, especially for rare pathological "edge cases." This paper introduces a 3D Conditional Generative Adversarial Network (CGAN) with a novel multi-mask loss to synthesize highly realistic lung nodules within CT scans. By augmenting training datasets with these artificially generated nodules, the authors significantly improve the robustness and accuracy of state-of-the-art lung segmentation models, particularly in challenging peripheral regions.

Introduction

Deep learning models require massive, diverse datasets to perform reliably in clinical settings. However, medical data is often scarce due to privacy regulations, high acquisition costs, and the rarity of specific disease presentations. In the context of pathological lung segmentation, even state-of-the-art models like the Progressive Holistically Nested Network (P-HNN) struggle with "edge cases," such as large peripheral lung nodules that touch the lung boundary. Because these cases are underrepresented in standard training sets, segmentation models often fail to capture the true lung boundary accurately. This research explores whether generative AI can artificially create these missing edge cases to eliminate model blind spots.

Methodology

To generate synthetic training data, the authors developed a 3D Conditional Generative Adversarial Network (CGAN) designed for 3D "inpainting."

Architecture and Setup

The generator takes a 3D CT Volume of Interest (VOI) where the central region—where a nodule should be—has been erased. The model must predict the missing voxels conditioned on the surrounding healthy tissue. The architecture utilizes a 3D U-Net-like generator with encoder-decoder structures and shortcut connections to preserve fine-scale 3D details, paired with a convolutional discriminator.

Multi-Mask L1 Loss

A significant challenge in generative inpainting is avoiding blurry results or jarring borders between synthetic and real tissue. The authors introduced a novel multi-mask L1 reconstruction loss to address this. While a standard penalty is applied to the erased region, a significantly higher penalty is applied to a dilated boundary zone just outside the erased area. This forces the network to prioritize seamless blending with surrounding vessels, soft tissue, and parenchyma.

The 3D CGAN inpainting process: (b) original nodule, (c) erased central region mask, (d) result with standard loss, and (e) realistic result with the proposed multi-mask loss.

Data and Experiments

The primary dataset used was the Lung Image Database Consortium (LIDC), containing 1018 chest CT scans.

  • Training: Approximately 4300 training sample pairs (64x64x64 voxel VOIs) were extracted by cropping around real nodules (>5mm) and erasing their centers.
  • Evaluation: 34 nodules from 22 patients were used to test the CGAN. For the downstream segmentation task, synthetic nodules were injected into 42 healthy subjects to create ~10,000 slices of synthetic training data for fine-tuning the P-HNN model.

Results and Discussion

The proposed 3D CGAN generated highly realistic nodules with diverse shapes that blended perfectly with surrounding tissues. The multi-mask loss effectively eliminated the discontinuity artifacts common in standard generative models.

Quantitatively, fine-tuning the P-HNN segmentation model with this synthetic data led to substantial improvements in handling peripheral nodule edge cases:

  • Mean Dice Score: Increased from 0.964 to 0.989.
  • Hausdorff Distance: Improved by 2.4mm.
  • Average Surface Distance: Improved by 1.2mm.

These results demonstrate that synthetic data is a viable solution for addressing the "dataset bottleneck." By framing nodule generation as an inpainting task, the model ensures that synthetic anomalies respect the local anatomical context.

Conclusion

This study proves that GAN-generated data has direct, measurable utility in improving discriminative medical models. While the current method focuses on nodules larger than 5mm and requires manual tuning of loss weights, it offers a promising framework for overcoming data scarcity. Future work could extend this 3D CGAN approach to other modalities like MRI and different pathologies, such as brain tumors or liver lesions, where edge cases similarly degrade diagnostic performance.

Summary updated

BibTeX
@inproceedings{jin2018ct,
  author = {Dakai Jin and Ziyue Xu and Youbao Tang and Adam P. Harrison and Daniel J. Mollura},
  title = {{CT-Realistic Lung Nodule Simulation from 3D Conditional Generative Adversarial Networks for Robust Lung Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2018},
  doi = {10.1007/978-3-030-00934-2\_81},
}
Figure