General Bounds on Satisfiability Thresholds for Random CSPs via Fourier Analysis

Colin Wei, Stefano Ermon

TL;DR

This paper introduces a universal method for calculating the satisfiability thresholds of random Boolean Constraint Satisfaction Problems (CSPs). By leveraging the Fourier analysis of boolean functions, the authors provide a general, easily computable formula for lower bounds that applies to any constraint type, bypassing the historical need for problem-specific mathematical derivations.

What Problem Does This Paper Address?

Constraint Satisfaction Problems (CSPs) are foundational to AI, optimization, and complexity theory. When generating random CSPs, a fascinating "phase transition" occurs: if the ratio of constraints to variables ($r = m/n$) is below a certain threshold, the problem is almost certainly satisfiable. If it crosses that threshold, it becomes almost certainly unsatisfiable.

Historically, researchers have spent decades pinpointing this exact threshold, but they had to do it on a case-by-case basis using highly complex, bespoke mathematical proofs for specific problems like $k$-SAT or $k$-XORSAT. There was no generalized framework. This paper tackles that gap by asking: Can we find a general formula that takes any arbitrary constraint function and outputs a tight bound on its satisfiability threshold?

Methods

To find lower bounds for satisfiability thresholds, researchers typically use the second moment method. This involves comparing the square of the expected number of solutions to the expected square of the number of solutions. However, this standard method usually fails for CSPs because solutions are highly correlated (e.g., if one assignment works, a slightly tweaked one probably works too, which blows up the statistical variance).

The standard second moment ratio (a) decays for 3-SAT, necessitating the weighted methods and weighting functions (b, c) developed by the authors.

To fix this, the authors use a weighted second moment method, assigning weights to solutions to artificially reduce these correlations. The novel breakthrough is how they choose these weights: they use the Fourier expansion of boolean functions. By representing the constraint function in the Fourier basis, the authors can mathematically quantify the "symmetry" of the constraint's solution set. They prove that the Fourier spectrum controls the level of spatial correlation between satisfying assignments. Using this insight, they derive a neat, closed-form matrix equation that yields the lower bound for any constraint function based purely on its Fourier coefficients.

Datasets

The authors programmatically generate synthetic random CSP instances based on specific boolean functions (such as "tribes" functions, which are compositions of OR and AND/XOR gates) to empirically validate their theoretical bounds. They use an existing random CSP solver called Dimetheus to test satisfiability.

Key Insights and Ideas

  • Fourier Spectrum = Symmetry: The Fourier spectrum of a constraint function directly measures how "symmetric" its solution set is. High first-order Fourier coefficients indicate that the satisfying assignments are skewed toward specific variables. This skew increases solution correlation, which in turn lowers the probability of satisfiability.
  • Universality over Specificity: You no longer need a new, 50-page proof to find the threshold of a new CSP variant. If you can compute the Fourier coefficients of the constraint function, you can immediately plug them into the authors' formula to get the threshold bounds.
  • The "Symmetrization Penalty": The mathematical gap between the lower and upper bounds is viewed as a "symmetrization penalty"—the price paid to balance solution weights so the second moment method functions properly.

Key Results

  • A Computable General Formula: The authors provide a simple formula for the lower bound: $r_{f,\text{low}} = \frac{1}{2} \frac{c}{1 - c}$, where $c$ is derived from the constraint function's Fourier coefficients.
  • Matching Known Bounds: For $k$-SAT, their bound is $2^{k-1} - O(k)$, which is asymptotically tight.
  • Novel Bounds for Unstudied Problems: They established the first lower bounds for complex constraints like $k$-MAJORITY ($0.111 - o_a(1)$) and composite functions like $\text{OR}_b \otimes \text{XOR}_a$ ($2^{b-1} - 1/2$).
  • Empirical Validation: In experiments using "tribes" functions, the empirically observed phase transition falls exactly between the authors' theoretical lower and upper bounds.
Empirical satisfiability phase transitions for composite functions ($a=2, b=4$ and $a=2, b=5$) align with the theoretical lower and upper bounds.

Limitations and Future Work

The primary limitation is that the lower bounds are not perfectly tight. The authors suggest investigating whether tighter upper bounds can be found or if the "symmetrization penalty" is an artificial artifact that could be bypassed using different proof techniques.

Summary updated

BibTeX
@inproceedings{wei2017general,
  author = {Colin Wei and Stefano Ermon},
  title = {{General Bounds on Satisfiability Thresholds for Random CSPs via Fourier Analysis}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=jc3MDLxJM0w},
}
Figure