Dynamic Decision Learning: Test-Time Evolution for Abnormality Grounding in Rare Diseases

Jun Li, Mingxuan Liu, Jiazhen Pan, Che Liu, Wenjia Bai, Cosmin I. Bercea, Julia Schnabel

TL;DR

This paper introduces Dynamic Decision Learning (DDL), a novel inference-time framework for improving abnormality grounding in medical images, especially for rare diseases. DDL tackles the instability of current large vision-language models (LVLMs) by dynamically refining prompts and verifying predictions across multiple views, leading to significantly more accurate and reliable localization.

What Problem Does This Paper Address?

Accurately identifying and localizing abnormalities in medical images is crucial for diagnosis. However, this task is particularly challenging for rare diseases due to data scarcity, which makes supervised fine-tuning of LVLMs difficult. Furthermore, even state-of-the-art LVLMs exhibit unstable predictions when faced with subtle variations in prompts or image data, leading to unreliable grounding, especially for less common pathologies. This fragility hinders their practical use in clinical decision support systems. The paper aims to bridge this gap by developing a method that enhances LVLM grounding performance without requiring additional training data or parameter updates.

Methods

DDL is an inference-time framework that operates in two main stages:

  1. Distribution-Aware Prompt Evolution (DAPE): This stage focuses on refining the natural language instructions given to the LVLM. DAPE treats prompt optimization as a search problem. It iteratively generates and evaluates candidate prompts on a development set, using a "success-failure partitioning" strategy. High-performing prompts form the "success tail," and low-performing ones form the "failure bulk." A meta-optimizer LLM then uses this information to generate improved prompts that are more robust to variations and lead to better grounding. This process aims to find an "optimal prompt" ($p^*$) that maximizes expected decision utility.
  2. Visual-Consensus Verification (V-PUP & RHC): This stage addresses the visual instability of LVLM predictions.
  3. Visual-Perception Uncertainty Probing (V-PUP): The framework generates multiple augmented views of the input image. The core idea is that genuine anatomical abnormalities should remain spatially consistent across these views, while spurious detections are likely to be unstable.
  4. Referenced Hungarian Consolidation (RHC): The predictions from the augmented views are then consolidated. RHC uses the prediction from the original image as a reference anchor. It employs a bipartite matching algorithm (Hungarian algorithm) to align predictions from augmented views to this anchor, ensuring spatial consistency. A "Consensus Reliability Score" ($\sigma_j$) is computed for each detected abnormality, combining evidence of recurrence (consensus) and spatial precision (consistency).

Datasets

The paper evaluates DDL on two brain MRI benchmarks:

  1. NOVA: A challenging dataset specifically designed for rare disease grounding. It features 281 unique rare diseases with highly heterogeneous abnormal regions across various MRI modalities. This dataset represents an "out-of-distribution" (OOD) stress test.
  2. BTD (Brain Tumor Dataset): A comparative baseline dataset representing common clinical pathologies. It includes three primary tumor types: pituitary tumors, meningioma, and glioma.

Key Insights and Ideas

  • Inference-time adaptation is crucial for rare diseases: Traditional methods like supervised fine-tuning struggle with data scarcity. DDL demonstrates that optimizing inference can be a powerful alternative.
  • Visual consistency is a stronger signal than linguistic uncertainty: The paper finds that grounding accuracy is more closely tied to the stability of predictions across different visual perspectives than to variations in language-based token generation.
  • Prompt optimization alone isn't enough: While DAPE significantly improves grounding, it's the combination with visual verification (V-PUP & RHC) that truly stabilizes predictions and enhances performance, especially at stricter localization thresholds.
  • Model scale matters for calibration: The reliability scores produced by DDL become significantly more aligned with actual grounding accuracy as the LVLM model size increases. Smaller models show poor calibration, especially on easier tasks, while larger models exhibit robust calibration.

Key Results

  • DDL improves mAP@75 by up to 105% on rare-disease cases compared to vanilla baselines.
  • It consistently outperforms adaptation baselines and supervised fine-tuning.
  • DDL yields stronger calibration between reliability scores and localization accuracy, especially under severe distribution shifts and increasing task difficulty.
  • The framework shows consistent improvements across various model scales (3B to 72B parameters) and datasets.
  • For smaller models (3B), DDL significantly boosts performance at stricter localization thresholds (mAP@75), showing gains of up to 93.0%.

Limitations and Future Work

  • Increased test-time computation: DDL's multi-stage inference process naturally leads to higher computational costs compared to single-pass inference.
  • Future work: The authors suggest exploring ways to amortize verification costs, extend the framework to other modalities, and integrate learned uncertainty models. They also propose that inference-time adaptation can be a core component for reliable multimodal systems.

Summary updated

BibTeX
@inproceedings{li2026dynamic,
  author = {Jun Li and Mingxuan Liu and Jiazhen Pan and Che Liu and Wenjia Bai and Cosmin I. Bercea and Julia Schnabel},
  title = {{Dynamic Decision Learning: Test-Time Evolution for Abnormality Grounding in Rare Diseases}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=YcccAbXbVK},
}
Figure