arXiv:2610.29262cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29262

Estimating Performance for Safe Deployment of Machine Learning Models

Zeju Li, Konstantinos Kamnitsas, Mobarakol Islam, Melanie Roschewitz, Cheng Ouyang, Chen Chen, Ben Glocker

Abstract

The main challenge in applying deep neural networks to real-world scenarios lies in distributional discrepancies between training and test datasets, often caused by variations in data acquisition conditions. Assessing the performance of pre-trained models without labels is crucial for safety, but this is complicated by deep models' overly optimistic probabilistic outputs, often exacerbated by class imbalances, leading to unreliable predictions. To address these issues, we introduce MOVAL, a novel MOdel eVALuation tool that estimates performance using unlabeled test data. MOVAL incorporates class-wise confidence calibration to adjust model outputs, allowing for the estimation of metrics beyond accuracy and mitigating the detrimental effects of class imbalance on confidence calibration. Additionally, we propose an ensemble approach that combines multiple calibrated confidence scores for a more robust solution. We validate MOVAL on natural and medical image datasets with various acquisition shifts, covering tasks from classification to segmentation. It achieves state-of-the-art results across evaluation metrics such as accuracy, F1-Score, AUC, and more. Furthermore, we demonstrate that MOVAL provides accurate performance estimations at the class, instance, and pixel levels, ensuring the transparent and safe deployment of machine learning models. We provide MOVAL as a deployment tool for monitoring and estimating performance under a range of domain shifts.

Keywords: Trustworthy Machine Learning, Interpretability, Quality Control, Deep Learning

1. Introduction

The witnessed success of machine learning is built upon the independently and identically distributed (IID) assumption. However, this assumption does not always hold in real-world applications due to domain shifts, where the training and test data come from different distributions. There are multiple kinds of domain shifts, but we primarily consider acquisition shifts, as they have the most direct and significant impact on model performance, causing models to fail silently. Therefore, trustworthy safeguards are needed to ensure model performance with minimal assumptions and to provide prompt feedback without access to ground truth (Eche et al., 2021). Existing algorithms for model evaluation are either task-specific or rely on globally calibrated probabilities, which do not provide a comprehensive evaluation beyond accuracy or Dice similarity coefficient (DSC) (Zenk et al., 2025). In this work, we combine recent advances in model calibration and confidence score estimation to develop a new model evaluation method that can be applied to various types of tasks, informing model failure with multiple estimated metrics and meaningful indicators at different levels.

Developing reliable, real-time performance assessment systems is crucial for the safe deployment of machine learning in clinical practice. Such systems help identify the limits of model applicability and support practitioners in iteratively refining their training strategies. For instance, when a skin-lesion classification model is trained on data from a source domain, deployment decisions in a new target domain can be guided by the model's predicted accuracy on all unlabeled test images. Additionally, because magnetic resonance imaging (MRI) is typically non-quantitative, it is often unclear whether a model remains valid when applied in a local hospital where acquisition protocols differ and expert annotations may be unavailable. This approach helps prevent overfitting when optimizing results using a small number of labeled test images by using predicted accuracy as a surrogate to validation loss.

References (80)