TL;DR
This paper introduces a new "Best-of-Both-Worlds" (BoBW) algorithm for multi-armed bandits that handles delayed feedback with unprecedented efficiency. It is the first algorithm to simultaneously match the theoretical lower bounds for both stochastic and adversarial environments, notably improving the delay-related regret term in stochastic settings by a factor of $K$ (the number of arms).
The Challenge of Delayed Feedback in Bandits
In the standard Multi-Armed Bandit (MAB) problem, an agent chooses an "arm" and immediately receives a reward or loss. Traditionally, researchers split this problem into two distinct environments:
- Stochastic: Losses are drawn from a fixed, underlying distribution.
- Adversarial: Losses are chosen by a malicious opponent designed to trick the agent.
"Best-of-Both-Worlds" (BoBW) algorithms aim to perform optimally in either environment without knowing which one they are facing beforehand. However, real-world applications—like ad placement, recommendation systems, or clinical trials—rarely offer immediate feedback. Instead, they involve delayed feedback, where the result of an action isn't known until many rounds later.
While previous work made strides in delayed BoBW settings, a significant theoretical gap remained. In stochastic environments with adversarial delays, existing bounds were loose. The "penalty" for delay often scaled poorly with the number of arms $K$, making prior algorithms highly inefficient for problems with many choices.
Introducing Delayed SAPO
To close this gap, the authors propose the Delayed SAPO (Stochastic-Adversarial-Pushed-Optimal) algorithm. Built on a "Successive Elimination" framework, it incorporates several clever mechanisms to handle delays robustly:
- The Switch Mechanism: The algorithm initially assumes the world is stochastic. It performs Basic Stochastic Checks (BSC) to monitor if the observed losses are consistent with independent and identically distributed (i.i.d.) variables. If these checks fail, indicating an adversarial environment, it permanently switches to a robust adversarial algorithm (like FTRL).
- Eliminated Arms Processing (EAP): In a purely stochastic world, an algorithm can safely stop playing bad arms. In a BoBW world, a seemingly "bad" arm might actually be the best one in disguise due to adversarial manipulation. Delayed SAPO continues to play eliminated arms with a very low, decreasing probability to hedge against this.
- The Probability Bank: To handle delays, the algorithm uses a "bank" to store feedback that arrives after a specific sampling phase has ended. This ensures late-arriving data isn't wasted and doesn't bias the estimates, which is crucial for maintaining tight confidence intervals.
- Ordered Elimination: The algorithm is designed to eliminate arms roughly in descending order of their sub-optimality gaps. This specific ordering is the key to achieving a regret term that depends on the average gap rather than the maximum gap.
Key Results and Regret Bounds
The paper provides two primary theoretical guarantees, proving that Delayed SAPO matches the theoretical lower bounds in both regimes.
- Adversarial Regime: The algorithm achieves a regret of $\widetilde{O}(\sqrt{KT} + \sqrt{D})$. This is optimal up to logarithmic factors, where $D$ is the cumulative delay, matching the best possible adversarial bounds.
- Stochastic Regime: The regret scales as $\sum_{i:\Delta_i>0} \left( \frac{\log T}{\Delta_i} + \sigma_{max} \frac{\Delta_i}{K} \right)$.
- The first term is the standard optimal regret for non-delayed bandits.
- The second term (the delay penalty) is a major breakthrough. By treating delays as $\sigma_{max}$ (the maximum number of missing observations at any time), the authors prove the delay penalty doesn't have to scale with the time horizon $T$. Furthermore, it improves upon the best previous BoBW result by a factor of $K$.
A major insight driving this improvement is the realization that the additive regret from delays in the stochastic setting should scale with the average sub-optimality gap (which equates to $\sum \frac{\Delta_i}{K}$), rather than the maximum gap.
Limitations and Future Work
While theoretically optimal, the paper notes a few limitations and avenues for future research:
- Horizon Knowledge: The current algorithm requires knowing the total number of rounds $T$ in advance. While this can be bypassed with a standard "doubling trick," doing so usually adds extra logarithmic factors to the regret.
- Worst-Case Delays: The analysis focuses heavily on adversarial (worst-case) delays. Future research could explore "structured" delays—such as those that are i.i.d. or dependent on the specific arm chosen—which might allow for even tighter bounds.
- Computational Complexity: The management of "probability banks" and the constant monitoring of all arms (even eliminated ones) adds implementation complexity compared to simpler, albeit less optimal, bandit algorithms.
Summary updated