SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining

Benjamin Billot, Douglas N. Greve, Oula Puonti, Axel Thielscher, Koen Van Leemput, Bruce Fischl, Adrian V. Dalca, Juan Eugenio Iglesias · DOI

TL;DR

This paper introduces SynthSeg, a novel deep learning model for segmenting brain MRI scans that achieves remarkable robustness to variations in contrast and resolution without requiring any retraining. By training on synthetically generated data with randomized acquisition parameters, SynthSeg demonstrates state-of-the-art performance across diverse datasets, paving the way for more efficient and widespread analysis of clinical neuroimaging data.

What Problem Does This Paper Address?

Accurate segmentation of brain MRI scans is crucial for quantitative analysis, such as measuring brain volume and identifying structural changes. However, existing deep learning models, particularly Convolutional Neural Networks (CNNs), struggle to generalize to unseen data due to variations in image contrast, resolution, and acquisition protocols. This "domain gap" necessitates retraining or fine-tuning models for each new dataset, which is time-consuming, requires expert annotation, and limits the analysis of large, heterogeneous clinical datasets. Manual segmentation, while accurate, is prohibitively slow and prone to inter-rater variability. Therefore, there's a critical need for a segmentation method that can handle diverse imaging conditions without extensive re-calibration.

Methods

The core innovation of SynthSeg lies in its training strategy, which leverages domain randomization (DR). Instead of training on real-world data, SynthSeg is trained exclusively on synthetic scans generated on-the-fly by a generative model. This generative model is inspired by Bayesian segmentation frameworks and is designed to produce a wide variety of synthetic brain MRIs.

Key aspects of the method include:

  • Generative Model: This model takes anatomical label maps (which can be obtained automatically) and applies a series of random transformations, including affine (rotations, scaling, shearing, translations) and non-linear (diffeomorphic) deformations, to create spatially augmented label maps.
  • Synthetic Image Generation: A Gaussian Mixture Model (GMM) is used to generate initial synthetic images. Crucially, the parameters of this GMM (means and standard deviations) are randomized at each training step to simulate diverse contrasts and tissue heterogeneities.
  • Augmentation Pipeline: The synthetic images are further augmented with:
  • Bias Field Simulation: To mimic realistic intensity inhomogeneities.
  • Intensity Augmentation: Using a random Gamma transform to alter intensity distributions.
  • Resolution Variability Simulation: By modeling slice thickness and spacing variations, and blurring/downsampling to simulate lower resolutions.
  • Domain Randomization: The extensive randomization of all these parameters during training forces the network to learn domain-independent features, making it robust to unseen variations.
  • Segmentation Network: A 3D UNet architecture is employed for the segmentation task.
  • Training Objective: The network is trained using a soft Dice loss function.

The key novelty is the complete randomization of contrast and resolution parameters during synthetic data generation, which allows the network to learn features that are invariant to these variations, eliminating the need for retraining.

Datasets

SynthSeg was trained using synthetic data generated from anatomical label maps. For evaluation, the authors used a comprehensive set of eight datasets comprising approximately 5,000 scans across six modalities and ten resolutions:

  • T1-39: 39 T1-weighted scans with manual labels for 30 structures.
  • HCP: 500 T1 scans from the Human Connectome Project.
  • ADNI: 1,500 T1 scans from the Alzheimer's Disease Neuroimaging Initiative (ADNI.2), including subjects with aging and cognitive impairment.
  • T1mix: 1,000 T1 scans from seven diverse datasets to assess robustness to intra-modality contrast variations.
  • FSM: 18 subjects with T1, T2, and deep brain stimulation (DBS) sequences.
  • MSp: 8 subjects with T1 and proton density (PD) acquisitions.
  • FLAIR: 2,393 fluid-attenuated inversion recovery scans from ADNI, with aging and AD patterns.
  • CT: 6 computed tomography scans.

Additionally, the authors artificially downsampled several datasets to evaluate performance at lower resolutions. For cardiac segmentation, they used the MMWHS and LASC13 datasets.

Key Insights and Ideas

  • Domain Randomization is Key: The most significant insight is that by aggressively randomizing acquisition parameters (contrast, resolution, etc.) during synthetic data generation, a single network can achieve remarkable generalization without retraining. This challenges the conventional wisdom that models need to be adapted to specific domains.
  • Synthetic Data for Robustness: Training solely on synthetic data, even if it doesn't perfectly mimic real-world images ("reality gap"), can lead to superior robustness against variations that are difficult to capture with real data alone.
  • Automated Labels are Sufficient for Training: The ability to use automatically generated label maps (with visual quality control) for training significantly reduces the annotation burden, making the approach more scalable.
  • No Retraining Needed: This is a paradigm shift. Most state-of-the-art methods require retraining or fine-tuning for new datasets or modalities. SynthSeg's ability to segment diverse scans without this step is a major practical advantage.
  • Beyond Brain MRI: The successful application to cardiac segmentation demonstrates the broad applicability of the SynthSeg approach to other medical imaging domains.

Key Results

  • Near Supervised Performance: SynthSeg achieves accuracy comparable to supervised CNNs trained on their specific domain (e.g., 0.88 Dice on T1-39 vs. 0.91 for T1 baseline).
  • Superior Generalization: SynthSeg significantly outperforms domain adaptation strategies and supervised methods on unseen contrasts and resolutions, especially for larger domain gaps. For instance, it achieves better scores on FLAIR and CT scans.
  • Robustness to Resolution: SynthSeg maintains high accuracy even at low resolutions (e.g., 7mm), losing only a small number of Dice points, while methods like SAMSEG are heavily affected by partial volume effects.
  • Efficiency: Inference takes approximately 10 seconds per scan on a GPU, and the model does not require retraining, making it highly deployable.
  • Cardiac Segmentation: Achieved state-of-the-art results on cardiac MRI and CT segmentation without retraining.

Limitations and Future Work

  • Gaussian Model Assumption: The generative model assumes a Gaussian distribution for tissue intensities, which might not perfectly capture all real-world variations.
  • Label Map Completeness: The training label maps need to encompass all tissues present in the test images. While the authors suggest methods to address this (e.g., intensity clustering), it's a prerequisite.
  • Lesion Simulation: While lesion simulation was included, the authors suggest future work to precisely quantify performance with various types of lesions, tumors, and pathologies.
  • Future Work:
    • Explore adversarial networks to enhance synthetic scan quality.
  • Investigate CNNs for denoising output segmentations.
  • Examine alternative network architectures beyond UNet.
  • Further quantify performance with various pathologies.

Summary updated

BibTeX
@article{billot2023synthseg,
  author = {Benjamin Billot and Douglas N. Greve and Oula Puonti and Axel Thielscher and Koen Van Leemput and Bruce Fischl and Adrian V. Dalca and Juan Eugenio Iglesias},
  title = {{SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining}},
  journal = {Medical Image Analysis},
  year = {2023},
  doi = {10.1016/j.media.2023.102789},
}
Figure