Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time
Kun He, Chunyang Wang, Yitong Yin
Abstract
We give a fast algorithm for sampling uniform solutions of general constraint satisfaction problems (CSPs) in a local lemma regime. Suppose that the CSP has variables with domain size at most , each constraint contains at most variables, shares variables with at most Δ constraints, and is violated with probability at most by a uniform random assignment. e algorithm returns an almost uniform satisfying assignment in expected poly( , , Δ) • ˜ ( ) time, as long as a local lemma condition is satisfied:
Previously, under similar local lemma conditions, sampling algorithms with running time polynomial in both and Δ were only known for the almost atomic case, where each constraint is violated by a small number of forbidden local configurations. e key term Δ 5 in our local lemma condition also improves the previously best known Δ 7 for general CSPs [JPV21b] and Δ 5.714 for atomic CSPs, including the special case of -CNF [JPV21a, HSW21].
Our sampling approach departs from previous fast algorithms for sampling LLL, which were based on Markov chains. A crucial step of our algorithm is a recursive marginal sampler that is of independent interests. Within a local lemma regime, this marginal sampler can draw a random value for a variable according to its marginal distribution, at a cost independent of the size of the CSP. Contents 1. Introduction 1 2. Notations for CSP 5 3. e Sampling Algorithm 6 4. Preliminary on Lovász Local Lemma 10 5. Correctness of Sampling 11 6. Efficiency of Sampling 15 7. e Generalized 2, 3-Tree 29 8. Conclusion and Open Problems 45 Acknowledgement 45 References 46 Appendix A. A Bernoulli Factory for Margin Overflow 48 Appendix B. Basic Properties of Variable/Constraint A ributes along Path 50
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 97c73bf4-92e1-4e37-8e30-1656be7b0360Cited by top-tier papers9
- Improved Bounds for Sampling Solutions of Random CNF FormulasKun He, Kewen Wu, Kuan YangSODA 2023 · 8 citations
- Deterministic counting Lovász local lemma beyond linear programmingKun He, Chunyang Wang, Yitong YinSODA 2023 · 7 citations
- Phase Transitions via Complex Extensions of Markov ChainsJingcheng Liu, Chunyang Wang, Yitong Yin, Yixiao YuSTOC 2025 · 6 citations
- Towards derandomising Markov chain Monte CarloWeiming Feng, Heng Guo, Chunyang Wang, Jiaheng Wang et al.FOCS 2023 · 5 citations
- A Sampling Lovász Local Lemma for Large Domain SizesChunyang Wang, Yitong YinFOCS 2024 · 5 citations
Builds on3
- Towards the sampling Lovász Local LemmaVishesh Jain, Huy Tuan Pham, Thuy-Duong VuongFOCS 2021 · 17 citations
- Sampling constraint satisfaction solutions in the local lemma regimeWeiming Feng, Kun He, Yitong YinSTOC 2021 · 16 citations
- Simple parallel algorithms for single-site dynamicsHongyang Liu, Yitong YinSTOC 2022 · 3 citations
Related papers
- Fast sampling and counting k-SAT solutions in the local lemma regimeWeiming Feng, Heng Guo, Yitong Yin, Chihao ZhangSTOC 2020 · 13 citations
- Counting Random k-SAT near the Satisfiability ThresholdZongchen Chen, Aditya Lonkar, Chunyang Wang, Kuan Yang et al.STOC 2025 · 2 citations
- Zero-Free Regions and Concentration Inequalities for Hypergraph Colorings in the Local Lemma RegimeJingcheng Liu, Yixiao YuSTOC 2026
- Domain-Lifted Sampling for Universal Two-Variable Logic and ExtensionsYuanhong Wang, Timothy van Bremen, Yuyi Wang, Ondrej KuzelkaAAAI 2022 · 7 citations
- On Exact Sampling in the Two-Variable Fragment of First-Order LogicYuanhong Wang, Juhua Pu, Yuyi Wang, Ondrej KuzelkaLICS 2023 · 2 citations
