Hard constraint satisfaction problems

Lenka Zdeborová, Marc MézardarXiv 2008

Abstract

Locked constraint satisfaction problems (LOPs) represent a new class of optimization challenges characterized by completely isolated, "point-like" solution clusters. This structural property renders standard state-of-the-art algorithms—including belief propagation and local search—ineffective, establishing LOPs as a rigorous benchmark for computational hardness. This paper explores the phase transitions of LOPs and demonstrates why the clustering threshold acts as a definitive barrier to algorithmic success.

Introduction

Constraint satisfaction problems (CSPs), such as the famous K-SAT, are fundamental to computer science and statistical physics. As constraint density increases, these problems typically undergo a phase transition from being easily solvable to unsatisfiable. A particularly intriguing region is the "clustered" phase, where solutions exist but are grouped into disjoint islands.

While some algorithms can navigate these islands in standard CSPs, "locked" constraint satisfaction problems (LOPs) introduce a type of clustering that acts as a total roadblock. In LOPs, every cluster is reduced to a single, isolated point. This lack of local "wiggle room" prevents algorithms from iteratively approaching a solution, revealing the limits of current computational methods.

Methodology

The study employs tools from statistical physics, specifically the cavity method and mean-field theory, to map the problem landscape.

  1. Model Definition: "Occupation CSPs" are defined where constraints depend on the sum of $K$ binary variables. A problem is "locked" if no two consecutive sums are allowed and every variable participates in at least two constraints.
  2. Message-Passing Algorithms: Belief Propagation (BP) and Survey Propagation (SP) are used to calculate entropy and identify phase transitions.
  3. Population Dynamics: This technique locates the clustering threshold ($l_d$) and the satisfiability threshold ($l_s$) by finding fixed points of the BP equations.
  4. Benchmarking: Three solvers—BP decimation (BPd), Stochastic Local Search (SLS), and Reinforced Belief Propagation (rBP)—were tested against random ensembles of LOP instances.

The "Locked" Phase and Avalanches

In a typical CSP, changing one variable might not violate any constraints. However, in a LOP, changing a single variable necessitates a "loop" of simultaneous changes in other variables to maintain satisfiability. This makes solutions extremely sparse and distant.

A critical feature of LOPs is the "avalanche of implications." Fixing a small fraction of variables can trigger an infinite chain of direct implications. As shown in Figure 1, the jump in "variables implied" demonstrates a discontinuity. If an algorithm makes a single error early in the process, this avalanche inevitably leads to a contradiction, making recovery impossible.

Figure 1: The jump in "variables implied" shows the discontinuity (avalanche) that causes decimation algorithms to fail.

Results and Algorithmic Failure

The clustering threshold ($l_d$) serves as a definitive "hardness wall." Below $l_d$, the problem exists in a "liquid" phase and is computationally easy. Once connectivity crosses $l_d$, the solution space shatters into isolated points.

Experimental results confirm that the success probability for both local search (SLS) and message-passing (rBP) algorithms drops to zero almost exactly at $l_d$. This occurs even though the problems remain satisfiable up to a significantly higher threshold, $l_s$.

Figure 2: Success probability of various algorithms for 1-or-3-in-5 SAT. Note how they all fail once the connectivity crosses the clustering threshold $l_d$.

Conclusion

LOPs provide a unique window into the nature of computational hardness. Because their clusters are single points, the complex Survey Propagation equations simplify back into standard Belief Propagation, making the phase diagram easier to calculate than for standard K-SAT, despite the increased algorithmic difficulty.

Future work may leverage LOPs in the design of non-linear error-correcting codes or in cryptography. "Planted" LOP instances, which are easy to generate with a known solution but seemingly impossible to solve without one, are prime candidates for robust one-way functions.

Summary updated

BibTeX
@misc{zdeborova2008hard,
  author = {Lenka Zdeborová and Marc Mézard},
  title = {{Hard constraint satisfaction problems}},
  year = {2008},
  eprint = {0803.2955},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0803.2955},
}
Figure