Adversarial Online Learning with Temporal Feedback Graphs

Khashayar Gatmiry, Jon Schneider

TL;DR

This paper generalizes the classic "prediction with expert advice" problem to settings where a learner can only see a specific subset of past (or even future) losses, modeled by a directed "temporal feedback graph." The authors provide a novel algorithm based on partitioning losses across graph cliques, proving it achieves optimal regret bounds for the important class of transitive feedback graphs.

What Problem Does This Paper Address?

In standard online learning, a learner chooses an action every round and then sees the losses for all possible actions to inform their next move. But the real world is messy:

  • Delays: You might not see the results of an ad campaign for three days.
  • Batches: Data might only be processed in chunks (e.g., every 1,000 users).
  • Limited Memory: You might only remember the last $M$ rounds.
  • Contextual Constraints: In training models like BERT (masked language modeling), you "predict" a word based on both preceding and succeeding words.

The authors formalize these constraints using temporal feedback graphs, where an edge from round $i$ to round $j$ means the loss at time $i$ is visible when making a decision at time $j$. The challenge is to design an algorithm that minimizes "regret"—the gap between the learner's performance and the best fixed action in hindsight—given these visibility restrictions.

Methods

The authors move away from simple "best-response" strategies (which they show can fail miserably) and propose a more sophisticated approach:

  1. Order Partitioning: They decompose the complex feedback graph into "orders" (sequences where every node can see all previous nodes in the sequence).
  2. The Upper Bound Convex Program: They formulate a primal convex program to find the optimal way to partition the total loss across these different orders.
  3. Algorithm 1: This algorithm runs multiple instances of the classic "Hedge" algorithm in parallel—one for each order—and combines their suggestions based on the weights derived from the convex program.
  4. Duality for Efficiency: While the number of possible orders can be exponential, the authors use the dual of their convex program to show that an optimal solution exists that only uses at most $T$ (the number of rounds) orders.

Datasets

As a theoretical paper focused on algorithmic foundations and regret bounds, no empirical datasets were used. The authors evaluate their work through mathematical proofs and worst-case analysis. They do, however, use specific graph structures (like batched learning and delayed feedback) as "synthetic" benchmarks to demonstrate where their bounds are tight or where gaps exist.

Key Insights and Ideas

  • Greed isn't Good: A "natural" algorithm that simply best-responds to all currently visible losses can suffer linear regret (it never learns). You need a strategy that accounts for the global structure of information flow.
  • The Power of Transitivity: The authors identify "transitive feedback graphs" (if you see $A$, and $A$ saw $B$, you also see $B$) as a crucial class. For these graphs, they prove their algorithm is both computationally efficient (via dynamic programming and flow decomposition) and achieves the mathematically optimal regret.
  • Correlated Adversaries: To prove lower bounds, the authors introduce a clever adversary that doesn't just pick losses independently. Instead, the adversary uses Brownian motion to create correlated losses that "hide" information from the learner across different parts of the graph.
  • Information Leakage: The regret is fundamentally tied to how much information about the adversary's "bias" leaks through the visible edges of the graph.

Key Results

  • General Upper Bound: The proposed algorithm achieves a regret of $O(UB(\mathcal{S})\sqrt{\log K})$, where $UB(\mathcal{S})$ is the value of their specific convex program.
  • Tightness for Transitive Graphs: For transitive graphs, this bound is shown to be optimal within a constant factor.
  • Efficiency: They provide a polynomial-time implementation for transitive graphs, solving a problem that initially looks like it requires checking an exponential number of paths.
  • Lower Bound Hierarchy: They establish a hierarchy of lower bounds ($LB \le ILB \le Regret$), showing that allowing the adversary to correlate losses (the $ILB$ program) provides a much stronger and more accurate lower bound than standard i.i.d. approaches.

Limitations and Future Work

  • Non-Transitive Graphs: While the algorithm works for any graph, the authors only prove it is optimal and efficient for transitive ones. For general directed acyclic graphs, the gap between their upper and lower bounds remains a conjecture (Conjecture 12).
  • Computational Complexity: For general graphs, finding the "basis" (the small set of orders needed to run the algorithm) might still be computationally hard.
  • Known Graphs: The current framework assumes the learner knows the feedback graph $\mathcal{S}$ in advance. A natural extension would be "online" feedback graphs where the visibility structure is revealed round-by-round.

Summary updated

BibTeX
@inproceedings{gatmiry2024adversarial,
  author = {Khashayar Gatmiry and Jon Schneider},
  title = {{Adversarial Online Learning with Temporal Feedback Graphs}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
}
Figure