English

Certificate-Sensitive Subset Sum: Realizing Instance Complexity

Computational Complexity 2025-08-29 v6 Data Structures and Algorithms

Abstract

The Subset Sum problem is a classical NP-complete problem with a long-standing O(2n/2)O^*(2^{n/2}) deterministic bound due to Horowitz and Sahni. We present results at two distinct levels of generality. First (instance-sensitive bound), we introduce, to our knowledge, the first deterministic algorithm whose runtime provably scales with the certificate size U=Σ(S)U = |\Sigma(S)|, the number of distinct subset sums. Our enumerator constructs all such sums in time O(Un2)O(U \cdot n^2), with a randomized variant achieving expected time O(Un)O(U \cdot n). This provides a constructive link to Instance Complexity by tying runtime to the size of an information-theoretically minimal certificate. Second (unconditional worst-case bound), by combining this enumerator with a double meet-in-the-middle strategy and a Controlled Aliasing technique that enforces a simple canonical-normal-form (CNF) expansion policy on aliased states, we obtain a deterministic solver running in O(2n/2ε)O^*(2^{n/2-\varepsilon}) time with ε=log2(43)\varepsilon=\log_2(\frac{4}{3}) - the first unconditional deterministic improvement over the classical O(2n/2)O^*(2^{n/2}) bound for all sufficiently large nn. Finally, we refine fine-grained hardness for Subset Sum by making explicit the structural regime (high collision entropy / near collision-free) implicitly assumed by SETH-based reductions, i.e., instances with near-maximal UU.

Keywords

Cite

@article{arxiv.2507.15511,
  title  = {Certificate-Sensitive Subset Sum: Realizing Instance Complexity},
  author = {Jesus Salas},
  journal= {arXiv preprint arXiv:2507.15511},
  year   = {2025}
}

Comments

18 pages + appendix. Companion to arXiv:2503.20162 ("Beyond Worst-Case Subset Sum: An Adaptive, Structure-Aware Solver with Sub-2^{n/2} Enumeration"