English

Perfect Sampling for (Atomic) Lov\'asz Local Lemma

Data Structures and Algorithms 2021-07-09 v1 Discrete Mathematics Probability

Abstract

We give a Markov chain based perfect sampler for uniform sampling solutions of constraint satisfaction problems (CSP). Under some mild Lov\'asz local lemma conditions where each constraint of the CSP has a small number of forbidden local configurations, our algorithm is accurate and efficient: it outputs a perfect uniform random solution and its expected running time is quasilinear in the number of variables. Prior to our work, perfect samplers are only shown to exist for CSPs under much more restrictive conditions (Guo, Jerrum, and Liu, JACM'19). Our algorithm has two components: 1. A simple perfect sampling algorithm using bounding chains (Huber, STOC'98; Haggstrom and Nelander, Scandinavian Journal of Statistics'99). This sampler is efficient if each variable domain is small. 2. A simple but powerful state tensorization trick to reduce large domains to smaller ones. This trick is a generalization of state compression (Feng, He, and Yin, STOC'21). The crux of our analysis is a simple information percolation argument which allows us to achieve bounds even beyond current best approximate samplers (Jain, Pham, and Vuong, ArXiv'21). Previous related works either use intricate algorithms or need sophisticated analysis or even both. Thus we view the simplicity of both our algorithm and analysis as a strength of our work.

Keywords

Cite

@article{arxiv.2107.03932,
  title  = {Perfect Sampling for (Atomic) Lov\'asz Local Lemma},
  author = {Kun He and Xiaoming Sun and Kewen Wu},
  journal= {arXiv preprint arXiv:2107.03932},
  year   = {2021}
}

Comments

56 pages, 1 table, 5 figures, 9 algorithms

R2 v1 2026-06-24T04:00:29.717Z