arXiv(opens in a new tab)cs.CVAug 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2608.27004

MVC-Bench: Benchmarking Calibration of Medical Vision-Language Models

Ashshak Sharifdeen, Shihab Aaqil Ahamed, Ufaq Khan, Muhammad Akhtar Munir Sujair Ibrahim, Mohamed Rafeek Mareer Ahamed, Yutong Xie, Imran Razzak, Muhammad Haris Khan

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

Ashshak Sharifdeen 1^{1}, Shihab Aaqil Ahamed 1^{1}, Ufaq Khan 1^{1}, Muhammad Akhtar Munir 1^{1}

Sujair Ibrahim 2^{2}, Mohamed Rafeek Mareer Ahamed 3^{3}, Yutong Xie 1^{1},

Imran Razzak 1^{1}, Muhammad Haris Khan 1^{1}

1^{1}Mohamed bin Zayed University of AI

2^{2}Sabaragamuwa University of Sri Lanka

3^{3}Digital Platform Development, SLT PLC

{ashshak.sharifdeen, muhammad.haris}@mbzuai.ac.ae

Abstract

Reliable evaluation of vision-language models (VLMs) and medical vision-language models (Medical-VLMs) requires calibrated confidence, particularly under realistic clinical conditions. However, existing efforts mainly focused on improving accuracy, leaving calibration in the medical domain underexplored. To this end, we propose MVC-Bench, a calibration-centric benchmark for medical image classification with VLMs and Medical-VLMs. MVC-Bench assesses the calibration across three axes: (i) robustness to modality, backbone, and domain shift (ii) effectiveness of calibration strategies and prompt-tuning methods (iii) stability under prompt-template and random-seed variations. The benchmark covers eight different backbones, three medical modalities, including fundus imaging, histopathology, and chest X-ray under in-domain and domain shift settings. It compares post-hoc calibration, train-time calibration, and zero-shot inference methods, together with six prompt-tuning methods. Across more than 1638 controlled experiments, we report accuracy and Expected Calibration Error (ECE) as primary metrics, and further report results with complementary calibration measures, including Maximum Calibration Error (MCE) and Adaptive Calibration Error (ACE). We further investigate the underlying causes of miscalibration in VLMs and Medical-VLMs and propose a simple train-time calibration method, Multi-Class Margin (MCM) regularization, which achieves lowest ECE on 10 out of 12 settings in in-domain and remains competitive under domain shifts. Collectively, MVC-Bench provides a structured evaluation framework and actionable guidance for improving calibration in safety-critical medical workflows. Our Code:https://github.com/ashshaksharifdeen/MVC-Bench.

1 Introduction

VLMs leverage large-scale language supervision to align visual and textual representations, enabling

Figure

Figure 1: Overview of MVC-Bench, which evaluates calibration of VLMs and Medical-VLMs across three axes: robustness to modality, backbone, and domain shift; effectiveness of calibration and prompt-tuning strategies; and stability under prompt-template and random-seed variations. The benchmark spans DR, histopathology, and chest X-ray datasets, covering relevant backbones and calibration settings across more than 1638 controlled experiments.

strong zero/few-shot transfer with limited task-specific labels (Radford et al., 2021; Zhai et al., 2022; Li et al., 2022, 2023). Medical-VLMs extend this capability to clinical imaging, where annotations are scarce and costly. This capability has been explored across multiple medical modalities, including fundus imaging (Gulshan et al., 2016), histopathology (Campanella et al., 2019), and chest X-rays (Rajaraman et al., 2020). By aligning medical images with disease-aware prompts, medical-VLMs support disease-pattern recognition and transferable evaluation across heterogeneous medical datasets (Boecking et al., 2022; Wang et al., 2022; Zhang et al., 2023; Huang et al., 2023a; Ikezogwo et al., 2023a). Since full fine-tuning large VLMs is often costly, prompt tuning has become a practical parameter-efficient alternative, updating only a small set of prompt parameters while keeping the backbone frozen (Liu et al., 2023). This low-cost adaptation is particularly valuable in medical imaging, where full fine-tuning is often infeasible (Hanif et al., 2024; Hussein et al., 2024).

Despite recent advances, prompt-tuning methods for VLMs mainly optimize accuracy while often overlooking confidence calibration (Sharifdeen et al., 2026). However, clinical deployment requires confidence scores that reflect the true likelihood of correctness, where a classifier is well-calibrated if predictions made with confidence p are correct approximately p%p\% of the time (Guo et al., 2017). Miscalibration can cause overconfidence, where incorrect predictions receive high confidence and may miss human review, or underconfidence, where correct predictions receive unreliable confidence, undermining triage and trust (Minderer et al., 2021; Cao et al., 2024; Zhu et al., 2023b; Ao et al., 2023). In medical imaging, this problem is further amplified by class imbalance, heterogeneous acquisition, prevalence drift, and device or patient shifts (Koh et al., 2021). Therefore, calibration of VLMs and Medical-VLMs under realistic factors, including domain shift, prompt tuning, hard-prompt choice, and seed variability, remains insufficiently explored.

In this paper, we address this crucial gap with MVC-Bench, a comprehensive calibration-centric benchmark for VLM-based medical image classification. MVC-Bench organizes calibration evaluation along three dimensions: robustness across backbone, modality, and domain shift; effectiveness of calibration strategies and prompt-tuning methods; and stability under prompt-template and random-seed variations. This factorized design enables systematic analysis under clinically relevant conditions. To our knowledge, MVC-Bench is the first calibration-centric benchmark focused on prompt-tuned VLM and Medical-VLM image classification across these three medical modalities. We benchmark classical and VLM-aware calibration techniques across eight popular backbones CLIP-ResNet/ViT (Radford et al., 2021), PLIP (Huang et al., 2023b), QuiltNet (Ikezogwo et al., 2023a), MedCLIP (Wang et al., 2022), and BioMedCLIP (Zhang et al., 2023) and systematically compare prompt-tuning approaches by adopting CoOp as a widely used baseline and contrasting with more advanced prompt learners KgCoOp, MaPLe, PromptSRC, HiCroPL, and ProGrad (Zhou et al., 2022b; Khattak et al., 2023a,b; Yao et al., 2023; Zheng et al., 2025a; Zhu et al., 2023a). Our datasets span three modalities: (i) fundus (Aptos (APTOS, 2019), EyePACS (Kaggle, 2015), Messidor (Decencière et al., 2014a), Messidor-2 (Decencière et al., 2014b)), (ii) histopathology (Kather (Kather et al., 2019), PaNuke (Gamper et al., 2019), DigestPath (Da et al., 2022)), and (iii) X-ray (COVIDX (Rahman et al., 2021), RSNA 18 (rsn, 2018)).

Fig. 1 illustrates the coverage of our MVC-Bench. In total, we conduct over 1638 experiments organized around three dimensions: robustness, effectiveness, and stability. These dimensions are guided by seven research questions: Under robustness, we examine How domain shifts affect calibration, and Which backbones are better calibrated across medical modalities. Under effectiveness, we analyze the accuracy-calibration trade-offs, which calibration methods are consistently reliable across backbones, and how prompt-tuning families affect calibration. Under stability, we investigate How do different prompt initialization interact with Calibration, and How different seed initializations affect calibration performance?. We report accuracy and expected calibration error (ECE) (Pakdaman Naeini et al., 2015), with additional metrics in the supplementary.

Guided by these findings, we analyze miscalibration sources and observe that underconfidence often stems from weak inter-class separation, where the correct-class logit only slightly exceeds competing logits. We propose Multi-Class Margin (MCM) Regularization, a train-time regularizer that increases true-vs-rest margins while controlling margin variance to reduce underconfidence and spurious confidence spikes. MCM achieves the lowest ECE for most backbones and remains competitive under domain shifts. Overall, our contributions are a calibration-centric benchmark for VLMs and Medical-VLMs across robustness, effectiveness, and stability axes, a large-scale evaluation across modalities, backbones, calibration methods, and prompt-tuning strategies, and a simple Multi-Class Margin (MCM) regularizer that improves in-domain ECE while remaining competitive under domain shift.