Lune

STOC2021顶会

Sparse nonnegative convolution is equivalent to dense nonnegative convolution

Karl Bringmann, Nick Fischer, Vasileios Nakos

摘要

Computing the convolution A B of two length-n vectors A, B is an ubiquitous computational primitive, with applications in a variety of disciplines. Within theoretical computer science, applications range from string problems to Knapsack-type problems, and from 3SUM to All-Pairs Shortest Paths. These applications often come in the form of nonnegative convolution, where the entries of A, B are nonnegative integers. The classical algorithm to compute A B uses the Fast Fourier Transform (FFT) and runs in time O(n log n).

However, in many cases A and B might satisfy sparsity conditions, and hence one could hope for significant gains compared to the standard FFT algorithm. The ideal goal would be an O(k log k)-time algorithm, where k is the number of non-zero elements in the output, i.e., the size of the support of A B. This problem is referred to as sparse nonnegative convolution, and has received a considerable amount of attention in the literature; the fastest algorithms to date run in time O(k log 2 n).

The main result of this paper is the first O(k log k)-time algorithm for sparse nonnegative convolution. Our algorithm is randomized and assumes that the length n and the largest entry of A and B are subexponential in k. Surprisingly, we can phrase our algorithm as a reduction from the sparse case to the dense case of nonnegative convolution, showing that, under some mild assumptions, sparse nonnegative convolution is equivalent to dense nonnegative convolution for constant-error randomized algorithms. Specifically, if D(n) is the time to convolve two nonnegative length-n vectors with success probability 2/3, and S(k) is the time to convolve two nonnegative vectors with output size k with success probability 2/3, then S(k) = O(D(k) + k(log log k) 2 ).

Our approach uses a variety of new techniques in combination with some old machinery from linear sketching and structured linear algebra, as well as new insights on linear hashing, the most classical hash function.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Removing Additive Structure in 3SUM-Based Reductions 引用了 Deterministic and Las Vegas Algorithms for Sparse 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
  • 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 引用了 Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution
  • Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution 引用了 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 引用了 Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution
  • The Time Complexity of Fully Sparse Matrix Multiplication 引用了 Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution
  • The Time Complexity of Fully Sparse Matrix Multiplication 引用了 Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 次引用
  2. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 次引用
  3. Deterministic and Las Vegas Algorithms for Sparse Nonnegative ConvolutionKarl Bringmann, Nick Fischer, Vasileios NakosSODA 2022 · 8 次引用
  4. The Time Complexity of Fully Sparse Matrix MultiplicationAmir Abboud, Karl Bringmann, Nick Fischer, Marvin KünnemannSODA 2024 · 6 次引用
  5. An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用

它引用的 Paper1

  1. Top-k-convolution and the quest for near-linear output-sensitive subset sumKarl Bringmann, Vasileios NakosSTOC 2020 · 18 次引用

相关 Paper

  1. Shaving Logs via Large Sieve Inequality: Faster Algorithms for Sparse Convolution and MoreCe Jin, Yinzhan XuSTOC 2024 · 1 次引用
  2. Traversing the FFT Computation Tree for Dimension-Independent Sparse Fourier TransformsKarl Bringmann, Michael Kapralov, Mikhail Makarov, Vasileios Nakos 等SODA 2023 · 1 次引用
  3. Deterministic Sparse Fourier Transform for Continuous Signals with Frequency GapXiaoyu Li, Zhao Song, Shenghao XieICML 2025
  4. ℓ2/ℓ2 Sparse Recovery via Weighted Hypergraph PeelingNick Fischer, Vasileios NakosFOCS 2025 · 1 次引用
  5. A Nearly Quadratic-Time FPTAS for KnapsackLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖