The Many Faces of Exponential Weights in Online Learning

Dirk van der Hoeven, Tim van Erven, Wojciech Kotlowski

Abstract

A standard introduction to online learning might place Online Gradient Descent at its center and then proceed to develop generalizations and extensions like Online Mirror Descent and second-order methods. This paper argues for a "top-down" perspective, positioning the Exponential Weights (EW) algorithm as the fundamental building block of the field. By selecting specific surrogate losses and prior distributions, the authors demonstrate that standard online learning algorithms—including Online Gradient Descent, Mirror Descent, and adaptive methods like Coin Betting—are special cases of EW.

Introduction

The field of Online Convex Optimization (OCO) is often taught as a collection of distinct tools: Online Gradient Descent (OGD) for simple convex losses, Online Newton Step (ONS) for exp-concave losses, and Mirror Descent (OMD) for specific geometries. While these methods are mathematically related, they are usually treated as separate generalizations. This paper proposes a "top-down" view where Exponential Weights is the fundamental building block, providing a unified framework that simplifies the field and opens up new algorithmic possibilities.

Methodology: Lazy and Greedy Exponential Weights

The core of the proposed framework involves analyzing two flavors of EW: Lazy EW (updating relative to the initial prior) and Greedy EW (updating step-by-step).

Lazy and Greedy variants of the Exponential Weights algorithm.

The reduction to standard algorithms relies on three components:

  1. Surrogate Losses: Running EW on approximations (linear, quadratic, or exp-concave) of the raw loss functions.
  2. Priors: Moving beyond finite sets of experts to continuous action spaces using probability distributions (e.g., Gaussian or Poisson).
  3. The Substitution Function: Showing that playing the mean of the EW distribution recovers standard deterministic algorithms.

Key Insights and Reductions

The authors demonstrate that many well-known algorithms are simply EW in disguise:

  • Gradient Descent as EW: With linear losses and a Gaussian prior, the mean of the EW update is mathematically identical to an OGD step.
  • Mirror Descent and Exponential Families: The authors prove a bijection between Bregman divergences and regular exponential families. Every Mirror Descent algorithm is an EW update where the "mirror map" defines the underlying distribution.
Mirror Descent algorithms viewed through the lens of Lazy and Greedy updates.
  • Adaptive Methods: Recent algorithms like iProd, Squint, and Coin Betting are shown to be EW applied to clever surrogate tasks, demystifying their complex update rules.
  • Sampling vs. Playing the Mean: In bandit settings, the framework allows for sampling from the posterior distribution, which naturally recovers optimal regret rates for Bandit Linear Optimization.

Key Results

  • Unified Regret Bounds: A generalized Lemma for EW regret can derive standard bounds for OGD, ONS, and OMD.
  • Recovery of Online Newton Step: Using a quadratic surrogate loss and a Gaussian prior recovers ONS and its logarithmic regret bound.
  • Bandit Optimization: A sampling-based EW approach achieves an expected regret of $O(d\sqrt{T} \ln T)$ in the bandit linear setting.

Limitations and Future Work

Computational complexity remains a challenge, as calculating the mean of a distribution over continuous space is typically only efficient with conjugate priors. For complex domains, MCMC methods may be necessary. Future work could explore the trade-offs between sampling accuracy and prediction regret, and investigate optimal prior selection for specific online learning geometries.

Summary updated

BibTeX
@inproceedings{hoeven2018many,
  author = {Dirk van der Hoeven and Tim van Erven and Wojciech Kotlowski},
  title = {{The Many Faces of Exponential Weights in Online Learning}},
  booktitle = {Conference on Learning Theory},
  year = {2018},
  url = {https://openreview.net/forum?id=QAaSWFziMFw},
}
Figure