On Stochastic Contextual Bandits with Knapsacks in Small Budget Regime
Hengquan Guo, Xin Liu
Abstract
This paper studies stochastic contextual bandits with knapsack constraints (CBwK), where a learner observes a context, takes an action, receives a reward, and incurs a vector of costs at every round. The learner aims to maximize the cumulative rewards across T rounds under the knapsack constraints with an initial budget of B. We study CBwK in the small budget regime where the budget B " Ωp ?
T q and propose an Adaptive and Universal Primal-Dual algorithm (AUPD) that achieves strong regret performance: 1) AUPD achieves Õpp1
νδ b q ? T q regret under the strict feasibility assumption without any prior information, matching the bestknown bounds; 2) AUPD achieves Õp ? T ν? b T 3 4 q regret without strict feasibility assumption, which, to the best of our knowledge, is the first result in the literature. Here, the parameter ν ˚represents the optimal average reward; b " BT is the average budget and δb is the feasibility/safety margin. We establish these strong results through the adaptive budget-aware design, which effectively balances reward maximization and budget consumption. We provide a new perspective on analyzing budget consumption using the Lyapunov drift method, along with a refined analysis of its cumulative variance. Our theory is further supported by experiments conducted on a large-scale dataset.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Safe and Optimal Online Bidding: A Modular Look-ahead Lyapunov Framework cites An Efficient Pessimistic-Optimistic Algorithm for Stochastic Linear Bandits with General Constraints
- Towards Safe and Optimal Online Bidding: A Modular Look-ahead Lyapunov Framework cites Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles
- Towards Safe and Optimal Online Bidding: A Modular Look-ahead Lyapunov Framework cites Triple-Optimistic Learning for Stochastic Contextual Bandits with General Constraints
- Triple-Optimistic Learning for Stochastic Contextual Bandits with General Constraints cites Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles
- Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem cites Bandits with Knapsacks beyond the Worst Case
- Contextual Multi-Armed Bandits with Minimum Aggregated Revenue Constraints cites Triple-Optimistic Learning for Stochastic Contextual Bandits with General Constraints
- Contextual Multi-Armed Bandits with Minimum Aggregated Revenue Constraints cites Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem
Cited by top-tier papers4
- Near-Optimal Online Deployment and Routing for Streaming LLMsShaoang Li, Jian LiICLR 2026 · 3 citations
- Towards Safe and Optimal Online Bidding: A Modular Look-ahead Lyapunov FrameworkHengquan Guo, Haobo Zhang, Junwei Pan, Shudong Huang et al.ICLR 2026
- Triple-Optimistic Learning for Stochastic Contextual Bandits with General ConstraintsHengquan Guo, Lingkai Zu, Xin LiuICML 2025
- Contextual Multi-Armed Bandits with Minimum Aggregated Revenue ConstraintsAhmed Ben Yahmed, Hafedh El Ferchichi, Marc Abeille, Vianney PerchetICLR 2026
Builds on11
- Beyond UCB: Optimal and Efficient Contextual Bandits with Regression OraclesDylan J. Foster, Alexander RakhlinICML 2020 · 241 citations
- An Efficient Pessimistic-Optimistic Algorithm for Stochastic Linear Bandits with General ConstraintsXin Liu, Bin Li, Pengyi Shi, Lei YingNeurIPS 2021 · 63 citations
- Non-monotonic Resource Utilization in the Bandits with Knapsacks ProblemRaunak Kumar, Robert KleinbergNeurIPS 2022 · 17 citations
- Hierarchical Adaptive Contextual Bandits for Resource Constraint based RecommendationMengyue Yang, Qingyang Li, Zhiwei (Tony) Qin, Jieping YeWWW 2020 · 13 citations
- Bandits with Knapsacks beyond the Worst CaseKarthik Abinav Sankararaman, Aleksandrs SlivkinsNeurIPS 2021 · 11 citations
Related papers
- No-Regret is not enough! Bandits with General Constraints through Adaptive Regret MinimizationMartino Bernasconi, Matteo Castiglioni, Andrea CelliICML 2025
- Smoothed Adversarial Linear Contextual Bandits with KnapsacksVidyashankar Sivakumar, Shiliang Zuo, Arindam BanerjeeICML 2022 · 22 citations
- Small Total-Cost Constraints in Contextual Bandits with Knapsacks, with Application to FairnessEvgenii Chzhen, Christophe Giraud, Zhen Li, Gilles StoltzNeurIPS 2023 · 3 citations
- Contextual Bandits with Knapsacks for a Conversion ModelZhen Li, Gilles StoltzNeurIPS 2022 · 4 citations
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial ConstraintsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoNeurIPS 2024 · 12 citations
