MIRA: Medical Image Reflection for Agentic Diagnosis

Shengzhi Wang, Jun Yang, Kai Wu, Xiaozhong Ji, Yiwen Ye, Ziyang Chen, Mingliang Xiong, Wen Fang, Mingqing Liu, Mengyuan Xu, Miaoxuan Shan, Caiyan Liu, Bin He, Qingwen LiuarXiv 2026

TL;DR

MIRA (Medical Image Reflection for Agentic Diagnosis) is a novel medical visual diagnostic framework that equips Large Vision-Language Models (LVLMs) with autonomous tool use and self-verification capabilities. By combining a tool-augmented Monte Carlo Tree Search (MCTS) data engine for supervised fine-tuning with an evolving reinforcement learning reflection memory, MIRA significantly boosts diagnostic accuracy while drastically reducing unnecessary or misleading tool interactions.

What Problem Does This Paper Address?

When applying Large Vision-Language Models to medical imaging, standard architectures typically process an image in a single static pass. This often causes models to miss subtle lesions, focus on irrelevant background regions, or hallucinate clinical findings.

While recent "agentic" frameworks allow models to interactively use tools (like zooming or cropping), indiscriminate tool use introduces a new set of problems: it injects noise, propagates misleading evidence, and drives up inference costs. In clinical settings where errors can be fatal, an effective AI agent must not only know how to use tools, but also when they are actually necessary and whether the newly acquired evidence genuinely supports or contradicts its current diagnostic hypothesis.

Methods

MIRA addresses these challenges through a lightweight tool suite (including ZOOM, GROUNDING, POINT, ROTATE, MEASURE, and web SEARCH) and a two-stage training strategy:

  1. MIRA-SFT Cold Start: Because standard medical datasets lack tool-use trajectories, the authors designed a data engine using tool-augmented Monte Carlo Tree Search (MCTS). Guided by powerful teacher models (such as GPT-5.2 and Gemini 2.5 Pro), this engine systematically explores the diagnostic space, verifies visual grounding accuracy, and outputs "golden" successful trajectories. Crucially, it also synthesizes reflection data from failed branches to teach the model how to question and correct its own reasoning path.
The reflection thinking pattern synthesis pipeline.
  1. MIRA-RL: The model is further optimized using Group Relative Policy Optimization (GRPO) with a composite reward tracking format, accuracy, and reasoning consistency. To make failures reusable across different cases, MIRA introduces an On-Policy Reflection Memory Optimization mechanism. Instead of just updating model weights, repeated failures are distilled into high-level, human-readable diagnostic principles (e.g., "classify image modality at a coarse level before finer reasoning"). These principles are tested against a validation set and only injected into the global system prompt if they improve overall rewards.
On-Policy Reflection Memory Optimization loop during RL training.

Datasets

  • Training: Trajectories were synthesized from the training splits of four public medical VQA datasets—PMC-VQA, SLAKE, VQA-RAD, and PathVQA—alongside an in-house medical image dataset, totaling 24,126 instruction-tuning instances.
  • Evaluation: MIRA was evaluated across nine diverse benchmarks spanning general medical VQA, radiology, pathology, lesion-level understanding (MedLesionVQA/MCQ), and expert-level reasoning (MedXpertQA-MM, MMMU-Medical).

Key Insights and Ideas

  • Restraint is a Virtue: Teaching an agent when to stop using tools is just as critical as teaching it how to use them. Unchecked tool use degrades diagnostic performance by introducing visual noise.
  • Global vs. Local Reflection: Rather than treating reflection as a transient, instance-specific thought step, MIRA treats it as an evolving, global rulebook that dynamically updates during reinforcement learning.
  • Perception Over Memorization: Fine-grained task analysis revealed that MIRA's performance gains stem primarily from improved basic perception (low-level visual grounding) and clinical suggestion logic, rather than simply memorizing superficial medical text concepts.

Key Results

  • State-of-the-Art 8B Performance: MIRA-VL-8B achieved an average score of 64.73 across the nine benchmarks, outperforming its Qwen3-VL-8B backbone by 7.44 points and matching or exceeding several substantially larger open-source and medical-specific models.
MIRA benchmark performance comparison across nine medical VQA datasets.
  • Perception Jumps: The framework demonstrated massive gains on perception-intensive lesion tasks, improving by 14.5 points on MedLesionVQA and 14.4 points on MedLesionMCQ.
  • Drastic Noise Reduction: MIRA increased useful tool-use judgments from 56.2% to 73.8% while slashing harmful tool calls from 8.9% down to 1.6%.
  • Concise Reasoning: Reinforcement learning successfully suppressed verbose reasoning; average completion lengths dropped from over 1,000 tokens to around 400, and the average number of tool turns decreased from 2.2 to 1.3.

Limitations and Future Work

  • Backbone Constraints: MIRA is fundamentally bounded by the core capabilities of its underlying backbone (Qwen3-VL-8B). If the base model completely fails to recognize a subtle visual feature or lacks fundamental clinical knowledge, tool use and reflection can mitigate but not entirely eliminate the error.
  • Memory Generalization: The distilled global reflection principles might overfit to common failure modes in the training data, potentially struggling to generalize to rare diseases, unseen imaging styles, or highly distinct clinical contexts. The authors suggest exploring more systematic memory validation and retrieval mechanisms in future work.

Summary updated

BibTeX
@misc{wang2026mira,
  author = {Shengzhi Wang and Jun Yang and Kai Wu and Xiaozhong Ji and Yiwen Ye and Ziyang Chen and Mingliang Xiong and Wen Fang and Mingqing Liu and Mengyuan Xu and Miaoxuan Shan and Caiyan Liu and Bin He and Qingwen Liu},
  title = {{MIRA: Medical Image Reflection for Agentic Diagnosis}},
  year = {2026},
  eprint = {2608.10827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.10827},
}
Figure