[Paper Review] Med-Flamingo: a Multimodal Medical Few-shot Learner
Med-Flamingo adapts Flamingo to the medical domain to enable multimodal few-shot learning for generative medical VQA, evaluated with clinician-rated open-ended answers and a new Visual USMLE dataset.
Medicine, by its nature, is a multifaceted domain that requires the synthesis of information across various modalities. Medical generative vision-language models (VLMs) make a first step in this direction and promise many exciting clinical applications. However, existing models typically have to be fine-tuned on sizeable down-stream datasets, which poses a significant limitation as in many medical applications data is scarce, necessitating models that are capable of learning from few examples in real-time. Here we propose Med-Flamingo, a multimodal few-shot learner adapted to the medical domain. Based on OpenFlamingo-9B, we continue pre-training on paired and interleaved medical image-text data from publications and textbooks. Med-Flamingo unlocks few-shot generative medical visual question answering (VQA) abilities, which we evaluate on several datasets including a novel challenging open-ended VQA dataset of visual USMLE-style problems. Furthermore, we conduct the first human evaluation for generative medical VQA where physicians review the problems and blinded generations in an interactive app. Med-Flamingo improves performance in generative medical VQA by up to 20\% in clinician's rating and firstly enables multimodal medical few-shot adaptations, such as rationale generation. We release our model, code, and evaluation app under https://github.com/snap-stanford/med-flamingo.
Motivation & Objective
- Motivate and enable multimodal in-context learning in the medical domain with few-shot capabilities.
- Pre-train a medical-adapted vision-language model on interleaved medical image-text data from textbooks and PubMed sources.
- Demonstrate generative medical VQA and rationale generation through human evaluation by clinicians.
- Create and release a novel Visual USMLE-style VQA dataset spanning multiple specialties.
Proposed method
- Build Med-Flamingo by continuing pre-training OpenFlamingo-9B on interleaved medical image-text data ( MTB dataset ) and paired PMC-OA data.
- Train with a joint objective combining paired and interleaved data, with lambda set to 1.
- Evaluate via few-shot generative medical VQA on VQA-RAD, PathVQA, and Visual USMLE using clinically grounded evaluation metrics.
- Conduct a blinded human evaluation app where clinicians rate generations on a 0–10 clinical usefulness scale.
- Deduplicate and remove leakage by identifying visually similar images between pretraining and evaluation sets using Vision Transformer embeddings and FAISS.
Experimental results
Research questions
- RQ1Can a vision-language model be adapted to perform multimodal in-context learning in medicine with few-shot prompts?
- RQ2Do generative medical VQA outputs (with rationales) align with clinician judgments across diverse medical modalities and specialties?
- RQ3Does a medical-domain pre-training dataset (text+images from textbooks and PMC) improve few-shot VQA performance compared to general-domain baselines?
- RQ4What is the impact of few-shot prompting on realism and clinical usefulness of generated rationales and diagnoses?
- RQ5Can a new Visual USMLE-style dataset meaningfully challenge and evaluate multimodal medical VQA beyond radiology/pathology tasks?
Key findings
- Med-Flamingo in few-shot setting achieves the best average clinician-evaluation score across three generative medical VQA datasets, outperforming baselines by up to 20%.
- The model enables reasoning and rationale generation for complex questions, a capability not shown by prior multimodal medical foundations models.
- Visual USMLE presents cross-specialty, multimodal problems augmented with images, case vignettes, and labs, expanding beyond radiology and pathology datasets.
- Deduplication revealed leakage in PVQA test images from pretraining data; 194 highly similar images were removed to ensure evaluation integrity.
- Across VQA-RAD and PathVQA, automated metrics (BERT-sim, Exact-match) did not reliably reflect clinical usefulness, underscoring the importance of human evaluation.
- Med-Flamingo demonstrates strong few-shot performance while maintaining safety caveats and potential hallucinations, highlighting need for further data and alignment work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.