Lune

STOC2020Top-tier venue

Top-k-convolution and the quest for near-linear output-sensitive subset sum

Karl Bringmann, Vasileios Nakos

Abstract

In the classical SubsetSum problem we are given a set X and a target t, and the task is to decide whether there exists a subset of X which sums to t. A recent line of research has resulted in O(t)-time algorithms, which are (near-)optimal under popular complexity-theoretic assumptions. On the other hand, the standard dynamic programming algorithm runs in time O(n • |S(X, t)|), where S(X, t) is the set of all subset sums of X that are smaller than t. Furthermore, all known pseudopolynomial algorithms actually solve a stronger task, since they actually compute the whole set S(X, t).

As the aforementioned two running times are incomparable, in this paper we ask whether one can achieve the best of both worlds: running time O(|S(X, t)|). In particular, we ask whether S(X, t) can be computed in near-linear time in the output-size. Using a diverse toolkit containing techniques such as color coding, sparse recovery, and sumset estimates, we make considerable progress towards this question and design an algorithm running in time O(|S(X, t)| 4/3 ).

Central to our approach is the study of top-k-convolution, a natural problem of independent interest: given sparse polynomials with non-negative coefficients, compute the lowest k non-zero monomials of their product. We design an algorithm running in time O(k 4/3 ), by a combination of sparse convolution and sumset estimates considered in Additive Combinatorics. Moreover, we provide evidence that going beyond some of the barriers we have faced requires either an algorithmic breakthrough or possibly new techniques from Additive Combinatorics on how to pass from information on restricted sumsets to information on unrestricted sumsets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • An Improved Pseudopolynomial Time Algorithm for Subset Sum cites On Near-Linear-Time Algorithms for Dense Subset Sum
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum cites Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution
  • An Improved Pseudopolynomial Time Algorithm for Subset Sum cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
  • Deterministic and Las Vegas Algorithms for Sparse Nonnegative Convolution cites A Fine-Grained Perspective on Approximating Subset Sum and Partition
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Combinatorial Group Testing and Sparse Recovery Schemes with Near-Optimal Decoding TimeMahdi Cheraghchi, Vasileios NakosFOCS 2020 · 21 citations
  2. On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 citations
  3. A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 citations
  4. Deterministic and Las Vegas Algorithms for Sparse Nonnegative ConvolutionKarl Bringmann, Nick Fischer, Vasileios NakosSODA 2022 · 8 citations
  5. An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 citations

Related papers

  1. Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
  2. Fast Low-Space Algorithms for Subset SumCe Jin, Nikhil Vyas, Ryan WilliamsSODA 2021 · 10 citations
  3. Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 citations
  4. Beating Bellman's Algorithm for Subset SumKarl Bringmann, Nick Fischer, Vasileios NakosSODA 2025 · 2 citations
  5. On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius ProblemKim-Manuel KleinSODA 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines