Bandits with concave rewards and convex knapsacks

Shipra Agrawal, Nikhil R. Devanur

Abstract

The classic Multi-Armed Bandit (MAB) framework, while foundational, often fails to capture the complexity of real-world resource allocation problems characterized by diminishing returns and sophisticated constraints. In this work, Agrawal and Devanur introduce the Bandits with Convex knapsacks and concave Rewards (BwCR) problem. This framework generalizes previous models by allowing for arbitrary concave reward functions and convex resource constraints. The authors provide a suite of algorithms—ranging from a robust Upper Confidence Bound (UCB) approach to computationally efficient primal and dual methods—that achieve near-optimal $O(\sqrt{T})$ regret. This research effectively bridges the gap between sequential decision-making and general convex optimization.

1. Introduction

The Multi-Armed Bandit (MAB) problem is a cornerstone of machine learning, providing a robust model for the exploration-exploitation tradeoff. However, the standard MAB model assumes that total rewards are simply the sum of individual rewards and that the only constraint is the total number of rounds. In many practical applications, such as internet advertising or network routing, these assumptions are overly restrictive.

For instance, an advertiser might face a concave utility function where the marginal value of a click decreases as the volume increases. Simultaneously, they must navigate complex, global constraints involving regional budgets and data limits. While previous extensions like Bandits with Knapsacks (BwK) introduced linear constraints, they did not account for the non-linearities inherent in many economic and engineering systems. This paper addresses these gaps by introducing the BwCR framework, representing a massive generalization of the bandit problem into the realm of convex optimization.

2. The BwCR Problem Formulation

The BwCR problem is defined by a set of arms, where each arm pull yields a vector-valued observation. The goal is to maximize a global reward function that is concave with respect to the average of these observations, subject to constraints that the average observation must lie within a convex set (the "knapsack").

This formulation is powerful because it subsumes several classic problems:

  • Standard MAB: Where the reward is linear and there are no resource constraints.
  • Bandits with Knapsacks (BwK): Where rewards and constraints are linear.
  • Convex Optimization: BwCR can be viewed as a stochastic, sequential version of a general convex program.

3. Algorithmic Framework

The authors propose three primary algorithmic approaches to solve the BwCR problem, each balancing theoretical elegance with computational practicality.

3.1 UCB for BwCR

The primary algorithm (Algorithm 1) extends the Upper Confidence Bound (UCB) principle to vector-valued observations. Instead of tracking a scalar reward, the algorithm maintains a $d$-dimensional "confidence hypercube" for each arm. At each time step, it solves a minimax optimization problem: it identifies a distribution over arms that maximizes the best-case concave reward while ensuring that even the worst-case resource consumption satisfies the convex constraints.

3.2 Computationally Efficient Alternatives

Recognizing that solving a minimax problem at every step is computationally intensive, the authors introduce two faster alternatives:

  • The Dual Algorithm: This approach utilizes Fenchel duality to transform the bandit problem into an Online Convex Optimization (OCO) task. By maintaining dual variables associated with the constraints, the algorithm can make decisions using simpler gradient-based updates.
  • The Primal Algorithm: Based on the Frank-Wolfe (or conditional gradient) technique, this algorithm is "projection-free." It avoids expensive projections onto the constraint set by using linear approximations of the objective function, making it highly scalable.

To handle non-smooth functions, particularly when dealing with the boundaries of constraint sets, the authors employ Nesterov’s smoothing technique. This ensures the objective functions are sufficiently differentiable for the primal algorithm to maintain its performance guarantees.

4. Key Theoretical Results

The central contribution of the paper is the proof of near-optimal regret bounds. The authors demonstrate that their algorithms achieve a regret of $O(\sqrt{T})$ for both the objective function and the constraint satisfaction.

  • Convergence: As the time horizon $T$ increases, the average reward of the algorithm converges to the optimal offline strategy at a rate of $1/\sqrt{T}$.
  • Constraint Satisfaction: By using a "shrunken" version of the constraint set, the algorithms build in a safety margin, ensuring that "hard" constraints are satisfied with high probability over the duration of the experiment.
  • Linear Contextual Extension: The authors further extend the model to a linear contextual version. This allows the framework to handle problems with a massive number of arms (e.g., millions of ads) by learning a weight vector for features, making the regret independent of the total number of arms.

5. Conclusion

Agrawal and Devanur’s work provides a unified perspective on bandits and optimization. By showing that simple extensions of UCB and Frank-Wolfe can solve the BwCR problem, they establish deep connections between bandit theory and Blackwell approachability. While the theoretical foundations are robust, future work remains in optimizing these algorithms for ultra-high-speed systems and exploring their performance in highly dynamic, time-varying environments.

Summary updated

BibTeX
@inproceedings{agrawal2014bandits,
  author = {Shipra Agrawal and Nikhil R. Devanur},
  title = {{Bandits with concave rewards and convex knapsacks}},
  booktitle = {EC},
  year = {2014},
  url = {https://openreview.net/forum?id=iKDJHxZBma},
}
Figure