TL;DR
This paper rehabilitates the Follow the Regularized Leader (FTRL) framework for dynamic online learning environments, where it was previously thought to be fundamentally unsuited due to its "lazy" updates. By introducing a novel "history pruning" mechanism, the authors show that FTRL can bound its internal state and achieve minimax-optimal dynamic regret guarantees. This approach bridges the gap between lazy and agile online updates, showing that FTRL can match or even outperform Online Mirror Descent (OMD) when tracking moving targets.
What Problem Does This Paper Address?
In Online Convex Optimization (OCO), a learner repeatedly makes decisions under uncertainty, aiming to minimize a sequence of evolving cost functions. Performance is typically measured by regret. While static regret compares the learner to the single best decision in hindsight, dynamic regret compares the learner to a changing sequence of optimal decisions over time.
Two main algorithmic families dominate OCO: Online Mirror Descent (OMD) and Follow the Regularized Leader (FTRL). OMD is inherently "greedy" and agile, making it highly effective in dynamic environments. FTRL, conversely, is "lazy"—it selects actions by minimizing the sum of all past cost functions plus a regularizer. Because standard FTRL aggregates the entire gradient history, its internal state grows arbitrarily large over time. This creates massive inertia, making the algorithm slow to adapt when the environment shifts, leading to poor dynamic regret. Consequently, FTRL has long been considered unusable for tracking moving targets. The authors tackle a fundamental question: Is FTRL's lazy projection style inherently broken for dynamic settings, or can it be fixed?
Methods
The authors introduce Optimistic Follow the Pruned Leader (OptFPRL). The core innovation is a mathematical trick that uses the geometry of the constraint set to "prune" irrelevant history.
- Composite Modeling & The Normal Cone: The authors treat the constraint set $\mathcal{X}$ as part of the cost function using an indicator function $I_\mathcal{X}(x)$ (which is 0 inside the set and $\infty$ outside). When an unconstrained FTRL step tries to leave the feasible set, it gets projected back. The subgradients of this indicator function belong to the normal cone $N_\mathcal{X}(x_t)$.
- History Pruning: Instead of blindly accumulating gradients ($g_{1:t}$), OptFPRL chooses a vector from the normal cone to counteract and attenuate past history. When the iterate hits the boundary of the constraint set, the algorithm prunes the accumulated state that led it there, replacing it with a smaller alternative state ($p_{1:t}$) that yields the exact same iterate but has a significantly smaller norm.
- Optimism without Cycles: The algorithm incorporates predictions of future costs ($\tilde{f}_{t+1}$) directly into the FTRL objective, avoiding the "cyclic dependency" issues that plague optimistic OMD variants.
- Regularization Flavors: The paper analyzes four ways to tune the regularization parameter ($\sigma_t$): path-length agnostic, prior path-length knowledge, online path-length estimation, and a recursive minimal regularization strategy inspired by AdaFTRL.
Datasets
The algorithm was evaluated using synthetic numerical simulations designed to test various non-stationary environments.
- Setup: Decisions were made over a horizon of $T = 5000$ time steps within a 16-dimensional compact convex set ($\|x\| \le 2$).
- Scenarios: The authors designed 6 distinct scenarios featuring abrupt environment shifts, high-frequency cost switches, alternating magnitudes of cost changes, and varying prediction qualities (including decaying adversarial noise).
Key Insights and Ideas
- State-Iterate Decoupling is the Real Culprit: The paper proves that FTRL’s failure in dynamic settings isn't caused by its lazy projection style. Rather, it fails because its internal state (linearized history) becomes decoupled from its actual physical iterates. Pruning forces these two components back into synchronization.
- Perfect Predictions = Zero Dynamic Regret: A striking theoretical property of OptFPRL is that if predictions of future gradients are perfect, the dynamic regret drops to exactly zero—regardless of how wildly the optimal target moves (the path length $P_T$).
- Granular Recursive Regularization: By adapting AdaFTRL-style recursive tuning to dynamic settings, the algorithm applies only the absolute minimum regularization needed based on witnessed local regret, rather than relying on loose worst-case upper bounds.
Key Results
- Minimax Optimality: When the path length $P_T$ is known, OptFPRL achieves a dynamic regret bound of $\mathcal{O}(\sqrt{(1 + P_T)T})$, matching the theoretical minimax-optimal rate.
- Empirical Agility: In simulations with abrupt shifts (Scenario 1) and high-frequency variations (Scenario 4), standard FTRL failed completely, maintaining high average regret. OptFPRL adapted immediately, matching OMD's agility and achieving lower overall regret due to its superior parameter tuning and optimistic predictions.
Limitations and Future Work
The authors highlight a fundamental trade-off between agility and stability. In Scenario 5—which featured high-frequency cost switches with alternating large and small magnitudes—OptFPRL performed worse than standard FTRL. Its enhanced agility forced it to make "undue" frequent adjustments to minor noise, leading to over-correction.
Future work includes developing more flexible pruning strategies that can dynamically modulate the magnitude of pruning rather than performing an all-or-nothing reset, thereby better balancing stability against noise and agility against true environmental shifts.
Summary updated