Abstract
We study the satisfiability of randomly generated formulas formed by $M$ clauses of exactly $K$ literals over $N$ Boolean variables. For a given value of $N$ the problem is known to be most difficult with $α=M/N$ close to the experimental threshold $α_c$ separating the region where almost all formulas are SAT from the region where all formulas are UNSAT. Recent results from a statistical physics analysis suggest that the difficulty is related to the existence of a clustering phenomenon of the solutions when $α$ is close to (but smaller than) $α_c$. We introduce a new type of message passing algorithm which allows to find efficiently a satisfiable assignment of the variables in the difficult region. This algorithm is iterative and composed of two main parts. The first is a message-passing procedure which generalizes the usual methods like Sum-Product or Belief Propagation: it passes messages that are surveys over clusters of the ordinary messages. The second part uses the detailed probabilistic information obtained from the surveys in order to fix variables and simplify the problem. Eventually, the simplified problem that remains is solved by a conventional heuristic.
Introduction
The Boolean Satisfiability problem (SAT) is a foundational challenge in computer science. While many instances are computationally tractable, "random K-SAT" formulas—where each clause contains $K$ literals—reveal a striking phase transition. As the ratio of clauses to variables ($\alpha = M/N$) grows, the problem shifts abruptly from being almost certainly satisfiable (SAT) to almost certainly unsatisfiable (UNSAT).
The region immediately preceding this critical threshold ($\alpha_c$) is the "Hard SAT" phase. In this regime, traditional local search heuristics and standard message-passing algorithms like Belief Propagation (BP) typically fail. The reason lies in the geometry of the solution space: instead of a single large cluster of solutions, the space shatters into numerous tiny, isolated clusters. Standard algorithms struggle because they either get trapped in the gaps between these clusters or attempt to average across them, leading to non-convergence or incorrect results.
The Survey Propagation Algorithm
To overcome these geometric hurdles, the authors propose Survey Propagation (SP). Unlike BP, which communicates the marginal probability of a variable being True or False, SP passes "surveys"—messages that account for the distribution of solutions across multiple clusters.
A key innovation in SP is the introduction of a "don't-care" state ($*$). This state represents a variable that remains unconstrained within a specific cluster of solutions. By identifying which variables are "frozen" (must take a specific value) versus those that are "unconstrained," SP can navigate the complex landscape of the hard SAT phase.
The complete solver uses Survey Inspired Decimation (SID):
- Iterate SP: Run the message-passing algorithm until it converges.
- Calculate Biases: Use the converged surveys to determine the bias of each variable toward being True, False, or "don't-care."
- Decimate: Select the most biased variable, fix its value, and simplify the formula.
- Repeat: Continue until the problem is reduced to a size manageable by a local search heuristic like WalkSAT.
The Physics Connection: The Cavity Method
The theoretical foundation of SP is rooted in the "cavity method" from the statistical physics of spin glasses. This method treats the SAT formula as a physical system of interacting particles on a graph.
By assuming the graph is locally tree-like (as shown in Figure 2), researchers can derive equations for how information (messages) propagates through the network. SP effectively ignores the "noise" generated by the boundaries of different solution clusters, focusing instead on the "backbone" of variables that are truly constrained across the solution space.
Experimental Results and Scalability
The paper demonstrates the remarkable efficiency of SP on random 3-SAT instances. The algorithm successfully solved instances with up to 10 million variables at $\alpha = 4.2$. This was a significant breakthrough, as such high clause-to-variable ratios were previously considered intractable for problems of this scale.
Key performance metrics include:
- Near-Linear Scaling: The time to convergence typically scales near-linearly or as $N \log N$ with the number of variables.
- Proximity to Threshold: While traditional methods often fail around $\alpha \approx 3.9$, SP remains effective up to $\alpha \approx 4.252$, coming very close to the theoretical limit of $\alpha_c \approx 4.267$.
Conclusion and Future Directions
Survey Propagation represents a major leap in our ability to solve hard random SAT instances. However, several challenges remain. The convergence of SP is currently a heuristic based on physical intuition rather than a rigorous mathematical proof. Furthermore, a small "gap" still exists between the limit of SP ($\alpha \approx 4.252$) and the true SAT-UNSAT threshold. Closing this gap might require even more sophisticated "surveys of surveys." Finally, while SP excels at random instances, adapting it to the highly structured SAT problems found in industrial applications remains an active area of research.
Summary updated