English

Adaptive Calibration in Non-Stationary Environments

Machine Learning 2026-05-25 v2 Machine Learning

Abstract

Making calibrated online predictions is a central challenge in modern AI systems. Much of the existing literature focuses on fully adversarial environments where outcomes may be arbitrary, leading to conservative algorithms that can perform suboptimally in more benign settings, such as when outcomes are nearly stationary. This gap raises a natural question: can we design online prediction algorithms whose calibration error automatically adapts to the degree of non-stationarity in the environment, smoothly interpolating between i.i.d. and adversarial regimes? We answer this question in the affirmative and develop a suite of algorithms that achieve adaptive calibration guarantees under multiple calibration measures. Specifically, with TT being the number of rounds, KK being the unknown number of i.i.d. segments of the environment, and C[0,T]C\in[0,T] being another unknown non-stationary measure defined as the minimal 1\ell_1 deviation of the mean outcomes, our algorithms attain O~(min{T+(TC)13,KT})\widetilde{O}(\min\{\sqrt{T}+(TC)^{\frac{1}{3}}, \sqrt{KT}\}) for 1\ell_1 calibration error and O~(min{(1+C)13,K})\widetilde{O}(\min\{(1+C)^{\frac{1}{3}}, K\}) for both 2\ell_2 and pseudo KL calibration error. These bounds match the optimal rates in the stationary case (C=0C=0 and K=1K=1) and recover known guarantees in the fully adversarial regime (C,K=Ω(T)C, K=\Omega(T)). Our approach builds on and extends prior work [Hu et al., 2026, Luo et al., 2025], introducing an epoch-based scheduling together with a novel non-uniform partition of the prediction space that allocates finer resolution near the underlying ground truth.

Keywords

Cite

@article{arxiv.2605.11490,
  title  = {Adaptive Calibration in Non-Stationary Environments},
  author = {Junyan Liu and Haipeng Luo and Lillian J. Ratliff},
  journal= {arXiv preprint arXiv:2605.11490},
  year   = {2026}
}

Comments

Added results for piecewise-stationary environments and included a comparison with the concurrent work of Huang et al. (arXiv:2605.09273)

R2 v1 2026-07-22T07:06:30.885Z