Lune

AAAI2025Top-tier venue

Augmenting Online Algorithms for Knapsack Problem with Total Weight Information

Binghan Wu, Wei Bao, Bing Bing Zhou

Abstract

In this paper, we augment online algorithms for the knapsack problem using the total weight information. The conventional optimal online algorithm achieves the ln( U L ) + 1 competitive ratio where L and U are the upper and lower bounds of the value-to-weight ratio. However, it does not consider that decision makers can know the total weight information or obtain it through machine-learned predictions. To fill this gap, we first propose the Known Weight Algorithm (KWA) which uses the exact total weight information to achieve a competitive ratio of W( 1 e U -L L ) + 1, where W denotes the Lambert-W function. We prove that it is optimal and tight. After that, we extend KWA to the Predicted Weight Algorithm (PWA), a learning-augmented online algorithm that uses predicted total weight. We show the consistency and robustness (Lykouris and Vassilvitskii 2021) of PWA, and prove that its competitive ratio degrades gracefully as the prediction error grows. Finally, we introduce the Limited Volume Algorithm (LWA), which achieves a better competitive ratio than ln U L + 1 when the total weight is less than twice the capacity.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Online Knapsack with Frequency PredictionsSungjin Im, Ravi Kumar, Mahshid Montazer Qaem, Manish PurohitNeurIPS 2021 · 70 citations
  2. Data-driven Competitive Algorithms for Online Knapsack and Set CoverAli Zeynali, Bo Sun, Mohammad Hassan Hajiesmaili, Adam WiermanAAAI 2021 · 41 citations

Related papers

  1. Near-Optimal Consistency-Robustness Trade-Offs for Learning-Augmented Online Knapsack ProblemsMohammadreza Daneshvaramoli, Helia Karisani, Adam Lechowicz, Bo Sun et al.ICML 2025
  2. Time Fairness in Online Knapsack ProblemsAdam Lechowicz, Rik Sengupta, Bo Sun, Shahin Kamali et al.ICLR 2024 · 8 citations
  3. Near-Optimal Bounds for Online Caching with Machine Learned AdviceDhruv RohatgiSODA 2020 · 88 citations
  4. Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online AlgorithmsAlexander Wei, Fred ZhangNeurIPS 2020 · 129 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