Quantum Algorithms for Bandits with Knapsacks with Improved Regret and Time Complexities

Yuexin Su, Ziyi Yang, Peiyuan Huang, Tongyang Li, Yinyu Ye
7/6/2025
quant-phcs.DScs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Bandits with knapsacks (BwK) constitute a fundamental model that combines aspects of stochastic integer programming with online learning. Classical algorithms for BwK with a time horizon $T$ achieve a problem-independent regret bound of ${O}(\sqrt{T})$ and a problem-dependent bound of ${O}(\log T)$. In this paper, we initiate the study of the BwK model in the setting of quantum computing, where both reward and resource consumption can be accessed via quantum oracles. We establish both problem-independent and problem-dependent regret bounds for quantum BwK algorithms. For the problem-independent case, we demonstrate that a quantum approach can improve the classical regret bound by a factor of $(1+\sqrt{B/\mathrm{OPT}_\mathrm{LP}})$, where $B$ is budget constraint in BwK and $\mathrm{OPT}_{\mathrm{LP}}$ denotes the optimal value of a linear programming relaxation of the BwK problem. For the problem-dependent setting, we develop a quantum algorithm using an inexact quantum linear programming solver. This algorithm achieves a quadratic improvement in terms of the problem-dependent parameters, as well as a polynomial speedup of time complexity on problem's dimensions compared to classical counterparts. Compared to previous works on quantum algorithms for multi-armed bandits, our study is the first to consider bandit models with resource constraints and hence shed light on operations research.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{su2025quantum,
  title  = {Quantum Algorithms for Bandits with Knapsacks with Improved Regret and Time Complexities},
  author = {Yuexin Su and Ziyi Yang and Peiyuan Huang and Tongyang Li and Yinyu Ye},
  year   = {2025},
  eprint = {2507.04438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.04438v1}
}

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/2507.04438.svg)](https://codeofpaper.com/paper/2507.04438)

Discussion