Abstract
The MEDIQA-M3G 2024 challenge focused on generating clinical responses for dermatology queries based on multimodal inputs. This paper details the winning strategies from WangLab (University of Toronto), which secured both 1st and 2nd place. The primary solutions include a two-stage Claude 3 Opus pipeline and a specialized CLIP-based embedding model. Our findings demonstrate that multi-stage prompting and specialized image-disease embeddings significantly outperform standard end-to-end models in medical visual question answering (VQA).
Introduction
As telehealth expands, the demand for AI systems capable of interpreting multimodal clinical data increases. In dermatology, diagnosis relies heavily on both visual evidence (images of lesions) and textual context (patient history). The MEDIQA-M3G 2024 shared task addressed this by requiring models to generate medical answers from skin images and patient queries. This task is particularly challenging due to the subtle visual differences between conditions and the often noisy nature of patient-provided text.
Methodology
The WangLab team developed two distinct architectures to tackle the challenge of noisy patient data and subtle visual cues.
Two-Stage Claude 3 Opus Pipeline
The first approach utilizes a "Chain of Thought" strategy for vision. Instead of a single-pass generation, the system employs two consecutive API calls to Claude 3 Opus:
- Differential Diagnosis: The model first analyzes the images to generate a list of potential conditions. The authors noted that allowing the model to generate this list without rigid formatting constraints in the first call was crucial for maintaining diagnostic accuracy.
- Final Answer Generation: The model uses the differential diagnosis and the patient query to select the most likely disease and format it into a concise clinical response.
CLIP-based Embedding Model
The second approach involves a specialized image classification model using the Contrastive Language-Image Pre-training (CLIP) architecture. GPT-4 Turbo was used to extract clean disease labels from unstructured medical discussions in the training set. A ResNet50 image encoder and OpenAI’s EmbeddingV3 text encoder were then trained to map images and disease labels into a shared space. At inference, the model identifies the "nearest neighbor" disease label for a given input image.
Experimental Setup
The study utilized the MEDIQA-M3G dataset, comprising 842 training, 56 validation, and 100 test cases. Performance was evaluated using deltaBLEU, a metric that weights professional medical responses more heavily. The authors optimized for brevity, finding that a simple "It is [Disease Name]" format scored higher than more nuanced responses due to the metric's penalties for long, partially correct answers.
Results and Analysis
The multi-stage Claude 3 solution achieved the top rank with a deltaBLEU of 10.415, while the CLIP-based solution followed with 10.119. Both significantly outperformed the next best competitor (approx. 3.827).
A key finding was the impact of the multi-stage strategy. Moving from a single-call to a two-call system for Claude 3 resulted in a performance increase from 7.650 to 10.415 deltaBLEU, as shown in the ablation study.
Surprisingly, the inclusion of patient query text often degraded performance. The authors observed that patient-provided information was sometimes inconsistent with visual evidence, leading the model astray. Consequently, image-only predictions were often more robust than those incorporating text.
Conclusion
The success of WangLab's approaches underscores the importance of structured reasoning in medical VQA. While the results are promising, the low absolute deltaBLEU scores indicate that replicating the nuance of human clinicians remains a significant challenge. Future work will explore more sophisticated evaluation metrics and improved methods for fusing noisy textual data with high-fidelity medical imagery.
Summary updated