Lune

NeurIPS2024Top-tier venue

Piecewise-Stationary Bandits with Knapsacks

Xilin Zhang, Wang Chi Cheung

Abstract

We propose a novel inventory reserving algorithm which draws new insights into Bandits with Knapsacks (Bwk) problems in piecewise-stationary environments. Suppose parameters η min , η max P p0, 1s respectively lower and upper bound the ratio between the reward earned and the resources consumed in a round. Our algorithm achieves a provably near-optimal competitive ratio of Oplogpη max η min qq, with a matching lower bound provided. Our performance guarantee is based on a dynamic benchmark that upper bounds the optimum, different from existing works on adversarial Bwk Immorlica et al. (2019); Kesselheim and Singla (2020) who compare with the stationary benchmark. Different from existing non-stationary Bwk work Liu et al. (2022), we do not require a bounded global variation. Adversarial Bwk is firstly considered in Immorlica et al. ( 2019) where pr t , c t q " tpr t paq, c t paqqu aPK can change arbitrarily over the horizon. They achieve a competitive ratio (CR) of Opd logpT qq with respect to a static benchmark when there are d budget constraints. A static benchmark picks a fixed optimal action (or a fixed optimal distribution over arms), and applies the same action (or distribution) in all T rounds. Kesselheim and Singla ( 2020)further improve the CR to Oplogpdq logpT qq. Other papers consider different regimes such as unlimited rounds (Rangi et al. (2018)), large budget B " ΩpT q (Castiglioni et al. (2022a)), strict feasibility (Castiglioni et al. (2022b)) and approximate stationarity (Fikioris and Tardos (2023)). All these works compare with static benchmarks (see Appendix A.1). Moreover, adversarial Bwk could be too conservative in certain real-life scenarios. For instance, sales patterns could be stationary for a duration of time, but only change during periods of hot seasons/promotions/new trends, which fits into our piecewise-stationary Bwk regime.

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.

2 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

  • Improved Algorithms for Multi-period Multi-class Packing Problems with Bandit Feedback cites Smoothed Adversarial Linear Contextual Bandits with Knapsacks
  • A Unifying Framework for Online Optimization with Long-Term Constraints cites Online Learning with Knapsacks: the Best of Both Worlds
  • Learning to price with resource constraints: from full information to machine-learned prices cites Smoothed Adversarial Linear Contextual Bandits with Knapsacks
  • Learning to price with resource constraints: from full information to machine-learned prices cites Non-stationary Bandits with Knapsacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Learning to price with resource constraints: from full information to machine-learned pricesRuicheng Ao, Jiashuo Jiang, David Simchi-LeviNeurIPS 2025 · 4 citations
  2. CUPID in the Model Zoo: Online Matchmaking for Selecting Your Dream LLMSon Nguyen, Xinyuan Liu, Ransalu SenanayakeICML 2026

Builds on5

  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. Smoothed Adversarial Linear Contextual Bandits with KnapsacksVidyashankar Sivakumar, Shiliang Zuo, Arindam BanerjeeICML 2022 · 22 citations
  5. Improved Algorithms for Multi-period Multi-class Packing Problems with Bandit FeedbackWonyoung Kim, Garud Iyengar, Assaf ZeeviICML 2023 · 4 citations

Related papers

  1. Bandits with Knapsacks beyond the Worst CaseKarthik Abinav Sankararaman, Aleksandrs SlivkinsNeurIPS 2021 · 11 citations
  2. No-Regret is not enough! Bandits with General Constraints through Adaptive Regret MinimizationMartino Bernasconi, Matteo Castiglioni, Andrea CelliICML 2025
  3. The Symmetry between Arms and Knapsacks: A Primal-Dual Approach for Bandits with KnapsacksXiaocheng Li, Chunlin Sun, Yinyu YeICML 2021 · 24 citations
  4. Bandits with Replenishable Knapsacks: the Best of both WorldsMartino Bernasconi, Matteo Castiglioni, Andrea Celli, Federico FuscoICLR 2024 · 5 citations
  5. Bandits with Knapsacks: Advice on Time-Varying DemandsLixing Lyu, Wang Chi CheungICML 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines