UniBrain: Universal Brain MRI diagnosis with hierarchical knowledge-enhanced pre-training

Jiayu Lei, Lisong Dai, Haoyun Jiang, Chaoyi Wu, Xiaoman Zhang, Yao Zhang 0010, Jiangchao Yao, Weidi Xie, Yan-Ning Zhang, Yuehua Li, Ya Zhang 0002, Yanfeng Wang

Abstract

UniBrain is a novel hierarchical pre-training framework designed for universal brain MRI diagnosis. By leveraging a massive dataset of nearly 25,000 imaging-report pairs and a unique "report decomposition" strategy, it achieves state-of-the-art performance across multiple diseases. The framework demonstrates diagnostic capabilities comparable to expert radiologists and enables zero-shot diagnosis through text-based disease queries, addressing the generalization bottleneck common in narrow-specialist medical AI models.

Introduction

Deep learning has significantly advanced medical imaging, yet most brain MRI models remain "narrow specialists," trained on small, curated datasets for single conditions. This leads to a generalization bottleneck where models struggle with the diversity of diseases encountered in routine clinical practice. The challenges are three-fold: the scarcity of high-quality annotated data, the domain complexity of multi-modal MRI (T1, T2, FLAIR, DWI), and the critical need for interpretability in clinical settings. UniBrain addresses these by moving away from brute-force image-text alignment toward a structured, hierarchical approach that mirrors the logic of radiology.

Methodology

Automatic Report Decomposition (ARD)

Instead of treating a radiology report as an unstructured block of text, UniBrain utilizes an Automatic Report Decomposition (ARD) pipeline. This process extracts specific entities—such as anatomy, signal, morphology, and pathology—and groups them into modality-wise reports (e.g., findings specific to T1WI or DWI) and global reports (overall clinical impressions).

The Automatic Report Decomposition (ARD) pipeline extracts and groups entities to create modality-specific and global report structures.

Hierarchical Alignment and Perception

The model architecture is designed to mirror the structured data. It performs Modality-wise Alignment, matching specific image modalities with their corresponding text descriptions, and Global Alignment, which merges modality features into a single vector aligned with the overall clinical conclusion.

The UniBrain architecture features hierarchical imaging-report alignment and a Coupled Vision-Language Perception (CVP) module for disease querying.

Central to its diagnostic power is the Coupled Vision-Language Perception (CVP) module. Using a Transformer decoder, UniBrain treats disease descriptions from the Unified Medical Language System as queries. This allows the model to "probe" images for specific evidence, enabling zero-shot diagnosis for diseases not explicitly seen during training.

Experimental Setup and Datasets

The model was pre-trained on the SSPH (Shanghai Sixth People’s Hospital) dataset, containing 24,770 imaging-report pairs across 13 categories. Evaluation was conducted using:

  • BraTS2019: A public benchmark for brain tumor segmentation used to test zero-shot performance.
  • AHNU & WHH: External datasets from different hospitals used to evaluate robustness against domain shift (variations in scanners and patient populations).

Results and Discussion

UniBrain consistently outperformed existing state-of-the-art medical vision-language pre-training (VLP) models. On the SSPH test set, it achieved a mean Average Precision (mAP) of 63.27%, significantly higher than the 50.33% achieved by the next best model.

Key findings include:

  • Radiologist-Level Accuracy: In head-to-head comparisons, UniBrain's performance was comparable to radiologists with 3 to 12 years of experience across major categories like glioma and acute cerebral infarction.
  • Interpretability: Qualitative attention maps demonstrate that the model accurately highlights lesions, providing the visual grounding necessary for clinical trust.
  • Robustness: The hierarchical approach proved more resilient to the data imbalance typical of real-world medical datasets compared to standard models.

Conclusion

UniBrain represents a significant step toward a "foundation model" for neurology. By decomposing expert knowledge within radiology reports, it learns the underlying logic of diagnosis. While currently focused on high-level diagnosis and grounding, future work aims to integrate these capabilities with precise pixel-level lesion segmentation to assist in surgical planning. The code for UniBrain is available on GitHub to support further research in universal medical diagnosis.

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 Yan-Ning 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