Epsilon-Best-Arm Identification in Pay-Per-Reward Multi-Armed Bandits

Sivan SabatoNeurIPS 2019

Introduction

In the classic "Best-Arm Identification" (BAI) problem within multi-armed bandits, an agent explores a set of options (arms) to find the one with the highest average reward. Traditionally, researchers assume every exploration step costs exactly one unit. However, real-world exploration is rarely a flat-rate endeavor.

Consider a retailer testing search queries for an advertising campaign: they pay per click. During the testing phase, these clicks do not generate profit yet, but the retailer still incurs costs from the search engine. High-quality queries (the "best arms") generate more clicks and thus cost more to test. This scenario perfectly illustrates the Pay-Per-Reward (PPR) setting, where the cost of "pulling an arm" is proportional to its expected reward.

The primary challenge in the PPR setting arises when dealing with massive or potentially infinite search spaces. Standard algorithms scale linearly with the number of arms ($K$), making them prohibitively expensive. This paper introduces MAB-PPR, a novel algorithm designed to identify a near-optimal arm with a total cost that is entirely independent of the number of arms.

The MAB-PPR Algorithm

The authors propose MAB-PPR, an algorithm whose design departs from standard "Median Elimination" strategies to accommodate the unique constraints of the PPR setting:

  1. Weight-Based Pruning: Instead of discarding half of the number of arms in each round, MAB-PPR aims to discard a constant fraction of the total expected reward (or "weight") of the arms.
  2. Two-Step Estimation: In each round, the algorithm performs two batches of pulls. The first batch estimates individual arm weights to create a sorted ranking. The second batch estimates the total weight of subsets of arms to determine exactly where to "cut" the list and discard low-performers.
  3. Median-of-Means (MoM): To handle "heavy-tailed" distributions—where a few rare, massive rewards could skew a simple average—the algorithm employs the MoM estimator. This involves dividing samples into blocks, calculating the mean of each block, and taking the median of those means.
  4. Handling Infinite Arms: For infinite arm sets, the algorithm pulls all arms simultaneously (e.g., by running a broad ad campaign) and only tracks those that return a non-zero reward in the first batch.

(Note: As a theoretical contribution, the paper focuses on mathematical proofs, complexity analysis, and algorithmic guarantees rather than empirical testing on specific datasets.)

Key Insights and Theoretical Guarantees

The most significant breakthrough of MAB-PPR is demonstrating that the complexity of finding the best arm depends on the total expected reward ($W$) of all arms, rather than the number of arms ($K$). If the vast majority of arms are low-reward "junk," they contribute minimally to the cost, even if there are billions of them.

By estimating the total weight of subsets directly in the second batch, the authors avoid accumulating errors that would otherwise require a "union bound" over the number of arms. Furthermore, unlike many bandit algorithms that require arms to be strictly independent, MAB-PPR functions effectively even if arm rewards are correlated, provided the variance of the sum of rewards is reasonably bounded by a constant $V$.

Cost Efficiency: MAB-PPR identifies an $\epsilon$-optimal arm with probability $1-\delta$ at a total cost of: $$O\left(W \log(1/\delta) \cdot \max\left(\frac{1}{\epsilon^2}, \frac{V}{\epsilon}\right)\right)$$

In a standard unit-cost model, identifying the best arm would cost at least $\Omega(W \log(K/\delta)/\epsilon^2)$. MAB-PPR effectively removes the dependence on $K$ and the $\log(K)$ factor, providing a massive computational and financial advantage when $K$ is exceptionally large. The algorithm also remains valid for reward distributions that are not strictly bounded, provided they have a finite variance.

Limitations and Future Directions

While MAB-PPR offers robust theoretical guarantees, its efficiency is tied to a variance constant $V$, which relates to the variance of the joint distribution of arms. If arms are highly positively correlated, $V$ could be large, thereby increasing the cost. Additionally, while the cost is independent of $K$, it still scales linearly with the total weight $W$. If the sum of rewards across all arms is divergent or extremely large, the algorithm remains expensive.

Future work aims to explore instance-specific bounds. Currently, MAB-PPR utilizes a "worst-case" approach; developing an instance-specific version could yield even faster results, particularly in scenarios where there is a large, clear gap between the best arm and the second-best arm.

Summary updated

BibTeX
@inproceedings{sabato2019epsilon,
  author = {Sivan Sabato},
  title = {{Epsilon-Best-Arm Identification in Pay-Per-Reward Multi-Armed Bandits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=R4ZdHEfZFh},
}
Figure