Improved Best-of-Both-Worlds Regret for Bandits with Delayed Feedback

Ofir Schlisselberg, Tal Lancewicki, Peter Auer, Yishay Mansour · DOI

TL;DR

This paper introduces a new "Best-of-Both-Worlds" (BoBW) algorithm for multi-armed bandits that handles adversarial delays in feedback. It is the first algorithm to simultaneously match the known theoretical lower bounds for both stochastic (nice) and adversarial (mean) environments, specifically improving the regret penalty caused by delays in stochastic settings by a factor of $K$ (the number of arms).

What Problem Does This Paper Address?

In the Multi-Armed Bandit (MAB) problem, an agent chooses an action and receives a reward (or loss). Usually, we assume feedback is instant. However, in the real world—like clinical trials or ad-tech—feedback is often delayed.

Furthermore, researchers usually design algorithms for one of two "worlds":

  1. The Stochastic World: Losses are drawn from a fixed distribution (predictable).
  2. The Adversarial World: Losses are chosen by an opponent (unpredictable).

The "Best-of-Both-Worlds" (BoBW) challenge is to create a single algorithm that performs optimally in either world without knowing which one it's in beforehand. While progress has been made for instant feedback, existing BoBW algorithms for delayed feedback had significant performance gaps, particularly in how they handled the "regret" (the difference between the algorithm's performance and the best possible action) relative to the length of the delays.

Methods

The authors propose the Delayed SAPO (Stochastic-Adversarial-Pop-Out) algorithm. It follows an "adaptive approach":

  • Initial Optimism: The algorithm starts by assuming the world is stochastic. it uses a Successive Elimination (SE) framework, where it maintains a set of "active" arms and plays them with equal probability.
  • Basic Stochastic Checks (BSC): It constantly monitors the incoming (delayed) feedback. If the losses look too erratic or the regret grows too fast to be stochastic, it triggers a "panic button."
  • The Switch: Once the BSC detects non-stochastic behavior, the algorithm permanently switches to a robust adversarial algorithm (like a delayed version of EXP3 or FTRL).
  • Eliminated Arms Processing (EAP): To prevent being "tricked" by an adversary who makes an arm look bad early only to make it great later, the algorithm continues to sample "eliminated" arms with a very low, decaying probability.
  • Ghosting (The Secret Sauce): In a refined version of the algorithm, they introduce a "ghosting" period. Instead of eliminating an arm immediately when it looks sub-optimal, the arm enters a transition phase. This helps eliminate a logarithmic factor ($\log K$) from the regret bound, making the result even tighter.

Datasets

Not discussed in the paper. This is a theoretical work focused on mathematical proofs of regret bounds. No empirical experiments or datasets were used for evaluation.

Key Insights and Ideas

  • Average vs. Maximum Gap: Previous stochastic bounds for delayed feedback scaled with the maximum sub-optimality gap ($\Delta_{max}$) multiplied by the delay. This paper proves that you can actually scale with the average gap ($\Delta_{avg}$), which is much smaller.
  • The $1/K$ Factor: The authors show that in stochastic settings, the penalty for delay can be reduced by a factor of $1/K$. Intuitively, because the algorithm spreads its plays across $K$ arms, the "missing" information from a delay is diluted.
  • Robustness to Adversarial Delays: Unlike some prior work that assumed delays were random/stochastic, this algorithm works even if an adversary chooses the delays to be as unhelpful as possible.
  • Eliminating the $\Phi^*$ Term: Previous state-of-the-art BoBW algorithms for delays had a complex additive term ($\Phi^*$) that grew significantly if even a single delay was very large. This paper eliminates that term entirely, making the algorithm much more robust to "long-tail" delays.

Key Results

The paper provides two main regret bounds (simplified for clarity):

  1. Adversarial Regime: The regret is $O(\sqrt{KT \log T} + \sqrt{D})$, where $T$ is the number of rounds and $D$ is the total cumulative delay. This matches the optimal bound for adversarial bandits with delay.
  2. Stochastic Regime: The regret is $O\left(\sum_{i:\Delta_i>0} \frac{\log T}{\Delta_i} + \sigma_{max} \Delta_{avg} \log K\right)$, where $\sigma_{max}$ is the maximum number of observations missing at any time.

The breakthrough here is the second term: by achieving a dependence on $\Delta_{avg}$ and improving the dependence on $K$, they provide a bound that is strictly better than previous BoBW results and even beats algorithms designed specifically for the stochastic-only case.

Limitations and Future Work

  • The One-Way Switch: The algorithm is "monotone"—once it detects adversarial behavior and switches to the adversarial sub-routine, it never switches back. If an environment is adversarial for a short burst and then returns to being stochastic, the algorithm won't capitalize on that return to stability.
  • Oblivious Adversary: The proofs assume an "oblivious" adversary (one who chooses losses and delays before the game starts), rather than an "adaptive" one who reacts to the agent's specific choices in real-time.
  • Structured Delays: The authors suggest that future research could look at specific delay structures (like delays that are correlated with the reward itself) to see if even tighter bounds are possible.

Summary updated

BibTeX
@inproceedings{schlisselberg2025improved,
  author = {Ofir Schlisselberg and Tal Lancewicki and Peter Auer and Yishay Mansour},
  title = {{Improved Best-of-Both-Worlds Regret for Bandits with Delayed Feedback}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=KW7hQhOJiJ},
}
Figure