TL;DR
In real-world sequential decision-making, your actions today echo into tomorrow—like steering a ship where turning the wheel takes several seconds to register. Standard online learning algorithms guarantee your mistakes won't pile up faster than the square root of time ($\sqrt{T}$), which is safe for worst-case scenarios, yet overly pessimistic when an almost-perfect strategy actually exists. This paper introduces the first algorithms for systems with memory whose error scales instead with the square root of the best possible loss ($\sqrt{L^*}$), meaning if a great solution is out there, the learner locks onto it remarkably fast.
What Problem Does This Paper Address?
In classical Online Convex Optimization (OCO), you make a choice at each round $t$, nature reveals a convex loss function, and you take a hit. Crucially, yesterday’s choices are water under the bridge.
Real life is rarely so forgiving. When trading stocks, controlling a robot, or managing server switches, your current penalty depends on your recent history of actions—say, the last $m$ steps. This setup is called OCO with Memory (OCOwM). To succeed here, we measure policy regret: how well you did compared to the best single, steady action you could have stuck with from the beginning.
Historically, OCOwM algorithms bounded regret by $O(\sqrt{T})$, where $T$ is the total number of rounds. Because adversaries can be nasty, $\sqrt{T}$ is unimprovable in the worst case. However, what if the environment is actually benign, and the best fixed strategy in hindsight accumulates a tiny total loss $L^*$ (perhaps even $L^* = 0$)? In memoryless OCO, researchers developed first-order (or "small-loss") regret bounds that scale as $O(\sqrt{L^*})$, smoothly bridging worst-case safety ($\sqrt{T}$) and near-instantaneous learning ($O(1)$ when $L^*=0$).
Until now, nobody knew how to get $\sqrt{L^*}$ bounds when memory is involved. Why? Because updating your strategy incurs a "movement cost" (since your loss depends on your recent trajectory). Prior proofs bounded this movement using worst-case, global speed limits (like maximum possible gradients), locking them into $\sqrt{T}$ territory.
Methods
The author introduces three algorithmic pieces to crack the movement-cost problem using local loss properties rather than global worst-case bounds:
- Lazy Exponential Weights (for Non-Smooth Losses): Inspired by the "shrinking dartboard" method, Algorithm 1 maintains a probability distribution over actions favoring low historical loss, sampled via log-concave sampling. The magic is step 7: instead of resampling every round, it flips a biased coin with heads probability $e^{-\eta \widehat{f}_t(x_t)}$. If the current loss $\widehat{f}_t(x_t)$ is tiny, the coin almost always lands heads, and the learner doesn't move at all ($x_{t+1} = x_t$). No movement means zero memory penalty!
- Online Gradient Descent (for Smooth Losses): Sampling in high dimensions is slow, so for smooth losses, the author adapts standard Online Gradient Descent (Algorithm 3). Instead of bounding step-to-step movement with global Lipschitz constants, the analysis uses convexity and smoothness to tie gradient sizes directly to instantaneous loss values.
- Blackbox Adaptive Wrapper: Both base algorithms need to know $L^*$ ahead of time to tune their learning rate $\eta$. Algorithm 2 wraps around any OCOwM algorithm and uses a "doubling trick"—monitoring the best-in-hindsight loss so far, doubling its guess $L_i$ whenever exceeded, and restarting while carefully accounting for the $m$-step boundary spillover between restarts.
Datasets
Not discussed in the paper. (This is a purely theoretical work proving mathematical guarantees.)
Key Insights and Ideas
- Laziness naturally adapts to easy data: In Algorithm 1, tying the probability of switching actions directly to the current loss creates a self-regulating system. When you find a low-loss region, you stop fidgeting, automatically neutralizing the history-dependent movement penalty without needing artificial regularization.
- Discontinuous problems come along for the ride: Amazingly, the non-smooth algorithm doesn't even require the multivariate loss $f_t(x_t, \dots, x_{t-m})$ to be convex or continuous—only its stationary specialization $\widehat{f}_t(x) = f_t(x, \dots, x)$ needs to be convex. This lets the exact same math solve OCO with switching costs, where changing actions triggers a discontinuous $0/1$ step penalty.
- Control systems converge faster when good controllers exist: In online nonstochastic control (steering a linear dynamical system $x_{t+1} = Ax_t + Bu_t + w_t$ under adversarial disturbances), engineers design policy classes specifically hoping some linear controller handles the noise well. Replacing $\sqrt{T}$ with $\sqrt{L^*}$ guarantees rapid convergence precisely in the scenarios where linear control makes sense to deploy.
Key Results
Let $m$ be memory length, $d$ be dimension, $F$ be maximum loss, and $D$ be set diameter:
- Non-Smooth OCOwM: Achieves expected regret of $O(\sqrt{L^*(m+1)Fd\log T})$ without prior knowledge of $L^*$ (ignoring lower-order $\log L^*$ terms), independent of gradient norms or set geometry.
- New Bounds for Classic Special Cases: Directly yields first-time small-loss bounds for OCO with unit switching costs ($O(\sqrt{L^*Fd\log T})$), bounded feedback delay $p$ ($O(\sqrt{L^*Fpd\log T})$), and $n$-part composite losses ($O(n\sqrt{L^*Fd\log T})$).
- Smooth OCOwM: Drops the dimension dependence $d$ and runs in linear time per step (plus projection), achieving $O(\sqrt{L^*((m^2+1)\widehat{\beta} + m\beta)D^2})$ regret, even against adaptive adversaries who react to the learner's choices.
- Online Nonstochastic Control: Yields the first $\widetilde{O}(\sqrt{L^*})$ regret bound for general convex costs against stabilizing linear policies.
Limitations and Future Work
- Runtime vs. Smoothness Trade-off: Algorithm 1 handles nasty, non-smooth losses and ignores dimension geometry in its regret, but relies on log-concave sampling, costing roughly $O(d^{2.75}\text{polylog } T)$ time per step in the worst case. The author notes this might be sped up in future work using warm-starts or gradient information across rounds.
- Oblivious vs. Adaptive Adversaries: While the smooth OGD algorithm handles adaptive adversaries, the randomized non-smooth algorithm (Algorithm 1) requires an oblivious adversary—one who fixes the loss functions without peeking at the learner's random coin flips.
- Second-Order Bounds Remain Open: Moving beyond first-order ($\sqrt{L^*}$) to variance-based second-order bounds in the with-memory setting remains a tough, largely open challenge with known impossibility barriers.
Summary updated