English

Dense Subset Sum may be the hardest

Data Structures and Algorithms 2015-08-26 v1 Computational Complexity Discrete Mathematics Information Theory math.IT

Abstract

The Subset Sum problem asks whether a given set of nn positive integers contains a subset of elements that sum up to a given target tt. It is an outstanding open question whether the O(2n/2)O^*(2^{n/2})-time algorithm for Subset Sum by Horowitz and Sahni [J. ACM 1974] can be beaten in the worst-case setting by a "truly faster", O(2(0.5δ)n)O^*(2^{(0.5-\delta)n})-time algorithm, with some constant δ>0\delta > 0. Continuing an earlier work [STACS 2015], we study Subset Sum parameterized by the maximum bin size β\beta, defined as the largest number of subsets of the nn input integers that yield the same sum. For every ϵ>0\epsilon > 0 we give a truly faster algorithm for instances with β2(0.5ϵ)n\beta \leq 2^{(0.5-\epsilon)n}, as well as instances with β20.661n\beta \geq 2^{0.661n}. Consequently, we also obtain a characterization in terms of the popular density parameter n/log2tn/\log_2 t: if all instances of density at least 1.0031.003 admit a truly faster algorithm, then so does every instance. This goes against the current intuition that instances of density 1 are the hardest, and therefore is a step toward answering the open question in the affirmative. Our results stem from novel combinations of earlier algorithms for Subset Sum and a study of an extremal question in additive combinatorics connected to the problem of Uniquely Decodable Code Pairs in information theory.

Keywords

Cite

@article{arxiv.1508.06019,
  title  = {Dense Subset Sum may be the hardest},
  author = {Per Austrin and Mikko Koivisto and Petteri Kaski and Jesper Nederlof},
  journal= {arXiv preprint arXiv:1508.06019},
  year   = {2015}
}

Comments

14 pages

R2 v1 2026-06-22T10:40:44.561Z