Skip to content

Sampling Matchings in Near-linear Time

Tianshun Miao, Yitong Yin

cs.DS

Abstract

For every fixed activity λ>0λ>0, we establish three results for the monomer--dimer model on an nn-vertex simple graph GG with m≥1m\ge1 edges and maximum degree ΔΔ. 1. Near-linear mixing and sampling. Single-edge Glauber dynamics has mixing time Oλ(m[log⁡2n+log⁡(1/ε)])O_λ(m[\log^2 n+\log(1/\varepsilon)]), giving a near-linear-time approximate sampler. 2. Work-efficient parallel sampling. We simulate the same Glauber dynamics in parallel using O~λ(m+n)\tilde{O}_λ(m+n) work and O~λ(min⁡{Δ,m1/3,n})\tilde{O}_λ(\min\{Δ,m^{1/3},\sqrt n\}) depth with high probability. 3. Fast approximate counting. We estimate the partition function within relative error ε\varepsilon in O~λ(n2/ε2)\tilde{O}_λ(n^2/\varepsilon^2) work. For dense graphs with m=Θ(n2)m=Θ(n^2), this is near-linear in the input size. For the mixing theorem, we establish a general log--Sobolev criterion based on field-dynamics spectral stability, with only logarithmic dependence on the inverse occupied-marginal lower bound. Parallelism uses a matching-specific analysis of occupation-interval dependencies. Counting uses monomer-preconditioned Jerrum--Sinclair dynamics, whose parameters are learned efficiently by Glauber dynamics.

Create a lesson