Online Learning with Knapsacks: the Best of Both Worlds
Matteo Castiglioni, Andrea Celli, Christian Kroer
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 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 b81866f5-bf68-4847-a37b-6074eef16b91Cited 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
