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 A. Schnabel

TL;DR

Large Vision-Language Models (LVLMs) struggle to accurately locate rare disease abnormalities due to data scarcity and inference instability. This paper introduces Dynamic Decision Learning (DDL), a training-free, test-time framework that optimizes prompts and verifies visual predictions across multiple perturbed views. DDL dramatically improves strict localization accuracy (up to 105% in mAP@75) on rare diseases and provides a well-calibrated reliability score to assist clinical decision-making.

What Problem Does This Paper Address?

Locating abnormalities in medical scans—known as visual grounding—is a critical task for clinical AI. While state-of-the-art Large Vision-Language Models (LVLMs) excel at general multimodal reasoning, they become highly unreliable when facing rare or underrepresented pathologies.

Because rare diseases suffer from extreme data scarcity, standard Supervised Fine-Tuning (SFT) often fails or overfits. Furthermore, standard "single-pass" inference is incredibly fragile; a minor tweak to a text prompt or a slight shift in the image can cause the model's bounding-box predictions to radically change or hallucinate entirely.

In a real clinical setting, radiologists don't just glance at a scan once. They cross-reference multiple views, rotate images, and iteratively re-evaluate their findings to minimize uncertainty. Current LVLM pipelines lack this verification mechanism, treating clinical grounding as a static, one-shot task.

Figure 1. Top: Static inference with frozen LVLMs exhibits prompt and perturbation sensitivity on rare pathologies, leading to unstable and hallucinated localizations. Bottom: DDL performs test-time prompt optimization and multi-view verification, yielding substan- tially more stable and reliable localizations.

Methods

To mimic clinical workflows without updating the underlying model weights, DDL introduces an adaptive inference strategy that operates across both language and visual spaces:

  1. Language Space: Distribution-Aware Prompt Evolution (DAPE)
    Instead of relying on hand-crafted prompts, DDL uses an external "Optimizer LLM" to automatically discover the best instructions. By testing candidate prompts on a small development set, DAPE splits them into a "success tail" (high scores) and a "failure bulk" (low scores). It uses this contrastive feedback to iteratively refine instructions, steering the model toward highly stable linguistic formulations.

  2. Visual Space: Visual-Perception Uncertainty Probing (V-PUP)
    To test the physical stability of a prediction, DDL applies seven stochastic, spatial-preserving transformations (such as minor rotations, scaling, translations, and flips) to the input image, creating a multi-view "evidence pool."

  3. Consolidation: Referenced Hungarian Consolidation (RHC)
    Predictions from the transformed views are mapped back to the original coordinate space. DDL treats the model's prediction on the original, unperturbed image as a canonical "anchor." It then uses the Hungarian algorithm to solve a bipartite matching problem, aligning the multi-view hypotheses to the anchor. Spurious hallucinations drop out because they lack spatial consistency across views, while legitimate abnormalities are consolidated into a final prediction paired with a Consensus Reliability Score ($\sigma$).

Figure 2. Overview of the Dynamic Decision Learning framework. DDL instantiates adaptive inference through two components: instruction-space optimization (DAPE), which refines task-specific prompts on a development set, and visual-consensus verification (V-PUP and RHC), which evaluates cross-view consistency and aggregates localization hypotheses via bipartite matching.

Datasets

The authors evaluated DDL on two distinct brain MRI benchmarks:

  • NOVA (Long-Tail OOD): A highly challenging dataset containing 281 unique rare pathology types across heterogeneous imaging protocols. This served as an out-of-distribution stress test for extreme data sparsity.
  • BTD (Brain Tumor Dataset): A standard 3-class tumor dataset (glioma, meningioma, pituitary) representing common, high-frequency clinical pathologies used as a baseline.

Key Insights and Ideas

  • Visual Stability Beats Linguistic Certainty: The authors discovered that evaluating a model's spatial consistency under visual perturbations (V-PUP) provides a far more reliable grounding signal than measuring language-level decoding uncertainty (like high-temperature token sampling).
  • Calibration is an Emergent Property of Scale: In smaller models (3B parameters), the relationship between the model's confidence and its actual accuracy is weak. However, as model capacity scales up (32B and 72B), a strong, statistically significant alignment emerges. For large models, the Consensus Reliability Score becomes an excellent predictor of true localization success.
  • Test-Time Reasoning Beats Data-Starved Fine-Tuning: When data is scarce, optimizing the inference process is more effective than changing model parameters. DDL consistently outperformed full-model supervised fine-tuning (SFT) and LoRA on rare diseases because it avoids the overfitting traps of parameter-level adaptation under extreme data sparsity.

Key Results

  • Massive Accuracy Gains: On the rare-disease NOVA benchmark, DDL improved strict localization accuracy (mAP@75) by up to 105% over vanilla baselines.
  • Outperforming Baselines: DDL comfortably beat other advanced prompting methods (like Chain-of-Thought and Role-Playing) as well as training-based methods. For example, on a 3B model architecture evaluating the NOVA dataset, DDL achieved an mAP@75 of 0.066, outperforming SFT (0.046) and LoRA (0.042).
  • Compensating for Model Size: DDL allows smaller models to punch above their weight class. Notably, a 32B model running DDL outperformed a much larger 72B model running standard zero-shot inference across all evaluated localization thresholds.

Limitations and Future Work

The primary bottleneck for DDL is test-time computational overhead. Because it requires an evolutionary prompt search on a development set and multiple parallel forward passes for multi-view visual verification, it increases latency and compute costs compared to a single static pass.

The authors note that future work will focus on amortizing this verification process to speed up inference, extending the framework to other medical imaging modalities (like chest X-rays or CT scans), and integrating more advanced, learned uncertainty models.

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 A. 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