Adaptivity and Optimality: A Universal Algorithm for Online Convex Optimization

Guanghui Wang, Shiyin Lu, Lijun Zhang

Abstract

In Online Convex Optimization (OCO), achieving optimal regret bounds typically requires prior knowledge of the loss function's curvature. While adaptive algorithms attempt to bridge this gap, they often suffer from a "price of adaptivity," resulting in sub-optimal bounds for specific function classes. This paper introduces Maler (Multiple sub-algorithms and Learning Rates), a universal algorithm that achieves minimax optimal regret bounds for convex, exponentially concave, and strongly convex functions simultaneously. By employing a hierarchical expert-meta structure with a novel surrogate loss function, Maler eliminates the dimensionality dependence found in previous adaptive methods, offering both theoretical optimality and empirical efficiency.

Introduction

Online Convex Optimization (OCO) is a fundamental framework for sequential decision-making. In this setting, a learner iteratively selects an action from a convex set and subsequently observes a convex loss function. The performance metric of interest is regret: the difference between the cumulative loss incurred by the learner and that of the best fixed action in hindsight.

The theoretical limit of regret depends heavily on the properties of the loss functions encountered. Specifically:

  1. General Convex Functions: Regret is bounded by $O(\sqrt{T})$.
  2. Exponentially Concave (Exp-concave) Functions: Regret is bounded by $O(d \log T)$.
  3. Strongly Convex Functions: Regret is bounded by $O(\log T)$.

In practice, the learner rarely knows which class the loss functions belong to beforehand. While adaptive algorithms like MetaGrad were designed to handle unknown curvature, they often introduce a "price of adaptivity." For strongly convex functions, MetaGrad achieves a regret of $O(d \log T)$, which is sub-optimal by a factor of the dimension $d$. This paper addresses the challenge of designing a truly universal algorithm that is both adaptive and optimal across all three categories.

The Maler Algorithm

The proposed algorithm, Maler, utilizes a two-level hierarchical architecture to manage uncertainty regarding function curvature.

1. The Expert Level (Lower Level)

Maler maintains a diverse pool of "expert" algorithms running in parallel. Unlike previous frameworks that replicated the same algorithm with different parameters, Maler employs heterogeneous experts tailored to specific function types:

  • Convex Experts: Standard Online Gradient Descent (OGD) instances.
  • Exp-concave Experts: Multiple instances of the Online Newton Step (ONS) algorithm, initialized with a range of learning rates ($\eta$).
  • Strongly Convex Experts: Specialized OGD instances with varying learning rates designed to exploit strong convexity.

2. The Meta-Algorithm Level (Upper Level)

The meta-algorithm aggregates the predictions of these experts using an exponentially weighted average scheme. The critical innovation lies in how the meta-algorithm evaluates expert performance.

Innovation: Refined Surrogate Losses

The sub-optimality of previous universal methods stemmed from the surrogate loss functions used to track experts. These surrogates often introduced a dependency on the dimensionality $d$. Maler introduces a new strongly convex surrogate loss based on the squared distance between the learner's action and the expert's action. By ensuring these surrogates satisfy specific exponential inequalities, the authors prove that the meta-algorithm can track the best expert without "leaking" excess regret, effectively removing the $d$ factor for strongly convex losses.

Theoretical and Empirical Results

Theoretical Optimality

The authors provide rigorous proofs demonstrating that Maler achieves the minimax lower bounds for all three classes: $O(\sqrt{T})$ for convex, $O(d \log T)$ for exp-concave, and $O(\log T)$ for strongly convex functions. Furthermore, Maler enjoys data-dependent bounds, allowing it to perform even better when gradients are sparse or the problem instance is inherently "easy."

Empirical Performance

Maler was evaluated against MetaGrad in two distinct scenarios:

  1. Online Regression (Synthetic): On a strongly convex $\ell_2$-regularized least mean square problem, Maler converged significantly faster than MetaGrad. This confirms that the theoretical removal of the $O(d)$ factor translates to tangible performance gains in high-dimensional spaces.
  2. Online Classification (Real-world): Using the a9a dataset for logistic regression (an exp-concave problem), Maler consistently achieved lower cumulative regret, demonstrating the robustness of its data-dependent bounds.

Discussion and Limitations

While Maler achieves theoretical optimality, it introduces increased computational overhead. Running $O(\log T)$ experts in parallel results in a per-iteration complexity of $O(d^2 \log T)$. For extremely high-dimensional problems, this quadratic dependence on $d$ (inherited from the ONS experts) may be a limiting factor.

Additionally, this work focuses on static regret. A promising direction for future research is extending this universal adaptivity to dynamic regret, where the optimal action may change over time, or further optimizing the algorithm for specific data structures like extreme sparsity.

Conclusion

Maler represents a significant step forward in adaptive OCO. By combining heterogeneous experts with a refined surrogate loss mechanism, it proves that a single algorithm can be universal across multiple function classes without sacrificing the optimality of the regret bounds.

Summary updated

BibTeX
@inproceedings{wang2019adaptivity,
  author = {Guanghui Wang and Shiyin Lu and Lijun Zhang},
  title = {{Adaptivity and Optimality: A Universal Algorithm for Online Convex Optimization}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=ffpbSm9SZa1},
}
Figure