Optimal Contextual Bandits with Knapsacks under Realizability via Regression Oracles

Yuxuan Han, Jialin Zeng, Yang Wang, Yang Xiang, Jiheng Zhang
10/21/2022
cs.LGstat.ML

Official code: quejialin/SquareCBwK (2 stars, Jupyter Notebook, MIT, last commit 2023-02-20).

Abstract

We study the stochastic contextual bandit with knapsacks (CBwK) problem, where each action, taken upon a context, not only leads to a random reward but also costs a random resource consumption in a vector form. The challenge is to maximize the total reward without violating the budget for each resource.

Show full abstract

We study this problem under a general realizability setting where the expected reward and expected cost are functions of contexts and actions in some given general function classes $\mathcal{F}$ and $\mathcal{G}$, respectively. Existing works on CBwK are restricted to the linear function class since they use UCB-type algorithms, which heavily rely on the linear form and thus are difficult to extend to general function classes. Motivated by online regression oracles that have been successfully applied to contextual bandits, we propose the first universal and optimal algorithmic framework for CBwK by reducing it to online regression. We also establish the lower regret bound to show the optimality of our algorithm for a variety of function classes.

View on arXivView PDF

Code Implementations(1)

MIT

Numerical simulation code for SquareCBwK under linear case

20Jupyter NotebookFeb 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{han2022optimal,
  title  = {Optimal Contextual Bandits with Knapsacks under Realizability via Regression Oracles},
  author = {Yuxuan Han and Jialin Zeng and Yang Wang and Yang Xiang and Jiheng Zhang},
  year   = {2022},
  eprint = {2210.11834},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11834}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.11834.svg)](https://codeofpaper.com/paper/2210.11834)

Discussion