Pure Exploration in Bandits with Linear Constraints

Emil Carlsson, Debabrota Basu, Fredrik D. Johansson, Devdatt P. Dubhashi · DOI

Abstract

In many real-world decision-making scenarios, the optimal action is not a single "best arm" but a stochastic mixture of actions that satisfies specific constraints. This paper addresses the problem of pure exploration in multi-armed bandits under linear constraints. We derive a new information-theoretic lower bound for sample complexity and introduce two asymptotically optimal algorithms: Constrained Track-and-Stop (CTnS) and Constrained Game Explorer (CGE). Our methods leverage the geometry of the feasible set to identify the optimal policy efficiently, outperforming naive projection-based approaches.

Introduction

The classic Multi-Armed Bandit (MAB) framework typically aims to identify the single arm with the highest average reward. However, practical applications—ranging from clinical trials with toxicity limits to recommendation systems with diversity requirements—often impose constraints that a single arm cannot satisfy. In these cases, the optimal solution is a stochastic policy: a probability distribution over multiple arms.

A recent study by Carlsson et al. (AISTATS 2024) formalizes this as "Pure Exploration in Bandits with Linear Constraints." The core challenge lies in the fact that constraints fundamentally alter the problem's geometry, requiring new strategies to distinguish the optimal policy from sub-optimal alternatives.

Problem Formulation and Geometry

In the constrained setting, the learner seeks a policy $\pi$ (a vector in the probability simplex) that maximizes $\mu^T \pi$ subject to $A\pi \le b$. The optimal policy $\pi^*$ often lies on the boundary of the feasible region.

Figure 1: Illustration of the constrained bandit problem using a meal planning example. Constraints on calories and protein restrict the feasible policy space within the probability simplex.

The "hardness" of an instance is characterized by the normal cone of the feasible polytope. If the true reward vector $\mu$ is deep within the cone, the optimal policy is stable and easier to identify. Conversely, if $\mu$ is near the boundary, small estimation errors can lead to identifying the wrong optimal policy, increasing the required sample complexity.

Proposed Algorithms

The authors propose two primary algorithms to achieve asymptotic optimality:

  1. Constrained Track-and-Stop (CTnS): This algorithm tracks an optimal sampling allocation by performing a novel weighted projection onto the boundary of the normal cone. It ensures that the learner collects the most informative samples to rule out competing policies.
  2. Constrained Game Explorer (CGE): To address the computational intensity of CTnS, CGE frames the sampling problem as a zero-sum game between the learner and an adversary. The adversary chooses the most "confusing" alternative reward vector, while the learner uses AdaGrad to update its sampling strategy efficiently.

Experimental Results

The algorithms were evaluated on synthetic Gaussian and Bernoulli bandits, as well as a semi-synthetic IMDB movie recommendation task. In the IMDB task, the learner recommended movies subject to genre constraints (e.g., balancing action and drama).

Figure 2: Information-theoretic lower bounds for different constraint scenarios. Adding constraints can significantly alter the sample complexity required to identify the optimal policy.

Key findings include:

  • Efficiency: Both CTnS and CGE match the theoretical lower bound for sample complexity. CGE, in particular, offers a 10-100x computational speedup per step compared to CTnS.
  • Impact of Constraints: Constraints can make a problem easier by removing near-optimal arms or harder by forcing the solution onto a boundary where it is difficult to distinguish from alternatives.
  • Failure of Naive Methods: Algorithms that ignore constraints during exploration (like PTnS) perform poorly because they waste samples on arms that do not help resolve the constrained optimum.

Conclusion

This work provides a robust theoretical and algorithmic foundation for pure exploration under linear constraints. By moving beyond single-arm identification to policy identification, it opens doors for safer and more nuanced automated decision-making. Future research will explore settings with unknown constraints and non-linear boundaries.

Summary updated

BibTeX
@inproceedings{carlsson2024pure,
  author = {Emil Carlsson and Debabrota Basu and Fredrik D. Johansson and Devdatt P. Dubhashi},
  title = {{Pure Exploration in Bandits with Linear Constraints}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=irUnerGGYo},
}
Figure