High-Dimensional Calibration from Swap Regret
Maxwell Fishelson, Noah Golowich, Mehryar Mohri, Jon Schneider
TL;DR
This work studies online calibration of high-dimensional forecasts over a convex set P and reveals a tight connection to online linear optimization via swap regret. By reframing calibration as a swap-regret minimization problem and instantiating a TreeSwap-based approach, the authors introduce TreeCal, a universal calibration algorithm that attains Cal_T^{||·||^2} ≤ ε T once T is large enough, with bounds scaling as (diam(P)/√ε)^{O(Rate(P, ||·||)/ε). The analysis shows that the optimal regularizer for online linear optimization governs the calibration error, enabling simultaneous guarantees for any norm and any convex P without relying on external OLO subroutines. For special cases, such as the simplex with l1 norm, the results recover and generalize existing bounds to yield ε-calibration in d^{O(1/ε^2)} rounds, while a lower bound demonstrates the necessity of exponential dependence on 1/ε in general. Overall, the paper bridges calibration and OLO theory, providing a unifying, norm-agnostic framework with strong high-dimensional guarantees and clear limitations.
Abstract
We study the online calibration of multi-dimensional forecasts over an arbitrary convex set $\mathcal{P} \subset \mathbb{R}^d$ relative to an arbitrary norm $\Vert\cdot\Vert$. We connect this with the problem of external regret minimization for online linear optimization, showing that if it is possible to guarantee $O(\sqrt{ρT})$ worst-case regret after $T$ rounds when actions are drawn from $\mathcal{P}$ and losses are drawn from the dual $\Vert \cdot \Vert_*$ unit norm ball, then it is also possible to obtain $ε$-calibrated forecasts after $T = \exp(O(ρ/ε^2))$ rounds. When $\mathcal{P}$ is the $d$-dimensional simplex and $\Vert \cdot \Vert$ is the $\ell_1$-norm, the existence of $O(\sqrt{T\log d})$-regret algorithms for learning with experts implies that it is possible to obtain $ε$-calibrated forecasts after $T = \exp(O(\log{d}/ε^2)) = d^{O(1/ε^2)}$ rounds, recovering a recent result of Peng (2025). Interestingly, our algorithm obtains this guarantee without requiring access to any online linear optimization subroutine or knowledge of the optimal rate $ρ$ -- in fact, our algorithm is identical for every setting of $\mathcal{P}$ and $\Vert \cdot \Vert$. Instead, we show that the optimal regularizer for the above OLO problem can be used to upper bound the above calibration error by a swap regret, which we then minimize by running the recent TreeSwap algorithm with Follow-The-Leader as a subroutine. Finally, we prove that any online calibration algorithm that guarantees $εT$ $\ell_1$-calibration error over the $d$-dimensional simplex requires $T \geq \exp(\mathrm{poly}(1/ε))$ (assuming $d \geq \mathrm{poly}(1/ε)$). This strengthens the corresponding $d^{Ω(\log{1/ε})}$ lower bound of Peng, and shows that an exponential dependence on $1/ε$ is necessary.
