Approximately Counting Knapsack Solutions in Subquadratic Time
Weiming Feng, Ce Jin
摘要
We revisit the classic #Knapsack problem, which asks to count the Boolean points (x 1 , x 2 , . . . , x n ) ∈ 0, 1 n in a given half-space n i=1 W i x i ≤ T . This #P-complete problem is known to admit (1±ε)-approximation. Before this work, [Dyer, STOC 2003]'s O(n 2.5 +n 2 ε -2 )-time randomized approximation scheme remains the fastest known in the natural regime of ε ≥ 1/ poly log n.
In this paper, we give a randomized (1 ± ε)-approximation algorithm for #Knapsack in O(n 1.5 ε -2 ) time (in the standard word-RAM model), achieving the first sub-quadratic dependence on n. Such sub-quadratic running time is rare in the approximate counting literature in general, as a large class of algorithms naturally faces a quadratic-time barrier.
Our algorithm follows Dyer's framework, which reduces #Knapsack to the task of sampling (and approximately counting) solutions in a randomly rounded instance with poly(n)-bounded integer weights. We refine Dyer's framework using the following ideas:
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Approximating Knapsack and Partition via Dense Subset Sums 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 Approximating Knapsack and Partition via Dense Subset Sums
- A Nearly Quadratic-Time FPTAS for Knapsack 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
它引用的 Paper8
- Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansionZongchen Chen, Kuikui Liu, Eric VigodaSTOC 2021 · 61 次引用
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
- Faster min-plus product for monotone instancesShucheng Chi, Ran Duan, Tianle Xie, Tianyi ZhangSTOC 2022 · 12 次引用
- Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 次引用
- A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 次引用
相关 Paper
- (1 - ε)-Approximation of Knapsack in Nearly Quadratic TimeXiao MaoSTOC 2024
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 次引用
- Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
- 0-1 Knapsack in Nearly Quadratic TimeCe JinSTOC 2024 · 6 次引用
- Improving Schroeppel and Shamir's algorithm for subset sum via orthogonal vectorsJesper Nederlof, Karol WegrzyckiSTOC 2021
