Adaptive Online Prediction by Following the Perturbed Leader

Marcus Hutter, Jan Poland

Introduction

In the framework of Online Prediction with Expert Advice (PEA), a learner aims to make a sequence of predictions by leveraging the suggestions of a pool of experts. The performance metric of interest is regret: the difference between the learner's cumulative loss and the loss of the best-performing expert in hindsight. While algorithms like Weighted Majority (or Hedge) are standard, they often struggle with two practical realities: the need for an adaptive learning rate and the management of infinite, non-uniform expert classes.

This paper presents a robust mathematical framework for making the Follow the Perturbed Leader (FPL) algorithm fully adaptive. By introducing a self-confident learning rate and a hierarchical expert structure, the authors demonstrate that FPL can achieve near-optimal regret bounds even when facing an adaptive adversary and an infinite pool of experts.

The Follow the Perturbed Leader (FPL) Approach

Unlike "Weighted Majority" variants that maintain and update a probability distribution over all experts, FPL operates on a simpler principle:

  1. Perturbation: At each time step, a random noise value—specifically one-sided exponentially distributed noise—is added to the cumulative loss of each expert.
  2. Selection: The algorithm selects the expert with the lowest "perturbed" cumulative loss.

The simplicity of FPL is its primary advantage. The authors show that while the analysis of adaptive Weighted Majority algorithms can become prohibitively complex, FPL allows for a more elegant and concise derivation of regret bounds.

Overcoming the Learning Rate Dilemma

A critical parameter in online learning is the learning rate ($\eta$), which dictates how aggressively the algorithm reacts to new information. Traditionally, $\eta$ is fixed based on the total number of steps or the expected total loss—information rarely available in real-time.

The authors address this by deriving adaptive learning rates ($\eta_t$) that evolve at every time step. They utilize "self-confident" rates, where the learning rate is determined by the algorithm's own past performance. This allows the algorithm to tune itself dynamically without prior knowledge of the sequence length or the experts' performance.

To bridge the gap between theory and practice, the authors employ an Infeasible FPL (IFPL) predictor. This theoretical construct "cheats" by knowing the loss of the current step before making a choice. By proving bounds for IFPL and then bounding the difference between IFPL and the feasible FPL, the authors establish rigorous regret guarantees.

Scaling to Infinite Expert Classes

Modern applications often involve a countable (infinite) number of experts, where some experts are considered more "complex" or less likely to be optimal than others. Standard adaptive proofs often fail in this non-uniform setting.

The paper introduces a Hierarchy of Experts to solve this. Experts are grouped by their "complexity" (denoted as $k^i$, similar to code lengths in information theory). The framework runs an instance of FPL on each group and then employs a "meta-FPL" algorithm to aggregate the results of these groups. This structure allows the algorithm to handle an infinite pool of experts without the noise from the vast number of experts overwhelming the signal from the best ones.

Key Theoretical Insights

  • Adaptive vs. Oblivious Adversaries: A significant contribution is the "Adaptive = Oblivious" lemma. The authors prove that regret bounds calculated against an "oblivious" adversary (one who chooses all losses in advance) apply equally to an "adaptive" adversary (one who reacts to the learner's choices), provided the learner uses fresh randomness at each step.
  • The Leading Constant: The authors establish that their adaptive FPL has a leading constant of 2 in its regret bound. While this is slightly higher than the $\sqrt{2}$ constant found in some static algorithms, it represents the trade-off for the algorithm's generality and ease of adaptation.

Results and Limitations

For finite expert classes, the adaptive FPL matches state-of-the-art regret bounds, typically scaling with $\sqrt{Loss \times \ln(Experts)}$. More importantly, it provides the first adaptive loss bounds for countable expert classes with arbitrary weights.

However, some challenges remain:

  • The Constant Gap: There is a gap between FPL’s constant (2) and the theoretical lower bound ($\sqrt{2}$). The authors suggest that a "Dynamic Hedge" algorithm might close this, though the proof is currently missing.
  • Computational Complexity: For infinite expert classes, calculating the exact expected loss to update the learning rate can be numerically intensive. The authors suggest Monte Carlo sampling as a viable practical alternative.

Conclusion

By refining the FPL algorithm with self-confident learning rates and a hierarchical structure, this work provides a powerful tool for online prediction. It simplifies the mathematical treatment of adaptive learning while extending the reach of PEA to infinite, weighted expert sets, offering a robust solution for environments where the future is both unknown and adversarial.

Summary updated

BibTeX
@article{hutter2005adaptive,
  author = {Marcus Hutter and Jan Poland},
  title = {{Adaptive Online Prediction by Following the Perturbed Leader}},
  journal = {J. Mach. Learn. Res.},
  year = {2005},
  url = {https://openreview.net/forum?id=rHUYea0qEtd},
}
Figure