Best Arm Identification with Safety Constraints

Zhenlin Wang, Andrew Wagenmaker, Kevin G. Jamieson

Introduction

In standard Multi-Armed Bandit (MAB) problems, an agent explores various options to identify the one with the highest reward. However, in safety-critical domains like clinical drug trials, exploration is constrained by unknown safety thresholds. For instance, in dose-finding trials, increasing dosage may improve efficacy but also increases toxicity. A learner must identify the "best safe dose" without ever exceeding the toxicity limit during the experiment. This paper introduces a framework for Best Arm Identification (BAI) with Safety Constraints, providing algorithms that achieve near-optimal sample complexity while guaranteeing safety with high probability.

The Safe BAI Problem

The Safe BAI problem requires a learner to identify the arm with the highest reward at its maximum safe dose. The learner starts with a known "baseline" safe dose for each arm but must learn the actual safety limits on the fly. The objectives are threefold:

  1. Identification: Correctly find the optimal safe arm.
  2. Safety: Ensure every sample taken satisfies the safety constraint.
  3. Efficiency: Minimize the total number of pulls (sample complexity).

Proposed Algorithms

The authors propose two primary algorithms based on an action-elimination strategy:

  • SafeBAI-Linear: Tailored for settings where rewards and safety constraints are linear functions of the dose. It operates in epochs, maintaining estimates of verifiably safe and unsafe doses. By sampling at the largest known safe dose, it maximizes the signal-to-noise ratio to refine safety and reward estimates efficiently.
  • SafeBAI-Monotonic: A more general approach assuming only monotonicity and Lipschitz smoothness. It utilizes a small "safety gap" ($\epsilon_{safe}$) to probe near the safety boundary, allowing it to verify suboptimality without crossing the threshold.

Unlike previous safe optimization methods like SafeOpt, these algorithms include verifiable stopping criteria, allowing the agent to terminate once the best arm is identified with the required confidence.

Key Results and Performance

The proposed algorithms demonstrate significant improvements in both theoretical sample complexity and empirical performance.

Simple regret comparison for linear response models.

In the linear response model, SafeBAI-Linear significantly outperforms baselines such as Safe-LTS and SafeOpt. As shown in the regret plot above, SafeBAI-Linear identifies the optimal arm much faster, reaching low regret levels in significantly fewer pulls.

Sample complexity scaling with problem dimension.

Furthermore, the efficiency gains of SafeBAI-Linear scale well with the problem's dimensionality. While the average number of pulls for Safe-LTS and SafeOpt increases sharply with the dimension $d$, SafeBAI-Linear maintains a much lower and more stable sample complexity.

In non-linear drug response simulations using logistic functions, SafeBAI-Monotonic similarly outperformed SafeOpt, requiring approximately half the samples to reach termination. Additionally, SafeBAI-Monotonic is computationally more efficient, avoiding the scaling issues associated with the Gaussian Processes used in SafeOpt.

Conclusion

This work establishes a rigorous foundation for safe best arm identification. By focusing on elimination rather than total reward maximization (regret), the proposed algorithms achieve superior efficiency while maintaining strict safety guarantees. Future research may address challenges such as finding initial safe doses in entirely unknown environments or extending guarantees to non-monotonic response curves.

Summary updated

BibTeX
@inproceedings{wang2022best,
  author = {Zhenlin Wang and Andrew Wagenmaker and Kevin G. Jamieson},
  title = {{Best Arm Identification with Safety Constraints}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=9h1C6xB6Uj},
}
Figure