Fast Sampling and Counting k -SAT Solutions in the Local Lemma Regime
Authors:
Open Access
- 5 October 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 68 (6) , 1-42
Abstract
We give new algorithms based on Markov chains to sample and approximately count satisfying assignments to k -uniform CNF formulas where each variable appears at most d times. For any k and d satisfying kd < n o(1) and k ≥ 20 log k + 20 log d + 60, the new sampling algorithm runs in close to linear time, and the counting algorithm runs in close to quadratic time. Our approach is inspired by Moitra (JACM, 2019), which remarkably utilizes the Lovász local lemma in approximate counting. Our main technical contribution is to use the local lemma to bypass the connectivity barrier in traditional Markov chain approaches, which makes the well-developed MCMC method applicable on disconnected state spaces such as SAT solutions. The benefit of our approach is to avoid the enumeration of local structures and obtain fixed polynomial running times, even if k = ω (1) or d = ω (1).Keywords
Funding Information
- National Key R&D Program of China (2018YFB1003202)
- NSFC (61902241)
- European Research Council (947778)
This publication has 22 references indexed in Scilit:
- Approximation algorithms for the normalizing constant of Gibbs distributionsThe Annals of Applied Probability, 2015
- New Constructive Aspects of the Lovász Local LemmaJournal of the ACM, 2011
- A constructive proof of the general lovász local lemmaJournal of the ACM, 2010
- Adaptive simulated annealing: A near-optimal connection between sampling and countingJournal of the ACM, 2009
- Accelerating Simulated Annealing for the Permanent and Combinatorial Counting ProblemsSIAM Journal on Computing, 2008
- A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entriesJournal of the ACM, 2004
- Polynomial-Time Approximation Algorithms for the Ising ModelSIAM Journal on Computing, 1993
- A random polynomial-time algorithm for approximating the volume of convex bodiesJournal of the ACM, 1991
- Nonuniversal critical dynamics in Monte Carlo simulationsPhysical Review Letters, 1987
- Random generation of combinatorial structures from a uniform distributionTheoretical Computer Science, 1986