Small Total-Cost Constraints in Contextual Bandits with Knapsacks, with Application to Fairness
Evgenii Chzhen, Christophe Giraud, Zhen Li, Gilles Stoltz
Abstract
We consider contextual bandit problems with knapsacks [CBwK], a problem where at each round, a scalar reward is obtained and vector-valued costs are suffered. The learner aims to maximize the cumulative rewards while ensuring that the cumulative costs are lower than some predetermined cost constraints. We assume that contexts come from a continuous set, that costs can be signed, and that the expected reward and cost functions, while unknown, may be uniformly estimateda typical assumption in the literature. In this setting, total cost constraints had so far to be at least of order T 3/4 , where T is the number of rounds, and were even typically assumed to depend linearly on T . We are however motivated to use CBwK to impose a fairness constraint of equalized average costs between groups: the budget associated with the corresponding cost constraints should be as close as possible to the natural deviations, of order √ T . To that end, we introduce a dual strategy based on projected-gradient-descent updates, that is able to deal with total-cost constraints of the order of √ T up to poly-logarithmic terms. This strategy is more direct and simpler than existing strategies in the literature. It relies on a careful, adaptive, tuning of the step size. 1 Setting, literature review, and main contributions We consider contextual bandits with knapsacks [CBwK], a setting where at each round t ⩾ 1, the learner, after observing some context x t ∈ X , where X ⊆ R n , picks an action a t ∈ A in a finite set A. We do not impose the existence of a null-cost action. Contexts are independently drawn according to a distribution ν. The learner may pick a t at random according to a probability distribution, denoted by π t (x t ) = π t,a (x t ) a∈A for consistency with the notion of policy defined later in Section 2. The action a t played leads to some scalar reward r t ∈ [0, 1] and some signed vector-valued cost c t ∈ [-1, 1] d . Actually, r t and c t are generated independently at random in a way such that the conditional expectations of r t and c t given the past, x t , and a t , equal r(x t , a t ) and c(x t , a t ), respectively. We denoted here by r : X × A → [0, 1] and c = (c 1 , . . . , c d ) : X × A → [-1, 1] d the unknown expected-reward and expected-cost functions. The modeling and the estimation of r 37th Conference on Neural Information Processing Systems (NeurIPS 2023).
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 de85ec79-a304-4053-b9a2-ced2633849a6Cited by top-tier papers5
- On Stochastic Contextual Bandits with Knapsacks in Small Budget RegimeHengquan Guo, Xin LiuICLR 2025
- Towards Safe and Optimal Online Bidding: A Modular Look-ahead Lyapunov FrameworkHengquan Guo, Haobo Zhang, Junwei Pan, Shudong Huang et al.ICLR 2026
- Triple-Optimistic Learning for Stochastic Contextual Bandits with General ConstraintsHengquan Guo, Lingkai Zu, Xin LiuICML 2025
- Contextual Multi-Armed Bandits with Minimum Aggregated Revenue ConstraintsAhmed Ben Yahmed, Hafedh El Ferchichi, Marc Abeille, Vianney PerchetICLR 2026
- The Cost of Information: Phase Transitions in Contextual Bandits with Paid ObservationsXueping Gong, Jiheng ZhangICML 2026
Builds on3
- Improved Optimistic Algorithms for Logistic BanditsLouis Faury, Marc Abeille, Clément Calauzènes, Olivier FercoqICML 2020 · 127 citations
- A Unified Approach to Fair Online Learning via Blackwell ApproachabilityEvgenii Chzhen, Christophe Giraud, Gilles StoltzNeurIPS 2021 · 15 citations
- Contextual Bandits with Knapsacks for a Conversion ModelZhen Li, Gilles StoltzNeurIPS 2022 · 4 citations
Related papers
- Smoothed Adversarial Linear Contextual Bandits with KnapsacksVidyashankar Sivakumar, Shiliang Zuo, Arindam BanerjeeICML 2022 · 22 citations
- No-Regret is not enough! Bandits with General Constraints through Adaptive Regret MinimizationMartino Bernasconi, Matteo Castiglioni, Andrea CelliICML 2025
- High-dimensional Linear Bandits with KnapsacksWanteng Ma, Dong Xia, Jiashuo JiangICML 2024 · 1 citation
- Neural Constrained Combinatorial BanditsShangshang Wang, Simeng Bian, Xin Liu, Ziyu ShaoINFOCOM 2023 · 5 citations
- Bandits with Knapsacks beyond the Worst CaseKarthik Abinav Sankararaman, Aleksandrs SlivkinsNeurIPS 2021 · 11 citations
