Constraint satisfaction problems with isolated solutions are hard

Lenka Zdeborová, Marc MézardarXiv 2008 · DOI

Abstract

We study the phase diagram and the algorithmic hardness of the random 'locked' constraint satisfaction problems, and compare them to the commonly studied 'non-locked' problems like satisfiability of boolean formulas or graph coloring. The special property of the locked problems is that clusters of solutions are isolated points. This simplifies significantly the determination of the phase diagram, which makes the locked problems particularly appealing from the mathematical point of view. On the other hand we show empirically that the clustered phase of these problems is extremely hard from the algorithmic point of view: the best known algorithms all fail to find solutions. Our results suggest that the easy/hard transition (for currently known algorithms) in the locked problems coincides with the clustering transition. These should thus be regarded as new benchmarks of really hard constraint satisfaction problems.

Introduction

Constraint Satisfaction Problems (CSPs), such as Sudoku, graph coloring, and boolean satisfiability (SAT), are central to computer science. While many are NP-complete in the worst case, understanding their "typical-case" complexity—how they behave on random instances—is a major research focus. Statistical physics has provided deep insights into this area, identifying "phase transitions" as constraints are added to a system.

A critical transition is clustering, where the space of solutions fragments into disjoint groups. In standard CSPs like 3-SAT, these clusters are large "blobs" containing many solutions. This paper investigates a unique class called "locked" CSPs, where every cluster is reduced to a single, isolated solution.

The "Locked" Property

In a locked CSP, solutions are structurally rigid. Unlike standard problems where one might move between solutions by flipping a few variables, locked problems require flipping an entire "loop" of variables—typically $O(\log N)$ in size—to reach a new valid state. This makes solutions "point-like" clusters.

The locked property: changing one variable forces a cascade of changes to maintain satisfaction.

This structural rigidity leads to a paradox: while the point-like nature of clusters simplifies the mathematical analysis of the phase diagram, it creates a "nightmarish" landscape for algorithms. There is no local gradient or information to guide a solver toward a solution.

Methodology: The Cavity Method

The authors utilize the cavity method, a powerful tool from the physics of disordered systems, to map the phase diagram. This approach relies on the fact that random CSPs can be represented as factor graphs that are locally tree-like.

A factor graph representation used in the cavity method, showing variables (circles) and constraints (squares).

Key techniques include:

  • Belief Propagation (BP): A message-passing algorithm to estimate marginal probabilities.
  • Survey Propagation (SP): An advanced variant designed for clustered solution spaces.
  • Moment Methods: Used to rigorously bound the satisfiability threshold.

The study focuses on Locked Occupation Problems (LOPs), such as 1-in-K SAT, on regular and truncated Poissonian graph ensembles.

Phase Transitions and Algorithmic Hardness

The research identifies three distinct phases in locked CSPs:

  1. Liquid Phase ($l < l_d$): Solutions are sufficiently connected or accessible that algorithms find them easily in linear time.
  2. Clustered Phase ($l_d < l < l_s$): Solutions exist but are isolated and hidden.
  3. Unsatisfiable Phase ($l > l_s$): No solutions exist.

A major finding is the "algorithmic wall." In standard CSPs, there is often a gap between the clustering transition ($l_d$) and the point where algorithms fail. In locked problems, empirical evidence shows that algorithmic failure coincides exactly with the clustering transition ($l_d$). Even powerful solvers like BP-reinforcement fail completely the moment the system enters the clustered phase, despite solutions being plentiful.

Conclusion

Locked CSPs represent a frontier in understanding algorithmic hardness. Their mathematical tractability, combined with their extreme resistance to current solvers in the clustered phase, makes them ideal benchmarks for the next generation of optimization algorithms. Future work may explore these problems as foundations for new cryptographic primitives or seek formal proofs for the observed algorithmic wall.

Summary updated

BibTeX
@misc{zdeborova2008constraint,
  author = {Lenka Zdeborová and Marc Mézard},
  title = {{Constraint satisfaction problems with isolated solutions are hard}},
  year = {2008},
  eprint = {0810.1499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0810.1499},
}
Figure