Papers › Gradient Equilibrium in Online Learning: Theory and Applications

Gradient Equilibrium in Online Learning: Theory and Applications

14 Jan 2025arXiv:2501.08330archive 2025-07-28

Anastasios N. Angelopoulos, Michael I. Jordan, Ryan J. Tibshirani

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2501.08330")

Code

Syntology Ran 0 of 8 code samples harvested from 1 repository linked to this paper; 8 have no recorded run.

By repository: official repository: 8 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

aangelopoulos/gradient-equilibrium officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 0 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from aangelopoulos/gradient-equilibrium. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

assign_readmission_label aangelopoulos/gradient-equilibrium/mimic_stay/mimic_utils.py official repository unverified MIT (permissive) · 7e0484dc9295e4e9 · report
diag_icd9_to_3digit aangelopoulos/gradient-equilibrium/mimic_stay/mimic_utils.py official repository unverified MIT (permissive) · 3bc1a8bfab185688 · report
evaluate aangelopoulos/gradient-equilibrium/helpsteer/train_and_generate_rewards.py official repository unverified MIT (permissive) · 1e41761889fc4d29 · report
get_anchor_year aangelopoulos/gradient-equilibrium/mimic_stay/mimic_utils.py official repository unverified MIT (permissive) · e7af70d6225c3f3b · report
get_field_at_point aangelopoulos/gradient-equilibrium/synthetic/expanding-trajectory.py official repository unverified MIT (permissive) · 2e05ca68682f0f01 · report
get_field_at_point aangelopoulos/gradient-equilibrium/synthetic/positive-curvature.py official repository unverified MIT (permissive) · 5f0edb65195ad055 · report
prepare_input aangelopoulos/gradient-equilibrium/helpsteer/train_and_generate_rewards.py official repository unverified MIT (permissive) · 58e8f37cc4e7e6c8 · report
train_epoch aangelopoulos/gradient-equilibrium/helpsteer/train_and_generate_rewards.py official repository unverified MIT (permissive) · ac0c5764c5f589e0 · report

Tasks

Learning Theory

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

HOC

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections