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 $n$ variables with domain size at most q, each constraint contains at most k variables, shares variables with at most $\Delta$ constraints, and is violated with probability at most $p$ by a uniform random assignment. The algorithm returns an almost uniform satisfying assignment in expected $\mathrm{poly}(q,k,\Delta)\cdot\tilde{O}(n)$ time, as long as a local lemma condition is satisfied: \[ k\cdot p\cdot q^2\cdot \Delta^5\le C_0\quad\text{for a suitably small absolute constant }C_0. \] Previously, under similar local lemma conditions, sampling algorithms with running time polynomial in both $n$ and $\Delta$ were only known for the almost atomic case, where each constraint is violated by a small number of forbidden local configurations. The key term $\Delta^5$ in our local lemma condition also improves the previously best known $\Delta^7$ for general CSPs [JPV21b] and $\Delta^{5.714}$ for atomic CSPs, including the special case of $k$-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.
翻译:我们给出一个快速算法, 用于在本地的 lemma 系统中对一般限制满意度问题( CSP) 进行统一解决方案( CSP) 的取样。 假设 CSP 只要满足本地的 lemma 条件, 每种限制最多包含 k 变量, 最多共享 $\ Delta$ 限制的变量, 并且被一个统一的随机任务以最多 $p$ 。 该算法返回一个几乎统一的满足任务 $\ mathrm{poly} (q, k,\ Delta)\ cdottel{O} (n) 时间 。 只要本地的 lemma 条件得到满足 :\ k\ cdot p\ cdot p\ cdot q2\\\ cdot Qelta+ Delta+5\ c=legetal_ c_ knal- flicks a, 在本地的 legal- loom $Dal- 方法中, 其本地的 moal- dal- mal lax lades a a.</s>