A Near-Optimal Best-of-Both-Worlds Algorithm for Online Learning with Feedback Graphs

Chloé Rouyer, Dirk van der Hoeven, Nicolò Cesa-Bianchi, Yevgeny Seldin

Introduction

In online learning, an agent repeatedly selects actions and observes associated losses. Traditionally, research has focused on two extremes of information availability: Bandit Feedback, where the agent only observes the loss of the chosen action, and Full Information, where the losses of all possible actions are revealed. Feedback graphs provide a more general and realistic framework that bridges these extremes. In this setting, actions are represented as nodes in a graph, and selecting an action reveals the losses of that action and all its neighbors. This model is particularly relevant in scenarios like social network analysis or recommendation systems, where one observation can provide side information about related items.

A significant challenge in this field is developing "Best-of-Both-Worlds" (BoBW) algorithms. These algorithms are designed to perform optimally regardless of whether the environment is stochastic (stable and following a fixed distribution) or adversarial (unpredictable or even malicious). While BoBW algorithms exist for the standard bandit setting, extending them to feedback graphs—especially directed ones—has remained a difficult open problem.

The Problem: Bridging the Gap

Most online learning algorithms are specialized. Stochastic-focused algorithms exploit the "gap" between the best action and others to achieve logarithmic regret, but they often fail catastrophically in adversarial settings. Conversely, adversarial algorithms like EXP3 are robust but suffer higher regret in stable environments because they do not sufficiently exploit the underlying structure of the losses.

When feedback graphs are introduced, the complexity increases. The algorithm must decide which actions to play not just to minimize immediate loss, but to strategically gather information about other actions. Previous attempts at BoBW for feedback graphs were often limited to undirected graphs or suffered from suboptimal regret bounds (e.g., $O(\ln^4 T)$ dependence in stochastic settings).

Methodology: The EXP3.G++ Algorithm

This paper introduces EXP3.G++, a novel algorithm that achieves near-optimal performance across both environment types. The algorithm integrates three core components:

  1. EXP3.G Framework: A standard approach for handling feedback graphs in adversarial settings.
  2. EXP3++ Principles: A framework originally designed to provide BoBW guarantees in the simpler multi-armed bandit setting.
  3. A Novel Exploration Scheme (Algorithm 2): This is the central innovation. To maintain low regret in stochastic settings, the algorithm must ensure that "bad" actions are explored just enough to confirm they are indeed suboptimal.

In a graph setting, exploring one action provides information about many others. The authors propose a greedy exploration strategy that sorts actions by their estimated "gap" (the difference in performance compared to the best-known action) and selects a subset of actions that "dominates" the graph. This ensures that every action is observed frequently enough to maintain reliable estimates without the redundant overhead of playing every single action.

Key Insights and Theoretical Contributions

Exploiting the Strong Independence Number

The paper identifies the strong independence number ($\tilde{\alpha}$) as the critical graph-theoretic parameter governing performance in directed graphs. This measure represents the size of the largest subset of nodes where no two nodes have a mutual (two-way) connection. By tying regret bounds to $\tilde{\alpha}$, the authors provide a more precise characterization of how graph density affects learning speed.

Handling Directed and Time-Varying Graphs

Unlike previous work that focused on undirected graphs—where information flow is always mutual—EXP3.G++ is designed for directed graphs. This is a significant advancement, as real-world relationships (such as "following" on social media) are often one-way. Furthermore, the authors demonstrate that the algorithm remains effective even if the feedback graph changes at every time step, provided the graph for the current round is revealed to the agent before they make a choice.

Results and Performance

EXP3.G++ achieves near-optimal regret bounds in both worlds:

  • Adversarial Environment: The regret is bounded by $O(\sqrt{\tilde{\alpha} T \ln K})$, where $T$ is the time horizon and $K$ is the number of actions. This matches the best-known bounds for algorithms designed exclusively for adversarial feedback graphs.
  • Stochastic Environment: The regret scales with $O(\frac{\ln^2 T}{\Delta})$, where $\Delta$ represents the minimum gap between the best and second-best actions. This is a substantial improvement over the previous state-of-the-art, which had a much higher $O(\ln^4 T)$ dependence.

Importantly, the algorithm is computationally efficient, running in polynomial time relative to the number of actions, making it practically applicable for large-scale problems.

Limitations and Future Directions

While EXP3.G++ represents a major step forward, the authors note several areas for future refinement. First, there is a technical gap in directed graphs between the independence number and the strong independence number; future research could investigate if the tighter independence number is achievable. Second, calculating certain graph parameters is NP-hard, though the authors provide a variant of the algorithm that uses observable probabilities to bypass this issue. Finally, there remains a small "poly-logarithmic" gap in the stochastic bounds that researchers may seek to eliminate to reach absolute optimality.

Summary updated

BibTeX
@inproceedings{rouyer2022near,
  author = {Chloé Rouyer and Dirk van der Hoeven and Nicolò Cesa-Bianchi and Yevgeny Seldin},
  title = {{A Near-Optimal Best-of-Both-Worlds Algorithm for Online Learning with Feedback Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=9WFaoKTDtP},
}
Figure