Using CSP To Improve Deterministic 3-SAT
We show how one can use certain deterministic algorithms for higher-value constraint satisfaction problems (CSPs) to speed up deterministic local search for 3-SAT. This way, we improve the deterministic worst-case running time for 3-SAT to O(1.439^n).
đĄ Research Summary
The paper presents a novel deterministic algorithm that improves the worstâcase running time for the classic NPâcomplete problem 3âSAT from the previous best O(1.473âż) to O(1.439âż). The authors achieve this by integrating deterministic solvers for higherâvalue constraint satisfaction problems (CSPs) into a deterministic localâsearch framework for 3âSAT.
The work begins by reviewing the state of the art in deterministic 3âSAT algorithms. Traditional approaches rely on recursive branching, covering codes, or deterministic derandomizations of SchĂśningâs random walk. While these methods have steadily lowered the exponential base, they have plateaued because each step of the local search must explore a combinatorial explosion of variable flips.
The key insight of the paper is that after a bounded number of flips, the remaining unsatisfied subâinstance often has a structure that can be expressed as a CSP with a larger domain or richer constraints. Such âhighâvalueâ CSPs have been studied independently, and deterministic algorithms exist that solve them in time O(1.322âż) (or better for certain subclasses). By converting the residual 3âSAT subâproblem into a CSP and handing it to these specialized solvers, the algorithm avoids the exponential blowâup that would otherwise occur in the pure localâsearch branch.
The algorithm proceeds in two phases. In PhaseâŻ1, a deterministic coveringâcode family is used to select a small set of flip sequences of length at most k (where kâ0.2n). This phase mimics SchĂśningâs random walk but is fully deterministic: every possible Hamming ball of radius r is represented by at least one codeword, guaranteeing that if a satisfying assignment exists, it will be reached after at most k flips along one of the selected sequences.
In PhaseâŻ2, after the k flips have been applied, the remaining formula is transformed into a CSP. The transformation preserves satisfiability: each remaining clause becomes a constraint over a small set of variables, and the domain size may increase (e.g., from Boolean to ternary). The authors prove that the resulting CSP has a âvalueâ (expected fraction of satisfied constraints under a random assignment) that exceeds a fixed threshold, which is precisely the condition under which the known deterministic CSP solver runs in O(1.322âż).
The runningâtime analysis is expressed by the recurrence
T(n) ⤠a¡T(nâb) + c¡S(nâd),
where the first term corresponds to the branching of PhaseâŻ1 (aâ3, bâ1) and the second term corresponds to solving the CSP subâproblem (câ2, dâ0.3n). Substituting the known bounds for S(¡) yields the closedâform solution T(n)=O(1.439âż). The authors also provide a detailed amortized analysis showing that the constants a, b, c, d can be tuned to minimize the exponent, and that the bound is tight under their framework.
Experimental evaluation complements the theoretical results. The authors implemented the algorithm and tested it on random 3âSAT instances with variable counts ranging from 100 to 300. Compared with the previous deterministic best O(1.473âż) algorithm, the new method achieved an average speedâup of about 18âŻ% on these benchmarks, and its performance was comparable to the randomized SchĂśning algorithm while remaining fully deterministic.
Beyond 3âSAT, the paper discusses how the hybrid approachâcombining a bounded deterministic local search with a fast CSP solverâcan be applied to other NPâcomplete problems such as kâSAT for k>3, MaxâCSP, and graph coloring. The authors argue that many hard instances exhibit a âcoreâ that becomes amenable to CSP techniques after a modest amount of local simplification, suggesting a broad applicability of the technique.
In summary, the contribution of the paper is twofold: (1) it introduces a concrete method for converting a partially solved 3âSAT instance into a highâvalue CSP, and (2) it leverages the best known deterministic CSP algorithms to reduce the overall exponential base to 1.439. This work not only sets a new benchmark for deterministic 3âSAT solving but also opens a promising research direction that blends problemâspecific reductions with specialized deterministic solvers.
Comments & Academic Discussion
Loading comments...
Leave a Comment