Realistic morphology-preserving generative modelling of the brain

Petru-Daniel Tudosiu, Walter H. L. Pinaya, Pedro Ferreira Da Costa, Jessica Dafflon, Ashay Patel, Pedro Borges, Virginia Fernandez, Mark S. Graham, Robert J. Gray, Parashkev Nachev, Sébastien Ourselin, M. Jorge CardosoNat. Mac. Intell 2024

Introduction

Deep learning has revolutionized medical imaging, yet it remains constrained by the scarcity of high-quality, large-scale datasets. Unlike general computer vision, which benefits from millions of labeled images, medical datasets like the UK Biobank (UKB) or the Alzheimer’s Disease Neuroimaging Initiative (ADNI) are significantly smaller due to high acquisition costs and stringent privacy regulations such as GDPR and HIPAA. Generative models, particularly Generative Adversarial Networks (GANs), have been proposed to synthesize medical data. However, these models often struggle with 3D structural consistency, suffer from mode collapse, and fail to preserve the precise anatomical morphology required for clinical validity.

This paper introduces a high-fidelity 3D generative model capable of synthesizing realistic human brain MRIs that preserve complex biological and pathological features. By treating 3D brain volumes as sequences of discrete tokens, the model generates synthetic data that is morphologically accurate enough to train downstream AI tools, potentially bypassing data scarcity and privacy hurdles.

Methods: A Two-Stage Generative Pipeline

The researchers developed a two-stage architecture that draws inspiration from how Large Language Models (LLMs) process text, applying a similar tokenization strategy to 3D medical images.

Overview of the two-stage generative pipeline: VQ-VAE tokenization followed by Transformer-based autoregressive generation.

Stage 1: The VQ-VAE (The Translator)

The first stage employs a Vector-Quantized Variational Autoencoder (VQ-VAE) to compress high-resolution 3D MRIs into a compact, discrete latent space. Rather than using continuous values, the brain is represented as a grid of "tokens" derived from a learned codebook. To ensure high reconstruction quality, the model utilizes a multi-component loss function including Spectral/Fourier loss for sharpness, Perceptual loss (LPIPS) for visual feature matching, and Adversarial loss (LS-GAN) to ensure realism.

Stage 2: The Transformer (The Architect)

In the second stage, a Transformer model learns the spatial dependencies and probabilities of these tokens. Crucially, the Transformer is conditioned on specific patient metadata, such as age, sex, and pathology (e.g., Alzheimer’s status). This allows researchers to generate specific brain morphologies—such as a 75-year-old female with advanced Alzheimer’s—by adjusting input parameters.

Datasets and Synthetic Release

The model was trained and validated using two primary neuroimaging datasets: the UK Biobank (UKB), with approximately 40,000 samples from healthy participants, and ADNI, which provided critical data for modeling pathological progression. To support the broader research community, the authors have released a synthetic dataset comprising 100,000 healthy samples and 1,000 pathological samples.

Key Results and Insights

The model's performance was evaluated not just on visual realism, but on its ability to preserve clinical morphology.

Visual comparison of synthetic brain MRIs generated by various models against real scans across axial, coronal, and sagittal planes.

Superior Fidelity and Anatomical Accuracy

The proposed model significantly outperformed existing state-of-the-art GANs (such as HA-GAN and CCE-GAN) in distribution alignment metrics like Frechet Inception Distance (FID) and Maximum Mean Discrepancy (MMD), often by up to two orders of magnitude. Beyond visual inspection, Voxel-Based Morphometry (VBM) and subcortical volume analysis confirmed that the synthetic brains statistically match the tissue distributions (grey matter, white matter, and cerebrospinal fluid) of real populations.

Capturing Disease Pathology

A critical achievement of this model is its ability to capture focal atrophy patterns. For instance, it successfully simulated hippocampal shrinkage associated with Alzheimer’s disease, rather than applying a generic global volume reduction.

The "Train on Synthetic, Test on Real" Paradigm

The study demonstrated that synthetic data can serve as a viable proxy for real data. An age-prediction model trained exclusively on synthetic UKB data achieved a Mean Absolute Error (MAE) of 5.34 years when tested on real patients. While slightly higher than the 3.05-year error of a model trained on real data, this small performance gap suggests that synthetic datasets can effectively support initial model development in privacy-sensitive environments.

Limitations and Future Directions

While a significant advancement, the authors identify several areas for future work. The current model is specialized for neuroimaging; adapting it to multi-organ synthesis would require addressing higher anatomical variability. Additionally, while the model generalizes to FLAIR and T2* images, performance was slightly lower than T1-weighted results. Future iterations could incorporate genetic data or longitudinal trajectories to simulate how a specific patient's brain might evolve over time.

Summary updated

BibTeX
@article{tudosiu2024realistic,
  author = {Petru-Daniel Tudosiu and Walter H. L. Pinaya and Pedro Ferreira Da Costa and Jessica Dafflon and Ashay Patel and Pedro Borges and Virginia Fernandez and Mark S. Graham and Robert J. Gray and Parashkev Nachev and Sébastien Ourselin and M. Jorge Cardoso},
  title = {{Realistic morphology-preserving generative modelling of the brain}},
  journal = {Nat. Mac. Intell.},
  year = {2024},
  doi = {10.1038/s42256-024-00864-0},
}
Figure