Multi-Task Paired Masking With Alignment Modeling for Medical Vision-Language Pre-Training

Ke Zhang, Yan Yang, Jun Yu, Hanliang Jiang, Jianping Fan, Qingming Huang, Weidong Han

This paper, titled "Multi-task Paired Masking with Alignment Modeling for Medical Vision-Language Pre-training," introduces a unified framework called MPMA designed to help AI models better understand the relationship between medical images (like X-rays) and their corresponding clinical reports.

TL;DR

The authors propose a unified pre-training framework (MPMA) that simultaneously learns to reconstruct masked images/text and align them across modalities. By integrating global-local alignment with a novel memory-augmented fusion module, the model achieves state-of-the-art performance across medical image classification, report generation, and visual question answering (VQA).

What Problem Does This Paper Address?

Medical imaging is a cornerstone of modern diagnosis, but the sheer volume of scans places an immense burden on radiologists. While AI can help, standard supervised learning requires massive amounts of manually labeled data, which is expensive and time-consuming to produce.

Medical Vision-Language Pre-training (Med-VLP) solves this by using existing, unlabeled pairs of images and reports. However, current Med-VLP methods usually fall into one of two camps:

  1. Alignment-based: They focus on matching images to reports (contrastive learning) but often miss fine-grained local details.
  2. Reconstruction-based: They mask parts of the image or text and try to "fill in the blanks" (like Masked Autoencoders). These often focus too much on a single modality and ignore the deep correlations between the visual findings and the written diagnosis.

The gap is the lack of a framework that effectively does both while capturing the complex, domain-specific knowledge found in radiology.

Methods

The Multi-task Paired Masking with Alignment (MPMA) framework consists of three primary components:

  • Joint Image-Text Reconstruction: Following the Masked Autoencoder (MAE) philosophy, the model masks a high percentage of image patches (75%) and report tokens (50%). It then forces the model to reconstruct the missing parts.
  • Global and Local Alignment (GLA): To ensure the model doesn't just learn pixels and words in isolation, the GLA module aligns representations at two levels. Global alignment matches the entire image to the entire report, while local alignment ensures specific image regions (like a lung lobe) correspond to specific words in the text.
  • Memory-Augmented Cross-Modal Fusion (MA-CMF): This is a key innovation. Instead of simply concatenating image and text features, the authors use Multi-head Cross-Attention (MCA) combined with learnable memory matrices. These matrices act as a "knowledge base" that helps the model record and recall common medical patterns, significantly improving the accuracy of report reconstruction.

Datasets

The model was pre-trained on two massive public datasets:

  • MIMIC-CXR: Over 370,000 chest X-ray images and 220,000 reports.
  • ROCO: A diverse dataset of over 80,000 non-compound medical images (CT, MRI, Ultrasound, etc.) from PubMed.

For evaluation, the authors used several downstream benchmarks:

  • Classification: CheXpert and RSNA Pneumonia.
  • Report Generation: IU X-Ray and MIMIC-CXR.
  • Medical VQA: VQA-RAD and Path-VQA.

Key Insights and Ideas

  • Synergy over Separation: The authors found that alignment and reconstruction are mutually beneficial. Alignment provides the semantic "anchors" that make reconstruction more accurate, while reconstruction forces the model to learn the underlying structure of the data.
  • The Power of High Masking: Masking 75% of the image and 50% of the text forces the model to rely on cross-modal context. To "see" a masked part of a lung, the model must understand the text describing it.
  • Memory as a Proxy for Experience: The MA-CMF module's memory matrices allow the model to learn "prototypical" medical findings. This mimics how a radiologist recognizes a pattern (e.g., pleural effusion) based on thousands of previous cases.

Key Results

MPMA outperformed previous state-of-the-art (SOTA) models (like M3AE and MGCA) across the board:

  • Data Efficiency: On the CheXpert classification task, MPMA achieved 89.1% AUC using only 1% of the labeled data, outperforming many models trained on 100% of the data.
  • Report Generation: On the MIMIC-CXR dataset, the model saw a 15.1% improvement in BLEU-4 scores compared to the previous best pre-training method (Clinical-BERT).
  • Visual Question Answering: The model achieved a new SOTA accuracy of 77.6% on VQA-RAD, significantly better than models specifically designed for VQA that use complex data augmentation.
  • Qualitative Superiority: Visualizations (using Grad-CAM) showed that MPMA "looks" at the correct anatomical regions when answering questions, whereas previous models often focused on irrelevant areas or only captured a fraction of the relevant pathology.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Data Bias: The datasets have a "long-tail" distribution, meaning rare diseases are underrepresented.
  • Modality Imbalance: While pre-trained on ROCO, the bulk of the data is still chest X-rays. Performance on CT and MRI could be further improved.
  • Language Modeling: The text decoder used is a relatively simple Transformer. The authors suggest that integrating modern Large Language Models (LLMs) like Llama could further enhance the diversity and clinical accuracy of generated reports.
  • Future Direction: Exploring active learning to help the model focus on "hard" or rare cases during pre-training.

Summary updated

BibTeX
@article{zhang2024multi,
  author = {Ke Zhang and Yan Yang and Jun Yu and Hanliang Jiang and Jianping Fan and Qingming Huang and Weidong Han},
  title = {{Multi-Task Paired Masking With Alignment Modeling for Medical Vision-Language Pre-Training}},
  journal = {IEEE Trans. Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=2wkP5r68Hd},
}
Figure