Online Optimization : Competing with Dynamic Comparators

Ali Jadbabaie, Alexander Rakhlin, Shahin Shahrampour, Karthik Sridharan

Abstract: Recent literature on online learning has focused on developing adaptive algorithms that take advantage of a regularity of the sequence of observations, yet retain worst-case performance guarantees. This paper introduces a fully adaptive algorithm for online convex optimization that competes against dynamic comparators—benchmarks that change over time. By utilizing a novel "doubling trick" on non-monotone quantities, the authors provide a regret bound that automatically scales with the "niceness" of both the environment and the sequence of best actions, without requiring any prior knowledge of these parameters.

From Static to Dynamic Regret

In standard online learning, the goal is typically to minimize static regret: the difference between the learner's total loss and the loss of the single best fixed action in hindsight. However, in dynamic environments like stock trading or autonomous navigation, the optimal action often shifts over time. To address this, researchers focus on dynamic regret, where the learner is compared to a sequence of actions rather than a single point.

Achieving low dynamic regret is impossible in purely adversarial settings. Progress requires assuming some "regularity" in the environment. Previous algorithms often required prior knowledge of these regularity parameters (like the path length of optimal actions) to tune step sizes. This work presents Adaptive Optimistic Mirror Descent (AOMD), an algorithm that adapts to multiple types of regularity simultaneously and automatically.

Adaptive Optimistic Mirror Descent (AOMD)

AOMD builds upon Optimistic Mirror Descent (OMD), which uses a "predictable" guess ($M_t$) of the next gradient to reduce regret. The core innovation lies in how AOMD tracks three distinct complexity measures:

  1. $C_T$: The "path length" or regularity of the comparator sequence.
  2. $D_T$: The cumulative error of the gradient predictions.
  3. $V_T$: The temporal variability of the loss functions themselves.

To handle these without prior knowledge, the authors employ a non-monotone doubling trick. While traditional doubling tricks manage quantities that only increase, AOMD monitors a threshold involving non-monotone combinations of $C_T, D_T,$ and $V_T$. When the environment's complexity exceeds current parameters, the algorithm resets, doubles its learning rate parameter, and begins a new epoch.

Theoretical Performance and Results

The primary contribution is a comprehensive regret bound that recovers or improves upon state-of-the-art results for various sub-cases.

Comparison of regret notions and rates across different literature.

The main regret bound is given by: $$\text{Regret}_T^d \leq \tilde{O}\left(\sqrt{D_T + 1} + \min\left\{\sqrt{(D_T+1)C_T}, (D_T+1)^{1/3}T^{1/3}V_T^{1/3}\right\}\right)$$

This bound demonstrates that the algorithm is truly robust, adapting to the minimum of the complexities presented by the environment. For instance, if the environment is static ($V_T=0, C_T=0$), the algorithm recovers the optimal $O(\sqrt{T})$ regret. In drifting zero-sum games where the payoff matrix changes $K$ times, AOMD achieves a regret of $O((K+2)\sqrt{T \log T})$, ensuring convergence to the average minimax value.

Performance in Specific Regimes

The versatility of AOMD is best seen when examining specific environmental regimes. Depending on the relationship between the path length $C_T$, the function variability $V_T$, and the prediction error $D_T$, the algorithm achieves different optimized rates.

Regret rates of AOMD under various environmental regimes.

Discussion and Limitations

While AOMD provides a powerful "best of both worlds" guarantee, its performance remains dependent on the choice of the predictable sequence $M_t$. While using the previous gradient is a standard heuristic, future work could explore learning the optimal $M_t$ on the fly. Additionally, the use of the doubling trick introduces logarithmic factors in the regret bounds, and the monitoring of cumulative sums adds a minor computational overhead to each iteration. Despite these, AOMD represents a significant step toward fully autonomous online learning in non-stationary environments.

Summary updated

BibTeX
@inproceedings{jadbabaie2015online,
  author = {Ali Jadbabaie and Alexander Rakhlin and Shahin Shahrampour and Karthik Sridharan},
  title = {{Online Optimization : Competing with Dynamic Comparators}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2015},
  url = {https://openreview.net/forum?id=XCiBBcARUtl},
}
Figure