Introduction
In modern clinical practice, diagnostic decisions are rarely made in isolation. Physicians typically rely on a "big picture" view of a patient's history, which involves comparing longitudinal data—such as a current chest X-ray against one from six months prior—or synthesizing information from multi-view imaging like mammography. Furthermore, multi-modality sequences, such as T1 and T2 MRI scans, provide complementary information essential for accurate diagnosis.
Despite the rapid advancement of medical Large Vision-Language Models (LVLMs) like LLaVA-Med, most existing systems are optimized for single-image analysis. While they excel at identifying specific pathologies within one frame, they often lack the "multi-image visual ability" required for sophisticated clinical workflows. This paper introduces Med-MIM, a comprehensive instruction-tuning dataset and benchmark designed to bridge this gap and teach models how to perform temporal reasoning, compare scans, and integrate multi-view data.
Methodology: Multi-Image Instruction Tuning
The researchers addressed the single-image limitation by developing a specialized pipeline for multi-image instruction tuning. Unlike standard models that process one image at a time, the proposed architecture utilizes an interleaved formatting approach. This allows the model to receive a sequence of inputs, such as (image 1: <Img>, image 2: <Img>), followed by a query that necessitates cross-referencing information between the frames.
The training strategy focuses on four core visual abilities:
- Temporal Understanding: Predicting whether a condition is improving, stable, or worsening over time.
- Reasoning: Performing multi-view diagnosis, such as combining information from different angles of a breast scan.
- Comparison: Explicitly identifying similarities or differences between findings across different clinical visits.
- Co-reference: Identifying which image in a sequence corresponds to a specific view, timestamp, or MRI sequence.
The team fine-tuned two base models: Mantis-8B, originally designed for interleaved natural images, and LLaVA-Med-7B, a single-image medical specialist. The resulting models, Med-Mantis and MIM-LLaVA-Med, were trained for 3 epochs on high-performance hardware to adapt to these complex multi-image tasks.
The Med-MIM Dataset
A central contribution of this work is the Med-MIM Instruction Dataset, which contains 83.2K medical multi-image QA pairs. The data was curated from diverse sources, including MS-CXR-T (chest X-rays), EMBED (mammography), and LUMIERE (glioblastoma MRI).
To generate high-quality instructions, the authors employed GPT-4o to synthesize complex QA pairs from raw medical reports. A particularly effective strategy involved creating "composed" samples. By manually grouping single images and adding location suffixes—such as "In the first image..."—the researchers taught the models to perform spatial indexing. This simple yet powerful technique significantly boosted performance in co-reference tasks, helping the models distinguish between multiple visual inputs.
Key Insights and Results
The evaluation of Med-Mantis and MIM-LLaVA-Med revealed several critical insights into the nature of medical AI:
- The Context Gap: The study highlights that a model's expertise in single-image pathology does not automatically translate to multi-image reasoning. A model might identify a tumor perfectly but fail to determine if it has grown without specific multi-image training.
- Instruction Tuning is Essential: Simply using a multi-image architecture (like Mantis) is insufficient for medical tasks. Without medical-specific multi-image instructions, general-purpose models struggle with clinical logic.
- Performance Breakthroughs: Med-Mantis achieved a 74.86% accuracy in closed-ended temporal tasks on the held-in benchmark, compared to just 5.97% for the base Mantis model. In comparison tasks, it reached 52.88% accuracy, nearly doubling the performance of GPT-4o (29.81%) in this specific context.
The models also demonstrated impressive generalization. On the held-out MIM-ODIR dataset (retinal fundus photography), MIM-LLaVA-Med achieved the highest scores despite not seeing fundus images during its multi-image tuning phase. This suggests that the underlying logic of comparing and referencing multiple images is a transferable skill across medical modalities.
Limitations and Future Outlook
While Med-MIM represents a significant step forward, several challenges remain. Due to hardware constraints, image sequences were capped at three frames, whereas real-world radiology often involves dozens of slices in a CT or MRI volume. Additionally, the dataset is currently dominated by X-ray and MRI data; future expansions could include ultrasound, pathology slides, and endoscopic video. Finally, as with all LLM-based systems, mitigating the risk of hallucinations—where a model perceives a change that does not exist—remains a priority for clinical safety.
Summary updated