Lune

STOC2025Top-tier venue

Counting Random k-SAT near the Satisfiability Threshold

Zongchen Chen, Aditya Lonkar, Chunyang Wang, Kuan Yang, Yitong Yin

Abstract

We present efficient counting and sampling algorithms for random kk-SAT when the clause density satisfies α≤2kpoly(k).α\le \frac{2^k}{\mathrm{poly}(k)}. In particular, the exponential term 2k2^k matches the satisfiability threshold Θ(2k)Θ(2^k) for the existence of a solution and the (conjectured) algorithmic threshold 2k(ln⁡k)/k2^k (\ln k) / k for efficiently finding a solution. Previously, the best-known counting and sampling algorithms required far more restricted densities α≲2k/3α\lesssim 2^{k/3} [He, Wu, Yang, SODA '23]. Notably, our result goes beyond the lower bound d≳2k/2d\gtrsim 2^{k/2} for worst-case kk-SAT with bounded-degree dd [Bezáková et al, SICOMP '19], showing that for counting and sampling, the average-case random kk-SAT model is computationally much easier than the worst-case model. At the heart of our approach is a new refined analysis of the recent novel coupling procedure by [Wang, Yin, FOCS '24], utilizing the structural properties of random constraint satisfaction problems (CSPs). Crucially, our analysis avoids reliance on the 22-tree structure used in prior works, which cannot extend beyond the worst-case threshold 2k/22^{k/2}. Instead, we employ a witness tree similar to that used in the analysis of the Moser-Tardos algorithm [Moser, Tardos, JACM '10] for the Lovász Local lemma, which may be of independent interest. Our new analysis provides a universal framework for efficient counting and sampling for random atomic CSPs, including, for example, random hypergraph colorings. At the same time, it immediately implies as corollaries several structural and probabilistic properties of random CSPs that have been widely studied but rarely justified, including replica symmetry and non-reconstruction.

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.

1 top-tier paper has 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

  • 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 Towards the sampling Lovász Local Lemma
  • 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 Towards the sampling Lovász Local Lemma
  • 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 papers1

  1. Learning CNF Formulas from Uniform Random Solutions in the Local Lemma RegimeWeiming Feng, Xiongxin Yang, Yixiao Yu, Yiyao ZhangSTOC 2026 · 2 citations

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. A Sampling Lovász Local Lemma for Large Domain SizesChunyang Wang, Yitong YinFOCS 2024 · 5 citations
  4. A Near-Linear Time Sampler for the Ising Model with External FieldXiaoyu Chen, Xinyuan ZhangSODA 2023 · 3 citations

Related papers

  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. Efficient Algorithms for Semirandom Planted CSPs at the Refutation ThresholdVenkatesan Guruswami, Jun-Ting Hsieh, Pravesh K. Kothari, Peter ManoharFOCS 2023 · 3 citations
  4. Fast sampling and counting k-SAT solutions in the local lemma regimeWeiming Feng, Heng Guo, Yitong Yin, Chihao ZhangSTOC 2020 · 13 citations
  5. The Algorithmic Phase Transition of Random k-SAT for Low Degree PolynomialsGuy Bresler, Brice HuangFOCS 2021 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines