cs.LGOct 11, 2026

Instance-Adaptive Online Multiclass Multicalibration

Authors: Zhiming Huang, Jamie Morgenstern, Aaron Roth, Claire Jie Zhang

Organizations: Paul G. Allen School of Computer Science and Engineering, University of Washington · Amazon · Department of Computer and Information Sciences, University of Pennsylvania

Abstract

We study online multiclass multicalibration over TT rounds, and give an algorithm with beyond-worst-case guarantees. With nn possible outcomes, forecasts lie in a simplex of dimension d=n−1d=n-1. In the worst case, cumulative ℓ1\ell_1 multicalibration error scales with Θ~(T(d+1)/(d+2))\widetildeΘ(T^{(d+1)/(d+2)}), which becomes untenable once dd exceeds a small constant. Our algorithm adapts to the geometry of the realized sequence: if the sequence of adversarially selected outcome means lies in an affine subspace of dimension ss, it obtains error O~(n1/(s+2)T(s+1)/(s+2))\widetilde O(n^{1/(s+2)}T^{(s+1)/(s+2)}) with high probability. The algorithm adapts to this structure without knowing the subspace or its dimension. For T≥n≥2T\ge n\ge2, this rate is minimax optimal up to polylogarithmic factors. For a stochastic instance with a fixed conditional mean, the bound specializes to O~(nT)\widetilde O(\sqrt{nT}), giving a square-root dependence on the horizon.

Figures & tables

Explore similar work

May 10, 2026

Instance-Adaptive Online Multicalibration

We study online multicalibration beyond the worst-case. We give a single, efficient algorithm which dynamically interpolates between benign and worst-case sequences by adaptively refining a dyadic grid of prediction values. Its error is controlled by the number of leaves in the refinement tree. Our analysis recovers the known O~(T2/3)\widetilde O(T^{2/3}) worst-case-optimal rate for online multicalibration, while simultaneously automatically adapting to easier instances: in the marginal stochastic setting it obtains a rate of O~(T)\widetilde O(\sqrt T), and for piecewise-stationary means with JJ segments its rate is O~(JT)\widetilde O(\sqrt{JT}). More generally, the rate depends on a threshold-complexity measure of the predictable mean process relative to the group family. We show that this dependence is tight up to logarithmic factors.
Oct 6, 2026

High-dimensional online calibration from harmonic weights

We study the online calibration of multidimensional forecasts over an arbitrary convex set Y⊆RdY\subseteq\mathbb{R}^d relative to an arbitrary error norm ∥⋅∥L\|\cdot\|_{L}. For forecasting dd binary outcomes simultaneously (Y=[0,1]dY=[0,1]^d), we give the first algorithm that achieves ε\varepsilon-calibration in a number of rounds that is polynomial in dd for every fixed accuracy. It requires dO(1/ε)d^{O(1/\varepsilon)} rounds, exponentially improving the dimension dependence of previous bounds. For multi-class forecasting (Y=ΔdY=Δ_d), we obtain the same dO(1/ε)d^{O(1/\varepsilon)} rate, improving the dO~(1/ε2)d^{\widetilde{O}(1/\varepsilon^2)} bounds of Peng and Fishelson et al. Our algorithm is simple: on each round, it outputs a harmonically weighted distribution over harmonically smoothed past outcomes. The same algorithm works for every forecast set and norm. More generally, it achieves ε\varepsilon-calibration after exp⁡(O(γ(Y,L)/ε))\exp(O(γ(Y,L)/\varepsilon)) rounds, where γ(Y,L)γ(Y,L) is a geometric parameter defined by a matrix discrepancy problem. The harmonic weights are motivated by the fact that the discrete Hilbert transform matrix achieves the optimal discrepancy up to a universal constant, simultaneously for every LL. This optimality result may be of independent interest.
Oct 9, 2026

The Sample Complexity of Multicalibration with an ERM Oracle

A predictor is multicalibrated with respect to a class of subpopulations (formally, of functions on the inputs, called auditors) if, for every subpopulation in the class and every value the predictor outputs, the average outcome among the members of that subpopulation who receive that value is close to the value itself. For finite classes, about ε−3\varepsilon^{-3} samples are necessary and sufficient to learn a predictor with multicalibration error ε\varepsilon, but the algorithms that attain this rate enumerate the class, which is impossible for the large classes of interest. We ask how many samples suffice when the learner accesses the class only through an empirical risk minimization (ERM) oracle. We give an algorithm that uses O~(d/ε3)\tilde{O}(d/\varepsilon^{3}) samples and polynomially many ERM calls, where dd is the VC dimension of the class. Its dependence on ε\varepsilon is optimal for all learners. When dd is at least about 1/ε1/\varepsilon, every learner that can only access the class through polynomially many ERM calls needs Ω~(d/ε3)\tildeΩ(d/\varepsilon^{3}) samples. Learners with unlimited computation need only O~(ε−3+dε−2)\tilde{O}(\varepsilon^{-3}+d\varepsilon^{-2}) samples, so the extra factor 1/ε1/\varepsilon on the dimension term is the price of oracle efficiency. For swap multicalibration, which allows a different function from the class for each predicted value, Θ~(d/ε3)\tildeΘ(d/\varepsilon^{3}) samples are necessary and sufficient. For estimating the error of a given predictor, the ordinary notion is the harder one: the swap error can be estimated with an ERM oracle, whereas the ordinary error is NP-hard to approximate even for classes with linear-time ERM. Consequently, there are classes for which it is computationally easier to learn a multicalibrated predictor than to compute the multicalibration error of a given predictor.