Online Learning with Many Experts

Alon Cohen, Shie MannorarXiv 2017

TL;DR

This paper tackles the challenge of online learning when faced with an enormous, potentially infinite, number of experts. The authors introduce a novel algorithm that achieves a regret bound dependent on the complexity of the environment's loss functions (captured by an $\epsilon$-covering number) rather than the sheer number of experts, offering a significant improvement for structured expert sets. They also provide a method to automatically tune the algorithm's parameters for optimal performance.

What Problem Does This Paper Address?

In online learning, the "prediction with expert advice" framework involves a learner choosing among a set of experts to minimize their cumulative loss over time. A fundamental challenge arises when the number of experts ($K$) is extremely large or even infinite. Traditional algorithms often have regret bounds that scale with $\log K$, making them impractical in such scenarios. This paper addresses this by exploring scenarios where experts might be "correlated" or structured, allowing for a more efficient approach. The core problem is to develop an algorithm whose performance depends on the inherent complexity of the expert set and the environment's behavior, rather than just the raw count of experts.

Methods

The paper's main contribution is Algorithm 2, an online learning algorithm designed for a large number of experts. Unlike standard algorithms like Exponential Weights (Algorithm 1), which have regret bounds dependent on $\log K$, Algorithm 2 aims to achieve a bound that depends on the $\epsilon$-covering number of the sequence of loss functions generated by the environment, denoted as $N(\epsilon, L_T)$. This algorithm works by iteratively building a "packing" of experts. It maintains a set $S$ of experts and, if it encounters an expert whose loss deviates significantly (by more than $2\epsilon$) from all experts currently in $S$, it adds that expert to $S$ and "restarts" the learning process. This restart mechanism effectively re-initializes the weights and learning rate, allowing the algorithm to adapt to new structures in the expert landscape.

A key theoretical insight is the relationship between covering and packing numbers. The paper leverages the fact that a maximal $\epsilon$-packing of the loss functions is also an $\epsilon$-cover, and that the size of the packing is related to the covering number. This allows them to bound the algorithm's regret by $\widetilde{O}(\epsilon T + N(\epsilon, L_T) + \sqrt{T N(\epsilon, L_T)})$.

Furthermore, the authors propose a method to automatically tune the parameter $\epsilon$ (which controls the covering number) by running multiple instances of the algorithm with different $\epsilon$ values and treating them as experts themselves. This leads to a regret bound that is the infimum over $\epsilon$ of the original bound.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithmic design rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Regret Independent of Expert Count: The most significant insight is that it's possible to achieve regret bounds that are independent of the total number of experts, provided there's structure in the experts' losses. This is achieved by focusing on the complexity of the sequence of loss functions rather than the number of experts.
  • The Power of $\epsilon$-Covering Numbers: The paper highlights the $\epsilon$-covering number ($N(\epsilon, L_T)$) as a crucial measure of environment complexity. A smaller covering number implies more structure and allows for better regret guarantees.
  • Restart Mechanism for Adaptability: The algorithm's "restart" mechanism when a new "representative" expert is found is a clever way to adapt to changing expert landscapes without needing to know the optimal $\epsilon$ beforehand.
  • Gap Between Statistical and Online Learning for Bounded Variation: The paper demonstrates a surprisingly large gap between the regret bounds achievable in the statistical (i.i.d.) setting and the online setting for experts with bounded variation. While statistical learning can achieve $\mathcal{O}(\sqrt{V T})$ regret, the online setting can still suffer from regret dependent on the number of experts, even with small variation.

Key Results

  • Main Regret Bound: Algorithm 2 achieves an expected regret of $\widetilde{O}(\epsilon T + N(\epsilon, L_T) + \sqrt{T N(\epsilon, L_T)})$, where $N(\epsilon, L_T)$ is the $\epsilon$-covering number of the loss functions. This bound is tight and applicable even for an infinite number of experts.
  • Automatic $\epsilon$ Tuning: A procedure is presented that allows for tuning $\epsilon$ in hindsight, achieving a regret bound of $\inf_{\epsilon} \widetilde{O}(\epsilon T + N(\epsilon, L_T) + \sqrt{T N(\epsilon, L_T)})$.
  • Applications: The algorithm is shown to be applicable to:
  • Binary Losses: Regret bound depends on the number of distinct loss sequences, not the total number of experts.
  • Low Rank Experts: A significant reduction in the gap between statistical and online regret bounds is suggested for experts whose losses lie in a low-dimensional subspace.
  • Bounded Variation Experts: A negative result is shown, highlighting a large gap between statistical and online learning for this class, suggesting that $\mathcal{O}(\sqrt{VT})$ regret is not achievable in the online setting.

Limitations and Future Work

  • Large Covering Numbers: The authors acknowledge that for many practical applications, the $\epsilon$-covering number can still be very large, limiting the effectiveness of the algorithm. A key future direction is to identify classes of environments that yield small covering numbers for reasonable $\epsilon$.
  • Gap in Low Rank Experts: While the paper shows an improvement, there's still an exponential gap between the statistical and online regret bounds for low-rank experts. Closing this gap remains an open problem.
  • Online Compression Connection: The paper suggests that the problem is equivalent to online matrix approximation, and guarantees from online compression algorithms could potentially lead to improved regret bounds.
  • Bounded Variation Gap: The negative result for bounded variation experts raises the question of whether any algorithm can achieve $\mathcal{O}(\sqrt{VT})$ regret in the online setting.

Summary updated

BibTeX
@misc{cohen2017online,
  author = {Alon Cohen and Shie Mannor},
  title = {{Online Learning with Many Experts}},
  year = {2017},
  eprint = {1702.07870},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.07870},
}
Figure