Gradient Equilibrium in Online Learning: Theory and Applications
Anastasios N. Angelopoulos, Michael I. Jordan, Ryan J. Tibshirani
TL;DR
Gradient equilibrium offers a principled, non-stochastic lens for online learning: if the average gradient along the learner’s path tends to zero, the sequence satisfies a sequential first-order condition with interpretable implications (e.g., unbiasedness, coverage, and debiasing) across regression, classification, and calibration tasks. The authors show gradient descent with constant step sizes achieves GEQ under mild conditions (bounded or slowly growing iterates) and extend the theory to regularization and arbitrary step sizes, connecting GEQ to classical monotonicity and co-coercivity concepts. They demonstrate broad, practical consequences including debiasing black-box predictions under distribution shift, calibrating quantiles, and deriving unbiased Elo scores in pairwise preference problems, with concrete experiments on COMPAS, HelpSteer2, Chatbot Arena, and MIMIC datasets. The work positions GEQ as a versatile tool complementary to regret, enabling online debiasing and calibration without stochastic assumptions, and suggests fruitful directions in online conformal prediction, multiaccuracy, and control theory.
Abstract
We present a new perspective on online learning that we refer to as gradient equilibrium: a sequence of iterates achieves gradient equilibrium if the average of gradients of losses along the sequence converges to zero. In general, this condition is not implied by, nor implies, sublinear regret. It turns out that gradient equilibrium is achievable by standard online learning methods such as gradient descent and mirror descent with constant step sizes (rather than decaying step sizes, as is usually required for no regret). Further, as we show through examples, gradient equilibrium translates into an interpretable and meaningful property in online prediction problems spanning regression, classification, quantile estimation, and others. Notably, we show that the gradient equilibrium framework can be used to develop a debiasing scheme for black-box predictions under arbitrary distribution shift, based on simple post hoc online descent updates. We also show that post hoc gradient updates can be used to calibrate predicted quantiles under distribution shift, and that the framework leads to unbiased Elo scores for pairwise preference prediction.
