Skip to main content
QUICK REVIEW

[Paper Review] Linear Contextual Bandits with Knapsacks

Shipra Agrawal, Nikhil R. Devanur|arXiv (Cornell University)|Jul 24, 2015
Advanced Bandit Algorithms ResearchDecision Sciences35 citations
TL;DR

This paper introduces a linear contextual bandit framework with knapsack constraints, where rewards and resource consumptions depend linearly on contextual features. It proposes an algorithm with near-optimal regret bounds that scale as $\tilde{O}\left(\left(\frac{\text{OPT}}{B}+1\right)m\sqrt{T}\right)$, leveraging confidence ellipsoids and adaptive policy estimation under budget constraints.

ABSTRACT

We consider the linear contextual bandit problem with resource consumption, in addition to reward generation. In each round, the outcome of pulling an arm is a reward as well as a vector of resource consumptions. The expected values of these outcomes depend linearly on the context of that arm. The budget/capacity constraints require that the total consumption doesn't exceed the budget for each resource. The objective is once again to maximize the total reward. This problem turns out to be a common generalization of classic linear contextual bandits (linContextual), bandits with knapsacks (BwK), and the online stochastic packing problem (OSPP). We present algorithms with near-optimal regret bounds for this problem. Our bounds compare favorably to results on the unstructured version of the problem where the relation between the contexts and the outcomes could be arbitrary, but the algorithm only competes against a fixed set of policies accessible through an optimization oracle. We combine techniques from the work on linContextual, BwK, and OSPP in a nontrivial manner while also tackling new difficulties that are not present in any of these special cases.

Motivation & Objective

  • To address the challenge of online decision-making under multiple resource constraints in linear contextual bandit settings.
  • To generalize classic linear contextual bandits and bandits with knapsacks by incorporating linear dependence of rewards and consumptions on context vectors.
  • To develop an algorithm that achieves near-optimal regret without requiring oracle access to NP-hard optimization problems.
  • To ensure performance guarantees under budget constraints while maintaining scalability in high-dimensional arm spaces.
  • To provide a regret bound independent of the number of arms $K$, making it suitable for large-scale applications like online advertising and recommendation systems.

Proposed method

  • Model the expected reward and consumption vectors as linear functions of context vectors using unknown parameters $\mu_*$ and $W_*$.
  • Maintain confidence ellipsoids around estimated parameters $\hat{\mu}_t$ and $\hat{W}_t$ to quantify uncertainty in parameter estimates.
  • Use a policy selection rule that maximizes $\|X_t p_t\|_{M_t^{-1}}$ to prioritize exploration in directions of highest uncertainty.
  • Introduce a thresholded estimation of optimal policy value $\hat{\text{OPT}}^{2\gamma}$ to bound estimation error and ensure stability.
  • Apply a two-phase approach: initial exploration phase of $T_0$ rounds followed by a policy optimization phase under reduced uncertainty.
  • Derive regret bounds by combining concentration inequalities and Cauchy-Schwarz-type bounds on parameter estimation errors and policy deviations.

Experimental results

Research questions

  • RQ1Can we achieve near-optimal regret in linear contextual bandits with multiple resource constraints without oracle access to hard optimization problems?
  • RQ2How can we exploit the linear structure of rewards and consumptions to reduce regret dependence on the number of arms $K$?
  • RQ3What is the optimal trade-off between exploration and exploitation under budget constraints in a stochastic linear bandit setting?
  • RQ4How can confidence ellipsoids be used to guide exploration while ensuring cumulative consumption remains within budget?
  • RQ5What is the tightest possible regret bound for this problem class, and how does it scale with $T$, $B$, and $m$?

Key findings

  • The proposed algorithm achieves a high-probability regret bound of $\tilde{O}\left(\left(\frac{\text{OPT}}{B}+1\right)m\sqrt{T}\right)$ when $B > mT^{3/4}$ and $T_0 = \sqrt{T}$.
  • The regret bound is independent of the number of arms $K$, making it suitable for large-scale applications such as online advertising and recommendation systems.
  • The algorithm ensures that the estimated optimal policy value $\hat{\text{OPT}}^{2\gamma}$ is within a constant factor of the true $\text{OPT}$ when $B \geq \gamma$, with high probability.
  • By using confidence ellipsoids and maximizing uncertainty-aware exploration, the method effectively reduces estimation error in $\mu_*$ and $W_*$.
  • The analysis shows that the cumulative deviation between estimated and true policy values is bounded by $O\left(m\sqrt{T_0 \ln(T_0) \ln(T_0 d / \delta)}\right)$, which is critical for regret control.
  • The method avoids reliance on an optimization oracle for NP-hard problems, unlike prior unstructured approaches, enabling practical deployment in real-world settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.