UniBrain: Universal Brain MRI Diagnosis with Hierarchical Knowledge-enhanced Pre-training

Jiayu Lei, Lisong Dai, Haoyun Jiang, Chaoyi Wu, Xiaoman Zhang, Yao Zhang, Jiangchao Yao, Weidi Xie, Yanyong Zhang, Yuehua Li, Yanfeng Wang

TL;DR

UniBrain is a novel hierarchical pre-training framework designed for universal brain MRI diagnosis, leveraging a large-scale dataset of nearly 25,000 imaging-report pairs. By decomposing complex radiology reports into modality-specific and global components, UniBrain achieves state-of-the-art diagnostic accuracy across diverse diseases and demonstrates impressive generalization to new clinical environments.

What Problem Does This Paper Address?

While deep learning has made strides in medical imaging, most brain MRI models suffer from "specialization silos." They are typically trained on small, curated datasets for specific conditions (like Alzheimer’s or specific gliomas), leading to poor generalization in real-world clinical settings where multiple pathologies often coexist.

Furthermore, brain MRI is inherently multi-modal, consisting of different sequences (T1, T2, FLAIR, DWI) that highlight different tissue properties. Existing Vision-Language Pre-training (VLP) methods, which have been successful for 2D chest X-rays, struggle with the 3D multi-modal nature of brain scans. There is a clear need for a "foundation model" approach that can handle the complexity of brain anatomy and the diverse language used in radiology reports.

Methods

The core innovation of UniBrain lies in its Hierarchical Knowledge-enhanced Pre-training. Instead of a "brute-force" alignment between an entire MRI volume and a full report, the authors introduce two key components:

  1. Automatic Report Decomposition (ARD): This pipeline extracts specific entities (anatomy, modality, signal, morphology, and pathology) from raw reports. It reformulates them into structured formats: modality-specific findings (e.g., "Patchy DWI hyperintensity") and global impressions. The ARD pipeline extracts modality-wise and global reports from vanilla findings.
Figure 1: The brain MRI report example and its decomposition. Specifically, we design an automatic report decomposition pipline to extract modality-wise and global MRI report (including the disease labels) from the vanilla MRI report findings and report impression.
  1. Hierarchical Alignment: The model first aligns specific MRI modalities with their corresponding textual descriptions. Then, it fuses these modality features into a global representation and aligns it with the overall clinical impression.
  2. Coupled Vision-Language Perception (CVP): For the final diagnosis, UniBrain uses a transformer decoder. The global image features act as the "keys" and "values," while disease descriptions (sourced from the UMLS knowledge base) act as "queries." This allows the model to perform "open-class" diagnosis—it can potentially identify a disease it wasn't explicitly trained on, provided it has a text description. UniBrain architecture showing hierarchical alignment and the CVP module.
Figure 2: The illustration of our pre-training framework UniBrain. We utilize four transverse MRI modalities, namely T1WI, T2WI, T2FLAIR, DWI, and case reports to train UniBrain. In this framework, we first align the modality-wise imaging-report feature, then we project the concatenated features to vision-language semantic space, and align the global imaging-report feature. Finally, the global image feature acts as the key and value, and the disease description set acts as the query for the coupled vision-language perception module to produce the final multi-class classification.

Datasets

  • Pre-training (SSPH): A large-scale dataset from Shanghai Sixth People’s Hospital containing 24,770 imaging-report pairs covering 13 disease categories. The data is naturally imbalanced, reflecting real-world clinical distributions. Category distribution of the SSPH dataset showing severe class imbalance.

  • Downstream Evaluation:

    • BraTS2019: A public glioma dataset used to test zero-shot and fine-tuning performance.
  • AHNU & WHH: Two external hospital datasets (Nantong and Wuhan) used to test how well the model handles "domain shift" (different scanners and patient populations).
Figure 3: The category distribution of the train subset, the validation subset and the test subset in SSPH. The first three letters are used as the shorthand of each class except for “Brain Atrophy” and “Brain hemorrhage” that we denote by "Bra" and "Brh" respectively.

Key Insights and Ideas

  • Granularity is Key: The authors found that modality-wise alignment is significantly more efficient than global-only alignment. By teaching the model that a specific bright spot on a DWI scan relates to a specific sentence in the report, the features become much more robust.
  • Descriptions over Labels: Using full disease descriptions as queries in the CVP module outperforms using simple disease names. The extra context in the description helps the model pay better attention to relevant image features.
  • Universal Diagnostic Capability: Unlike previous models that require retraining for new diseases, UniBrain's query-based system makes it a flexible "foundation model" for neurology.

Key Results

UniBrain consistently outperformed state-of-the-art (SOTA) methods like TransMed, MedKLIP, and KAD across all metrics.

  • Superior Accuracy: On the SSPH test set, UniBrain achieved a mean Average Precision (mAP) of 63.27%, outperforming the next best VLP model (KAD) by nearly 13%.
  • Human-Level Performance: In a comparison with two radiologists (3 and 12 years of experience), UniBrain showed comparable diagnostic performance on five major categories, including acute infarction and glioma.
  • Zero-Shot Generalization: On the BraTS2019 dataset, UniBrain achieved an F1-score of 64.88% in a zero-shot setting (without seeing BraTS labels during training), significantly higher than KAD's 62.54%.
  • Robustness to Domain Shift: The model maintained high performance on the AHNU and WHH datasets, proving it isn't just memorizing one hospital's data.

Limitations and Future Work

  • Modality Dependency: The model's performance is sensitive to missing modalities. If one of the four standard sequences is unavailable, accuracy drops, which is a common issue in urgent clinical scenarios.
  • Normal vs. Abnormal Bias: Radiology reports focus heavily on abnormalities. This can lead the model to overfit on abnormal patches, potentially missing the nuance of "normal" anatomy.
  • Lack of Segmentation: While UniBrain is excellent at diagnosis and "grounding" (pointing to the lesion), it does not yet perform pixel-level segmentation, which is often required for surgical planning. The authors aim to integrate this in future iterations.

Summary updated

BibTeX
@inproceedings{lei2023unibrain,
  author = {Jiayu Lei and Lisong Dai and Haoyun Jiang and Chaoyi Wu and Xiaoman Zhang and Yao Zhang and Jiangchao Yao and Weidi Xie and Yanyong Zhang and Yuehua Li and Ya Zhang and Yanfeng Wang},
  title = {{UniBrain: Universal Brain MRI Diagnosis with Hierarchical Knowledge-enhanced Pre-training}},
  booktitle = {Comput. Medical Imaging Graph},
  year = {2023},
}
Figure