Online Learning with Knapsacks: the Best of Both Worlds
Abstract
We study online learning problems in which a decision maker wants to maximize their expected reward without violating a finite set of m resource constraints. By casting the learning process over a suitably defined space of strategy mixtures, we recover strong duality on a Lagrangian relaxation of the underlying optimization problem, even for general settings with non-convex reward and resource-consumption functions. Then, we provide the first best-of-both-worlds type framework for this setting, with no-regret guarantees both under stochastic and adversarial inputs. Our framework yields the same regret guarantees of prior work in the stochastic case. On the other hand, when budgets grow at least linearly in the time horizon, it allows us to provide a constant competitive ratio in the adversarial case, which improves over the O(m log T ) competitive ratio of (Immorlica et al., 2019) . Moreover, our framework allows the decision maker to handle non-convex reward and cost functions. We provide two gametheoretic applications of our framework to give further evidence of its flexibility.
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.
24 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
- The Parity Ray Regularizer for Pacing in Auction Markets cites Dual Mirror Descent for Online Allocation Problems
- Online Learning under Budget and ROI Constraints via Weak Adaptivity cites Dual Mirror Descent for Online Allocation Problems
- Online Learning under Budget and ROI Constraints via Weak Adaptivity cites A Unifying Framework for Online Optimization with Long-Term Constraints
- Online Ad Procurement in Non-stationary Autobidding Worlds cites A Unifying Framework for Online Optimization with Long-Term Constraints
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial Constraints cites Online Learning under Budget and ROI Constraints via Weak Adaptivity
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial Constraints cites A Unifying Framework for Online Optimization with Long-Term Constraints
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial Constraints cites No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints
- A Unifying Framework for Online Optimization with Long-Term Constraints cites The Parity Ray Regularizer for Pacing in Auction Markets
- No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints cites Online Learning under Budget and ROI Constraints via Weak Adaptivity
- No-Regret Algorithms in non-Truthful Auctions with Budget and ROI Constraints cites Dual Mirror Descent for Online Allocation Problems
Cited by top-tier papers24
- A Unifying Framework for Online Optimization with Long-Term ConstraintsMatteo Castiglioni, Andrea Celli, Alberto Marchesi, Giulia Romano et al.NeurIPS 2022 · 59 citations
- No-Regret Algorithms in non-Truthful Auctions with Budget and ROI ConstraintsGagan Aggarwal, Giannis Fikioris, Mingfei ZhaoWWW 2025 · 13 citations
- Online Learning under Budget and ROI Constraints via Weak AdaptivityMatteo Castiglioni, Andrea Celli, Christian KroerICML 2024 · 12 citations
- Beyond Primal-Dual Methods in Bandits with Stochastic and Adversarial ConstraintsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoNeurIPS 2024 · 12 citations
- Online Ad Procurement in Non-stationary Autobidding WorldsJason Cheuk Nam Liang, Haihao Lu, Baoyu ZhouNeurIPS 2023 · 10 citations
Builds on2
Related papers
- No-Regret Learning Under Adversarial Resource Constraints: A Spending Plan Is All You Need!Francesco Emanuele Stradi, Matteo Castiglioni, Alberto Marchesi, Nicola Gatti et al.NeurIPS 2025 · 7 citations
- Bandits with Replenishable Knapsacks: the Best of both WorldsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoICLR 2024 · 5 citations
- No-Regret is not enough! Bandits with General Constraints through Adaptive Regret MinimizationMartino Bernasconi, Matteo Castiglioni, Andrea CelliICML 2025
- Online DR-Submodular Maximization: Minimizing Regret and Constraint ViolationPrasanna Sanjay Raut, Omid Sadeghi, Maryam FazelAAAI 2021 · 5 citations
- Policy Optimization for CMDPs with Bandit Feedback: Learning Stochastic and Adversarial ConstraintsFrancesco Emanuele Stradi, Anna Lunghi, Matteo Castiglioni, Alberto Marchesi et al.ICML 2025
