Optimistic and Adaptive Lagrangian Hedging

Ryan D'Orazio, Ruitong HuangarXiv 2021

Abstract

In online learning, an algorithm plays against an environment with losses possibly picked by an adversary at each round. The generality of this framework includes problems that are not adversarial, such as offline optimization or saddle point problems (i.e., min-max optimization). However, online algorithms are typically not designed to leverage additional structure present in non-adversarial problems. Recently, slight modifications to well-known online algorithms, such as optimism and adaptive step sizes, have been used in several domains to accelerate online learning—recovering optimal rates in offline smooth optimization and accelerating convergence to saddle points or social welfare in smooth games. In this work, we introduce optimism and adaptive step sizes to Lagrangian hedging, a class of online algorithms that includes regret-matching and hedge (multiplicative weights). Our results include: a general regret bound; a path length regret bound for a fixed smooth loss, applicable to an optimistic variant of regret-matching and regret-matching+; optimistic regret bounds for $\Phi$-regret, a framework that includes external, internal, and swap regret; and optimistic bounds for a family of algorithms that includes regret-matching+ as a special case.

Introduction

Online learning algorithms traditionally operate under the assumption of an adversarial environment, where the objective is to minimize regret against a worst-case sequence of losses. However, in many practical applications—such as solving large-scale games (e.g., Poker or Go) or performing offline optimization—the environment is not purely malicious. Instead, it often exhibits structure and predictability.

While frameworks like Online Mirror Descent (OMD) have successfully incorporated "optimism" to exploit this predictability, Lagrangian hedging—a powerful class of algorithms including Regret-Matching and Hedge—has lacked a unified approach to optimism and adaptive step sizes. This paper bridges that gap, providing a theoretical framework for algorithms that can adapt to the environment's structure while maintaining robust performance guarantees.

Methods and Framework

The authors extend the Lagrangian hedging framework through three primary innovations:

1. Optimism via Prediction

The core of the optimistic approach is the inclusion of a prediction vector, $m_t$, representing a guess of the next loss. By modifying the update rule to account for this prediction, the algorithm's regret becomes a function of the prediction error ($\|s_t - m_t\|^2$) rather than the total time $T$. If the prediction is accurate, the regret grows significantly slower than in standard adversarial settings.

2. Adaptive Step Sizes

Traditional online algorithms often require prior knowledge of the time horizon $T$ to set optimal step sizes. The authors introduce a new step-size schedule, $\eta_t$, which decreases based on past performance. A key contribution is Lemma 1, which proves that this schedule is valid for any convex potential function without requiring the "doubling trick" (restarting the algorithm at fixed intervals), making the algorithms more practical for real-world use.

3. Generalization to $\Phi$-Regret

The framework is extended beyond simple external regret to $\Phi$-regret. This generalization is critical for multi-agent systems, as it allows the minimization of internal and swap regret. These measures are necessary for agents to converge to a Correlated Equilibrium in complex games, a task for which the authors provide the first optimistic and adaptive algorithms.

Key Theoretical Results

The paper establishes several foundational bounds for these new algorithms:

  • Theorem 1 (General Regret Bound): Demonstrates that the growth of the potential function (and consequently the regret) is bounded by the sum of squared prediction errors: $O(\sum_{t=1}^T \eta_t \|s_t - m_t\|^2)$.
  • Theorem 2 (Adaptive Bound): Shows that for specific potential functions, such as those used in the Hedge algorithm, the adaptive step size achieves a regret bound of $O(\sqrt{\sum \|s_t - m_t\|^2})$ without knowing $T$ in advance.
  • Path Length Bounds: For smooth, fixed losses, the authors show that regret is bounded by the "path length" of the strategies. This provides a theoretical explanation for the efficiency of these algorithms in smooth optimization tasks.
  • Regret-Matching+ Support: The theory extends to Regret-Matching+, the algorithm utilized by state-of-the-art poker AIs like Cepheus and Libratus, offering a path toward making these systems optimistic.

Discussion and Limitations

While this work provides a robust theoretical foundation, several areas remain for future exploration. First, there remains a theoretical gap between the regret bounds for Lagrangian hedging and those for OMD/OFTRL; the bounds do not yet allow for a direct "plug-and-play" into existing black-box acceleration proofs.

Furthermore, the performance of these algorithms is inherently tied to the quality of the prediction $m_t$. While a poor prediction does not cause the algorithm to fail—it simply reverts to standard adversarial performance—generating high-quality predictions in diverse domains remains an open challenge. Finally, as a purely theoretical work, the paper does not include empirical experiments to measure the practical speedup in finding equilibria, leaving this as a vital direction for future research.

Summary updated

BibTeX
@misc{dorazio2021optimistic,
  author = {Ryan D'Orazio and Ruitong Huang},
  title = {{Optimistic and Adaptive Lagrangian Hedging}},
  year = {2021},
  eprint = {2101.09603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.09603},
}
Figure