arXiv:2608.25810cs.CVAug 2026

Manuscript Offprint

arXiv:2608.25810

Label-Free Foundational Model Selection for Medical Image Classification under Distribution Shift via Pseudo Label Discrepancy

Juan Iñaki Larrea, Lucas Mansilla, Enzo Ferrante

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

Juan Iñaki Larrea 1^{1}, Lucas Mansilla 2^{2}, Enzo Ferrante 1^{1}

1^{1}Applied Artificial Intelligence Lab (LIAA), Computer Sciences Institute (ICC), Universidad de Buenos Aires - CONICET, Argentina

2^{2}Research Institute for Signals, Systems and Computational Intelligence, sinc(i), Universidad Nacional del Litoral - CONICET, Argentina

Abstract. Foundation models are increasingly deployed for medical image analysis. However, under the inter-institutional distribution shift typical of deployment, their performance varies widely and cannot be known without target-domain labels, which are rarely available. This leaves a practical question unresolved: given several candidate foundational models and labeled-data from a source domain, which one to deploy in an unlabeled target domain? We propose a label-free selection criterion built on SUDO, a framework for evaluating clinical AI systems without ground-truth annotations. SUDO partitions the unlabeled target data by predicted probability and, for each region, measures a pseudo-label discrepancy reflecting class contamination; aggregated across regions, this yields a score (AURCC) requiring neither target annotation nor fine-tuning. We show that AURCC can be used to rank a variety of vision-language models (BioMedCLIP, CXR-CLIP, CheXzero, MedCLIP, MedImageInsight, CLIP) on chest X-ray classification across three inter-hospital shift scenarios, under zero-shot and MLP-probe regimes. The AURCC ranking recovers the ground-truth ranking with Spearman ρ\rho up to 0.943 ( p<0.05p < 0.05). Against the natural baseline of ranking by held-out source accuracy, AURCC is competitive when the labeled source is large and yields a more accurate ranking once it is small; the regime of interest in resource-constrained settings.

Keywords: Label-free evaluation · Distribution shift · Model selection · Foundation models · Chest X-ray

1 Introduction

Machine learning has transformed medical image analysis, in some cases matching or exceeding specialist performance [9]. However, most supervised methods assume that training and deployment data are drawn from the same distribution, an assumption that rarely holds in practice: clinical images may come from different scanners, hospitals, patient populations, or acquisition protocols. This phenomenon, known as distribution shift [11], can degrade performance substantially [1, 19]. Quantifying this degradation conventionally requires ground-truth

Juan Iñaki Larrea, Lucas Mansilla, Enzo Ferrante

annotations in the target domain, since standard metrics compare predictions against reference labels. In deployment, however, such annotations are typically unavailable: obtaining them requires expert radiologist time, which is costly and often inaccessible. This raises the question we address in this work: given a labeled source dataset and an unlabeled target domain, how can we rank candidate models by their expected target performance without annotations?

Foundation models have reshaped this landscape. Pre-trained on large image-text corpora, vision-language models such as CLIP and its biomedical variants produce general-purpose embeddings that transfer to downstream tasks with little or no supervision, via zero-shot (ZS) prompting, lightweight linear probe (LP) on frozen features or even training a shallow multi-layer perceptron with them (MP) [12, 20]. This is especially attractive in resource-constrained settings: the models are public and free, adaptation is cheap, and analysis can operate on embeddings orders of magnitude smaller than the images, cutting the communication cost of distributed learning and enabling data sharing through latent representations rather than raw scans [13, 10, 3]. Yet this generality is double-edged: many chest X-ray foundation models now exist, and their performance under inter-institutional shift varies widely and cannot be known a priori without target labels. Choosing which to deploy is thus a key practical bottleneck, precisely the label-free ranking problem we address here.

We build on SUDO [8], a framework that estimates the reliability of a deployed classifier without ground-truth labels by partitioning the target data according to the model's output probabilities and computing, for each region, a pseudo-label discrepancy index that reflects the degree of class contamination in that region. Aggregated across regions via a reliability-completeness curve, these discrepancies yield a single label-free score: the Area Under the Reliability-Completeness Curve (AURCC) that we reinterpret as a ranking signal across models. Both regimes we consider, ZS and MP, rely on source labels only; the target images are used unlabeled, only to generate the probabilities that drive the partitioning. A natural objection is that one could simply rank models by their accuracy on the held-out source data. We take this baseline and evaluate against it, showing that it is strong when the labeled source is large, but degrades when it is small. Interestingly, this is the situation faced by institutions with scarce annotation budgets. Fig. 1 gives an overview of the proposed label-free model ranking framework.

Previous work. Distribution shift is more often mitigated than measured: unsupervised domain adaptation aligns source and target representations [5], and test-time adaptation adjusts the model using only incoming target data [15]. These approaches modify the model rather than assess it, leaving open the question we address: how to evaluate target performance without labels, and hence how to choose among candidate models. Estimating performance on unlabeled data remains an open problem in itself.

Recently, Kiyasseh et al. [8] propose SUDO, a framework for evaluating clinical AI systems without ground-truth annotations. SUDO partitions the unlabeled target data into regions according to the model's predicted probabilities

Candidate models

Figure

Fig. 1. Overview of the label-free model ranking framework. Given a labeled source dataset and an unlabeled target dataset, each candidate model ϕ1,…,ϕM\phi_1, \ldots, \phi_M produces embeddings that drive the SUDO procedure, yielding a ranking of models by their AURCC without target labels.

and, for each region, measures the discrepancy derived from auxiliary classifiers trained under opposing pseudo-label assumptions. Aggregating these discrepancies across regions yields a single label-free score, the AURCC. SUDO is framed as a tool for assessing a single deployed system, and the authors note that the AURCC can also serve to compare models. We take this observation and study it systematically in the setting of foundation model selection for medical imaging under distribution shift. We benchmark six chest X-ray foundation models across three inter-hospital shift scenarios and two regimes of source-label usage, showing that the label-free ranking recovers ground-truth target performance (Spearman ρ\rho up to 0.943, p<0.05p < 0.05) consistently.

References (19)