Time Fairness in Online Knapsack Problems
Adam Lechowicz, Rik Sengupta, Bo Sun, Shahin Kamali, Mohammad Hajiesmaili
Abstract
The online knapsack problem is a classic problem in the field of online algorithms. Its canonical version asks how to pack items of different values and weights arriving online into a capacity-limited knapsack so as to maximize the total value of the admitted items. Although optimal competitive algorithms are known for this problem, they may be fundamentally unfair, i.e., individual items may be treated inequitably in different ways. We formalize a practically-relevant notion of time fairness which effectively models a trade off between static and dynamic pricing in a motivating application such as cloud resource allocation, and show that existing algorithms perform poorly under this metric. We propose a parameterized deterministic algorithm where the parameter precisely captures the Pareto-optimal trade-off between fairness (static pricing) and competitiveness (dynamic pricing). We show that randomization is theoretically powerful enough to be simultaneously competitive and fair; however, it does not work well in experiments. To further improve the trade-off between fairness and competitiveness, we develop a nearly-optimal learning-augmented algorithm which is fair, consistent, and robust (competitive), showing substantial performance improvements in numerical experiments.
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 9ea444f7-faa3-4036-bda7-9c526dad10e9Cited by top-tier papers4
- Automated Composition of Agents: A Knapsack Approach for Agentic Component SelectionMichelle Yuan, Khushbu Pahwa, Shuaichen Chang, Mustafa Kaba et al.NeurIPS 2025 · 10 citations
- Better Learning-Augmented Spanning Tree Algorithms via Metric Forest CompletionNate Veldt, Thomas Stanley, Benjamin W Priest, Trevor Steil et al.ICLR 2026
- Towards Optimal Robustness in Learning-Augmented PagingPeng Chen, Hailiang Zhao, Xueyan Tang, Yixuan Wang et al.ICML 2026
- Scenario-Based Robust Optimization of Tree StructuresSpyros Angelopoulos, Christoph Dürr, Alex Elenter, Georgii MelidiAAAI 2025
Builds on9
- Achieving Fairness in the Stochastic Multi-Armed Bandit ProblemVishakha Patil, Ganesh Ghalme, Vineet Nair, Y. NarahariAAAI 2020 · 131 citations
- Online Knapsack with Frequency PredictionsSungjin Im, Ravi Kumar, Mahshid Montazer Qaem, Manish PurohitNeurIPS 2021 · 70 citations
- Data-driven Competitive Algorithms for Online Knapsack and Set CoverAli Zeynali, Bo Sun, Mohammad Hassan Hajiesmaili, Adam WiermanAAAI 2021 · 41 citations
- Pareto-Optimal Learning-Augmented Algorithms for Online Conversion ProblemsBo Sun, Russell Lee, Mohammad H. Hajiesmaili, Adam Wierman et al.NeurIPS 2021 · 39 citations
- Fair Exploration via Axiomatic BargainingJackie Baek, Vivek F. FariasNeurIPS 2021 · 36 citations
Related papers
- Group-Fair Online Allocation in Continuous TimeSemih Cayci, Swati Gupta, Atilla EryilmazNeurIPS 2020 · 23 citations
- Augmenting Online Algorithms for Knapsack Problem with Total Weight InformationBinghan Wu, Wei Bao, Bing Bing ZhouAAAI 2025 · 1 citation
- Near-Optimal Consistency-Robustness Trade-Offs for Learning-Augmented Online Knapsack ProblemsMohammadreza Daneshvaramoli, Helia Karisani, Adam Lechowicz, Bo Sun et al.ICML 2025
- Learning-Augmented Online Bidding in Stochastic SettingsSpyros Angelopoulos, Bertrand SimonNeurIPS 2025 · 6 citations
- Single-Sample and Robust Online Resource AllocationRohan Ghuge, Sahil Singla, Yifan WangSTOC 2025 · 8 citations
