TL;DR
This paper tackles the "Best of Both Worlds" (BOB) challenge in fixed-budget best-arm identification for multi-armed bandits, asking if a single algorithm can perform optimally in both stochastic (easy) and adversarial (hard) environments. The authors prove that a universally optimal solution is mathematically impossible and establish a new lower bound for robust learners. They then introduce ProbabilityONE (P1)—a simple, parameter-free algorithm that achieves this optimal trade-off up to logarithmic factors.
What Problem Does This Paper Address?
Best-arm identification (BAI) is a classic problem in machine learning and statistics where a learner tries to identify the single best option (arm) out of $K$ choices given a fixed budget of total pulls.
Traditionally, algorithms are optimized for one of two distinct environments:
- Stochastic: Rewards come from fixed, independent and identically distributed (i.i.d.) distributions. Here, smart algorithms quickly eliminate bad arms and focus heavily on distinguishing the top contenders.
- Adversarial: Rewards are chosen arbitrarily or maliciously by an adversary. In this setting, aggressive elimination fails catastrophically; the optimal strategy is a conservative, uniform random exploration to avoid being tricked.
The core question of this paper is: Can we design a learner that performs optimally in both settings without knowing the nature of the rewards in advance?
Methods
The authors first prove an impossibility result: any algorithm constrained to be robust against an adversary cannot achieve the absolute optimal error rate across all stochastic problems. To characterize this fundamental limitation, they introduce a new complexity measure, $H_{BOB}$, which dictates the best achievable error rate for a robust learner in a stochastic environment.
To bridge the gap, they propose a novel algorithm called ProbabilityONE (P1). P1 is entirely parameter-free and anytime (it doesn't need to know the budget $n$ in advance).
Unlike standard stochastic algorithms that use hard elimination phases, P1 employs a smooth, randomized sampling routine at every round $t$:
- It ranks all arms based on their estimated cumulative gains ($\tilde{G}_{k,t-1}$).
- It samples the arm with rank $r$ with a probability proportional to $1 / (r \cdot \log K)$, following a Zipf distribution.
This elegant design ensures that promising arms are sampled more frequently (minimizing variance where it matters most), while guaranteeing that even the worst-looking arm retains a baseline exploration probability of $\Omega(1/(K \log K))$, preserving adversarial robustness.
Datasets
The paper evaluates the proposed algorithm using synthetic simulations across 8 distinct experimental setups (adapted from Audibert et al., 2010) to test various reward gap configurations:
- One group of bad arms: One optimal arm, all others significantly worse.
- Two groups of bad arms: Arms clustered into two distinct suboptimal tiers.
- Geometric progression: Reward gaps decrease geometrically.
- Three groups: Six arms split into three distinct performance tiers.
- Arithmetic progression: Reward gaps decrease linearly.
- Two good arms: A large group of bad arms with two highly competitive top arms.
- Three groups of bad arms: 30 arms split into three tiers.
- Square-root gaps: A newly introduced scenario ($K=100$) specifically designed to maximize the gap between standard stochastic complexity ($H_{SR}$) and the new robust complexity ($H_{BOB}$).
No real-world datasets were used in this work.
Key Insights and Ideas
- The Robustness Tax: To remain safe against adversarial manipulation, a learner must inherently sacrifice performance on a subset of stochastic problems. This "tax" is precisely quantified by the new $H_{BOB}$ metric.
- The "Square-Root Gaps" Phenomenon: For certain gap structures, the complexity of finding the best arm while remaining robust ($H_{BOB}$) is larger than the purely stochastic complexity ($H_{SR}$) by a factor of $\sqrt{K/2}$. This proves that standard stochastic learners are fundamentally fragile.
- Power of Zipf's Law: Instead of running complex statistical tests to detect whether the environment is stochastic or adversarial, P1 relies entirely on a rank-based probability distribution. This single mechanism naturally balances the aggressive exploitation needed for stochastic settings with the heavy exploration required for adversarial ones.
Key Results
- Theoretical Tightness: The authors prove that P1's probability of error matches the new $H_{BOB}$ lower bound in stochastic settings up to logarithmic factors, while remaining robust in adversarial settings (matching the uniform strategy up to a $\log K$ factor).
- Empirical Success: In simulations across all 8 configurations, P1 consistently outperforms the uniform allocation strategy in stochastic settings. Furthermore, it closely tracks the performance of Sequential Halving (SR)—an algorithm explicitly specialized for stochastic environments that fails completely against adversaries.
Limitations and Future Work
- Logarithmic Gaps: There remains a small gap (extra log factors) between P1's upper bound and the proven lower bound, leaving room for algorithmic refinement.
- Fixed-Confidence Setting: The primary focus of this paper is the fixed-budget setting. While the authors sketch out how P1's sampling routine could be extended to a fixed-confidence framework (termed "Freedman Races"), the full mathematical analysis is left for future work.
- Oblivious vs. Adaptive Adversaries: The adversarial guarantees assume an oblivious adversary (rewards are fixed before the game starts). Extending these tight bounds to adaptive adversaries (who change rewards based on the learner's past actions) remains an open challenge.
Summary updated