Abstract
The MEDIQA-M3G 2024 shared task challenged participants to generate accurate clinical responses for dermatological conditions using multimodal inputs (images and text). This paper presents the winning strategies developed by researchers from the University of Toronto and the Vector Institute (WangLab), who secured the top positions in the competition. We introduce a multi-stage reasoning pipeline using Claude 3 Opus and a domain-specific CLIP-based classifier. Our results demonstrate that structured "Chain-of-Thought" prompting for visual tasks and extensive domain-specific data augmentation are critical for high-performance medical visual question answering (VQA).
Introduction
While Large Language Models (LLMs) have mastered text-based medical examinations, real-world clinical practice is inherently multimodal. In dermatology, diagnosis relies heavily on visual evidence supplemented by patient history. The MEDIQA-M3G 2024 shared task addresses the "Medical Visual Question Answering" (VQA) problem, requiring models to synthesize noisy images and potentially inconsistent patient queries into professional clinical responses.
Methodology
We explored two distinct strategies to address the complexities of dermatological VQA:
Multi-Stage LLM Pipeline
Instead of a single-pass generation, we implemented a two-stage reasoning process using Claude 3 Opus. In the first stage, the model generates a "differential diagnosis"—a prioritized list of potential conditions—based on the provided images. In the second stage, the model refines this list into a single, professional diagnosis. This approach functions as a visual "Chain-of-Thought," allowing the model to explore multiple hypotheses before committing to a final answer.
Specialized CLIP Classifier
We developed a domain-specific classifier using the Contrastive Language-Image Pre-training (CLIP) architecture. This model utilizes a ResNet-50 image encoder and OpenAI’s EmbeddingV3 for text encoding. To overcome the limitations of the small competition dataset, we curated over 25,000 additional image-disease pairs from public dermatology sources. We employed GPT-4 Turbo to standardize noisy labels in the training data, ensuring high-quality supervision.
Datasets
The primary benchmark was the MEDIQA-M3G dataset, containing 842 training, 56 validation, and 100 test cases across English, Chinese, and Spanish. We supplemented this with 25,528 external image-disease pairs. Semantic embeddings were generated for 1,245 unique disease labels to facilitate accurate retrieval and classification.
Results and Analysis
The WangLab team achieved dominant performance on the official leaderboard. The multi-stage Claude 3 Opus pipeline reached a deltaBLEU of 12.855, while the CLIP-based solution achieved 11.979. These results were nearly four times higher than the scores of the next competing team (3.827).
Key Insights
- Response Conciseness: We observed that the deltaBLEU metric penalizes verbosity. Adopting a "short and sweet" strategy focused on the disease name significantly improved scores.
- Multi-Stage Advantage: As shown in the ablation studies, the two-call strategy (12.855 dBLEU) outperformed the single-call baseline (10.529 dBLEU).
- Modality Conflict: Surprisingly, the inclusion of patient text queries often degraded performance (dropping from 12.855 to 10.905 dBLEU). This suggests that current multimodal models may struggle to reconcile noisy user text with clear visual evidence.
Discussion and Limitations
Despite the success of these methods, absolute deltaBLEU scores remain relatively low, indicating that dermatological VQA is far from solved. Future work should focus on more robust "fusion" techniques to better integrate patient history and move toward semantic-based evaluation metrics (e.g., GPTscore) that better capture clinical accuracy than word-matching metrics.
Summary updated