cs.CVNov 20, 2026

Leakage-Free Is Not Confounder-Free: What a Patient-Level Split Cannot Certify About a Medical Imaging Benchmark

Authors: Ignazio Gallo, Mattia Gatti, Leonardo Sgroi, Darwin Castillo, Yuliana Jiménez-Gaona, Nicola Landro

Organizations: Department of Theoretical and Applied Sciences, University of Insubria, Varese, Italy · Departamento de Qu´ımica, Facultad de Ciencias Exactas y Naturales, Universidad T´ecnica Particular de Loja, Loja, Ecuador · Joint Research Centre, Ispra, Italy

Abstract

Patient-level splitting is the standard safeguard against subject leakage in medical imaging evaluation, but it cannot remove a confounder that every fold inherits: an acquisition variable aligned with the diagnosis across the whole cohort. We present a five-question audit of a candidate confounder: how well it predicts the diagnosis, whether it can be decoded from the images, whether diagnostic scores depend on it, whether the image adds predictive value beyond it and how much discrimination survives once it is controlled. We apply it to DMR-IR, the public dataset on which most machine-learning results in breast thermography rest. On 236 patients under a strict patient-disjoint protocol, the acquisition date alone predicts malignancy at AUROC 0.980, above every imaging arm we evaluated (best 0.949), because benign and malignant patients were recruited in different years. The acquisition year is decodable from the pixels among patients who share a diagnosis, largely through a global thermal offset outside the breast, yet only one arm, the one pooling every frame of a visit, demonstrably carries it into its diagnostic score. No arm improves on the date on paired folds, and once the date is controlled, discrimination either collapses or survives only on comparisons the benchmark cannot attribute. The dataset contains only eight cross-label same-date pairs, from ten patients, which limits reliable evaluation within recorded acquisition-date groups. A second, independently acquired cohort, whose dominant channel is patient age, reproduces every finding except legibility, from a confounder that is clinically legitimate. Mitigation may suppress such a confounder, but without cross-label acquisition support no evaluation on the benchmark can certify that what remains is pathology.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Scores That Hold, Benchmarks That Leak: Measuring Dataset Contamination in Public Brain-Tumor MRI Classification

    Sep 30, 2026Bhanu Prakash Vangala, Sowmya Guda, Latha Peddi +1Data LeakageBenchmark Contamination

  2. Duplicate- and Patient-Overlap Leakage in Brain MRI Tumor Classification: A Multi-Model Evaluation

    Nov 20, 2026Xin Li, Samson OluwadareData LeakageMedical Image Benchmarks

  3. Leakage- and Label-Aware Benchmarking of Class-Imbalance Strategies for Multimodal Chest X-Ray and EHR Classification

    Nov 5, 2026Dang-Khoa Bui, Quang-Huy Tran, Minh-Khoi Nguyen-Bui +4Medical Image BenchmarksData Leakage