arXiv ScienceSearch

arXiv · 2507.15511

Certificate-Sensitive Subset Sum: Realizing Instance Complexity

Abstract

The Subset Sum problem is a classical NP-complete problem with a long-standing $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)|$, the number of distinct subset sums. Our enumerator constructs all such sums in time $O(U \cdot n^2)$, with a randomized variant achieving expected time $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^*(2^{n/2-\varepsilon})$ time with $\varepsilon=\log_2(\frac{4}{3})$ - the first unconditional deterministic improvement over the classical $O^*(2^{n/2})$ bound for all sufficiently large $n$. 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 $U$.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jesus Salas. 2025-08-28. Certificate-Sensitive Subset Sum: Realizing Instance Complexity. https://arxiv.org/abs/2507.15511

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Graph Homomorphisms and Universal Algebra

Constraint satisfaction problems are computational problems that naturally appear in many areas of theoretical computer science. One of the central themes is their computational complexity, and in particular the border between polynomial-time tractability and NP-hardness. In this course we introduce the universal-algebraic approach to study the computational complexity of finite-domain CSPs. The course covers in particular the cyclic terms and bounded width theorems. To keep the presentation accessible, we start the course in the tangible setting of directed graphs and graph homomorphism problems.

cs.CC

The Exact Growth Rate of Space-Optimal Reversible Pebbling on Chains

We determine the exact time exponent of space-optimal reversible pebbling on chains as $1.331742379256310\ldots$. The growth rate of space-optimal reach exists as a limit and admits a variational formula. The same exponent governs complete computations at minimal space, uniformly in the chain length.

cs.CC

Randomized query complexity can beat certificate complexity

A long-standing open question in query complexity asks whether there is a total Boolean function f with R(f) << C(f), where R(f) and C(f) denote its bounded-error randomized query complexity and certificate complexity, respectively. We construct a function with R(f) = O~(sqrt{C(f)}), which is optimal up to log factors. The same function also has $Q(f) = O~(C(f)^{1/4}), where Q(f) is the bounded-error quantum query complexity of f, which is also nearly optimal.

cs.CC