Efficient Parallel Ising Samplers via Localization Schemes

Xiaoyu Chen, Hongyang Liu, Yitong Yin, Xinyuan Zhang

Introduction

The Ising model is a fundamental framework in statistical physics and machine learning, used to characterize the collective behavior of interacting binary variables, or "spins." A primary challenge in utilizing these models is sampling from the Gibbs distribution, which represents the equilibrium state of the system. While sequential algorithms like Glauber dynamics are well-understood, they are inherently difficult to parallelize. Standard parallel approaches typically require extremely weak interactions between spins to function efficiently, leaving a significant gap in our ability to leverage modern parallel architectures for complex physical simulations.

This paper bridges that gap by introducing the first efficient parallel algorithms—belonging to the RNC (Randomized Nick's Class) complexity class—for sampling from Ising models in two broad regimes: ferromagnetic models with external fields and models with contracting interaction matrices. The authors achieve this by repurposing "localization schemes," mathematical frameworks traditionally reserved for proving convergence rates, into active algorithmic blueprints.

The Challenge of Parallel MCMC

Parallelizing Markov Chain Monte Carlo (MCMC) methods is notoriously difficult because local updates often depend on the current state of neighboring variables. In ferromagnetic models, where spins tend to align, these dependencies can create long-range correlations that stymie simple parallelization. For decades, creating an efficient parallel sampler for these models remained an open problem, largely because the task is mathematically linked to the complex problem of sampling perfect matchings in graphs.

Methods: Localization as an Algorithmic Blueprint

The core innovation of this work is the shift from local updates to simulating "global" Markov chains derived from localization schemes. These schemes treat sampling as a two-step "noising and denoising" process, effectively "tilting" the model's parameters toward a simpler, sub-critical state where variables become sufficiently independent for parallel processing.

1. Field Dynamics for Ferromagnetic Models

For ferromagnetic models with edge activities $\beta > 1$ and external fields $\lambda < 1$, the authors employ "negative-field localization." The algorithm noises the state by randomly dropping edges and then denoises it by sampling from a new, tilted distribution. The authors prove that this tilting pushes the model into a regime where dependencies are weak enough that the denoising step can be executed with polylogarithmic depth.

2. Restricted Gaussian Dynamics

For models defined by an interaction matrix $J$, the authors use "stochastic localization." This involves adding Gaussian noise and resampling from a posterior. To implement the noising step efficiently, the authors utilize a recently developed parallel version of Langevin Monte Carlo. This approach works for models where the interaction matrix is positive semi-definite and satisfies the condition $\|J\|_2 < 1$.

3. The Coupling-with-Stationary Criterion

To guarantee the efficiency of these methods, the authors developed a new theoretical tool called the "Coupling-with-Stationary Criterion." This relaxes the classic Dobrushin condition, allowing for parallel efficiency even when variables are more strongly correlated than previous theories could accommodate.

Key Results and Complexity

The algorithms presented achieve the "gold standard" of parallel efficiency, demonstrating that high-dimensional sampling can be performed in very short parallel time relative to the size of the input.

  • Ferromagnetic Sampler: Produces an $\epsilon$-accurate sample in $(\epsilon^{-1} \log n)^{O(1)}$ parallel time using $O(m^2 \log(n/\epsilon))$ processors.
  • Contracting Interaction Sampler: Achieves a polylogarithmic depth of $O(\log^4(n/\epsilon))$ using $O(n^3/\epsilon^2)$ processors.
  • Algorithmic Parity: For models with interaction matrix $J$, the parallel sampler works up to the critical threshold ($\|J\|_2 < 1$), matching the performance thresholds of the best-known sequential samplers.

Limitations and Future Directions

While this work represents a major theoretical leap, several challenges remain. The ferromagnetic sampler requires a non-zero external field ($\lambda < 1$); extending this to the zero-field case ($\lambda = 1$) is a significant open problem. Additionally, the sampler for contracting interaction matrices is currently limited to symmetric, positive semi-definite matrices.

Beyond the Ising model, the authors suggest that their "coupling-with-stationary" framework could be adapted to parallelize samplers for a wide variety of high-dimensional distributions, potentially impacting fields ranging from computer vision to artificial intelligence.

Summary updated

BibTeX
@inproceedings{chen2025efficient,
  author = {Xiaoyu Chen and Hongyang Liu and Yitong Yin and Xinyuan Zhang},
  title = {{Efficient Parallel Ising Samplers via Localization Schemes}},
  booktitle = {APPROX/RANDOM},
  year = {2025},
  doi = {10.4230/lipics.approx/random.2025.46},
}
Figure