Strongly Adaptive Online Learning with Time-Varying Movement Costs

Andrew Jacobsen, Hao Qiu, Emmanuel Esposito, Mengxiao ZhangNeurIPS 2026

TL;DR

In sequential decision-making, changing your mind often carries a price—like transaction fees in trading or switching costs in server routing—and that price can fluctuate wildly over time. This paper introduces the first online learning algorithm that guarantees near-optimal performance against moving targets across every possible time sub-interval simultaneously, even when switching penalties vary. Better yet, this mathematical machinery neatly unlocks improved performance for systems plagued by delayed feedback or lingering historical memory.

What Problem Does This Paper Address?

Imagine routing server traffic or managing a financial portfolio in real time. This is the realm of Online Convex Optimization (OCO): at each step, you make a decision, the environment reveals a loss function, and you take a hit.

In stationary environments, success is measured against the single best static choice in hindsight. But the real world drifts. To handle non-stationary environments, researchers rely on two stronger notions of performance:

  1. Dynamic regret: Comparing yourself against a moving sequence of optimal decisions over the whole timeline.
  2. Strongly adaptive regret: Guaranteeing low regret on every contiguous sub-interval simultaneously, ensuring the algorithm adapts locally to sudden regime shifts rather than just looking good on average.

Now add a realistic wrinkle: time-varying movement costs. Changing your decision from step $t-1$ to $t$ incurs a penalty proportional to how far you moved, scaled by a time-varying price $\lambda_t$. Prior work either handled time-varying movement costs globally over the full timeline or achieved strong adaptivity on local intervals with fixed costs and static targets. Combining all three—local interval adaptivity, moving targets, and fluctuating movement penalties—remained an open puzzle.

Methods

Standard strongly adaptive algorithms use a two-tier setup: a pool of "specialist" base learners (each waking up to operate only on a specific geometric time interval) and a "meta-algorithm" that blends their advice.

With movement costs, this standard playbook breaks: your total movement penalty depends not only on how much the active specialists move, but also on how rapidly the meta-algorithm shifts its trust weights among them. The authors solve this via three novel ingredients:

  • Clean Regret Decomposition: They mathematically separate total regret into the movement-cost regret of an interval specialist and the movement-cost regret of the meta-algorithm, preserving feasibility in constrained decision spaces.
  • Sleeping Experts with Movement Costs: Because specialists wake up and fall asleep on schedules, the meta-problem becomes a "sleeping experts" game—now with switching penalties. Moving away from standard betting-based techniques (which struggle with movement costs), the authors design a new meta-algorithm based on Follow-the-Regularized-Leader (FTRL).
  • Monotone Adaptive Blocking: To prevent large movement penalties $\lambda_t$ from dominating the error bound when loss gradients $g_t$ are tiny, the algorithm groups consecutive rounds into epochs, only updating when the sum of gradient norms $\sum \|g_t\|$ exceeds $\lambda_{t+1}$. Using the sum of norms (rather than the norm of sums used in prior work) guarantees monotonicity, preventing partial epochs at interval boundaries from ruining local guarantees.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving worst-case and data-dependent mathematical guarantees.)

Key Insights and Ideas

  • Delays are secretly movement costs in disguise: Suppose your feedback gradient is delayed by several rounds. While waiting in the dark, drifting away from the decisions you made during those unrevealed rounds is risky. By treating the count of currently missing gradients as a time-varying movement penalty, the authors seamlessly turn a delayed-feedback problem into a movement-cost problem!
  • Memory is also a movement cost: In "OCO with memory," today's loss depends on your last $b_t$ decisions (like inertia in physical control). If you don't move, a multi-step loss collapses into a simple unary loss. Penalizing movement proportionally to how long past decisions linger in memory reduces this setting directly to their core framework.
  • Monotonicity saves local intervals: When evaluating an arbitrary time window $[a, b]$, its edges will inevitably slice right through ongoing algorithmic epochs. Making the epoch-triggering rule strictly monotonic ensures those sliced boundary epochs only add tiny, controllable error terms.

Key Results

Across every sub-interval $[a, b]$ and against any moving comparator with path length $P_{[a,b]}$ in a domain of diameter $D$:

  • Core Movement-Cost Bound: Achieves a data-dependent regret of $\widetilde{\mathcal{O}}\left(\sqrt{(D^2 + DP_{[a,b]})\sum_{t \in [a,b]}(\|g_t\|^2 + \lambda_t\|g_t\|)}\right)$. Even for static targets and fixed costs, this sharpens the interval scaling factor from $\log(b)$ in prior work down to the optimal $\sqrt{\log(b)}$.
  • Delayed Feedback: Achieves $\widetilde{\mathcal{O}}\left(G\sqrt{(D^2 + DP_{[a,b]})(|b - a| + d_{\text{tot}}^{[a,b]})}\right)$ in its leading term, replacing a coarse dependence on the global maximum delay from prior strongly adaptive work with the much tighter interval-restricted cumulative delay $d_{\text{tot}}^{[a,b]}$.
  • Time-Varying Memory: Accommodates fluctuating memory lengths $b_t$ against moving targets on every interval, recovering optimal leading-order bounds while improving a lower-order maximum-memory term from $B^3$ down to $B^{2.5}$.

Limitations and Future Work

  • Global Horizon Knowledge: The algorithm assumes prior knowledge of a global upper bound $\lambda \ge \lambda_t$ (which translates to knowing the global max outstanding gradients or max memory length $B$). While a standard "doubling trick" can estimate this on the fly, making the algorithm rely strictly on interval-local quantities remains open.
  • Pre-Interval Delay Artifacts: In the delayed feedback bound, a lower-order boundary term still depends on the maximum delay originating before the interval starts ($d_{\text{max}}^{[1,a]}$). Whether a more direct analysis can eliminate this hangover effect is unknown.
  • Meta-Level Blocking: While the overall OCO algorithm achieves a sharp $\lambda_t\|g_t\|$ dependence via epoch blocking, extending this trick directly to the standalone sleeping-experts problem is hindered by coordinate-wise movement complexities.

Summary updated

Abstract

We study online convex optimization (OCO) with time-varying movement costs, where the learner incurs both a loss and a time-dependent penalty for changing its decisions. While previous work has established dynamic regret guarantees for this setting, obtaining strongly adaptive guarantees that hold simultaneously over arbitrary intervals remains an open challenge. We address this by developing a new algorithm which, for every interval $[a,b]\subseteq[T]$ and arbitrary comparator sequence, achieves a data-dependent regret bound of $ \widetilde{\mathcal{O}}\left( \sqrt{(D^2+DP_{[a,b]})\sum_{t \in [a,b]}(\|g_t\|^2+\lambda_t\|g_t\|)} \right) $, where $D$ is the diameter of the decision domain, $P_{[a,b]}$ is the path length of the comparator sequence over $[a,b]$, $g_t$ is the gradient of the loss, and $\lambda_t$ is the movement-cost coefficient at round $t$. Key to our approach is a novel reduction to sleeping experts with movement costs, a previously unexplored variant that is of independent interest. As a result of our development, we further obtain strongly-adaptive dynamic regret guarantees under arbitrary delayed feedback with a refined dependence on interval-restricted cumulative delays. Our approach also naturally extends to OCO with time-varying memory, where we obtain strongly-adaptive guarantees which improve the best-known bounds.
BibTeX
@inproceedings{jacobsen2026strongly,
  author = {Andrew Jacobsen and Hao Qiu and Emmanuel Esposito and Mengxiao Zhang},
  title = {{Strongly Adaptive Online Learning with Time-Varying Movement Costs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=W60Ur3HSOV},
}
Figure