LesionMix: A Lesion-Level Data Augmentation Method for Medical Image Segmentation

Berke Doga Basaran, Weitong Zhang, Mengyun Qiao, Bernhard Kainz, Paul M. Matthews, Wenjia Bai · DOI

Introduction

Deep learning models for medical image segmentation typically require large, annotated datasets to achieve high performance. However, in clinical practice, datasets—particularly those involving pathologies like brain lesions or liver tumors—often suffer from a "long-tail" distribution. While healthy scans are abundant, specific abnormalities may be rare, leading to poor model generalization.

Traditional data augmentation (TDA) techniques, such as rotation, scaling, and flipping, operate at the image level. While these methods increase general diversity, they do not alter the underlying pathology or lesion load. Conversely, generative methods like Generative Adversarial Networks (GANs) can synthesize new abnormalities but are computationally expensive, difficult to train, and often organ-specific.

LesionMix introduces a "middle way": a non-generative, organ-agnostic data augmentation framework that operates directly at the lesion level. By intelligently adding or removing lesions based on anatomical likelihood, LesionMix allows for precise control over lesion load and diversity, significantly enhancing segmentation performance in data-scarce environments.

Methodology

LesionMix is a dual-branch iterative framework designed to adjust the lesion load (total volumetric extent of pathology) of training images to match a target distribution.

1. Lesion Populating (Addition)

When the target lesion load exceeds the current load of an image, the algorithm "populates" the scan with additional lesions. It selects a 3D lesion from the training set, applies spatial and intensity augmentations (e.g., elastic deformation, rotation), and integrates it into the target image. To maintain anatomical realism, LesionMix utilizes a Lesion Likelihood Map—a spatial heatmap derived from the training set that ensures lesions are placed in biologically plausible locations.

2. Lesion Inpainting (Removal)

To decrease lesion load, the framework employs an inpainting branch. Using the Fast Marching Method, existing lesions are removed and replaced with intensities sampled from surrounding healthy tissue. Gaussian blurring is applied to the boundaries to ensure 3D continuity and smooth transitions.

3. Load Distribution Control

Unlike previous methods like CutMix or CarveMix, LesionMix allows users to sample target lesion loads from specific distributions (e.g., Uniform, Gaussian, or skewed toward Low/High loads). This enables the model to learn from a balanced representation of disease severity, even if the original dataset is biased.

Experimental Evaluation

The authors evaluated LesionMix across five datasets spanning two modalities:

  • Brain MR Lesions: MICCAI 2008 (MS2008), ISBI 2015 (MS2015), MICCAI 2016 (MS2016), and WMH2017 (White Matter Hyperintensities).
  • Liver CT Lesions: LiTS (Liver Tumor Segmentation Benchmark).

The method was compared against Traditional Data Augmentation (TDA) and state-of-the-art "Mix" methods, including CutMix and CarveMix, integrated into a standard nnU-Net pipeline.

Key Results and Insights

Superiority in Scarcity

The most significant gains were observed when training data was extremely limited. In a "low-data" setting using only 10% of the available training samples for the MS2016 dataset, LesionMix achieved a Dice score of 61.02%, a substantial improvement over the TDA baseline of 43.07%. This suggests that lesion-level manipulation is a powerful tool for overcoming the data hunger of deep segmentation models.

Consistency and Fidelity

LesionMix consistently ranked as the top or second-best performing method across all datasets and training sizes (10%, 25%, 50%, and 100%). Qualitatively, the method produced more natural-looking transitions than CutMix, which often creates unrealistic sharp edges at the boundaries of augmented regions. By using likelihood maps, LesionMix also avoided "hallucinations"—the placement of lesions in impossible anatomical regions (e.g., brain lesions in the eyes), a common failure mode for simpler cut-and-paste methods.

Conclusion and Future Work

LesionMix provides a robust, non-generative alternative for medical image augmentation. Its ability to manipulate lesion load while maintaining anatomical plausibility makes it particularly effective for small datasets.

While the current implementation uses 2D axial slices for the inpainting branch to optimize speed, future iterations could transition to a fully 3D inpainting approach. Additionally, while the method requires an initial set of masks to "borrow" lesions, its simplicity and lack of a separate training phase (unlike GANs) make it an easily adoptable tool for improving medical image segmentation pipelines.

Reference: Basaran, B. D., et al. (2023). LesionMix: A Lesion-Level Data Augmentation Method for Medical Image Segmentation. arXiv:2308.09026v1.

Summary updated

BibTeX
@inproceedings{basaran2023lesionmix,
  author = {Berke Doga Basaran and Weitong Zhang and Mengyun Qiao and Bernhard Kainz and Paul M. Matthews and Wenjia Bai},
  title = {{LesionMix: A Lesion-Level Data Augmentation Method for Medical Image Segmentation}},
  booktitle = {DALI @ MICCAI},
  year = {2023},
  doi = {10.1007/978-3-031-58171-7\_8},
}
Figure