English

A Fine-Grained Perspective on Approximating Subset Sum and Partition

Data Structures and Algorithms 2020-10-28 v2

Abstract

Approximating Subset Sum is a classic and fundamental problem in computer science and mathematical optimization. The state-of-the-art approximation scheme for Subset Sum computes a (1ε)(1-\varepsilon)-approximation in time O~(min{n/ε,n+1/ε2})\tilde{O}(\min\{n/\varepsilon, n+1/\varepsilon^2\}) [Gens, Levner'78, Kellerer et al.'97]. In particular, a (11/n)(1-1/n)-approximation can be computed in time O(n2)O(n^2). We establish a connection to Min-Plus-Convolution, a problem that is of particular interest in fine-grained complexity theory and can be solved naively in time O(n2)O(n^2). Our main result is that computing a (11/n)(1-1/n)-approximation for Subset Sum is subquadratically equivalent to Min-Plus-Convolution. Thus, assuming the Min-Plus-Convolution conjecture from fine-grained complexity theory, there is no approximation scheme for Subset Sum with strongly subquadratic dependence on nn and 1/ε1/\varepsilon. In the other direction, our reduction allows us to transfer known lower order improvements from Min-Plus-Convolution to Subset Sum, which yields a mildly subquadratic randomized approximation scheme. This adds the first approximation problem to the list of problems that are equivalent to Min-Plus-Convolution. For the related Partition problem, an important special case of Subset Sum, the state of the art is a randomized approximation scheme running in time O~(n+1/ε5/3)\tilde{O}(n+1/\varepsilon^{5/3}) [Mucha~et~al.'19]. We adapt our reduction from Subset Sum to Min-Plus-Convolution to obtain a related reduction from Partition to Min-Plus-Convolution. This yields an improved approximation scheme for Partition running in time O~(n+1/ε3/2)\tilde{O}(n + 1/\varepsilon^{3/2}). Our algorithm is the first deterministic approximation scheme for Partition that breaks the quadratic barrier.

Keywords

Cite

@article{arxiv.1912.12529,
  title  = {A Fine-Grained Perspective on Approximating Subset Sum and Partition},
  author = {Karl Bringmann and Vasileios Nakos},
  journal= {arXiv preprint arXiv:1912.12529},
  year   = {2020}
}

Comments

accepted at SODA'21, 28 pages

R2 v1 2026-06-23T12:58:09.903Z