Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
Lin Chen, Jiayi Lian, Yuchen Mao, Guochuan Zhang
摘要
We investigate pseudopolynomial-time algorithms for Bounded Knapsack and Bounded Subset Sum. Recent years have seen a growing interest in settling their fine-grained complexity with respect to various parameters. For Bounded Knapsack, the number of items n and the maximum item weight wmax are two of the most natural parameters that have been studied extensively in the literature. The previous best running time in terms of n and wmax is O(n + w 3 max ) [Polak, Rohwedder, Węgrzycki '21]. There is a conditional lower bound of (n + wmax) 2-o(1) based on (min, +)-convolution hypothesis [Cygan, Mucha, Węgrzycki, Włodarczyk '17]. We narrow the gap significantly by proposing an O(n + w 12/5 max )-time algorithm. Our algorithm works for both 0-1 Knapsack and Bounded Knapsack. Note that in the regime where wmax ≈ n, our algorithm runs in O(n 12/5 ) time, while all the previous algorithms require Ω(n 3 ) time in the worst case.
For Bounded Subset Sum, we give two algorithms running in O(nwmax) and O(n+w 3/2 max) time, respectively. These results match the currently best running time for 0-1 Subset Sum. Prior to our work, the best running times (in terms of n and wmax) for Bounded Subset Sum are O(n + w 5/3 max) [Polak, Rohwedder, Węgrzycki '21] and O(n + µ 1/2 maxw 3/2 max) [implied by Bringmann '19 and Bringmann, Wellnitz '21], where µmax refers to the maximum multiplicity of item weights.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 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 引用了 0-1 Knapsack in Nearly Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time 引用了 Knapsack with Small Items in Near-Quadratic Time
- Knapsack with Small Items in Near-Quadratic Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 0-1 Knapsack in Nearly Quadratic Time 引用了 On Near-Linear-Time Algorithms for Dense Subset Sum
- 0-1 Knapsack in Nearly Quadratic Time 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- 0-1 Knapsack in Nearly Quadratic Time 引用了 A Nearly Quadratic-Time FPTAS for Knapsack
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 0-1 Knapsack in Nearly Quadratic Time
- 0-1 Knapsack in Nearly Quadratic Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- 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 引用了 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 引用了 0-1 Knapsack in Nearly 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 引用了 Approximating Partition in Near-Linear Time
- 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 引用了 0-1 Knapsack in Nearly Quadratic Time
- Approximating Partition in Near-Linear Time 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
引用它的顶会 Paper9
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 次引用
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 次引用
- An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用
- A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 次引用
- Approximating Partition in Near-Linear TimeLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 3 次引用
它引用的 Paper5
- On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 次引用
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
- Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 次引用
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 次引用
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 次引用
相关 Paper
- Top-k-convolution and the quest for near-linear output-sensitive subset sumKarl Bringmann, Vasileios NakosSTOC 2020 · 18 次引用
- (1 - ε)-Approximation of Knapsack in Nearly Quadratic TimeXiao MaoSTOC 2024
- Fast Low-Space Algorithms for Subset SumCe Jin, Nikhil Vyas, Ryan WilliamsSODA 2021 · 10 次引用
- On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius ProblemKim-Manuel KleinSODA 2022 · 7 次引用
- Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
