One Sequence to Segment Them All: Efficient Data Augmentation for CT and MRI Cross-Domain 3D Spine Segmentation

Nathan Molinier, Hendrik Möller, Thomas Dagonneau, Anna Curto-Vilalta, Robert Graf, Matan Atad, Daniel Rueckert, Jan S. Kirschke, Julien Cohen-AdadarXiv 2026

TL;DR

This paper introduces a targeted suite of GPU-accelerated data augmentations that allow 3D spine segmentation models trained on a single imaging sequence to generalize seamlessly across both CT and various MRI contrasts. By offloading these complex transformations to the GPU, the authors achieve a massive 155% average Dice score improvement on out-of-distribution data while actually reducing total training time by roughly 10%.

What Problem Does This Paper Address?

Deep learning models excel at medical image segmentation when the test data looks exactly like the training data. However, in clinical practice, patients are scanned using different modalities (CT vs. MRI), scanner vendors, and acquisition protocols (e.g., T1-weighted vs. T2-weighted MRI). A model trained exclusively on CT scans typically fails completely when deployed on MRI scans, and vice versa.

While the underlying anatomy of the spine remains identical across these scans, the domain shift caused by varying contrast and intensity characteristics presents a major roadblock. Manually annotating high-quality 3D datasets for every single imaging sequence to train robust models is prohibitively expensive and time-consuming. Existing domain generalization methods often rely on complex auxiliary networks (like GANs for image-to-image translation) that are difficult to train and computationally expensive. The authors tackle this by asking: Can we design a simple, highly efficient data augmentation pipeline that forces a model trained on just one sequence to generalize to all of them?

Methods

The authors built their method on top of the popular nnUNet framework, introducing a custom trainer that replaces standard CPU-bound data augmentations with a targeted set of GPU-accelerated transformations using the kornia library.

To simulate the drastic appearance and contrast shifts seen between CT and different MRI sequences, they implemented eight specific 3D transformations:

  1. Intensity Inversion: Flips the min-max intensity range.
  2. Scharr Filtering: Enhances gradient magnitudes to emphasize edges.
  3. RedistributeSeg: A segmentation-driven regional intensity redistribution that independently alters voxel intensities inside and outside the target anatomy.
  4. RandomConv: Applies random 3D convolutions to introduce texture variations.
  5. Histogram Equalization: Remaps intensities based on the cumulative distribution function.
  6. Bias Field Simulation: Simulates intensity shading inhomogeneities common in MRI.
  7. Unsharp Masking: Sharpens contours via high-frequency reinforcement.
  8. Function Transform: Applies a randomly selected non-linear function.
Fig. 2. Example transforms applied to one SG CT (top) and SG Dixon in-phase image (bottom) of the same subject. The columns are the different transforms applied to these images.

By executing these transformations sequentially on the GPU after standard geometric transforms (like rotations and flips), they completely bypassed the CPU bottleneck that typically slows down heavy medical image preprocessing pipelines.

Datasets

The method was rigorously evaluated using three distinct datasets encompassing seven different imaging sequences, covering various spinal regions (cervical, thoracic, lumbar, and sacral):

  • SG (In-house): Includes CT and MRI Dixon sequences (separated into in-phase, fat, and water images) from 144 subjects. This dataset was split 80/10/10 for training, validation, and testing.
  • Spider: A public dataset containing 218 lumbar spine MRI scans (T1w and T2w sequences), used exclusively for out-of-distribution evaluation.
  • MM (In-house): A diverse dataset of 240 whole-spine CT scans from multiple myeloma patients, acquired across various scanners and noise levels, also used exclusively for evaluation.
Fig. 1. Example images from the different datasets. In order left to right: MM (CT), Spider (MRI T1w, T2w) [6] and SG (CT, MRI Dixon water, in-phase, and fat).

Models were trained on a single sequence from the SG dataset (e.g., training only on CT, or only on MRI Dixon in-phase) and then cross-evaluated on all seven sequences.

Key Insights and Ideas

  • The Power of Mask-Driven Intensity Shifts: Ablation studies revealed that RedistributeSeg provided the single largest benefit for cross-modality transfer. Because it uses the segmentation mask to independently adjust intensities inside and outside the region of interest, it effectively mimics how different modalities highlight bone versus soft tissue.
  • Strong Synergistic Effects: Combining multiple transformations yielded a massive compounding effect. For instance, when a model trained on CT was evaluated on water-contrast MRI, individual augmentations maxed out at a Dice score of 0.27. However, when all augmentations were combined, the score jumped to 0.71.
  • GPU Optimization is a "Free Lunch": Typically, aggressive data augmentation incurs a heavy computational penalty. By implementing these transforms on the GPU, the authors eliminated CPU idling bottlenecks. This didn't just offset the cost of the new augmentations—it actually made the entire training pipeline faster than the standard baseline.

Key Results

The proposed augmentation pipeline demonstrated remarkable cross-domain robustness while perfectly preserving performance on the original training domain:

  • Massive OOD Gains: The custom pipeline achieved an average Dice score improvement of 155% across all unseen out-of-distribution domains.
  • Zero In-Domain Degradation: The average performance drop on the native training domain was a negligible 0.008%.
  • Effective CT-to-MRI Transfer: Models trained purely on MRI reached an out-of-domain CT Dice score of 0.83 (retaining ~91% of native CT model performance). Conversely, CT-trained models reached an out-of-domain MRI performance representing ~85% of native MRI models.
  • Training Speedup: Re-implementing the base pipeline on the GPU yielded a 17% speedup. Even when running the full, complex suite of new augmentations, training was ~10% faster than the standard CPU-bound nnUNet baseline, saving roughly 1.5 hours per run.
Table 3. Three training setups (rows) evaluated on the test splits across all seven sequences (columns) of the datasets, comparing the common nnUNet trainers with ours. Values are the global dice score averaged across classes, then averaged across subjects. Bold indicates the best-performing value across trainers. Dark brown values are in-domain evaluations. An asterisk indicates statistical significance against the best other setup.
Fig. 3. A qualitative comparison between predictions produced by the baseline and our setup on random test samples. The rows represent different samples, labeled with the dataset name and sequence. The columns display the ground-truth segmentation of the test image, along with the predicted segmentations from both the baseline and our method, for each of the three training sets. Red arrows highlight areas with prediction errors.

Limitations and Future Work

While highly effective, the authors note a few limitations:

  • Annotation Ambiguity: The reference segmentations came from different expert raters across datasets. Furthermore, certain tissue boundaries (like the spinal canal on CT scans) are physically invisible and must be estimated probabilistically by annotators, introducing inherent label noise.
  • Task Scope: The evaluation was strictly limited to semantic spine segmentation.

Future Directions: The authors plan to explore more advanced augmentations that leverage the segmentation mask even further and intend to validate this framework on other anatomical structures and segmentation tasks. To drive adoption, they have released the approach as an open-source toolbox compatible with both nnUNet and MONAI.

Summary updated

BibTeX
@misc{molinier2026one,
  author = {Nathan Molinier and Hendrik Möller and Thomas Dagonneau and Anna Curto-Vilalta and Robert Graf and Matan Atad and Daniel Rueckert and Jan S. Kirschke and Julien Cohen-Adad},
  title = {{One Sequence to Segment Them All: Efficient Data Augmentation for CT and MRI Cross-Domain 3D Spine Segmentation}},
  year = {2026},
  eprint = {2605.03098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.03098},
}
Figure