Lune

NeurIPS2024Top-tier venue

Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial Constraints

Martino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico Fusco

Abstract

We address a generalization of the bandit with knapsacks problem, where a learner aims to maximize rewards while satisfying an arbitrary set of long-term constraints. Our goal is to design best-of-both-worlds algorithms that perform optimally under both stochastic and adversarial constraints. Previous works address this problem via primal-dual methods, and require some stringent assumptions, namely the Slater's condition, and in adversarial settings, they either assume knowledge of a lower bound on the Slater's parameter, or impose strong requirements on the primal and dual regret minimizers such as requiring weak adaptivity. We propose an alternative and more natural approach based on optimistic estimations of the constraints. Surprisingly, we show that estimating the constraints with an UCB-like approach guarantees optimal performances. Our algorithm consists of two main components: (i) a regret minimizer working on moving strategy sets and (ii) an estimate of the feasible set as an optimistic weighted empirical mean of previous samples. The key challenge in this approach is designing adaptive weights that meet the different requirements for stochastic and adversarial constraints. Our algorithm is significantly simpler than previous approaches, and has a cleaner analysis. Moreover, ours is the first best-of-both-worlds algorithm providing bounds logarithmic in the number of constraints. Additionally, in stochastic settings, it provides O~(T)\widetilde O(\sqrt{T}) regret without Slater's condition.

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.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Triple-Optimistic Learning for Stochastic Contextual Bandits with General Constraints cites A Unifying Framework for Online Optimization with Long-Term Constraints
  • Online Learning in the Random-Order Model cites A Unifying Framework for Online Optimization with Long-Term Constraints
  • Online Learning in the Random-Order Model cites Online Learning with Knapsacks: the Best of Both Worlds
  • A Unifying Framework for Online Optimization with Long-Term Constraints cites Online Learning with Knapsacks: the Best of Both Worlds
  • Auto-bidding under Return-on-Spend Constraints with Uncertainty Quantification cites A Unifying Framework for Online Optimization with Long-Term Constraints
  • Auto-bidding under Return-on-Spend Constraints with Uncertainty Quantification cites No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints
  • Auto-bidding under Return-on-Spend Constraints with Uncertainty Quantification cites Online Bidding under RoS Constraints without Knowing the Value
  • 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
  • No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints cites Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem
  • No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints cites Online Learning with Knapsacks: the Best of Both Worlds
  • Online Bidding under RoS Constraints without Knowing the Value cites A Unifying Framework for Online Optimization with Long-Term Constraints
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Online Bidding under RoS Constraints without Knowing the ValueSushant Vijayan, Zhe Feng, Swati Padmanabhan, Karthikeyan Shanmugam et al.WWW 2025 · 4 citations
  2. Triple-Optimistic Learning for Stochastic Contextual Bandits with General ConstraintsHengquan Guo, Lingkai Zu, Xin LiuICML 2025
  3. Online Learning in the Random-Order ModelMartino Bernasconi, Andrea Celli, Riccardo Colini-Baldeschi, Federico Fusco et al.ICML 2025
  4. Auto-bidding under Return-on-Spend Constraints with Uncertainty QuantificationJiale Han, Chun Gan, Chengcheng Zhang, Jie He et al.WWW 2026
  5. Contextual Multi-Armed Bandits with Minimum Aggregated Revenue ConstraintsAhmed Ben Yahmed, Hafedh El Ferchichi, Marc Abeille, Vianney PerchetICLR 2026

Builds on9

  1. A Unifying Framework for Online Optimization with Long-Term ConstraintsMatteo Castiglioni, Andrea Celli, Alberto Marchesi, Giulia Romano et al.NeurIPS 2022 · 59 citations
  2. Online Learning with Knapsacks: the Best of Both WorldsMatteo Castiglioni, Andrea Celli, Christian KroerICML 2022 · 47 citations
  3. Non-stationary Bandits with KnapsacksShang Liu, Jiashuo Jiang, Xiaocheng LiNeurIPS 2022 · 34 citations
  4. Non-monotonic Resource Utilization in the Bandits with Knapsacks ProblemRaunak Kumar, Robert KleinbergNeurIPS 2022 · 17 citations
  5. No-Regret Algorithms in non-Truthful Auctions with Budget and ROI ConstraintsGagan Aggarwal, Giannis Fikioris, Mingfei ZhaoWWW 2025 · 13 citations

Related papers

  1. No-Regret is not enough! Bandits with General Constraints through Adaptive Regret MinimizationMartino Bernasconi, Matteo Castiglioni, Andrea CelliICML 2025
  2. Smoothed Adversarial Linear Contextual Bandits with KnapsacksVidyashankar Sivakumar, Shiliang Zuo, Arindam BanerjeeICML 2022 · 22 citations
  3. An Efficient Pessimistic-Optimistic Algorithm for Stochastic Linear Bandits with General ConstraintsXin Liu, Bin Li, Pengyi Shi, Lei YingNeurIPS 2021 · 63 citations
  4. Improved Best-of-Both-Worlds Regret for Bandits with Delayed FeedbackOfir Schlisselberg, Tal Lancewicki, Peter Auer, Yishay MansourNeurIPS 2025 · 2 citations
  5. On Stochastic Contextual Bandits with Knapsacks in Small Budget RegimeHengquan Guo, Xin LiuICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines