Cost Aware Best Arm Identification

Kellen Kanarios, Qining Zhang, Lei Ying · DOI

Abstract

Traditional Best Arm Identification (BAI) frameworks assume that every sample or "pull" of an arm incurs a uniform cost. However, in real-world applications like clinical trials or A/B testing, testing costs and implementation rewards are often decoupled. We present Cost-Aware Best Arm Identification (CABAI), a framework designed to identify the arm with the highest mean reward while minimizing the total cumulative cost. We introduce two algorithms: Cost-aware Track and Stop (CTAS), which achieves asymptotic optimality, and Chernoff Overlap (CO), a computationally efficient alternative that utilizes a "square-root rule" for sampling. Our experimental results demonstrate that CO provides significant computational speedups—up to 40x—while maintaining near-optimal performance across various reward distributions.

Introduction

In the world of decision-making under uncertainty, the standard goal is often to find the "best" option as quickly as possible. Whether it's identifying the most effective drug in a clinical trial or the advertisement with the highest click-through rate, the mathematical framework of Best Arm Identification (BAI) has been the go-to model. However, traditional BAI makes a significant simplification: it assumes every test you run costs the same.

Researchers from the University of Michigan argue that this "one-size-fits-all" cost model fails in real-world scenarios where testing costs vary. For example, testing a new prototype might be far more expensive than testing an existing product, even if the prototype's potential reward is higher. The CABAI framework addresses this by formalizing the problem where each arm has both a reward distribution and a distinct cost distribution.

Methodology: CTAS and CO

The authors propose two primary strategies to navigate the trade-off between information gain and sampling cost:

  1. CTAS (Cost-aware Track and Stop): This is the theoretically optimal algorithm. It uses a "largest-deficit-first" sampling rule to ensure that the proportion of pulls for each arm matches a derived theoretical optimum. While it reaches the lower bound for cumulative cost, it is computationally expensive because it requires solving a complex optimization problem at every step.
  2. CO (Chernoff Overlap): To address the computational overhead of CTAS, the authors developed CO. This elimination-style algorithm employs a square-root rule: the sampling frequency is weighted by $\sqrt{c_a}$ (the square root of the expected cost). This allows the agent to gain maximum information for every dollar spent without solving heavy optimization problems.
Table 1: Comparison of TAS and CTAS algorithms, demonstrating how cost-awareness shifts sampling weights ($w_i$) to achieve optimality.

Experimental Results

The researchers evaluated their algorithms using synthetic simulations across Gaussian, Bernoulli, and Poisson distributions. The results highlight a critical insight: ignoring cost differences leads to massive resource waste. Traditional algorithms often spend far more budget than necessary because they cannot distinguish between an expensive sample and a cheap one.

As shown in the performance data, the CO algorithm was up to 20-40x faster than CTAS in terms of processing time while maintaining nearly identical performance in identifying the best arm. For instance, in a Poisson setting, CO took only 96 seconds to run 1,000 trajectories, whereas CTAS required 3,260 seconds.

Table 2: Computational efficiency (processing time in seconds) of various algorithms, showing the significant speed advantage of the CO algorithm across different distributions.

Conclusion

The CABAI framework represents a significant step toward making multi-armed bandit models more applicable to real-world constraints. By recognizing that "cheap information is a freebie," the CO algorithm allows practitioners to eliminate suboptimal, low-cost options early, preserving the budget for more critical, high-stakes comparisons. Future work will look to extend these cost-aware strategies to regret minimization settings and more complex multi-arm scenarios.

Full Paper Citation: Kanarios, K., Zhang, Q., & Ying, L. (2024). Cost Aware Best Arm Identification. arXiv:2402.16710v2 [cs.LG].

Summary updated

BibTeX
@inproceedings{kanarios2024cost,
  author = {Kellen Kanarios and Qining Zhang and Lei Ying},
  title = {{Cost Aware Best Arm Identification}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=UHaBsi6g9p},
}
Figure