Calibrated Uncertainty

Latest papers 62

May 21, 2025stat.ML

Adaptive Cumulative Mass Calibration with Conformal Prediction

Reliable probability estimates by classifiers are essential in high-risk applications. In practice, however, predicted probabilities are often miscalibrated, and many existing post-hoc calibration methods typically lack guarantees that a specific notion of calibration is achieved after the correction procedure is applied. We introduce a set-based perspective on calibration through the notion of cumulative mass calibration and the corresponding error measures. We propose a new calibration procedure based on conformal prediction that forms cumulative probabilities with guaranteed marginal coverage. We introduce an adaptive temperature scaling algorithm, with the temperature tuned for each input to satisfy the conformal coverage constraint. As we show, this procedure can be efficiently implemented. Across image classification tasks, particularly in settings with many classes, our method improves newly introduced calibration error measures (CMCE and αα-CMCE) and standard metrics (such as ECE, cw-ECE, MCE) over the existing baselines.
Jun 19, 2024cs.LG

Breaking the T2/3T^{2/3} Barrier for Sequential Calibration

A set of probabilistic forecasts is calibrated if each prediction of the forecaster closely approximates the empirical distribution of outcomes on the subset of timesteps where that prediction was made. We study the fundamental problem of online calibrated forecasting of binary sequences under the standard ℓ1\ell_1 calibration error metric, which was initially studied by Foster & Vohra (1998). They derived an algorithm with O(T2/3)O(T^{2/3}) calibration error after TT time steps, and showed a lower bound of Ω(T1/2)Ω(T^{1/2}). These bounds remained stagnant for two decades, until Qiao & Valiant (2021) improved the lower bound to Ω(T0.528)Ω(T^{0.528}) by introducing a combinatorial game called sign preservation and showing that lower bounds for this game imply lower bounds for calibration. In this paper, we give the first improvement to the O(T2/3)O(T^{2/3}) upper bound on calibration error of Foster & Vohra. We do this by introducing a variant of Qiao & Valiant's game that we call sign preservation with reuse (SPR). We prove that the relationship between SPR and calibrated forecasting is bidirectional: not only do lower bounds for SPR translate into lower bounds for calibration, but algorithms for SPR also translate into new algorithms for calibrated forecasting. We then give an improved upper bound for the SPR game, which implies, via our equivalence, a forecasting algorithm with calibration error O(T2/3−ε)O(T^{2/3 - \varepsilon}) for some ε>0\varepsilon > 0, improving Foster & Vohra's upper bound for the first time. Using similar ideas, we then prove a slightly stronger lower bound than that of Qiao & Valiant, namely Ω(T0.54389)Ω(T^{0.54389}). Our lower bound is obtained by an oblivious adversary, marking the first ω(T1/2)ω(T^{1/2}) calibration lower bound for oblivious adversaries.