Online Improper Learning with an Approximation Oracle

Elad Hazan, Wei Hu, Yuanzhi Li, Zhiyuan Li

This paper addresses a long-standing bottleneck in machine learning theory: how to bridge the gap between efficient offline approximation and efficient online learning. The authors present a new framework that converts offline approximation algorithms into online learning strategies with near-optimal regret. Crucially, their method requires only a logarithmic number of calls to the approximation "oracle" per round, solving a major efficiency problem and resolving open questions in the field.

The Challenge: Offline Approximation vs. Online Learning

In the world of online learning, a "player" makes a sequence of decisions, facing a new loss at each step. The goal is to minimize regret—the difference between the player's total loss and the loss of the best single decision they could have made in hindsight.

Standard algorithms assume we have an "optimization oracle" that can instantly find the best decision for any given set of costs. However, for many real-world problems (like Max-Cut or the traveling salesman problem), finding the absolute best solution is NP-hard. Instead, practitioners rely on approximation algorithms that guarantee a solution within a certain factor of the optimum.

The core challenge is: Can we use these offline approximation algorithms to perform online learning efficiently? Previous attempts were either computationally "heavy" (requiring the number of oracle calls to grow linearly with time) or only worked in very specific cases. This paper seeks a "reduction" that is both general and fast.

Methods: OMD and the PAD Oracle

The authors build their solution on Online Mirror Descent (OMD), a classic framework for online optimization. The core innovation is the introduction of a Projection-and-Decomposition (PAD) oracle.

  1. Improper Learning: The authors embrace "improper" learning. This means the algorithm is allowed to pick decisions from a larger, easier-to-manage set to compete against the best decision in a harder target set.
  2. The PAD Oracle: When OMD suggests a move that might be "illegal" or outside the feasible set, the PAD oracle kicks in. It performs two tasks:
  3. Infeasible Projection: It finds a point "closer" to the target set in terms of Bregman divergence.
  4. Decomposition: It represents that point as a distribution over points that the approximation oracle can handle.
  5. PNIP Property: The math works out thanks to a geometric condition the authors call the Pairwise Non-negative Inner Product (PNIP) property. This property ensures that the "errors" introduced by using an approximation don't accumulate in a way that ruins the regret guarantee.

Key Insights and Results

The most significant breakthrough in this work is the proof that you only need $O(\log T)$ calls to the approximation oracle per round to achieve near-optimal regret. This is a massive jump in efficiency over previous $O(T)$ or $O(\sqrt{T})$ methods. By allowing the learner to play points outside the target set (improper learning), the authors bypass the rigid constraints that usually make these problems intractable.

The paper provides two main sets of results, summarized below:

Full Information Setting

The algorithm achieves $O(\sqrt{T})$ regret with only $O(\log T)$ oracle calls per round. This resolves an open question posed by Kalai, Vempala, and Garber.

Comparison of algorithms in the full information setting

Bandit Setting

In the more difficult "bandit" setting (where you only see the loss of the action you took, not the whole loss vector), they achieve $O(T^{2/3})$ regret with significantly lower computational costs than previous state-of-the-art methods.

Comparison of algorithms in the bandit setting

Importantly, these results apply to any problem where the offline version has a multiplicative approximation algorithm, including combinatorial problems like Max-Cut.

Limitations and Future Work

While the theoretical contributions are substantial, the authors note a few limitations:

  • The Bandit Gap: While the full information results are near-optimal, the bandit setting still has room for improvement. The "holy grail" would be an algorithm that achieves $O(\sqrt{T})$ regret with $O(\log T)$ oracle calls in the bandit setting.
  • PNIP Dependency: The efficiency of the reduction relies on the PNIP property. While many common settings satisfy this, it is a specific geometric requirement that might not hold for every conceivable learning problem.
  • Computational Constants: While $O(\log T)$ is great asymptotically, the "hidden constants" (like the dependence on dimension $d$) can still be significant depending on whether one uses center-of-gravity or ellipsoid methods within the PAD oracle.

Summary updated

BibTeX
@inproceedings{hazan2018online,
  author = {Elad Hazan and Wei Hu and Yuanzhi Li and Zhiyuan Li},
  title = {{Online Improper Learning with an Approximation Oracle}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=S1NyL_bubS},
}
Figure