arXiv:2610.25202cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25202

ViCoR: Estimating Visual Necessity via Counterfactual Residuals for Multimodal Medical Data Selection

Haotian Gan, Yudong Li, Xintian Li, Jiarui Han, Weidong Tang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Medical vision-language models often exhibit hidden stratification, where high overall performance masks failures on subtle visual findings and overlapping clinical conditions. We trace this failure mode to modality imbalance during fine-tuning, where strong linguistic priors can suppress visually grounded learning and induce plausible but weakly grounded rationales. Existing data selection methods usually score image-text pairs as holistic units, without separating visually necessary samples from shortcut-solvable ones. To address this problem, we propose ViCoR, a counterfactual-residual-based data selection method for Med-VLM fine-tuning. ViCoR estimates visual necessity through image-dependent optimization residuals, calibrates the resulting scores with medical supervision compatibility, and constructs a diversity-aware fine-tuning subset. Across two backbones, four external generalization benchmarks, and one multi-disease robustness benchmark, ViCoR-selected 20% subsets achieve the strongest average performance compared with full-data fine-tuning and selection baselines. Gradient-level analysis and perturbation audits further show that ViCoR enriches image-dependent training signals and strengthens image-level and evidence-region dependence. The code will be available at https://github.com/htgan-ai/ViCoR.

1 Introduction

Despite the state-of-the-art performance of Medical Vision-Language Models (Med-VLMs) on existing benchmarks [1–3], their reliability in clinical settings remains a challenge [4]. One important issue is hidden stratification [5], where models achieve high overall accuracy while performing poorly on clinically important subgroups. This risk is especially consequential in high-stakes clinical scenarios where subtle visual findings determine the diagnosis. For Med-VLMs, such subgroup failures are not limited to rare diseases. They can also arise from underrepresented combinations of common diseases [6, 7] and from ambiguous or non-standard visual presentations [8, 9]. In these cases, visual evidence is often harder to interpret, which increases the risk of shortcut learning [10]. Instead of grounding predictions in visual evidence, models may rely on textual priors or disease co-occurrence patterns learned from biased training data [11, 12]. Recent work also shows that VLMs can over-trust textual priors and ignore uncertain visual evidence [13]. These findings raise broader concerns about apparent visual understanding and readiness in medical VLMs [14, 15].

Such shortcut-driven predictions can create false trust when models generate plausible explanations not grounded in visual evidence [16, 17]. One underlying cause is gradient starvation, where signals that are easier to learn suppress weaker but clinically important signals [18]. In multimodal training, text often provides stronger optimization signals than images, which can slow or even stall the learning of the visual encoder [19]. This imbalance becomes more severe when training data contains many templated medical narratives. As a result, the model may learn to follow common textual patterns rather than use visual findings.

*Corresponding author: liyudong@tsinghua.edu.cn

Haotian Gan conducted this work during an internship at Tsinghua University.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Motivation and effect of ViCoR. ViCoR selects samples whose optimization signals depend on visual evidence, encouraging more visually grounded medical reasoning.

Since this imbalance is partly shaped by the fine-tuning distribution, data selection offers a practical way to adjust the learning signal. However, existing data selection methods such as LESS [20], Adapt- ∞\infty [21], and Self-Filter [22] estimate sample utility from influence matching, multimodal selection, or instruction quality filtering. They usually treat each example as a whole image-text pair and do not distinguish whether its utility comes from visual evidence or from easy textual cues. This limitation is especially important in medical VLM fine-tuning, where text-dominated utility scores can favor templated diagnostic narratives and suppress visual evidence needed for diagnosis. Recent work on Visual Information Gain (VIG) similarly selects samples according to how visual degradation changes prediction loss [23]. This motivates visual-aware data selection. A more targeted selection criterion should therefore measure whether the image itself changes the learning signal, rather than only whether the sample appears difficult, influential, or well formatted [24].

To address this limitation, we propose ViCoR, a counterfactual-residual-based data selection method for Med-VLM fine-tuning. As illustrated in Figure 1, ViCoR mitigates gradient imbalance by selecting samples whose optimization signals depend on sample-specific visual evidence. It estimates visual necessity by comparing two gradients: one from the original image-question pair, and the other from a shortcut environment where the image is replaced by a mean-image shortcut control. Their difference estimates the image-dependent update not explained by textual shortcuts alone. Based on this score, ViCoR further calibrates supervision compatibility and builds a diversity-aware subset for fine-tuning. Our contributions are as follows:

• We propose an image-dependent optimization residual that estimates visual necessity by isolating the gradient component induced by sample-specific visual evidence.

• We develop ViCoR, an offline selector that integrates residual-based scoring, medical supervision calibration, and diversity-aware subset construction.

• Across two backbones, four external generalization benchmarks, and one multi-disease robustness benchmark, ViCoR-selected 20% subsets perform best on average. Perturbation audits further support stronger image and evidence-region dependence.

References (52)