Towards General Text-guided Image Synthesis for Customized Multimodal Brain MRI Generation

Yulin Wang, Honglin Xiong, Kaicong Sun, Shuwei Bai, Ling Dai, Zhongxiang Ding, Jiameng Liu, Qian Wang, Qian Liu, Dinggang ShenarXiv 2024 · DOI

Introduction

Magnetic Resonance Imaging (MRI) is a cornerstone of modern neurology, providing critical insights into brain structure and pathology. However, the clinical utility of MRI is often constrained by the time and cost required to acquire multiple modalities—such as T1-weighted (T1w), T2-weighted (T2w), and Fluid-Attenuated Inversion Recovery (FLAIR) sequences. In many clinical settings, time constraints lead to incomplete protocols, leaving physicians with missing data that could be vital for diagnosis.

While artificial intelligence has shown promise in "filling in the blanks" through image synthesis, existing models are largely "specialists." These models are typically trained for a single, fixed task (e.g., T1-to-T2 translation) and often fail when applied to data from different hospitals or scanners. Furthermore, they generally lack the flexibility to handle varying spatial resolutions. To address these limitations, this research introduces TUMSyn (Text-guided Universal MR image Synthesis), a generalist framework designed to synthesize any MRI modality at arbitrary resolutions through a unified, text-guided approach.

The TUMSyn Framework

TUMSyn moves away from rigid, task-specific architectures by utilizing a multi-stage process that integrates physical imaging parameters with deep learning.

1. Brain MRI Language-Image Pre-training (BMLIP)

Taking inspiration from Contrastive Language-Image Pre-training (CLIP), the researchers developed a specialized text encoder for MRI. Rather than using natural language descriptions, the model is trained on technical metadata, including repetition time (TR), echo time (TE), flip angles, and magnetic field strength. This allows the model to learn the underlying "physics" of MRI, understanding how specific parameter combinations result in different tissue contrasts.

2. The Synthesis Network

The core synthesis engine utilizes a source image (such as a standard T1w scan) and a text prompt representing the desired output modality. Through a Cross-Attention mechanism, the text features steer the image generation process, allowing the model to adapt its output based on the specific requirements of the prompt.

3. Local Implicit Image Function (LIIF)

To solve the problem of fixed-grid resolution, TUMSyn treats the brain volume as a continuous function rather than a discrete set of pixels. This implementation of LIIF enables arbitrary-scale super-resolution, allowing the model to generate high-definition 3D volumes even when the input source is of lower quality.

Data and Experimental Design

The robustness of TUMSyn is derived from its training on a massive, multi-center dataset comprising 31,407 3D images from 12,487 individuals across 13 imaging centers. The internal training and testing phases utilized well-known repositories such as OASIS3, HCP, IXI, and BraTS 2021, covering seven structural MRI modalities.

To evaluate real-world generalizability, the researchers conducted "zero-shot" validation on four completely unseen datasets: ABCD, UK Biobank, ADNI-2, and Ren Ji Hospital. This tested the model's ability to handle "site noise"—the variations in scanner brands and local protocols that typically cause AI models to fail.

Results and Clinical Utility

TUMSyn demonstrated significant improvements over existing state-of-the-art models in both quantitative metrics and clinical relevance.

  • Quantitative Performance: TUMSyn outperformed task-specific models like SC-GAN by up to 2.86 dB in Peak Signal-to-Noise Ratio (PSNR). In zero-shot scenarios on external datasets, it outperformed the T1w-specific model SynthSR by a substantial 11.10 dB.
  • Biomarker Preservation: In studies of Alzheimer’s Disease, synthesized images were accurate enough to retain 86% of the hippocampal volume difference compared to real scans, suggesting the model preserves critical diagnostic biomarkers.
  • Radiological Validation: In the context of Cerebral Small Vessel Disease (CSVD), senior radiologists found that TUMSyn-generated FLAIR images were nearly indistinguishable from real scans for diagnostic grading using the Fazekas scale.
  • Efficiency: The model can synthesize missing sequences in seconds, providing a rapid alternative to lengthy physical scans.

Discussion and Future Work

The primary innovation of TUMSyn lies in its treatment of MRI parameters as a language. By encoding physical constraints into the generative process, the model learns to simulate biological contrast rather than simply memorizing pixel patterns. This approach, combined with the scale of the training data, makes TUMSyn significantly more robust than previous iterations of MRI synthesis AI.

However, the authors identify several areas for future development. In extreme "out-of-distribution" cases, the model can occasionally produce over-smoothed images, which might obscure minute pathological details. Future iterations may transition from standard Transformers to Diffusion Transformers (DiT) to further enhance image fidelity. Additionally, expanding the model's vocabulary to include functional MRI (fMRI) or more complex sequences could further broaden its clinical application.

In conclusion, TUMSyn represents a significant step toward a generalist AI for medical imaging, offering a flexible, high-resolution, and clinically accurate solution for multimodal brain MRI synthesis.

Summary updated

Abstract

Multimodal brain magnetic resonance (MR) imaging is indispensable in neuroscience and neurology. However, due to the accessibility of MRI scanners and their lengthy acquisition time, multimodal MR images are not commonly available. Current MR image synthesis approaches are typically trained on independent datasets for specific tasks, leading to suboptimal performance when applied to novel datasets and tasks. Here, we present TUMSyn, a Text-guided Universal MR image Synthesis generalist model, which can flexibly generate brain MR images with demanded imaging metadata from routinely acquired scans guided by text prompts. To ensure TUMSyn's image synthesis precision, versatility, and generalizability, we first construct a brain MR database comprising 31,407 3D images with 7 MRI modalities from 13 centers. We then pre-train an MRI-specific text encoder using contrastive learning to effectively control MR image synthesis based on text prompts. Extensive experiments on diverse datasets and physician assessments indicate that TUMSyn can generate clinically meaningful MR images with specified imaging metadata in supervised and zero-shot scenarios. Therefore, TUMSyn can be utilized along with acquired MR scan(s) to facilitate large-scale MRI-based screening and diagnosis of brain diseases.
BibTeX
@misc{wang2024towards,
  author = {Yulin Wang and Honglin Xiong and Kaicong Sun and Shuwei Bai and Ling Dai and Zhongxiang Ding and Jiameng Liu and Qian Wang and Qian Liu and Dinggang Shen},
  title = {{Towards General Text-guided Image Synthesis for Customized Multimodal Brain MRI Generation}},
  year = {2024},
  eprint = {2409.16818},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.16818},
}
Figure