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
The question for today
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.
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.
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.
Work it through
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 . Compute the expected number of components after bonding and the expected endpoint spin product after the fresh component signs are assigned.
The eligible bonds are both parallel, and . The four subsets of the two candidate bonds are equally likely, each with probability one quarter.
On an open line, every present bond reduces the component count by one. Its expectation is therefore , without needing a general connectivity algorithm.
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 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.
The living notebook
Explore the model
Interactive lab · probability
Count eligible independent bond decisions
Reset and set success probability , trials ; predict mean accepted-bond count one and variance 0.5. Repeat from Reset with both controls , ; 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.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
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.
Pause & reason
Check your understanding
Your turn
Try it yourself
Two spins have one ferromagnetic bond with 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 . 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.
Keep the idea
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.