A Best-of-both-worlds Algorithm for Bandits with Delayed Feedback with Robustness to Excessive Delays

Saeed Masoudian, Julian Zimmert, Yevgeny SeldinarXiv 2023

This blog post summarizes the paper: "A Best-of-both-worlds Algorithm for Bandits with Delayed Feedback with Robustness to Excessive Delays" by Saeed Masoudian, Julian Zimmert, and Yevgeny Seldin.

TL;DR

The authors present the first "best-of-both-worlds" multi-armed bandit algorithm that handles variable feedback delays without needing to know the maximum delay in advance. By combining implicit exploration with an adaptive skipping mechanism, the algorithm achieves optimal regret bounds in both stochastic and adversarial environments while remaining robust to extreme delay outliers.

What Problem Does This Paper Address?

In the classic multi-armed bandit (MAB) problem, a learner chooses an action and immediately sees the resulting loss. In the real world—think clinical trials or online advertising—feedback is often delayed. Furthermore, the nature of the environment is often unknown: are losses generated by a stable stochastic process, or by a malicious adversary?

"Best-of-both-worlds" (BoBW) algorithms are designed to be robust to this uncertainty, achieving the tight logarithmic regret typical of stochastic settings if the environment is benign, while maintaining the $O(\sqrt{T})$ safety net of adversarial settings if it isn't.

However, existing BoBW algorithms for delayed feedback had a major flaw: their performance (regret) depended linearly on the maximum possible delay ($d_{max}$). If even a single observation was delayed by a duration proportional to the total time horizon $T$, the regret bounds would explode. They also required knowing $d_{max}$ upfront to tune the algorithm. This paper aims to create a BoBW algorithm that is robust to such "excessive delays" (outliers) and doesn't require prior knowledge of delay magnitudes.

Methods

The proposed algorithm is a modification of the Follow-the-Regularized-Leader (FTRL) framework using a hybrid regularizer (combining Tsallis entropy and Shannon entropy). To handle the challenges of delayed, unbounded feedback, the authors introduce three key innovations:

  1. Implicit Exploration for BoBW: They introduce a novel implicit exploration scheme. By adding a carefully tuned bias term to the importance-weighted loss estimators, they control the variance of these estimates without needing to slow down the learning rate excessively.
  2. Adaptive Skipping: The algorithm maintains a running count of "active" outstanding observations. If an observation takes longer than a dynamically calculated threshold ($d_{max}^t$) to arrive, the algorithm "skips" it. This prevents a few massive delays from dominating the regret.
  3. Greedy Rearrangement Analysis: To prove the bounds, the authors developed a "Greedy Rearrangement" procedure. This mathematical tool allows them to relate "drifted regret" (regret calculated based on when information arrives) to standard regret (based on when actions are taken) without assuming delays are bounded.

Datasets

This is a theoretical paper focused on algorithmic design and regret analysis. No empirical datasets were used for training or evaluation.

Key Insights and Ideas

  • Information vs. Time: A core conceptual insight is that the complexity of MAB with delays is characterized by the amount of information missing at the time of decision-making (the number of outstanding observations, $\sigma_t$), rather than the duration for which it is missing (the delays, $d_t$).
  • Skipping as a Necessity: While skipping was an optional "add-on" in previous adversarial-only work, here it becomes an indispensable part of the BoBW mechanism. It limits the time span over which the algorithm must control "distribution drift" (how much the arm-selection strategy changes between taking an action and receiving its feedback).
  • Robustness to Outliers: Because the regret bounds depend on the number of skipped rounds and the number of outstanding observations rather than the raw magnitude of delays, the algorithm is naturally robust to extreme outliers (e.g., feedback that never arrives).

Key Results

The paper's main contribution is summarized in the comparison table below, which contrasts their results with previous state-of-the-art methods.

Comparison of regret bounds against prior work. Note how this paper replaces the linear dependence on $d_{max}$ with terms related to $\sigma_{max}$ and skipped rounds $S^*$.

Key quantitative takeaways: * Removal of $d_{max}$: Unlike Masoudian et al. (2022), this algorithm's regret does not scale linearly with the maximum delay. In scenarios where $d_{max}$ is large but the number of outstanding observations $\sigma_{max}$ is small, this improvement is dramatic (potentially changing regret from $O(T)$ to $O(\sqrt{T})$ or $O(\log T)$). * Adversarial Bound: The algorithm matches the lower bound for adversarial environments within a multiplicative factor of $K^{1/3}$ on the delay-dependent term. This $K^{1/3}$ is the "price" paid for achieving BoBW robustness. * Stochastic Bound: In the stochastic setting, the algorithm achieves the optimal logarithmic rate, with additive terms related to the missing information ($\sigma_{max}$) and the cost of skipping ($S^*$).

Limitations and Future Work

  • The $K^{1/3}$ Factor: The authors note it is currently an open question whether the $K^{1/3}$ factor in the adversarial delay-dependent term is inevitable for BoBW algorithms or if it can be reduced to match the adversarial-only optimal rates.
  • Stochastic Term Tightness: The stochastic bound includes some extra terms (like $S^*$) compared to algorithms designed only for stochastic delayed bandits. Future work could investigate if these terms are fundamental to the BoBW requirement.
  • Unique Best Arm: The analysis assumes a unique best arm in the stochastic setting, a common but simplifying assumption that could be relaxed in future research.

Summary updated

BibTeX
@misc{masoudian2023best,
  author = {Saeed Masoudian and Julian Zimmert and Yevgeny Seldin},
  title = {{A Best-of-both-worlds Algorithm for Bandits with Delayed Feedback with Robustness to Excessive Delays}},
  year = {2023},
  eprint = {2308.10675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.10675},
}
Figure