Lune

SODA2023Top-tier venue

Deterministic counting Lovász local lemma beyond linear programming

Kun He, Chunyang Wang, Yitong Yin

Abstract

We give a simple combinatorial algorithm to deterministically approximately count the number of satisfying assignments of general constraint satisfaction problems (CSPs). Suppose that the CSP has domain size = (1), each constraint contains at most = (1) variables, shares variables with at most Δ = (1) constraints, and is violated with probability at most by a uniform random assignment.

e algorithm returns in polynomial time in an improved local lemma regime: 2 • • • Δ 5 ≤ 0 for a suitably small absolute constant 0 .

Here the key term Δ 5 improves the previously best known Δ 7 for general CSPs [JPV21b] and Δ 5.714 for the special case of -CNF [JPV21a, HSW21].

Our deterministic counting algorithm is a derandomization of the very recent fast sampling algorithm in [HWY22]. It departs substantially from all previous deterministic counting Lovász local lemma algorithms which relied on linear programming, and gives a deterministic approximate counting algorithm that straightforwardly derandomizes a fast sampling algorithm, hence unifying the fast sampling and deterministic approximate counting in the same algorithmic framework.

To obtain the improved regime, in our analysis we develop a refinement of the 2, 3-trees that were used in the previous analyses of counting/sampling LLL. Similar techniques can be applied to the previous LP-based algorithms to obtain the same improved regime and may be of independent interests.

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.

7 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 Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time
  • Towards derandomising Markov chain Monte Carlo cites Approximate counting and sampling via local central limit theorems
  • Towards derandomising Markov chain Monte Carlo cites Towards the sampling Lovász Local Lemma
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites A Sampling Lovász Local Lemma for Large Domain Sizes
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites Sampling constraint satisfaction solutions in the local lemma regime
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites Learning Hard-Constrained Models with One Sample
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites Improved Bounds for Sampling Solutions of Random CNF Formulas
  • Learning CNF Formulas from Uniform Random Solutions in the Local Lemma Regime cites Towards the sampling Lovász Local Lemma
  • 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 Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time
  • 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
  • Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time cites Sampling constraint satisfaction solutions in the local lemma regime
  • Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time cites Towards the sampling Lovász Local Lemma
  • Learning Hard-Constrained Models with One Sample cites Sampling constraint satisfaction solutions in the local lemma regime
  • Learning Hard-Constrained Models with One Sample cites Improved Bounds for Sampling Solutions of Random CNF Formulas
  • Learning Hard-Constrained Models with One Sample 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 Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear time
  • 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 papers7

  1. Improved Bounds for Sampling Solutions of Random CNF FormulasKun He, Kewen Wu, Kuan YangSODA 2023 · 8 citations
  2. Towards derandomising Markov chain Monte CarloWeiming Feng, Heng Guo, Chunyang Wang, Jiaheng Wang et al.FOCS 2023 · 5 citations
  3. A Sampling Lovász Local Lemma for Large Domain SizesChunyang Wang, Yitong YinFOCS 2024 · 5 citations
  4. Learning CNF Formulas from Uniform Random Solutions in the Local Lemma RegimeWeiming Feng, Xiongxin Yang, Yixiao Yu, Yiyao ZhangSTOC 2026 · 2 citations
  5. Learning Hard-Constrained Models with One SampleAndreas Galanis, Alkis Kalavasis, Anthimos Vardis KandirosSODA 2024 · 1 citation

Builds on4

  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. Approximate counting and sampling via local central limit theoremsVishesh Jain, Will Perkins, Ashwin Sah, Mehtaab SawhneySTOC 2022 · 9 citations
  4. Sampling Lovász local lemma for general constraint satisfaction solutions in near-linear timeKun He, Chunyang Wang, Yitong YinFOCS 2022 · 8 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. Approximately Counting Knapsack Solutions in Subquadratic TimeWeiming Feng, Ce JinSODA 2025
  4. When is approximate counting for conjunctive queries tractable?Marcelo Arenas, Luis Alberto Croquevielle, Rajesh Jayaram, Cristian RiverosSTOC 2021 · 1 citation
  5. Optimal Deterministic Massively Parallel Connectivity on ForestsAlkida Balliu, Rustam Latypov, Yannic Maus, Dennis Olivetti et al.SODA 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines