No-Regret is not enough! Bandits with General Constraints through Adaptive Regret Minimization
Martino Bernasconi, Matteo Castiglioni, Andrea Celli
Abstract
In the bandits with knapsacks framework (BwK) the learner has m resourceconsumption (i.e., packing) constraints. We focus on the generalization of BwK in which the learner has a set of general long-term constraints. The goal of the learner is to maximize their cumulative reward, while at the same time achieving small cumulative constraints violations. In this scenario, there exist simple instances where conventional methods for BwK fail to yield sublinear violations of constraints. We show that it is possible to circumvent this issue by requiring the primal and dual algorithm to be weakly adaptive. Indeed, even in absence on any information on the Slater's parameter ρ characterizing the problem, the interplay between weakly adaptive primal and dual regret minimizers yields a "self-bounding" property of dual variables. In particular, their norm remains suitably upper bounded across the entire time horizon even without explicit projection steps. By exploiting this property, we provide best-of-both-worlds guarantees for stochastic and adversarial inputs. In the first case, we show that the algorithm guarantees sublinear regret. In the latter case, we establish a tight competitive ratio of ρ/(1 + ρ). In both settings, constraints violations are guaranteed to be sublinear in time. Finally, this results allow us to obtain new result for the problem of contextual bandits with linear constraints, providing the first no-α-regret guarantees for adversarial contexts.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f676746a-45fc-437c-aa69-07231589c2fcCited by top-tier papers2
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial ConstraintsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoNeurIPS 2024 · 12 citations
- On Stochastic Contextual Bandits with Knapsacks in Small Budget RegimeHengquan Guo, Xin LiuICLR 2025
Builds on9
- Beyond UCB: Optimal and Efficient Contextual Bandits with Regression OraclesDylan J. Foster, Alexander RakhlinICML 2020 · 241 citations
- A Unifying Framework for Online Optimization with Long-Term ConstraintsMatteo Castiglioni, Andrea Celli, Alberto Marchesi, Giulia Romano et al.NeurIPS 2022 · 59 citations
- Online Learning with Knapsacks: the Best of Both WorldsMatteo Castiglioni, Andrea Celli, Christian KroerICML 2022 · 47 citations
- Online Bidding Algorithms for Return-on-Spend Constrained Advertisers✱Zhe Feng, Swati Padmanabhan, Di WangWWW 2023 · 38 citations
- Non-stationary Bandits with KnapsacksShang Liu, Jiashuo Jiang, Xiaocheng LiNeurIPS 2022 · 34 citations
Related papers
- Smoothed Adversarial Linear Contextual Bandits with KnapsacksVidyashankar Sivakumar, Shiliang Zuo, Arindam BanerjeeICML 2022 · 22 citations
- Triple-Optimistic Learning for Stochastic Contextual Bandits with General ConstraintsHengquan Guo, Lingkai Zu, Xin LiuICML 2025
- Bandits with Replenishable Knapsacks: the Best of both WorldsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoICLR 2024 · 5 citations
- The Symmetry between Arms and Knapsacks: A Primal-Dual Approach for Bandits with KnapsacksXiaocheng Li, Chunlin Sun, Yinyu YeICML 2021 · 24 citations
- High-dimensional Linear Bandits with KnapsacksWanteng Ma, Dong Xia, Jiashuo JiangICML 2024 · 1 citation
