Confidence-based Estimators for Predictive Performance in Model Monitoring

Juhani Kivimäki, Jukka K. Nurminen, Jakub Bialek, Wojtek Kuberski · DOI

Abstract

Monitoring machine learning models in production is often hampered by the delayed arrival or total absence of ground truth labels. This paper investigates Average Confidence (AC) as a method for unsupervised accuracy estimation. We demonstrate that AC is a mathematically principled, unbiased, and consistent estimator of model accuracy under the assumption of model calibration. By modeling the distribution of correct predictions using the Poisson binomial distribution, we derive rigorous confidence intervals for these estimates. Our empirical results on synthetic datasets and various classifiers show that calibrated AC is highly competitive with state-of-the-art methods and provides more reliable uncertainty quantification than standard error approaches.

Introduction

The performance of machine learning models frequently degrades post-deployment due to dataset shift. While monitoring performance via ground truth (GT) labels is ideal, many domains—such as finance or long-term forecasting—suffer from significant label delay. This necessitates unsupervised monitoring techniques.

Average Confidence (AC), which estimates accuracy by averaging the model's predicted probabilities, is a common baseline. However, it has often been dismissed as overly simplistic or inaccurate in literature. This work rehabilitates AC by providing a theoretical foundation and demonstrating that its perceived failures are typically a result of poor calibration rather than inherent flaws in the estimator.

Theoretical Foundations

Average Confidence as an Unbiased Estimator

The core of our argument rests on the calibration assumption. A model is perfectly calibrated if, for any predicted probability $p$, the true probability of the prediction being correct is exactly $p$. Under this condition, we prove that the expected value of the average confidence across a batch of data is equal to the expected accuracy. Specifically, AC is shown to be both an unbiased and consistent estimator of the true accuracy under covariate shift, provided the model remains calibrated on the target distribution.

Uncertainty Quantification via Poisson Binomial Distribution

Standard monitoring tools often use the Standard Error of the Mean (SEM) to calculate confidence intervals. However, SEM assumes a fixed probability of success across trials, which does not hold for model predictions where confidence varies per instance.

We propose modeling the number of correct predictions in a batch as a sum of independent Bernoulli trials with distinct success probabilities (the individual confidence scores). This sum follows a Poisson binomial distribution. By utilizing the Cumulative Distribution Function (CDF) of this distribution, we can derive 95% confidence intervals that are significantly more precise and representative of the actual estimation uncertainty than traditional methods.

Methodology and Experimental Setup

To isolate the effects of covariate shift from concept shift, we utilized synthetic datasets:

  1. Linear Scenario: A mixture of six 2D Gaussians with a linear decision boundary.
  2. Non-linear Scenario: A mixture of nine 2D Gaussians with a circular decision boundary.

We evaluated seven non-neural classifiers, including Logistic Regression, Random Forests, and Gradient Boosting Machines (XGBoost, LightGBM). This choice of models ensures that the findings are applicable to the tabular data common in industrial applications, moving beyond the deep learning focus of prior research.

Key Findings

The Primacy of Calibration

Our analysis reveals a near-perfect linear correlation between a model's Adaptive Expected Calibration Error (ACE) and its accuracy estimation error. This suggests that the challenge of unsupervised accuracy estimation is fundamentally a challenge of maintaining or achieving calibration under shift. When models are calibrated using techniques like Isotonic Regression, AC frequently outperforms more complex "black-box" estimators like Average Thresholded Confidence (ATC).

Performance Comparison

In our experiments, AC provided point estimates that closely tracked true sample accuracy. In contrast, methods like ATC tended to systematically underestimate accuracy as data drift increased. Furthermore, the Poisson binomial confidence intervals achieved approximately 95% coverage in trials, whereas SEM-based intervals were often too wide to be practically useful for sensitive model monitoring.

Conclusion and Future Directions

Average Confidence is a robust and theoretically sound tool for model monitoring when labels are unavailable. Its success is intrinsically linked to model calibration. While AC is highly effective under covariate shift, it remains vulnerable to concept shift—where the relationship between features and labels changes. Future work should focus on developing shift-robust calibration techniques and extending the Poisson binomial framework to multi-class classification and alternative performance metrics like F1-score.

Summary updated

BibTeX
@article{kivimaki2025confidence,
  author = {Juhani Kivimäki and Jukka K. Nurminen and Jakub Bialek and Wojtek Kuberski},
  title = {{Confidence-based Estimators for Predictive Performance in Model Monitoring}},
  journal = {J. Artif. Intell. Res.},
  year = {2025},
  doi = {10.1613/jair.1.16709},
}
Figure