arXiv:2609.10333cs.CVSep 2026

Manuscript Offprint

arXiv:2609.10333

Learning to Adapt and Calibrate: Score Distribution Alignment for Few-Shot Uncertainty Prediction in Medical VLMs

Xuan Cuong Ngo, Ngan Le

Abstract

Uncertainty estimation for medical vision-language models (VLMs) using conformal prediction has gained increasing attention due to its distribution-free coverage guarantees under exchangeability, but applying it in few-shot transfer is challenging. In this setting, only a small labeled support set is available, yet both supervised adaptation and conformal calibration require labeled data. A natural strategy is therefore to use the support set for supervised fine-tuning and then reuse it for conformal calibration. However, once the model has been adapted on these samples, their nonconformity scores are no longer exchangeable with those of unseen query samples, and naively applying split conformal prediction (SCP) can lead to unreliable coverage. Existing transductive conformal adaptation methods often avoid supervised updates to preserve the standard conformal protocol, but this sacrifices much of the value of few-shot supervision. In few-shot transfer, adaptation is the primary objective; conformal prediction should instead serve as an uncertainty estimation layer for the adapted model rather than restricting adaptation itself. We study this problem from the perspective of adaptation-induced non-exchangeability and propose ALIGNCP, a framework that reconciles supervised few-shot adaptation with conformal uncertainty estimation. ALIGNCP first adapts a medical VLM on the labeled support set and then reuses the same samples for calibration. To compensate for the resulting mismatch between support and query scores, ALIGNCP uses unlabeled query predictions to reweight the support non-conformity scores, producing a corrected calibration distribution from which the conformal threshold is computed. Since supervised adaptation breaks the exchangeability required by standard SCP, ALIGNCP does not claim its standard marginal coverage guarantee; instead, it aims to recover reliable empirical coverage as closely as possible by correcting the adaptation-induced score-distribution shift without requiring query labels. Extensive experiments across diverse medical domains show that ALIGNCP improves pre-

dictive performance over unsupervised conformal baselines while maintaining reliable empirical coverage and competitive prediction-set efficiency under distribution shift.

1. Introduction

Medical vision-language models (VLMs) have recently demonstrated strong transfer capabilities across a range of clinical applications, including image classification [11], visual question answering [25], and cross-modal reasoning. As a result, these models are increasingly adopted in high-stakes healthcare settings, with specialized medical VLMs developed for radiology [45, 48], histology [19, 26], and retinal imaging [39]. Their effectiveness largely stems from large-scale pretraining, which enables strong generalization even when labeled medical data is limited. However, despite these promising advances, the reliability and uncertainty behavior of medical VLMs under transfer remain insufficiently studied, with only a few recent works beginning to address this issue [38].

Split conformal prediction (SCP) provides a principled, distribution-free framework for uncertainty quantification, offering finite-sample coverage guarantees under the exchangeability assumption [12, 42]. Recent works have extended SCP to neural networks, showing that reliable prediction sets can be obtained using a small labeled calibration set [1, 10]. However, in transfer learning scenarios, it is common practice to perform supervised fine-tuning on available support data to improve predictive performance [18, 30]. When SCP is applied after such adaptation, the predictive model has already been updated using part of the target data. This violates the exchangeability assumption between calibration and test samples, thereby undermining the theoretical coverage guarantees of SCP [38].

To mitigate this issue, recent transductive conformal adaptation methods propose avoiding supervised updates and instead performing unsupervised adaptation jointly over calibration and test covariates [38]. These methods are de-signed to preserve empirical coverage by preventing label-driven shifts in the nonconformity score distribution. Nevertheless, this strategy is misaligned with the central goal of few-shot learning. In few-shot transfer, the main objective is to exploit the limited labeled support set as effectively as possible to adapt the model to the target task. Uncertainty estimation through conformal prediction should assist this adapted model by providing a calibrated view of its predictions, rather than becoming the constraint that prevents supervised adaptation. Therefore, while transductive conformal adaptation can maintain validity, it may do so by prioritizing conformal assumptions over task adaptation, effectively leaving valuable labeled supervision underused. This trade-off is especially undesirable in medical few-shot settings, where a small number of labeled examples can provide critical task-specific information and significantly improve predictive accuracy [15].

In this work, we develop a principled framework for supervised few-shot adaptation of medical VLMs with reliable conformal uncertainty estimation under distribution shift. Unlike transductive conformal adaptation methods that preserve exchangeability by avoiding supervised updates, we adopt a perspective that is more consistent to the goal of few-shot learning. In few-shot transfer, the scarce labeled support samples provide the most direct supervision for adapting a pretrained model to the target medical task; therefore, task adaptation should be the first priority. Conformal prediction should then serve as an auxiliary uncertainty estimation mechanism for the adapted model, rather than a constraint that prevents supervised learning from the available labels. However, once the model is fine-tuned on the support set, the calibration and test nonconformity scores are no longer exchangeable, causing standard conformal prediction to suffer from undercoverage. For this reason, our objective is not to guarantee the exact marginal coverage of standard conformal prediction, but to close the resulting coverage gap and provide the most trustworthy uncertainty estimates possible for the adapted medical VLM.

We begin by revisiting supervised few-shot conformal transfer from a distributional perspective. In this setting, the limited labeled support set is used both to fine-tune the model for the target task and to provide the calibration scores for conformal prediction. While supervised fine-tuning improves task adaptation, it can also bias the adapted model toward the support/calibration samples, shifting the induced nonconformity score distribution away from that of the test data. Since the coverage behavior of split conformal prediction depends on the calibration scores being representative of the test scores, this score-level mismatch can directly lead to coverage degradation. Recent theoretical results formalize this phenomenon by bounding the coverage gap in terms of discrepancies between the pushforward score distributions under calibration and test data [43]. These insights suggest that the central challenge is to control the score distribution shift induced by supervised adaptation, so that conformal prediction can provide reliable uncertainty estimates for the adapted model under distribution shift.

Motivated by this insight, we propose ALIGNCP, a framework that enables supervised few-shot fine-tuning while explicitly reducing the score distribution shift induced by adaptation. After adapting the VLM on the labeled support set, ALIGNCP learns a reweighted calibration score distribution that better matches the unlabeled test score distribution. This is achieved by minimizing a theoretically motivated objective derived from a coverage-gap bound defined over the two score distributions. Since supervised adaptation violates the exchangeability assumption through score-level distribution mismatch, reducing this mismatch helps narrow the resulting coverage gap and improve the reliability of conformal uncertainty estimates. Importantly, because nonconformity scores are one-dimensional, the proposed alignment is computationally efficient and remains stable in data-scarce few-shot regimes.

Extensive experiments across diverse medical domains demonstrate that ALIGNCP achieves stronger predictive performance than purely unsupervised transductive approaches, while maintaining reliable empirical coverage and competitive prediction set efficiency under distribution shift.

The main contributions are summarized as follows:

Supervised Few-Shot Conformal Adaptation: We propose ALIGNCP, a principled framework for uncertainty estimation in supervised few-shot adaptation of medical VLMs. Unlike transductive approaches that avoid supervised updates, ALIGNCP first adapts the model using the limited labeled support set and then corrects the induced score-level mismatch.

Coverage Gap Minimization Perspective: We reformulate conformal prediction after supervised few-shot adaptation as a coverage gap minimization problem. Building on recent theoretical bounds, ALIGNCP learns a reweighted calibration score distribution that better matches the unlabeled test score distribution by minimizing a theoretically motivated objective defined over the two score distributions.

Improved Accuracy-Coverage Trade-off: Extensive experiments across diverse medical domains demonstrate that ALIGNCP achieves stronger predictive performance than purely unsupervised transductive methods, while maintaining reliable empirical coverage and competitive prediction set efficiency.

References (42)