Abstract
Deep learning models for medical image segmentation are often limited by data scarcity and contextual bias. Models frequently learn to identify tumors based on surrounding anatomical context rather than intrinsic features, leading to poor generalization. We introduce TumorCP, an online data augmentation technique that adapts the "Copy-Paste" strategy to medical imaging. By stochastically pasting transformed tumors onto diverse anatomical backgrounds, TumorCP encourages context-invariant feature learning and addresses class imbalance. Evaluated on the KiTS19 kidney tumor dataset, TumorCP achieves a 7.12% improvement over the nnUNet baseline and a remarkable 21.87% boost in low-data regimes.
Introduction
High-quality annotated medical datasets are expensive and time-consuming to produce. Beyond volume, medical imaging suffers from contextual bias: tumors typically appear in specific anatomical locations, leading models to rely on surrounding tissue for identification rather than the tumor's intrinsic features. Additionally, the small size of tumors relative to healthy organs creates a severe class imbalance. TumorCP addresses these challenges by decoupling tumors from their original contexts through a simple yet effective "Copy-Paste" mechanism.
The TumorCP Pipeline
TumorCP is an online, stochastic augmentation pipeline integrated into the training process. The method consists of four primary stages:
- Sampling: A tumor object is randomly selected from a source image, and a target location is identified within a target organ.
- Object-Level Transformation: To increase diversity, the sampled tumor undergoes various transformations, including spatial (mirroring, rotation, scaling, elastic deformation), intensity (gamma adjustment), and texture (Gaussian blurring) changes.
- Pasting: The transformed tumor is pasted onto the target anatomical site.
- Mode Selection: The system supports both Intra-patient (same patient context) and Inter-patient (different patient context) pasting.
By placing tumors in "unattached zones," the model is forced to ignore background cues and focus on the tumor's intrinsic characteristics. This process effectively acts as a data re-sampler, correcting class imbalance by increasing the frequency of tumor voxels in training batches.
Experimental Setup
The method was validated using the KiTS19 (Kidney Tumor Segmentation Challenge) dataset, comprising 210 CT images. The authors utilized nnUNet, the state-of-the-art benchmark for medical segmentation, as the baseline model. Training was conducted using 168 images, with 42 reserved for validation.
Results and Discussion
TumorCP acts as a "plug-and-play" enhancement for existing segmentation architectures. Key findings include:
- State-of-the-Art Performance: On the full dataset, TumorCP improved the tumor Dice score by 7.12% over the baseline and 2.32% over existing state-of-the-art methods (ImgDA).
- Robustness in Low-Data Regimes: The most significant gains were observed when training data was scarce. Using only 10% of the labeled data, TumorCP improved the tumor Dice score by 21.87% (from 41.12% to 62.99%).
- Organ Segmentation: Interestingly, the method also slightly improved the segmentation of the kidneys themselves, suggesting that the model became more proficient at distinguishing tumors from healthy tissue.
In ablation studies, Inter-patient pasting proved more effective than Intra-patient pasting. Despite potential intensity mismatches between the tumor and the new background, the increased diversity of backgrounds and foregrounds significantly enhanced model robustness.
Conclusion
TumorCP provides a simple, effective, and computationally efficient way to improve tumor segmentation. By breaking contextual dependencies and effectively oversampling rare classes, it sets a new standard for kidney tumor segmentation, particularly in scenarios where annotated data is limited. Future work will explore more sophisticated blending techniques and validation across other organs and imaging modalities.
Summary updated