Multi-armed bandits with censored consumption of resources

Viktor Bengs, Eyke Hüllermeier

Abstract

We consider a resource-aware variant of the classical multi-armed bandit problem: In each round, the learner selects an arm and determines a resource limit. It then observes a corresponding (random) reward, provided the (random) amount of consumed resources remains below the limit. Otherwise, the observation is censored, i.e., no reward is obtained. For this problem setting, we introduce a measure of regret, which incorporates both the actual amount of consumed resources of each learning round and the optimality of realizable rewards as well as the risk of exceeding the allocated resource limit. Thus, to minimize regret, the learner needs to set a resource limit and choose an arm in such a way that the chance to realize a high reward within the predefined resource limit is high, while the resource limit itself should be kept as low as possible. We propose a UCB-inspired online learning algorithm, which we analyze theoretically in terms of its regret upper bound. In a simulation study, we show that our learning algorithm outperforms straightforward extensions of standard multi-armed bandit algorithms.

Introduction

In classical multi-armed bandit (MAB) problems, an agent pulls an arm and receives a reward. However, in many practical applications—such as automated machine learning (AutoML) or cloud computing—actions consume resources like time, energy, or money. If an action exceeds a predefined resource limit, it is often terminated, resulting in zero reward and "censored" feedback: the agent knows the resource consumption exceeded the limit but does not know the final outcome.

This paper addresses the challenge of balancing three competing objectives: maximizing reward, minimizing resource consumption, and managing the risk of timeouts. To solve this, the authors introduce a new framework based on the Penalized Expected Gain ($v_{i\tau}$), which formalizes the trade-off between seeking high rewards and minimizing resource waste.

The penalized expected gain $v_{i\tau}$ as a function of the resource limit $\tau$ for different model configurations.

Proposed Algorithms

The authors propose two primary algorithms to navigate this complex decision space:

  • RCUCB (Resource-censored Upper Confidence Bound): Designed for a finite set of resource limits. It uses empirical survival function estimates to handle censored data, recognizing that a success at a low limit provides information about higher limits.
  • z-RCUCB (Zooming-RCUCB): Extends the approach to continuous resource limits using a "zooming" strategy that hierarchically refines the search space in promising regions.

A key insight is that censored data is still informative: a timeout tells the learner that resource consumption is at least greater than the chosen limit. RCUCB exploits this to build more accurate confidence bounds and has a built-in tendency to explore higher resource limits early on to reduce uncertainty.

Experimental Evaluation

The algorithms were evaluated on synthetic datasets and a real-world AutoML task. The synthetic environments—PosCorr, NegCorr, and Indep—model different relationships between reward and resource consumption.

Joint distributions of rewards and resources for the three synthetic models (PosCorr, NegCorr, Indep).

As shown in the figure above, the joint distribution of rewards and resources varies significantly across models. In the real-world Random Forest configuration task (AmesHousing dataset), RCUCB achieved higher cumulative rewards and significantly fewer timeouts (~6%) compared to standard UCB and Thompson Sampling baselines (~28%).

Conclusion

This work provides a robust framework for resource-aware bandits with censored feedback. By modeling the joint distribution of rewards and resources, the proposed RCUCB algorithms achieve superior performance and theoretical regret guarantees. Future work includes extending this to combinatorial settings and exploring non-numerical feedback mechanisms.

Summary updated

BibTeX
@article{bengs2023multi,
  author = {Viktor Bengs and Eyke Hüllermeier},
  title = {{Multi-armed bandits with censored consumption of resources}},
  journal = {Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=vbr7ZaGWhs_},
}
Figure