ES98D · Course contents

6. Critical fluctuations need collective moves

A local update can be valid and still be a poor way to explore equilibrium. In a ferromagnet, neighbouring spins cooperate over increasingly large distances near a continuous phase transition. Changing one spin is then a small perturbation of the object we need to rearrange: an extended correlated domain.

The uncertainty chapter gave this problem a measurable consequence: a long autocorrelation time for the observable of interest. We now change the geometry of an update while preserving the same equilibrium distribution.

6.1 Local correctness does not resolve large scales

Consider the zero-field nearest-neighbour ferromagnetic Ising model on a square lattice,

H(s)=−J∑⟨i,j⟩sisj,si∈{−1,+1},J>0.H(s)=-J\sum_{\langle i,j\rangle}s_is_j, \qquad s_i\in\{-1,+1\},\quad J>0.

Each bond appears once. The magnetisation per spin is m=N−1∑isim=N^{-1}\sum_i s_i. A local flip has ΔH=2Jsi∑j∼isj\Delta H=2Js_i\sum_{j\sim i}s_j, giving the Metropolis rule already derived in Chapter 4.

For the infinite square lattice, the exact Ising solution gives the critical temperature kBTc/J=2/log⁡(1+2)k_BT_c/J=2/\log(1+\sqrt2). In a finite zero-field box, spin-inversion symmetry gives the exact equilibrium mean ⟨m⟩=0\langle m\rangle=0 at every temperature. Low-temperature order is instead visible through ⟨∣m∣⟩\langle|m|\rangle, the two peaks of the magnetisation distribution, or a thermodynamic limit with symmetry breaking specified. A short run trapped in one sign is not evidence that finite-volume equilibrium has lost its symmetry.

Near criticality, the correlation length ξ\xi becomes large. Local-update relaxation often scales as τ∼ξz\tau\sim\xi^z, saturating at a system-size-dependent value in a finite box. Units matter: a sweep is NN attempted local flips. Comparing a single local attempt with a whole cluster construction is not a fair cost comparison.

Low acceptance can contribute to slow motion, especially for a spin deep inside an ordered region. But critical slowing is not simply “most moves are rejected”. Even accepted local moves communicate change slowly across a large correlated domain. A rejection-free local algorithm can therefore retain critical slowing.

If a local sampler accepts every update, must its magnetisation decorrelate rapidly near criticality?

Starting from the same spin arrangement, what kinds of changes can a local update and a Wolff update make?

Change spins locally or reorganise a whole domain
Local Metropolis attempts
Wolff cluster flips

ΔH = 2sᵢΣⱼsⱼ; pᵦ = 1 − exp(−2β)

Local m = -0.10, 252 attempts; Wolff m = 0.78, 1950 flipped sites.

Paused. Play the sequence, step through it, or drag the position slider.

12×12 periodic ferromagnetic Ising lattice, J = 1, zero field, fixed seed and prepared initial state. A display frame is 12 local attempts on the left and one cluster update on the right. These are not equal-cost frames or a critical-scaling benchmark.

Play the two valid samplers and compare their patterns and magnetisations. Change β to alter the coupling to thermal fluctuations. Read the work counts before comparing their progress. ↗

6.2 Make clusters part of an exact joint distribution

A cluster must not simply be chosen by visual resemblance and flipped with probability one. Its construction must encode the Boltzmann weights. For one ferromagnetic bond,

eβJsisj=eβJ[(1−p)+p 1si=sj],p=1−e−2βJ.e^{\beta Js_is_j} =e^{\beta J}\left[(1-p)+p\,\mathbf1_{s_i=s_j}\right], \qquad p=1-e^{-2\beta J}.

Check both cases. Aligned spins give eβJe^{\beta J}; opposite spins give eβJ(1−p)=e−βJe^{\beta J}(1-p)=e^{-\beta J}. Introduce a bond variable bij∈{0,1}b_{ij}\in\{0,1\} and the joint weight

∏⟨i,j⟩[(1−p)1bij=0+p1bij=11si=sj].\prod_{\langle i,j\rangle} \left[(1-p)\mathbf1_{b_{ij}=0} +p\mathbf1_{b_{ij}=1}\mathbf1_{s_i=s_j}\right].

Summing over bonds recovers the Ising distribution up to the constant eβJe^{\beta J} per edge. Given spins, compatible aligned edges are independently occupied with probability pp, while opposite-spin edges cannot be occupied. Given bonds, all spins in each connected cluster must agree, but different clusters have independent, equally likely signs at zero field.

The following fixed example distinguishes aligned neighbours from occupied bonds. A cluster is a connected component of the randomly occupied edges, not necessarily a whole visible same-sign domain. The highlighted cluster can change sign without changing the occupied-bond constraints.

Flip a bond-connected component

Aligned does not mean bonded

11-111-1-111solid edges: occupied bonds

Three occupied edges connect four sites. Other equal-spin edges were not occupied in this illustrative realisation.

Change a whole component

-1-1-1-1-1-1-111solid edges: occupied bonds

The occupied-bond compatibility condition survives the flip; boundary energy is handled by construction probabilities.

A fixed open 3×3 example, not a random cluster draw or critical configuration. The highlighted four-site component is one valid occupied-bond component. Dotted edges remain lattice edges but are unoccupied. ↗

6.3 Two ways to use the same bond representation

The Swendsen–Wang algorithm alternates the two exact conditional draws. Starting from spins, populate the compatible bonds. Find their connected components. Assign each component a sign independently with probability 1/21/2. This is Gibbs sampling of the joint spin–bond measure, so its spin marginal is the desired Boltzmann measure. Conditional resampling explains why no additional Metropolis acceptance is needed.

The Wolff algorithm constructs only one component. Pick a seed site uniformly. For each eligible edge from a cluster site to an as-yet-unassigned aligned neighbour, test occupation with probability pp; continue through newly added sites, then flip the completed cluster. Each eligible edge is treated according to the bond construction, rather than repeatedly tested until it succeeds.

Why does the single-cluster flip preserve equilibrium? Suppose a cluster CC of sign ss is flipped. Let nsamen_{\mathrm{same}} count boundary edges to outside spins initially equal to ss, and noppn_{\mathrm{opp}} count those initially opposite. Its energy change is

ΔH=2J(nsame−nopp).\Delta H=2J(n_{\mathrm{same}}-n_{\mathrm{opp}}).

Every same-sign boundary edge must have failed to join the cluster, contributing 1−p1-p. In the reverse construction, the corresponding failures occur at the previously opposite edges. Internal construction factors and seed choices match, so

q(s→s′)q(s′→s)=(1−p)nsame−nopp=e−βΔH=π(s′)π(s).\frac{q(s\to s')}{q(s'\to s)} =(1-p)^{n_{\mathrm{same}}-n_{\mathrm{opp}}} =e^{-\beta\Delta H}=\frac{\pi(s')}{\pi(s)}.

Consequently π(s)q(s→s′)=π(s′)q(s′→s)\pi(s)q(s\to s')=\pi(s')q(s'\to s) even though the completed cluster is always flipped. The probability of constructing the cluster already accounts for its energetic cost. This is the key difference from an arbitrary multi-spin flip.

Which aligned neighbours actually join the cluster? Follow the occupied edges outwards from a single seed.

Grow the object that can be flipped without rejection
Discover the connected component
Growth and final sign change
discovered component15of 67 sitesfrontier grows through accepted bonds

pᵦ = 1 − e⁻²ᵝ; boundary failures encode ΔH

15 discovered sites; bond probability 0.593; growth in progress.

Paused. Play the sequence, step through it, or drag the position slider.

One illustrative 12×12 periodic configuration. Only accepted growth edges are drawn; periodic wrap edges are indicated by edge markers rather than long chords. A realised cluster size is not its expectation.

The growing frontier traces one fixed-seed Wolff construction. The completed component flips near the end of the sequence. Increase β to change the bond-occupation probability and replay the construction. ↗

6.4 Collective updates improve a particular obstruction

Near the unfrustrated zero-field critical point, these algorithms substantially reduce the cost of rearranging long-wavelength fluctuations. They do not guarantee independent samples or eliminate all critical scaling. Estimate autocorrelation for the actual energy, magnetisation or structural observable being measured, and include cluster-building cost.

The elementary construction assumes ferromagnetic bonds and zero field. A nonzero field changes cluster sign probabilities; frustrated or antiferromagnetic systems require different constructions or transformations where available. At the infinite-temperature endpoint, deterministic flipping rules may also require aperiodicity care. An algorithm's impressive performance in one model is not a theorem about all interaction graphs.

We have changed which coordinates move together. Event-chain methods will make a different change: preserve a direction of motion and redirect it at events, rather than repeatedly proposing a fresh local random walk.

Exercises

  1. Verify the one-bond identity in both spin cases and derive pp from it.
  2. For a proposed cluster, count its boundary edges and verify the Wolff probability ratio above.
  3. Explain why a finite-box mean magnetisation can be zero while its typical magnitude is large.