Multi-modal Concept Alignment Pre-training for Generative Medical Visual Question Answering

Quan Yan, Junwen Duan, Jianxin WangACL 2024

TL;DR

Researchers have developed MMCAP, a new generative framework for Medical Visual Question Answering (Med-VQA) that outperforms existing models by explicitly aligning medical images with structured knowledge graphs. By injecting external medical knowledge into the visual encoding process and using specialized "Type Conditional Prompts," the model achieves state-of-the-art accuracy, particularly on complex, open-ended clinical questions.

What Problem Does This Paper Address?

Medical Visual Question Answering (Med-VQA) is the task of providing accurate answers to questions about medical images (like X-rays or MRIs). While traditional models treat this as a simple classification task (choosing from a fixed list of answers), real-world clinical needs require generative models that can handle open-ended questions.

The core challenge is that medical images are nuanced, and answering a question like "How do you treat the most severe disease in this image?" requires more than just "seeing" a tumor; it requires external medical knowledge about pathology and pharmacology. Existing models often lack this "medical common sense," leading to hallucinations or vague answers when faced with deep, nuanced queries.

Examples of Med-VQA questions requiring different levels of medical knowledge.

Methods

The authors introduce Multi-modal Concept Alignment Pre-training (MMCAP), which operates in two distinct phases:

  1. Knowledge-Guided Pre-training:
    • Knowledge Encoder: The team built a medical Knowledge Graph (KG) using the Unified Medical Language System (UMLS) and image captions. They used an Edge-featured Graph Attention Network (EGAT) to encode 15,635 medical concepts and their relationships.
  2. Knowledge Adapter: Instead of just feeding raw image pixels to a Language Model, they use a 12-layer transformer to "inject" these KG embeddings into the visual features. This ensures the visual representation is already "aware" of relevant medical concepts before it reaches the text generator.
  3. Generative Alignment: They use GPT-2-PubMed (a version of GPT-2 pre-trained on medical literature) to align these enriched visual features with textual captions.
  4. Fine-tuning with Type Conditional Prompts (TCP):
    • During the final VQA task, the model doesn't just get the question. A classifier first identifies the type of question (e.g., "Open-ended" about an "Organ").
  5. It then constructs a specific prompt: "Open-ended question about Organ: [Question] The answer is:". This "TCP" strategy helps the model focus its "attention" on the relevant domain of knowledge.
The MMCAP framework architecture, including the Knowledge Encoder and Multi-modal Alignment Pre-training.

Datasets

  • Pre-training: The authors used ROCO (81,000 radiology images) and MedICaT (217,000 images with captions), filtered down to approximately 200,000 high-quality radiology pairs.
  • Evaluation: The model was tested on two gold-standard Med-VQA benchmarks:
  • VQA-RAD: 315 radiology images with 3,515 QA pairs.
  • SLAKE: A bilingual (English/Chinese) dataset with 642 images and over 7,000 QA pairs.

Key Insights and Ideas

  • Structured Knowledge vs. Raw Text: Simply pre-training on image-caption pairs isn't enough. By using a Knowledge Graph, the model learns the relationships between entities (e.g., "this abnormality" is "located in" "this organ"), which is crucial for reasoning.
  • The "Aha" of Alignment: The Knowledge Adapter acts as a bridge. By using KG embeddings as "queries" to adjust vision features, the model learns to look at specific parts of an image (like the bladder or a specific artery) based on the medical concepts it's thinking about.
  • Data Efficiency: One of the most striking findings was that MMCAP, when trained on only 50% of the available data, still performed as well as or better than the previous state-of-the-art models trained on 100% of the data. This suggests the knowledge injection makes the model much faster at "learning" medical contexts.

Key Results

MMCAP set new records on both major benchmarks:

  • VQA-RAD: Achieved an overall accuracy of 77.8%, significantly outperforming the previous best (M³AE at 77.0%). Most notably, it saw a 4.2% jump in open-ended question accuracy.
  • SLAKE: Reached 84.8% overall accuracy.
  • Qualitative Success: In case studies, MMCAP correctly identified specific pathologies (like "Bleeding in right posteroinferior cerebellum") where models without knowledge injection could only identify the general location or failed to name the abnormality correctly.

Limitations and Future Work

  • Task Scope: The current study focuses strictly on Med-VQA. The authors note that they haven't yet explored if this KG-alignment approach works for other tasks like automated radiology report generation or image retrieval.
  • Spatial Sensitivity: While the model is great at "what" and "why," it still occasionally struggles with "where." It can sometimes exhibit biases or inaccuracies when asked about the precise local position of an object within an image (e.g., confusing "upper left" with "lower left").
  • Multi-disease Detection: The model sometimes hallucinates additional diseases when multiple pathologies are present, indicating room for improvement in multi-label detection.

Summary updated

BibTeX
@inproceedings{yan2024multi,
  author = {Quan Yan and Junwen Duan and Jianxin Wang},
  title = {{Multi-modal Concept Alignment Pre-training for Generative Medical Visual Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.319},
}
Figure