Contamination, Prior, or Evidence? Decomposing and Training Evidence Use in Whole-Slide Vision-Language Models
Organizations: University of Virginia, Charlottesville · Merck & Co., Inc.
Abstract
Pathology vision-language models (VLMs) are conventionally evaluated by accuracy, but accuracy alone does not measure evidence use: it may conflate dataset contamination, prior knowledge, and image evidence. In a motivating study of lymph-node metastasis prediction, we found that most public pathology VLMs showed minimal differences when changing from feeding the models with whole-slide images, an annotated lesion, or no image at all. To better understand the specific features leveraged by these models, this paper presents two contributions aimed at disentangling these factors. First, we present CleanSlide, a TCGA-based VQA benchmark designed to eliminate image- and question-side contamination. It contains 149K audited multiple-choice questions over 9,985 slides, with patient- and tissue-source-disjoint splits. Every question is audited for option shortcuts, stem leakage, cross-split duplication, and blind solvability. Second, we propose Pair-DPO, a preference loss over counterfactual slide pairs from the same question and source. By controlling for shared confounding factors, Pair-DPO cancels out the question-attributable signal and leaves image evidence as the source of preference. Specifically, each pair consists of two real slides with opposite, verified findings, introducing neither editing artifacts nor unverified labels for diffuse or graded features such as invasion, necrosis, and tumor grade. Experiments show that our method gains 15.29% from image evidence on the CleanSlide, compared with 2.81% for the best published model. On the external CPTAC and BCNB cohorts, our method achieves accuracies of 57.6% and 59.0%, outperforming all other evaluated models by 9.7% and 3.4%, respectively. We will release the benchmark and code.
Figures & tables
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Criterion | All imported | Morphologic families | |
| Text-level integrity | |||
| C5 | Stem does not give the answer away | 100.00 ∗ | 100.00 ∗ |
| C5 | No partial hint either | 98.10 [96.09–99.83] | 99.70 [99.10–100.00] |
| C6 | Wording is not broken | 100.00 ∗ | 100.00 ∗ |
| C6 | Wording is natural | 99.71 [99.20–100.00] | 99.70 [99.10–100.00] |
| C4 | All distractors plausible but wrong | 96.18 [92.70–98.84] | 100.00 ∗ |
| Arm | G-acc | Acc | Sens |
|---|---|---|---|
| Qwen3-VL-8B | |||
| zero-shot | 30.26 [26.50–33.85] | 77.71 [76.28–79.13] | 1.129 [1.079–1.179] |
| CE control | 38.86 [35.50–42.22] | 80.61 [79.29–81.86] | 1.184 [1.145–1.222] |
| retrieved image [ Xing et al., 2025 ] | 37.44 [33.50–41.37] | 80.37 [79.00–81.77] | 1.161 [1.119–1.204] |
| sym. response [ Liu et al., 2025 ] | 37.61 [33.50–41.71] | 80.54 [79.06–81.94] | 1.260 [1.217–1.302] |
| blind-anchored [ Wu et al., 2025b ] | 41.03 [36.92–44.96] | 81.56 [80.03–82.97] | 1.239 [1.198–1.281] |