Learning Transferable Object-Centric Diffeomorphic Transformations for Data Augmentation in Medical Image Segmentation

Nilesh Kumar, Prashnna K. Gyawali, Sandesh Ghimire, Linwei Wang

This paper, titled "Learning Transferable Object-Centric Diffeomorphic Transformations for Data Augmentation in Medical Image Segmentation," presents a clever shift in how we think about data augmentation for medical imaging. Instead of warping entire images, the authors propose learning how specific objects—like tumors—change shape, and then applying those realistic deformations to boost model performance.

TL;DR

The authors introduce a generative model that learns object-specific shape variations (e.g., how a kidney tumor deforms) using diffeomorphic transformations. By applying these learned "shape-shifts" locally to objects in an image without distorting the background, they significantly improve segmentation accuracy and demonstrate that shape knowledge can even be transferred between different organs and datasets.

What Problem Does This Paper Address?

Deep learning models for medical image segmentation are notoriously data-hungry, yet expert pixel-level annotations are expensive and scarce. Data Augmentation (DA) is the standard fix, but traditional methods like simple rotations or global image warping have major drawbacks:

  1. Global vs. Local: Warping an entire CT slice often creates unrealistic distortions in healthy anatomy just to change the shape of a small lesion.
  2. Alignment Issues: Many "learned" augmentation methods require images to be perfectly aligned (registered) beforehand, which is difficult when tumors appear in random locations and sizes.
  3. Lack of Transferability: Transformations learned on one dataset (e.g., liver scans) rarely translate well to another (e.g., kidney scans) because the global context is too different.

The authors aim to solve this by focusing exclusively on the object of interest, learning its unique shape variability in a way that is independent of its position in the image.

Methods

The core of the approach is a generative framework that models deformations as $C^1$ diffeomorphisms. These are smooth, invertible transformations that preserve the topology of the object—meaning they won't "tear" or "fold" the tumor tissue unrealistically.

1. Learning the "Shape Space"

The researchers use a Variational Autoencoder (VAE)-like structure. The encoder takes a pair of tumor patches (source and target) and learns a latent representation $z$ of their spatial difference. The decoder then generates transformation parameters $\theta$.

  • CPAB Transformations: They utilize Continuous Piecewise-Affine Based (CPAB) velocity fields. This provides a finite-dimensional way to represent complex, smooth deformations that are computationally efficient to integrate.
  • Object-Centricity: By carving out and resizing tumor patches to a standard scale (30x30), the model learns pure shape variation, bypassing the need for global image alignment.
Fig. 1. Overview of the presented approach. a) Learning a generative model describing object-centric shape variations as diffeomorphic transformations. b) Sampling trans- formations from the learned generative model and deforming an object in place (high- lighted with a red square) without distorting the surrounding content in the image.

2. In-Place Augmentation

Once the model is trained, they can sample new deformations from the latent space. To apply these to a full image $X$, they use a hybrid strategy: the tumor is deformed according to the learned $\theta$, while the rest of the image remains an identity transform. They use a "diminishing magnitude" propagation at the boundaries to ensure the deformed tumor blends smoothly into the surrounding tissue.

Datasets

The study utilizes two major public benchmarks:

  • KiTS (Kidney Tumor Segmentation): 300 CT scans. This served as the primary task for evaluation.
  • LiTS (Liver Tumor Segmentation): 200 CT scans. This was used to test cross-data augmentation, where shape variations learned from liver tumors were applied to kidney tumor segmentation.

Key Insights and Ideas

  • Deformation Transfer: One of the most striking findings is that shape variations are transferable. A model trained to segment kidney tumors performs better when augmented with shape variations learned from liver tumors. This suggests that different types of tumors share a common "deformation language."
  • Synergy with Copy-Paste: The method works exceptionally well when combined with TumorCP (a method that copy-pasts tumors onto new backgrounds). While TumorCP provides new backgrounds, this method provides the necessary shape diversity.
  • Alignment-Free Learning: By focusing on patches, the model doesn't care where the tumor is or how the patient was positioned in the scanner. This makes the pipeline much more robust for real-world clinical data.

Key Results

The authors evaluated their method using the Sørensen-Dice Coefficient (Dice score) on the KiTS dataset, comparing it against baselines and the TumorCP method.

Table showing Mean Dice scores across different data percentages and augmentation strategies.
  • Significant Gains: When using only 25% of the training data, the proposed "TumorCP + Diffeo" approach achieved a Dice score of 0.581, compared to the 0.467 baseline.
  • Cross-Data Superiority: In many cases, using transformations learned from the external LiTS dataset (cross-data) outperformed transformations learned from the KiTS dataset itself. For example, at 50% data, cross-data reached 0.702 vs. 0.689 for within-data. The authors suggest this is because the external dataset provides a larger, more diverse "library" of shapes that the model hasn't seen during its primary training.

Limitations and Future Work

  • 2D vs. 3D: The current implementation operates on 2D slices. Extending this to 3D diffeomorphic transformations is a logical next step to capture volumetric shape changes.
  • Appearance Modeling: The model currently focuses only on shape (geometry). The authors note that adding appearance-based transformations (texture, intensity) could further improve realism.
  • Sample Size for Learning: The generative model itself needs a decent number of tumor samples to learn meaningful deformations. This is why the performance boost was actually more prominent at 50-75% data levels than at the very low 25% level.

Summary updated

BibTeX
@inproceedings{kumar2023learning,
  author = {Nilesh Kumar and Prashnna K. Gyawali and Sandesh Ghimire and Linwei Wang},
  title = {{Learning Transferable Object-Centric Diffeomorphic Transformations for Data Augmentation in Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  doi = {10.1007/978-3-031-43895-0\_24},
}
Figure