arXiv:2611.04786cs.DSNov 2026

Manuscript Offprint

arXiv:2611.04786

Near-linear-Time Sampling of the Ferromagnetic Ising Model at the Tree Uniqueness Threshold

Tianshun Miao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give a near-linear-time sampler for the zero-field ferromagnetic Ising model throughout the tree-uniqueness regime, including the threshold itself. The method also gives sampling algorithms for the XY and integer Potts models. On an nn-vertex graph with mm edges and maximum degree at most Δ\Delta, we obtain the following expected-work bounds, with total variation error at most ε\varepsilon.

(i) Near-linear Ising sampling. For Δ≥3\Delta \geq 3, the work is O(n+mlog⁡3(n/ε))O(n + m \log^3(n/\varepsilon)) throughout the tree-uniqueness regime, including the threshold β=Δ/(Δ−2)\beta = \Delta/(\Delta - 2).

(ii) Almost-linear XY sampling. For Δ≥8\Delta \geq 8, we sample the XY model in O~(m+n1+o(1))\tilde{O}(m + n^{1+o(1)}) expected work at inverse-polynomial accuracy up to and including the robust phase-transition threshold on the Δ\Delta-regular tree.

(iii) Near-linear Potts sampling. For integer q≥3q \geq 3, we sample the qq-state Potts model in O~(n+qO(1)m)\tilde{O}(n + q^{O(1)}m) expected work whenever β−1≤0.1(βod(q,Δ)−1)\beta - 1 \leq 0.1(\beta_{\mathrm{od}}(q, \Delta) - 1), where βod\beta_{\mathrm{od}} is the ordered/disordered coexistence parameter.

We express the even-subgraph representation of critical Ising as a polymer model that admits near-linear-time sampling, thereby bypassing the critical slowdown of Glauber and Swendsen-Wang dynamics. Building on the low-degree approximation approach of Miao and Yin, we establish general spectral conditions for fast polymer sampling. We verify these conditions through explorations that also implement the sampler efficiently, and apply the same framework to flow representations of the XY and Potts models. We also establish polynomial-time counting and sampling for the ferromagnetic XY model at every fixed temperature.

Contents

1 Introduction 1 1.1 Sampling guarantees 1 1.2 Proof strategy 3 1.3 Related work 5

2 Preliminaries 7 2.1 Markov chains and mixing 7 2.2 Dirichlet forms, entropy, and spectral gap 7 2.3 Spin models and flow representations 8 2.4 Polymer models 9 2.5 Covariance bounds 9 2.6 Computational model 9

3 Polymer Sampling and Exploration 10 3.1 Random discretization and mixing 10 3.2 Covariance bounds from the conflict spectrum 14 3.3 Exploration certificates 15

4 Critical Ising Sampling 18 4.1 Degree reduction and cycle representation 18 4.2 Exploration and first-hit bound 19 4.3 Spectral and activity bounds 20 4.4 Exact proposals, spin recovery, and work 21

5 XY Sampling up to and at the Robust Threshold 22 5.1 The marked polymer representation 22 5.2 Bessel-ratio exploration 25 5.3 First-hit bound and conflict spectrum 27 5.4 Exact proposals and activity tails 28 5.5 Spin recovery and work 30

6 Potts Sampling below the Order-Disorder Scale 32 6.1 Flow polymers and the first-hit criterion 32 6.2 Region contraction and the temperature range 35 6.3 Implementation and spin recovery 38

7 Discussion and open problems 39

References 40

A General-Temperature XY Sampling via Permanents 43

B A Swendsen-Wang Mixing Lower Bound at the Tree Threshold 45

References (38)