Fast sampling and counting k-SAT solutions in the local lemma regime
Weiming Feng, Heng Guo, Yitong Yin, Chihao Zhang
Abstract
A . 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. e 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).
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4242cac9-aad4-4d79-889e-cc6d7c57d87eCited by top-tier papers8
- Towards the sampling Lovász Local LemmaVishesh Jain, Huy Tuan Pham, Thuy-Duong VuongFOCS 2021 · 17 citations
- Improved Bounds for Sampling Solutions of Random CNF FormulasKun He, Kewen Wu, Kuan YangSODA 2023 · 8 citations
- Simple parallel algorithms for single-site dynamicsHongyang Liu, Yitong YinSTOC 2022 · 3 citations
- From Algorithms to Connectivity and Back: Finding a Giant Component in Random k-SATZongchen Chen, Nitya ManiSODA 2023 · 3 citations
- Learning CNF Formulas from Uniform Random Solutions in the Local Lemma RegimeWeiming Feng, Xiongxin Yang, Yixiao Yu, Yiyao ZhangSTOC 2026 · 2 citations
Related papers
- Sampling constraint satisfaction solutions in the local lemma regimeWeiming Feng, Kun He, Yitong YinSTOC 2021 · 16 citations
- Deterministic counting Lovász local lemma beyond linear programmingKun He, Chunyang Wang, Yitong YinSODA 2023 · 7 citations
- Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear timeKun He, Chunyang Wang, Yitong YinFOCS 2022 · 8 citations
- A Sampling Lovász Local Lemma for Large Domain SizesChunyang Wang, Yitong YinFOCS 2024 · 5 citations
- Counting Random k-SAT near the Satisfiability ThresholdZongchen Chen, Aditya Lonkar, Chunyang Wang, Kuan Yang et al.STOC 2025 · 2 citations
