Lune

FOCS2022Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards derandomising Markov chain Monte Carlo cites Sampling constraint satisfaction solutions in the local lemma regime
  • Towards derandomising Markov chain Monte Carlo cites Deterministic counting Lovász local lemma beyond linear programming
  • Towards derandomising Markov chain Monte Carlo cites Towards the sampling Lovász Local Lemma
  • Simple parallel algorithms for single-site dynamics cites Sampling constraint satisfaction solutions in the local lemma regime
  • A Sampling Lovász Local Lemma for Large Domain Sizes cites Towards derandomising Markov chain Monte Carlo
  • A Sampling Lovász Local Lemma for Large Domain Sizes cites Sampling constraint satisfaction solutions in the local lemma regime
  • A Sampling Lovász Local Lemma for Large Domain Sizes cites Deterministic counting Lovász local lemma beyond linear programming
  • A Sampling Lovász Local Lemma for Large Domain Sizes cites Improved Bounds for Sampling Solutions of Random CNF Formulas
  • A Sampling Lovász Local Lemma for Large Domain Sizes cites Towards the sampling Lovász Local Lemma
  • Deterministic counting Lovász local lemma beyond linear programming cites Sampling constraint satisfaction solutions in the local lemma regime
  • Deterministic counting Lovász local lemma beyond linear programming cites Towards the sampling Lovász Local Lemma
  • Phase Transitions via Complex Extensions of Markov Chains cites Towards derandomising Markov chain Monte Carlo
  • Phase Transitions via Complex Extensions of Markov Chains cites Towards the sampling Lovász Local Lemma
  • Improved Bounds for Sampling Solutions of Random CNF Formulas cites Sampling constraint satisfaction solutions in the local lemma regime
  • Improved Bounds for Sampling Solutions of Random CNF Formulas cites Deterministic counting Lovász local lemma beyond linear programming
  • Towards the sampling Lovász Local Lemma cites Sampling constraint satisfaction solutions in the local lemma regime
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Improved Bounds for Sampling Solutions of Random CNF FormulasKun He, Kewen Wu, Kuan YangSODA 2023 · 8 citations
  2. Deterministic counting Lovász local lemma beyond linear programmingKun He, Chunyang Wang, Yitong YinSODA 2023 · 7 citations
  3. Phase Transitions via Complex Extensions of Markov ChainsJingcheng Liu, Chunyang Wang, Yitong Yin, Yixiao YuSTOC 2025 · 6 citations
  4. Towards derandomising Markov chain Monte CarloWeiming Feng, Heng Guo, Chunyang Wang, Jiaheng Wang et al.FOCS 2023 · 5 citations
  5. A Sampling Lovász Local Lemma for Large Domain SizesChunyang Wang, Yitong YinFOCS 2024 · 5 citations

Builds on3

  1. Towards the sampling Lovász Local LemmaVishesh Jain, Huy Tuan Pham, Thuy-Duong VuongFOCS 2021 · 17 citations
  2. Sampling constraint satisfaction solutions in the local lemma regimeWeiming Feng, Kun He, Yitong YinSTOC 2021 · 16 citations
  3. Simple parallel algorithms for single-site dynamicsHongyang Liu, Yitong YinSTOC 2022 · 3 citations

Related papers

  1. Fast sampling and counting k-SAT solutions in the local lemma regimeWeiming Feng, Heng Guo, Yitong Yin, Chihao ZhangSTOC 2020 · 13 citations
  2. Counting Random k-SAT near the Satisfiability ThresholdZongchen Chen, Aditya Lonkar, Chunyang Wang, Kuan Yang et al.STOC 2025 · 2 citations
  3. Zero-Free Regions and Concentration Inequalities for Hypergraph Colorings in the Local Lemma RegimeJingcheng Liu, Yixiao YuSTOC 2026
  4. Domain-Lifted Sampling for Universal Two-Variable Logic and ExtensionsYuanhong Wang, Timothy van Bremen, Yuyi Wang, Ondrej KuzelkaAAAI 2022 · 7 citations
  5. On Exact Sampling in the Two-Variable Fragment of First-Order LogicYuanhong Wang, Juhua Pu, Yuyi Wang, Ondrej KuzelkaLICS 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines