Metadata-conditioned generative models to synthesize anatomically-plausible 3D brain MRIs

Wei Peng, Tomas Bosschieter, Jiahong Ouyang, Robert Paul, Edith V. Sullivan, Adolf Pfefferbaum, Ehsan Adeli, Qingyu Zhao, Kilian M. Pohl · DOI · OpenReview

TL;DR

This paper introduces BrainSynth, a novel generative model that creates realistic 3D brain MRIs conditioned on metadata like age and sex. Beyond visual quality, BrainSynth achieves impressive anatomical plausibility and can significantly improve the training of AI models for tasks like predicting brain age, opening new avenues for neuroimaging research.

What Problem Does This Paper Address?

Generating synthetic brain MRIs is crucial for augmenting limited datasets in neuroimaging research, enabling more robust AI model training and diverse data exploration. However, existing generative models often prioritize visual fidelity (e.g., signal-to-noise ratio) over anatomical accuracy, failing to capture the subtle structural details essential for neuroscience. This gap limits the utility of synthetic MRIs for studies investigating brain health, aging, and disease. The authors aim to bridge this gap by developing a model that generates not only visually appealing but also anatomically plausible MRIs, which can accurately reflect demographic factors like age and sex.

Methods

The core of BrainSynth is a two-stage diffusion probabilistic model.

  • Stage I: Fine-Grained Vector Quantization: This stage uses a VQ-VAE to compress 3D MRIs into a quantized latent representation. The novelty here lies in a "fine-grained" quantization that captures more detail than standard methods by using two representative vectors instead of one.
  • Stage II: Masked Diffusion Model: This stage disentangles the quantized encoding into a metadata-specific component (e.g., age, sex) and a residual component. A masked diffusion model, implemented with a transformer architecture, then learns the distribution of these residuals. This approach is designed to be efficient for the high-dimensional R-code representation.

For synthesis, BrainSynth generates random metadata, combines it with a learned residual (R-Code), and then uses the decoder to reconstruct a synthetic MRI.

Datasets

  • Training Data: 3996 T1-weighted MRIs from 1,236 normal controls, pooled from three neuroimaging studies: ADNI, NCANDA, and SRI.
  • Evaluation Data:
    • A replication set of 300 real MRIs (92 ADNI, 152 NCANDA, 56 SRI) matched for age and sex.
  • An independent dataset of 486 MRIs from UCSF for brain age prediction, comprising 156 normal controls, 37 PLWH, 148 MCI, and 145 HAND.

Key Insights and Ideas

  • Anatomical Plausibility is Key: The paper strongly argues that for synthetic MRIs to be truly useful in neuroscience, they must not only look good but also accurately represent brain anatomy. This is a critical shift from purely visual quality metrics.
  • Geometric Complexity Matters: The anatomical accuracy of synthetic MRIs varies with the geometric complexity of brain regions. More complex cortical regions (like the frontal pole) are harder to synthesize accurately, suggesting that future models might need to explicitly model these geometric features.
  • Metadata is Powerful: Conditioning the generation on metadata (age, sex) allows for the creation of MRIs that reflect specific demographic characteristics, which is crucial for targeted data augmentation and studying demographic effects.
  • Synthetic Data Boosts AI Performance: The study demonstrates that adding synthetic MRIs to training datasets significantly improves the performance of AI models, particularly for tasks like predicting brain age, highlighting the practical utility of this generative approach.

Key Results

  • Visual Quality: BrainSynth generates T1-weighted MRIs with state-of-the-art visual quality, outperforming existing methods in metrics like MS-SSIM, MMD, and SNR.
  • Anatomical Accuracy: Over half of the brain regions in synthetic MRIs are anatomically accurate, showing small effect sizes compared to real MRIs. However, 16% of regions showed larger deviations.
  • Metadata Encoding: The synthetic MRIs accurately capture sex differences and aging effects, with correlations between synthetic and real data for both (r=0.421 for sex differences, r=0.843 for aging effects).
  • Brain Age Prediction: Training a CNN for brain age prediction with 5,000 synthetic MRIs improved accuracy (MAE=4.49 years, R²=0.80) compared to training without synthetic data (MAE=14.99 years, R²=-0.08). This enhanced model could detect accelerated aging effects in patient cohorts (MCI and HAND).

Limitations and Future Work

  • Geometric Complexity: The authors acknowledge that the anatomical accuracy of synthetic MRIs is influenced by the geometric complexity of brain regions, with more curved regions being less accurately synthesized. Future work could focus on explicitly modeling this complexity.
  • Disease Effects: While the model can generate age- and sex-specific MRIs, directly generating MRIs that reflect specific disease effects (e.g., Alzheimer's) is a more challenging task due to the difficulty in acquiring large, diverse datasets of affected individuals.
  • Counterfactual Synthesis: The paper suggests future work could extend the model to create "counterfactual" MRIs for individuals, allowing for the synthesis of an individual's MRI at a different age or to impute missing data in longitudinal studies.
  • Data Diversity: While the model can generate diverse MRIs based on random metadata, replacing random values with specific ones can create targeted, non-diverse MRIs for specific demographic groups.

Summary updated

BibTeX
@article{peng2024metadata,
  author = {Wei Peng and Tomas Bosschieter and Jiahong Ouyang and Robert Paul and Edith V. Sullivan and Adolf Pfefferbaum and Ehsan Adeli and Qingyu Zhao and Kilian M. Pohl},
  title = {{Metadata-conditioned generative models to synthesize anatomically-plausible 3D brain MRIs}},
  journal = {Medical Image Analysis},
  year = {2024},
  doi = {10.1016/j.media.2024.103325},
}
Figure