research30 min studyLesson 943 in Physics

Cluster updates and critical slowing down

Use auxiliary bonds to update correlated spin regions and compare algorithms in units of work rather than raw moves.

On this page

What you’ll understand

  • Derive the ferromagnetic zero-field cluster bond probability.
  • Distinguish conditional bond averages from equilibrium spin averages.
  • Compare critical autocorrelation scaling with an explicit computational clock.

Near a continuous transition, a local spin flip changes only a small part of a correlated domain. Long-wavelength fluctuations can then survive for many sweeps, causing critical slowing down. Cluster algorithms introduce auxiliary variables that identify groups whose spins may be reassigned together while preserving the target equilibrium measure. Their success depends on the model’s interaction structure and symmetry. We begin with the ferromagnetic Ising model at zero external field; extending the same recipe to a frustrated or field-biased system without modification would generally change the desired distribution.

An auxiliary bond identity explains the update

For one positive coupling K, rewrite its Boltzmann factor as a constant times a mixture of an absent bond and a present bond that requires equal spins. The probability parameter is one minus the exponential of minus twice K. Given the spins, every parallel nearest-neighbor pair receives an independent bond with that probability, while antiparallel neighbors cannot be bonded. This conditional independence applies to bond variables on a fixed spin assignment; the spins themselves remain correlated in equilibrium.

Given a bond assignment, every connected component must have a common spin sign. At zero field, the two signs have equal conditional weight, independently for different components. Alternating these two conditional draws is a Gibbs update of an enlarged spin-bond measure whose spin marginal is the original Ising distribution. This establishes equilibrium correctness through an explicit auxiliary measure, rather than assuming that any visually coherent domain can be flipped freely. The bond probability is neither the equilibrium probability that two arbitrary spins agree nor a tunable acceptance fraction.

eKsisj=eK[(1−pb)+pb δsi,sj],pb=1−e−2K(K≥0)e^{Ks_is_j}=e^K\left[(1-p_b)+p_b\,\delta_{s_i,s_j}\right],\qquad p_b=1-e^{-2K}\quad(K\ge0)
p_b and K are dimensionless. The decomposition describes one ferromagnetic Ising bond; the simple independent cluster-sign assignment additionally assumes zero field.↔ Scroll wide equations horizontally.

Swendsen–Wang and a single cluster use different work units

A Swendsen–Wang sweep builds all eligible bonds, finds their connected components, and assigns a fresh random sign to each component. A Wolff update instead chooses a random seed and grows one component with the corresponding bond rule before reversing it. Random seeding biases the selected component toward larger clusters, an essential part of that algorithm’s probability law. Treating a uniformly chosen cluster from a stored list as the same move would require a separate balance argument.

One single-cluster move need not touch a whole lattice. Comparing its autocorrelation in moves directly with that of a local algorithm in sweeps can therefore be misleading. Record average sites visited, cluster-construction cost, and time per effective measurement. Critical slowing is often summarized by a power of correlation length or lattice size at criticality, but its dynamic exponent belongs to the algorithm, observable, and chosen work convention. Cluster updates can dramatically reduce it for suitable models without providing a universal zero exponent or curing every slow mode.

τint,O∼ξz,equivalent lattice work per cluster move ∝⟨∣C∣⟩N\tau_{\mathrm{int},O}\sim\xi^z,\qquad \text{equivalent lattice work per cluster move}\ \propto\frac{\langle |C|\rangle}{N}
xi is measured in lattice spacings and z is an algorithmic dynamic exponent under a declared work convention. The second relation counts visited sites approximately; actual timing includes connectivity and memory costs.↔ Scroll wide equations horizontally.

Connectivity can also improve an estimator

After independent signs are assigned to the components, the conditional expectation of a spin product is one if its sites share a component and zero otherwise. Averaging the connectivity indicator can therefore estimate the correlation with less sign-assignment noise. This statement averages over the conditional cluster signs, not over an arbitrary nonequilibrium spin configuration’s original product. It is an example of replacing a noisy measurement by its conditional expectation, with the full equilibrium average preserved.

The update and the measurement must be matched carefully. Single-cluster estimators can need size or seed-probability factors different from all-cluster estimators. Warmup, finite-size effects, and autocorrelation analysis remain necessary after an algorithmic improvement. At a first-order transition or in a frustrated model, barriers outside this simple cluster representation may remain severe. The binomial instrument below counts independent candidate bond decisions on a fixed eligible set; it does not identify connected components, update a lattice, or measure a critical exponent.

E[sisj∣bonds]=1{i↔j},⟨sisj⟩=⟨1{i↔j}⟩\mathbb E[s_is_j\mid\text{bonds}]=\mathbf1\{i\leftrightarrow j\},\qquad \langle s_is_j\rangle=\langle\mathbf1\{i\leftrightarrow j\}\rangle
The identity uses independently assigned ± cluster signs in the zero-field all-cluster representation. The final brackets include the equilibrium bond ensemble; a fixed initial spin configuration alone does not supply that average.↔ Scroll wide equations horizontally.

Two candidate bonds on a three-spin line

Start one Swendsen–Wang update from three positive spins on an open line with two bonds. Let K=(ln⁡2)/2K=(\ln2)/2. Compute the expected number of components after bonding and the expected endpoint spin product after the fresh component signs are assigned.

  1. The eligible bonds are both parallel, and pb=1−e−ln⁡2=1/2p_b=1-e^{-\ln2}=1/2. The four subsets of the two candidate bonds are equally likely, each with probability one quarter.

  2. On an open line, every present bond reduces the component count by one. Its expectation is therefore 3−2(1/2)=23-2(1/2)=2, without needing a general connectivity algorithm.

  3. The endpoints share a component only when both bonds are present, with probability one quarter. Their sign-averaged product after this single update is consequently 1/4. This is conditional on the all-positive starting state, not an equilibrium correlation inferred from one sweep.

The result

The expected component count is two and the post-update endpoint product averaged over bonds and fresh signs is one quarter for the stated starting configuration.

Explore the model

Interactive lab

Interactive lab · probability

Count eligible independent bond decisions

Reset and set success probability p=0.5p=0.5, trials n=2n=2; predict mean accepted-bond count one and variance 0.5. Repeat from Reset with both controls p=0.5p=0.5, n=4n=4; predict mean two and variance one. These are exact binomial bars for independent eligible decisions, not resampled clusters. The lab has no lattice connectivity or spin-update rule.

Count eligible independent bond decisionsThese are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Current readings: Mean · np: 5; Variance · np(1−p): 2.5; Total probability: 1. All parameters are adjustable with the labeled controls below.03581000.070.150.220.3Successes kP(X = k)k = 0 · P = 9.77e-4
Exact probabilityHighlighted outcomeMean np
Mean · np
5
Variance · np(1−p)
2.5
Total probability
1
t = 0 s

These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forIndependent bond decisions do not imply independent spin domains; connectivity is a further geometric operation.

Check your understanding

For the basic zero-field ferromagnetic Ising cluster construction, which neighbor pairs may receive a bond?

Try it yourself

Two spins have one ferromagnetic bond with K=(ln⁡2)/2K=(\ln2)/2 and are initially drawn from equilibrium. The equilibrium alignment probability is 2/3. Find their correlation after a full Swendsen–Wang update by averaging the bond connectivity.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

A bond requires initial alignment, then is drawn with probability one half; disconnected components receive independent signs.

Compare with the solution

The unconditional probability of a present bond is (2/3)(1/2)=1/3(2/3)(1/2)=1/3. When present, the new spins share a sign and their product is one. When absent, their independently assigned signs have mean product zero. The new correlation is therefore 1/3, agreeing with the exact equilibrium value. This stationarity check differs from conditioning on a fixed aligned start, which would give a one-step correlation of one half instead.

Take it with you

  • Auxiliary bonds justify correlated updates through a joint probability distribution.
  • Cluster moves and local sweeps must be compared using their actual computational work.
  • Conditional connectivity estimators reduce noise only with the correct ensemble and update-dependent normalization.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.