Lune

STOC2024顶会

0-1 Knapsack in Nearly Quadratic Time

Ce Jin

摘要

We study pseudo-polynomial time algorithms for the fundamental 0-1 Knapsack problem. Recent research interest has focused on its fine-grained complexity with respect to the number of items n and the maximum item weight w max . Under (min, +)-convolution hypothesis, 0-1 Knapsack does not have O((n + w max ) 2-δ ) time algorithms (Cygan-Mucha-Węgrzycki-Włodarczyk 2017 and Künnemann-Paturi-Schneider 2017). On the upper bound side, currently the fastest algorithm runs in O(n + w 12/5 max ) time (Chen, Lian, Mao, and Zhang 2023), improving the earlier O(n + w 3 max )-time algorithm by Polak, Rohwedder, and Węgrzycki (2021). In this paper, we close this gap between the upper bound and the conditional lower bound (up to subpolynomial factors):

• The 0-1 Knapsack problem has a deterministic algorithm in O(n + w 2 max log 4 w max ) time. Our algorithm combines and extends several recent structural results and algorithmic techniques from the literature on knapsack-type problems:

  1. We generalize the "fine-grained proximity" technique of Chen, Lian, Mao, and Zhang (2023) derived from the additive-combinatorial results of Bringmann and Wellnitz (2021) on dense subset sums. This allows us to bound the support size of the useful partial solutions in the dynamic program.

  2. To exploit the small support size, our main technical component is a vast extension of the "witness propagation" method, originally designed by Deng, Mao, and Zhong (2023) for speeding up dynamic programming in the easier unbounded knapsack settings. To extend this approach to our 0-1 setting, we use a novel pruning method, as well as the two-level color-coding of Bringmann (2017) and the SMAWK algorithm on tall matrices.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Approximating Knapsack and Partition via Dense Subset Sums 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • Approximating Knapsack and Partition via Dense Subset Sums 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • Knapsack with Small Items in Near-Quadratic Time 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • Knapsack with Small Items in Near-Quadratic Time 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • Knapsack with Small Items in Near-Quadratic Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • Knapsack with Small Items in Near-Quadratic Time 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 Knapsack with Small Items in Near-Quadratic Time
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Knapsack with Small Items in Near-Quadratic Time
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
  • A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Approximating Partition in Near-Linear Time
  • Approximating Partition in Near-Linear Time 引用了 A Nearly Quadratic-Time FPTAS for Knapsack
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Knapsack with Small Items in Near-Quadratic Time
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Approximating Partition in Near-Linear Time
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • Approximating Partition in Near-Linear Time 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
  • Approximating Partition in Near-Linear Time 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • Approximating Partition in Near-Linear Time 引用了 Knapsack with Small Items in Near-Quadratic Time
  • Approximating Partition in Near-Linear Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • Approximating Partition in Near-Linear Time 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 次引用
  2. Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 次引用
  3. An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用
  4. A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 次引用
  5. Approximating Partition in Near-Linear TimeLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 3 次引用

它引用的 Paper11

  1. On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 次引用
  2. A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
  3. Faster min-plus product for monotone instancesShucheng Chi, Ran Duan, Tianle Xie, Tianyi ZhangSTOC 2022 · 12 次引用
  4. Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 次引用
  5. Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 次引用

相关 Paper

  1. (1 - ε)-Approximation of Knapsack in Nearly Quadratic TimeXiao MaoSTOC 2024
  2. Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
  3. Approximately Counting Knapsack Solutions in Subquadratic TimeWeiming Feng, Ce JinSODA 2025
  4. Top-k-convolution and the quest for near-linear output-sensitive subset sumKarl Bringmann, Vasileios NakosSTOC 2020 · 18 次引用
  5. Approximation Schemes and Structural Barriers for the Two-Dimensional Knapsack Problem with RotationsDebajyoti Kar, Arindam Khan, Andreas WieseSTOC 2026 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖