arXiv:2610.36630cs.DSOct 2026

Manuscript Offprint

arXiv:2610.36630

Uniformity Testing for the Monomer-Dimer Model

Joy Qiping Yang, Yuichi Yoshida

Abstract

We study uniformity testing for the monomer-dimer model on a known graph G=(V,E)G = (V, E). Given samples from an unknown distribution Dw(M)∝∏e∈MweD_w(M) \propto \prod_{e \in M} w_e over matchings MM of GG, we ask whether DwD_w is the uniform distribution over all matchings of GG or is ε\varepsilon-far from it in total variation distance.

Our main result is that, for every maximum-degree bound Δ\Delta, uniformity can be tested with O~Δ(m/ε2)\widetilde{O}_{\Delta}(\sqrt{m}/\varepsilon^2) samples, where m=∣E∣m = |E|. We complement this with an information-theoretic lower bound for general graphs: for every pair of parameters n≤m≤n2n \leq m \leq n^2, there are graphs with Θ(n)\Theta(n) vertices and Θ(m)\Theta(m) edges on which every tester requires Ω(m/ε2)\Omega(\sqrt{m}/\varepsilon^2) samples. Thus, for bounded-degree graph families with m=Θ(n)m = \Theta(n), testing uniformity over the space of matchings has Θ~(n/ε2)\widetilde{\Theta}(\sqrt{n}/\varepsilon^2) sample complexity, in contrast with the Θ(n/ε2)\Theta(n/\varepsilon^2) samples needed to estimate DwD_w in total variation distance.

∗^{*}This project was carried out during his participation in the 2026 NII International Internship Program.

†^{\dagger}Supported by JSPS KAKENHI Grant Number JP24K02903.

Contents

1 Introduction 1
1.1 Our results 2
1.2 Technical overview 3
1.3 Related work 6
1.4 Organization 7

2 Preliminaries 8
2.1 Setup 8
2.2 Uniformity is rigid in the all-matchings model 8
2.3 Conditioning on all other edges 8
2.4 Entropy and Poincare tools on the line graph 9
2.5 A lower bound on edge availability under U 11

3 Upper Bound 12
3.1 Preprocessing: estimating U(Ae)U(A_e) 12
3.2 Screening to bound the weights 13
3.3 The vector Ψ\Psi and its mean 14
3.4 Covariance bound when weights are bounded 15
3.5 Quadratic statistic when weights are bounded 16
3.6 Proof of the main upper bound 17

4 Lower Bound 19
4.1 Proof setup 19
4.2 The checkerboard family on K2q,2qK_{2q,2q} 19
4.3 A quadratic log-MGF expansion on K2q,2qK_{2q,2q} 23
4.4 The lower bound on Gt,qG_{t,q} 31

A Learning the Matching Gibbs Family 37