Lune

SODA2021顶会

On Near-Linear-Time Algorithms for Dense Subset Sum

Karl Bringmann, Philip Wellnitz

摘要

In the Subset Sum problem we are given a set of n positive integers X and a target t and are asked whether some subset of X sums to t. Natural parameters for this problem that have been studied in the literature are n and t as well as the maximum input number mxX and the sum of all input numbers ΣX . In this paper we study the dense case of Subset Sum, where all these parameters are polynomial in n. In this regime, standard pseudo-polynomial algorithms solve Subset Sum in polynomial time n O(1) .

Our main question is: When can dense Subset Sum be solved in near-linear time O(n)? We provide an essentially complete dichotomy by designing improved algorithms and proving conditional lower bounds, thereby determining essentially all settings of the parameters n, t, mxX , ΣX for which dense Subset Sum is in time O(n). For notational convenience we assume without loss of generality that t ≥ mxX (as larger numbers can be ignored) and t ≤ ΣX /2 (using symmetry). Then our dichotomy reads as follows:

By reviving and improving an additive-combinatorics-based approach by Galil and Margalit [SICOMP'91], we show that Subset Sum is in near-linear time O(n) if t mxX ΣX /n 2 . We prove a matching conditional lower bound: If Subset Sum is in near-linear time for any setting with t mxX ΣX /n 2 , then the Strong Exponential Time Hypothesis and the Strong k-Sum Hypothesis fail. We also generalize our algorithm from sets to multi-sets, albeit with non-matching upper and lower bounds.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Knapsack with Small Items in Near-Quadratic Time 引用了 Approximating Knapsack and Partition via Dense Subset Sums
  • Knapsack with Small Items in Near-Quadratic Time 引用了 Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 Knapsack with Small Items in Near-Quadratic Time
  • Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results 引用了 Approximating Knapsack and Partition via Dense Subset Sums
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. Approximating Knapsack and Partition via Dense Subset SumsMingyang Deng, Ce Jin, Xiao MaoSODA 2023 · 10 次引用
  2. Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 次引用
  3. Fast Low-Space Algorithms for Subset SumCe Jin, Nikhil Vyas, Ryan WilliamsSODA 2021 · 10 次引用
  4. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 次引用
  5. Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 次引用

它引用的 Paper1

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

相关 Paper

  1. An Improved Pseudopolynomial Time Algorithm for Subset SumLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangFOCS 2024 · 5 次引用
  2. Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
  3. Average-Case Subset Balancing ProblemsXi Chen, Yaonan Jin, Tim Randolph, Rocco A. ServedioSODA 2022 · 2 次引用
  4. Long Arithmetic Progressions in Sumsets and Subset Sums: Constructive Proofs and Efficient WitnessesLin Chen, Yuchen Mao, Guochuan ZhangSTOC 2025 · 1 次引用
  5. Approximating Partition in Near-Linear TimeLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSTOC 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖