atlas

Research map / Bandits and online learning / Online convex optimization and games

Augmenting Online Algorithms for Knapsack Problem with Total Weight Information

AAAI 2025 · Bandits and online learning › Online convex optimization and games · approach: Online allocation with constraints · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Augments the online knapsack problem with exact or predicted total weight information, proposing KWA (competitive ratio W(e^{-1}(U-L)/L)+1), a learning-augmented PWA with consistency/robustness trade-offs, and LWA for total weight below twice capacity.

Problem

The classical online knapsack problem ignores total weight information, which is often known or predictable in practice, leaving the optimal ln(U/L)+1 competitive ratio unimproved.

Approach

A threshold function that does not depend on remaining total weight, combined with a fill-up rule that accepts all remaining items when they fit, yields a Lambert-W competitive ratio; a learning-augmented mix of this algorithm and classical OKA uses a predicted total weight with a tunable trade-off parameter.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use exact total weight with KWAOnline knapsack · Exact total weightcompetitive ratio: ln(U/L) + 1 -> W( 1/e (U−L)/L ) + 1Helped
Use predicted total weight and split capacity between KWA and OKAOnline knapsack · Arbitrary prediction errorcompetitive ratio: c2/(1−λ) robust; c1c2/(λc2+(1−λ)c1) consistentMixed
Use predicted total weight with PWAOnline knapsack · Prediction error η ≥ 0competitive ratio: c1(η)c2/(λc2 + (1 − λ)c1(η))Hurt
Use known total weight with LWA when W ≤ 1Online knapsack · W ≤ 1competitive ratio: 1Helped
Use known total weight with LWA when 1 < W < 2Online knapsack · 1 < W < 2competitive ratio: θ2 ∈ (1, ln(U/L) + 1)Helped
Use known total weight with LWA when W ≥ 2Online knapsack · W ≥ 2competitive ratio: ln(U/L) + 1No clear effect
Remove KWA's fill-up logic (ablation)KWA · Exact total weightcompetitive ratio: W( 1/e (U−L)/L ) + 1 -> ln(U/L) + 1Hurt
Vary λ to allocate capacity between KWA and OKA (ablation)PWA · Predicted total weightrobustness: c2/(1−λ)Mixed

Surprising findings

Limitations

Experimental setup

Metrics: competitive ratio consistency robustness

Baselines: OKA (classical optimal online knapsack algorithm)

Builds on: online knapsack threshold algorithm (OKA) learning-augmented online algorithms (consistency and robustness) El-Yaniv one-way trading with known deadline

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy