Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution
Karl Bringmann, Nick Fischer, Vasileios Nakos
摘要
Computing the convolution A∗B of two length-n integer vectors A, B is a core problem in several disciplines. It frequently comes up as a subroutine in various problem domains, e.g. in algorithms for Knapsack, k-SUM, All-Pairs Shortest Paths, and string pattern matching problems. For these applications it typically suffices to compute convolutions of nonnegative vectors. This problem can be classically solved in time O(n log n) using the Fast Fourier Transform. However, in many applications the involved vectors are sparse and hence one could hope for output-sensitive algorithms to compute nonnegative convolutions. This question was raised by Muthukrishnan and solved by Cole and Hariharan (STOC '02) by a randomized algorithm running in near-linear time in the (unknown) output-size t and recently improved by Bringmann, Fischer and Nakos (STOC '21) in O(k log k) Monte Carlo time. Chan and Lewenstein (STOC '15) presented a deterministic algorithm with a overhead in running time and the additional assumption that a small superset of the output is given; this assumption was later removed by Bringmann and Nakos (ICALP '21). In this paper we present the first deterministic near-linear-time algorithm for computing sparse nonnegative convolutions. This immediately gives improved deterministic algorithms for the state-of-the-art of output-sensitive Subset Sum, block-mass pattern matching, N-fold Boolean convolution, and others, matching up to log-factors the fastest known randomized algorithms for these problems. Our algorithm is a blend of algebraic and combinatorial ideas and techniques. Additionally, we provide two fast Las Vegas algorithms for computing sparse nonnegative convolutions. In particular, we present a simple O(t log2 t) time algorithm, which is an accessible alternative to Cole and Hariharan's algorithm. Subsequently, we further refine this new algorithm to run in Las Vegas time O(t log t · log log t), which matches the running time of the dense case apart from the log log t factor.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Removing Additive Structure in 3SUM-Based Reductions 引用了 Sparse nonnegative convolution is equivalent to dense nonnegative convolution
- Removing Additive Structure in 3SUM-Based Reductions 引用了 Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics 引用了 Removing Additive Structure in 3SUM-Based Reductions
- Sparse nonnegative convolution is equivalent to dense nonnegative convolution 引用了 Top-k-convolution and the quest for near-linear output-sensitive subset sum
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Sparse nonnegative convolution is equivalent to dense nonnegative convolution
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 Top-k-convolution and the quest for near-linear output-sensitive subset sum
- An Improved Pseudopolynomial Time Algorithm for Subset Sum 引用了 A Fine-Grained Perspective on Approximating Subset Sum and Partition
- A Fine-Grained Perspective on Approximating Subset Sum and Partition 引用了 Top-k-convolution and the quest for near-linear output-sensitive subset sum
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics 引用了 Sparse nonnegative convolution is equivalent to dense nonnegative convolution
- The Time Complexity of Fully Sparse Matrix Multiplication 引用了 Sparse nonnegative convolution is equivalent to dense nonnegative convolution
- The Time Complexity of Fully Sparse Matrix Multiplication 引用了 Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
引用它的顶会 Paper15
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 次引用
- Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 次引用
- The Time Complexity of Fully Sparse Matrix MultiplicationAmir Abboud, Karl Bringmann, Nick Fischer, Marvin KünnemannSODA 2024 · 6 次引用
- An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用
- Fredman's Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and MoreTimothy M. Chan, Virginia Vassilevska Williams, Yinzhan XuSTOC 2023 · 4 次引用
它引用的 Paper3
- Top-k-convolution and the quest for near-linear output-sensitive subset sumKarl Bringmann, Vasileios NakosSTOC 2020 · 18 次引用
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
- Sparse nonnegative convolution is equivalent to dense nonnegative convolutionKarl Bringmann, Nick Fischer, Vasileios NakosSTOC 2021
相关 Paper
- Shaving Logs via Large Sieve Inequality: Faster Algorithms for Sparse Convolution and MoreCe Jin, Yinzhan XuSTOC 2024 · 1 次引用
- Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
- Deterministic Sparse Pattern Matching via the Baur-Strassen TheoremNick FischerSODA 2024 · 2 次引用
- On Minimizing Tardy Processing Time, Max-Min Skewed Convolution, and Triangular Structured ILPsKim-Manuel Klein, Adam Polak, Lars RohwedderSODA 2023 · 5 次引用
- Deterministic Padded Decompositions and Negative-Weight Shortest PathsJason LiSTOC 2026 · 6 次引用
