[Paper Review] Counting Solutions to Random CNF Formulas
This paper presents the first fully polynomial-time approximation scheme (FPTAS) for counting satisfying assignments in random k-CNF formulas at densities exponentially higher than previous methods allow. By adapting Moitra's technique to handle high-degree variables and correlations, the algorithm achieves an ε-approximation in poly(n, 1/ε) time for densities α < 2^r k with r > 0 and sufficiently large k, significantly exceeding the 2 log k / k uniqueness threshold of prior correlation decay methods.
We give the first efficient algorithm to approximately count the number of solutions in the random $k$-SAT model when the density of the formula scales exponentially with $k$. The best previous counting algorithm for the permissive version of the model was due to Montanari and Shah and was based on the correlation decay method, which works up to densities $(1+o_k(1))\frac{2\log k}{k}$, the Gibbs uniqueness threshold for the model. Instead, our algorithm harnesses a recent technique by Moitra to work for random formulas. The main challenge in our setting is to account for the presence of high-degree variables whose marginal distributions are hard to control and which cause significant correlations within the formula.
Motivation & Objective
- To develop an efficient algorithm for approximating the number of satisfying assignments in random k-CNF formulas beyond the Gibbs uniqueness threshold.
- To overcome the challenge of high-degree variables that induce strong correlations and disrupt standard correlation decay techniques.
- To extend the applicability of approximation algorithms for counting solutions in random constraint satisfaction problems to higher densities.
- To provide a rigorous, polynomial-time method for estimating the solution count Z(Φ) in the random k-SAT model when α < 2^r k for r > 0.
Proposed method
- Adapts Moitra's method for counting in random structures to the random k-CNF formula setting.
- Partitions variables and clauses into 'good' and 'bad' sets based on degree and dependency structure.
- Uses a coupling tree with truncation depth L = C₀(3k²Δ)^⌈log(n/ε)⌉ to control correlation decay.
- Employs a recursive estimation procedure on partial assignments Λ∗ to compute ratios |ΩΛi+1| / |ΩΛi| with ε/n accuracy.
- Applies linear programming to verify feasibility of intermediate ratio estimates during binary search on bounds.
- Combines brute-force counting on small bad components with multiplicative error bounds to reconstruct the total solution count.
Experimental results
Research questions
- RQ1Can an FPTAS for counting solutions in random k-CNF formulas be achieved at densities beyond the 2 log k / k Gibbs uniqueness threshold?
- RQ2How can high-degree variables and their induced correlations be managed in a counting algorithm for random formulas?
- RQ3Is Moitra's method, originally designed for random graphs, adaptable to random k-CNF formulas with exponential densities?
- RQ4What structural properties of random k-CNF formulas allow for efficient solution counting despite complex solution space geometry?
- RQ5Can a polynomial-time algorithm achieve an ε-approximation to the number of satisfying assignments when α < 2^r k for r > 0 and large k?
Key findings
- The algorithm achieves an ε-approximation to |Ω(Φ)| in time poly(n, 1/ε) for all α < 2^r k with r = 1/301 and k ≥ k₀, where k₀ is a sufficiently large constant.
- The method works w.h.p. over the random formula ensemble and handles densities exponentially higher than the 2 log k / k threshold of correlation decay.
- The solution count is approximated via a recursive decomposition using a 'nice' partial assignment Λ∗, with error bounds propagated multiplicatively.
- The algorithm ensures e^{-ε}|Ω| ≤ Z ≤ e^{ε}|Ω|, providing a fully polynomial-time approximation scheme.
- The running time is bounded by O(log(n/ε)) calls to a polynomial-sized linear program, ensuring overall polynomial time.
- The approach successfully isolates and handles bad components (with variables of high degree) via brute-force counting on O(log n)-sized subsets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.