Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT

Konstantin KutzkovarXiv 2026

This paper, titled "Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT," presents a significant theoretical step in solving the Max 2-SAT problem—a fundamental NP-hard optimization problem. The author, Konstantin Kutzkov, introduces a novel pruning technique that allows for sub-exponential time algorithms while maintaining a polynomial space footprint.

TL;DR

The paper introduces a method to generate and accumulate linear pruning constraints during a DPLL-style search for Max 2-SAT. This technique yields the first polynomial-space algorithms that solve several classes of dense Max 2-SAT instances in $O^*(2^{(1-\gamma)n})$ time, effectively bridging a long-standing gap between theoretical sub-exponential algorithms and practical space requirements.

What Problem Does This Paper Address?

Max 2-SAT asks for a Boolean assignment that satisfies the maximum number of clauses in a 2-CNF formula. While the decision version (2-SAT) is solvable in polynomial time, the optimization version is NP-hard.

For decades, researchers have sought algorithms that beat the $O^*(2^n)$ exhaustive search bound. While fast algorithms exist for sparse instances (where the number of clauses $m$ is linear in the number of variables $n$), dense instances have remained stubborn. Ryan Williams proposed an algorithm in 2004 that beats $2^n$ for all instances, but it requires $O^*(2^{2n/3})$ space, making it purely of theoretical interest. The challenge addressed here is: Can we achieve sub-exponential time for dense Max 2-SAT using only polynomial space?

Methods

The author builds upon the classic DPLL branching algorithm but adds a powerful new mechanism: Accumulating Pruning Constraints.

  1. Pruning Lemma: When the algorithm branches on a variable $v$, it first explores a "preferred" value (one that satisfies more clauses on average). When it backtracks to explore the "non-preferred" value, it knows that for this branch to be optimal, it must satisfy a specific condition. This condition is expressed as a hard pruning constraint—a linear inequality over the literals of $v$'s neighbors.
  2. Accumulation: As the algorithm moves down a branch, these constraints are added together. While a single constraint might only prune a small part of the search space, the sum of these constraints eventually prunes all but an exponentially small fraction of possible assignments.
  3. Candidate Enumeration: Instead of checking every possible completion of a partial assignment, the algorithm uses a specialized procedure to list only the "candidates" that satisfy the accumulated linear inequality.
  4. Spectral Preprocessing: For complex instances like Max-Cut on stochastic block models, the algorithm uses approximate diagonalization of the adjacency matrix to "guess" projections of the assignment, allowing it to handle hidden community structures.

Datasets

As a theoretical computer science paper, it does not use empirical datasets for training. Instead, it defines and proves bounds for four specific classes of instances:

  • Biased Formulas: Instances where variables appear significantly more often with one sign than the other.
  • Semirandom 2-CNF: Formulas where variable pairs are chosen arbitrarily, but the signs of the literals are random.
  • Max-Cut on Regular Expanders: Graphs where every node has the same degree and the graph has strong connectivity properties (spectral expanders).
  • Max-Cut on Stochastic Block Models: The standard model for networks with community structures.

Key Insights and Ideas

  • Local to Global Pruning: The "aha moment" is realizing that local optimality conditions at each branching step can be aggregated into a single, powerful global constraint.
  • Randomness as a Tool: In semirandom models, the random signs of literals prevent constraints from overlapping in a way that would cancel them out, ensuring the accumulated sum remains restrictive.
  • Guessing Global Statistics: For Max-Cut, the algorithm "guesses" the number of nodes on one side of the cut. This fixes a global parameter, allowing the pruning constraints to focus purely on local "excesses," which are easier to bound.
  • Formal Verification: Unusually for this field, the core arguments were formalized and verified using the Lean 4 theorem prover, providing a machine-checked guarantee of the algorithm's correctness and time bounds.

Key Results

The paper proves that for the four classes mentioned, the algorithm runs in $O^*(2^{(1-\gamma)n})$ time for a constant $\gamma > 0$ using only polynomial space.

Table 1: Summary of results for the four classes of Max 2-SAT instances.

As shown in Figure 1, the algorithm provides a worst-case guarantee for biased variables and expanders, and a "with high probability" (w.h.p.) guarantee for semirandom and block model instances. This represents the first time such bounds have been achieved without requiring exponential space for dense instances.

Limitations and Future Work

  • Conservative Bounds: The author notes that the proven savings ($\gamma$) are small because the analysis is conservative. In practice, the pruning is expected to be much more aggressive.
  • Class Specificity: While the technique is general, the sub-exponential time bound is only proven for specific classes. Finding a polynomial-space algorithm that beats $2^n$ for all dense Max 2-SAT instances remains an open problem.
  • Practical Implementation: The paper focuses on theoretical bounds. Future work involves integrating these pruning constraints into high-performance branch-and-bound solvers to test their impact on real-world benchmarks like protein design or spin glass problems.

Summary updated

BibTeX
@misc{kutzkov2026accumulating,
  author = {Konstantin Kutzkov},
  title = {{Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT}},
  year = {2026},
  eprint = {2610.39992},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.39992},
}
Figure