MedCoT: Medical Chain of Thought via Hierarchical Expert

Jiaxiang Liu, Yuan Wang, Jiawei Du, Joey Tianyi Zhou, Zuozhu Liu · DOI

Introduction: The Need for Interpretability in Med-VQA

Medical Visual Question Answering (Med-VQA) is a high-stakes domain where accuracy alone is insufficient. In clinical practice, clinicians require transparency—understanding why an AI model reached a specific conclusion is as important as the conclusion itself. However, most contemporary Med-VQA models function as "black boxes," prioritizing raw performance over interpretable reasoning paths.

Furthermore, real-world medicine is inherently collaborative, relying on peer review and expert consensus to minimize diagnostic errors. Existing Chain-of-Thought (CoT) methods often struggle with "hallucinations" or require prohibitively expensive, manually annotated reasoning datasets. MedCoT addresses these challenges by introducing a hierarchical framework that mimics clinical collaboration.

The MedCoT Framework: A Hierarchical Approach

MedCoT utilizes a three-tier pipeline designed to generate, verify, and act upon diagnostic rationales, simulating a medical board's consensus.

The MedCoT hierarchical pipeline: Initial Specialist generates a rationale, Follow-up Specialist verifies/corrects it, and Diagnostic Specialist produces the final answer.
  1. Initial Specialist: An LLM (e.g., Gemini Pro 1.5) analyzes the medical image and question to generate a preliminary "rationale"—a step-by-step explanation of the diagnostic path.
  2. Follow-up Specialist: A second LLM pass acts as a peer reviewer. Through "self-reflection," it evaluates the initial rationale. If it detects an error (e.g., a hallucinated mass), it corrects the reasoning and generates image captions to better align visual and textual data.
  3. Diagnostic Specialist: The final stage is a locally deployed engine built on a multimodal T5 architecture. It employs a Sparse Mixture of Experts (MoE) where different internal "experts" specialize in specific data types (e.g., head scans vs. chest X-rays). These experts perform a "feature-level majority vote" to determine the final answer.

Core Innovations

  • Reasoning as a Catalyst: Explicitly generating a reasoning path (rationale) forces the model to attend to specific visual features, significantly boosting final accuracy.
  • The Power of the "Second Opinion": The Follow-up Specialist is critical for mitigating LLM "illusions." A dedicated verification step catches errors before they propagate to the final diagnostic stage.
  • Efficiency Through Specialization: MedCoT demonstrates that high-quality, verified reasoning is more valuable than raw model scale. The 256M-parameter Diagnostic Specialist outperformed much larger 7B-parameter models.
  • MoE Specialization: Analysis of MoE weights shows that experts naturally specialize in specific organ types, outperforming general gating mechanisms by nearly 10% in specialized categories.

Performance Analysis

MedCoT was evaluated on four benchmark datasets: VQA-RAD (radiology), SLAKE-EN (bilingual medical VQA), Med-VQA-2019 (ImageCLEF), and PathVQA (pathology).

MedCoT performance on VQA-RAD and SLAKE-EN benchmarks compared to other state-of-the-art models.

Key results include:

  • State-of-the-Art Accuracy: MedCoT achieved 87.50% accuracy on VQA-RAD and 87.26% on SLAKE-EN.
  • Outperforming Large Models: It surpassed the 7B-parameter LLaVA-Med by 5.52% and 4.09% on the respective datasets, despite its significantly smaller core engine.
  • Value-Add Over Base LLMs: MedCoT improved upon the raw performance of Gemini Pro 1.5 by 27.21% on VQA-RAD, proving the hierarchical structure's efficacy.
  • Ablation Studies: Removing the Follow-up Specialist led to a performance drop of over 6%, confirming the necessity of the verification tier.

Discussion and Future Directions

While MedCoT significantly mitigates hallucinations through its hierarchical design, it does not eliminate them entirely. If both the Initial and Follow-up specialists agree on a false observation, the error persists. Additionally, the multi-pass nature of the system increases inference latency compared to single-pass models.

Future work will focus on further suppressing hallucinations and exploring the integration of more specialized local models to reduce reliance on proprietary LLMs in the specialist tiers.

Summary updated

BibTeX
@inproceedings{liu2024medcot,
  author = {Jiaxiang Liu and Yuan Wang and Jiawei Du and Joey Tianyi Zhou and Zuozhu Liu},
  title = {{MedCoT: Medical Chain of Thought via Hierarchical Expert}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=4DVyryX4ql},
}
Figure