Improved Optimistic Mirror Descent for Sparsity and Curvature

Parameswaran KamalarubanarXiv 2016

Abstract

Online Convex Optimization plays a key role in large scale machine learning. Early approaches to this problem were conservative, in which the main focus was protection against the worst case scenario. But recently several algorithms have been developed for tightening the regret bounds in easy data instances such as sparsity, predictable sequences, and curved losses. In this work we unify some of these existing techniques to obtain new update rules for the cases when these easy instances occur together. First we analyse an adaptive and optimistic update rule which achieves tighter regret bound when the loss sequence is sparse and predictable. Then we explain an update rule that dynamically adapts to the curvature of the loss function and utilizes the predictable nature of the loss sequence as well. Finally we extend these results to composite losses.

Introduction

Online Convex Optimization (OCO) provides the mathematical foundation for many large-scale machine learning systems. In the standard OCO framework, a learner iteratively selects a point from a convex set and subsequently suffers a loss determined by an adversary. Traditionally, algorithms like Mirror Descent (MD) were designed to minimize "worst-case" regret, typically resulting in a bound of $O(\sqrt{T})$.

However, real-world data often exhibits structures that are far from the worst case. These "easy data" instances include sparsity (gradients with many zero entries), predictability (gradients that follow a discernible trend), and curvature (loss functions that are strongly convex). While prior research has addressed these factors in isolation, this paper introduces a unified framework that exploits all three simultaneously, providing tighter regret bounds and improved constants.

The Unified Framework: Optimistic Mirror Descent

The core of the proposed approach is Optimistic Mirror Descent (OMD). Unlike standard Mirror Descent, which relies solely on historical gradients, OMD incorporates a "hint" or prediction ($\tilde{g}_{t+1}$) of the upcoming gradient. This allows the learner to take a more proactive step.

A significant contribution of this work is the demonstration that Mirror Descent is superior to the Follow The Regularized Leader (FTRL) framework in optimistic settings. By utilizing the MD framework, the author achieves a regret bound that is improved by a factor of $\sqrt{2}$ compared to recent state-of-the-art FTRL-based methods.

Algorithmic Innovations

1. Adaptive and Optimistic MD (Algorithm 1)

To handle sparsity and predictability together, the paper introduces a version of OMD that replaces static regularizers with a sequence of data-dependent regularizers ($r_t$). This mechanism allows for per-coordinate learning rate adaptation. The resulting regret bound depends on the cumulative norm of the prediction errors ($g_t - \tilde{g}_t$) rather than the raw gradients. When predictions are accurate or gradients are sparse, the regret is significantly reduced.

2. Curvature Adaptive MD (Algorithm 2)

Loss functions often possess curvature (strong convexity) that can be exploited to achieve "fast" regret rates of $O(\log T)$. The challenge lies in doing so without knowing the strong convexity parameter in advance. Algorithm 2 dynamically adjusts a parameter ($\lambda_t$) to "sense" the curvature of the loss function. This allows the algorithm to automatically interpolate between $O(\sqrt{T})$ regret for general convex functions and $O(\log T)$ regret for curved functions, all while maintaining the benefits of gradient predictability.

3. Extension to Composite Losses

In many practical applications, the objective function includes a non-linearized regularization term, such as an $L_1$ penalty for feature selection. The paper extends the adaptive and optimistic techniques to these "composite" objectives. Crucially, the author proves that the instantaneous regret for composite losses is equivalent to the non-composite version, meaning the benefits of adaptivity and optimism are preserved even in complex optimization settings.

Key Results and Theoretical Impact

  • Constant Factor Improvements: The shift from FTRL to MD yields a $\sqrt{2}$ tighter regret bound.
  • Automatic Rate Interpolation: The framework eliminates the need for manual tuning of learning rates based on function type; the algorithm adapts to the observed curvature on the fly.
  • Sparsity-Aware Regret: By combining adaptivity with optimism, the learner achieves a bound that scales with the variance of the gradient sequence rather than its absolute magnitude.

Limitations and Future Work

While the theoretical results are robust, the paper identifies several areas for further development. The "full matrix" version of the adaptive algorithm requires $O(n^2)$ operations per round, which may be computationally expensive for high-dimensional data. Additionally, while the paper provides regret bounds for $\beta$-convex losses, a near-optimal closed-form solution for the adaptive parameter $\lambda_t$ in that specific case remains an open challenge. Finally, as this is a theoretical contribution, empirical validation on large-scale datasets will be necessary to confirm the practical impact of the improved constants.

Summary updated

BibTeX
@misc{kamalaruban2016improved,
  author = {Parameswaran Kamalaruban},
  title = {{Improved Optimistic Mirror Descent for Sparsity and Curvature}},
  year = {2016},
  eprint = {1609.02383},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.02383},
}
Figure