English

Fast sampling and counting k-SAT solutions in the local lemma regime

Data Structures and Algorithms 2019-11-05 v1

Abstract

We give new algorithms based on Markov chains to sample and approximately count satisfying assignments to kk-uniform CNF formulas where each variable appears at most dd times. For any kk and dd satisfying kd<no(1)kd<n^{o(1)} and k20logk+20logd+60k\ge 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\'{a}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)k=\omega(1) or d=ω(1)d=\omega(1).

Keywords

Cite

@article{arxiv.1911.01319,
  title  = {Fast sampling and counting k-SAT solutions in the local lemma regime},
  author = {Weiming Feng and Heng Guo and Yitong Yin and Chihao Zhang},
  journal= {arXiv preprint arXiv:1911.01319},
  year   = {2019}
}