ES98D · Course contents

7. Rejection, waiting times and persistent motion

Cluster updates attack a collective length scale. Another source of wasted work is a long run of rejected proposals. Can we skip directly to the next change? The two-state example already warns us that deleting repeated states changes the sampling measure. A correct event method must preserve the probability carried by the time spent between changes.

There are two useful constructions here: skip the waiting in a given local process, or design a different process with persistent motion. They share event-based computation, but their clocks and mathematical mechanisms differ.

7.1 Skip rejections without deleting residence probability

For a finite discrete-time kernel PP, let

a(x)=∑y≠xP(x,y)=1−P(x,x).a(x)=\sum_{y\ne x}P(x,y)=1-P(x,x).

When a(x)>0a(x)>0, the number KK of attempts up to and including the next departure is geometric:

Pr⁡(K=k∣x)=[1−a(x)]k−1a(x),k≥1.\Pr(K=k\mid x)=[1-a(x)]^{k-1}a(x),\qquad k\ge1.

Draw KK directly, then choose the destination from P(x,y)/a(x)P(x,y)/a(x) for y≠xy\ne x. This reproduces the jump destinations and waiting times of the original chain. Weight an observable by the realised number of attempts spent in each state, truncating the last residence if using a fixed attempt budget. Do not take an unweighted average over jumps.

Indeed, if πP=π\pi P=\pi, the jump chain has stationary weight proportional to π(x)a(x)\pi(x)a(x): frequently departing states are overrepresented among departures. Residence weights recover π\pi. In the earlier two-state example, a(0)=1/4a(0)=1/4 and a(1)=1a(1)=1, so these jump weights are equal even though the equilibrium weights are 4:14:1.

A continuous-time Markov jump process instead specifies rates w(x,y)w(x,y) and total rate R(x)=∑y≠xw(x,y)R(x)=\sum_{y\ne x}w(x,y). Its waiting time is exponential, Δt=−log⁡u/R(x)\Delta t=-\log u/R(x), and the next destination has probability w(x,y)/R(x)w(x,y)/R(x). Time averages retain those holding times. Bortz–Kalos–Lebowitz, often called the n-fold way for spin systems, organises possible events into classes to avoid repeated failed attempts. Whether this time is physical depends on how the rates were calibrated; equilibrium balance alone does not calibrate kinetics.

Avoiding rejections can save substantial work, but maintaining all event rates has a cost. It also does not remove the local critical bottleneck diagnosed in Chapter 6.

7.2 Make persistence Markovian by enlarging the state

Suppose the next move depends on the direction used in the previous move. Position alone may no longer form a Markov process. Add the direction explicitly and use the extended state (x,σ)(x,\sigma), with target

π~(x,σ)=π(x)ν(σ).\widetilde\pi(x,\sigma)=\pi(x)\nu(\sigma).

This is lifting. If the extended process preserves π~\widetilde\pi, summing or integrating over σ\sigma gives the desired physical marginal π\pi. The added variable does not change the equilibrium target; it changes how we travel through it.

A simple example is a uniform target on a finite ring of at least three sites. Extend the state by σ∈{−1,+1}\sigma\in\{-1,+1\}. With positive probabilities, either stay, reverse σ\sigma, or move one site in direction σ\sigma. Each operation preserves the uniform extended measure; the mixture is irreducible and aperiodic when all three probabilities are positive. Directed moves have no reverse edge at the same σ\sigma, so detailed balance fails even though stationarity holds. Persistence is controlled by the relative movement and refresh probabilities. Too little refreshing can leave important directions unexplored.

This example establishes possibility, not a universal speedup. Reversibility does not force all algorithms to be inefficient, and lifting by itself does not guarantee nonreversibility or improved mixing.

On the same uniform ring, how does retaining an auxiliary direction change the sequence of visited states?

Give a walk a direction it can remember
The same ring, different paths
inner: lifteddirection −1outer: reversible random walk
Persistence becomes visible unwrapped
unwrapped displacementkernel updates0120-4646

π̃(x,σ) = 1/64; Σσ π̃(x,σ) = 1/32

21 updates; distinct ring sites: reversible 8, lifted 17.

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

32-site uniform target. Reversible kernel: stay 0.1, left/right 0.45 each. Lifted kernel: flip direction r, stay 0.1, move forward 0.9−r. Both are invariant and irreducible in the selected range. A single seed is not a speedup theorem.

Follow a reversible walk and a lifted walk with matched step counts. The right-hand trace unwraps their positions to expose directional persistence; the ring itself remains periodic. ↗

7.3 Transfer motion instead of rejecting a displacement

In event-chain Monte Carlo, use an extended state (r,i,e)(r,i,e): positions, the active particle index and a direction. Only particle ii moves, with dri/dℓ=edr_i/d\ell=e for displacement parameter ℓ\ell. At an interaction event, activity transfers to a partner. Refreshing directions and ending chains according to a specified rule provides additional exploration.

For hard spheres, the next event is a contact along the chosen direction. Moving the contacted particle onward transfers the constraint without creating an overlap. For smooth potentials, an event is not an arbitrary threshold at which the potential “changes”. It is drawn from a specific hazard law. The factorised filter and lifting construction are developed in Krauth's ECMC review; here we derive the pair-potential version needed for our course.

7.4 An energy increase defines an event hazard

Suppose U=∑fUfU=\sum_f U_f, where factors can be pair energies. A factorised Metropolis filter is

αfac(r,r′)=∏fmin⁡{1,e−βΔUf}.\alpha_{\mathrm{fac}}(r,r') =\prod_f\min\{1,e^{-\beta\Delta U_f}\}.

It differs from min⁡{1,e−β∑fΔUf}\min\{1,e^{-\beta\sum_f\Delta U_f}\}: a favourable factor cannot compensate an unfavourable one. For a symmetric discrete proposal, the forward/reverse ratio is nevertheless e−βΔUe^{-\beta\Delta U}, so the factorised filter also preserves the Boltzmann target.

For an infinitesimal displacement dℓd\ell, factor ff produces an event at rate per unit displacement

λf(ℓ)=β[dUf(r(ℓ))dℓ]+,[z]+=max⁡(z,0).\lambda_f(\ell)=\beta\left[\frac{dU_f(r(\ell))}{d\ell}\right]_+, \qquad [z]_+=\max(z,0).

Its survival probability is exp⁡[−∫0ℓλf(s)ds]\exp[-\int_0^\ell\lambda_f(s)ds]. Draw an independent exponential threshold Ef=−log⁡ufE_f=-\log u_f and solve

∫0ℓfλf(s)ds=Ef.\int_0^{\ell_f}\lambda_f(s)ds=E_f.

The smallest candidate ℓf\ell_f supplies the next event. A factor with zero integrated hazard over the allowed flight has no finite event. Numerical implementations need exact inversion or valid thinning/bounding schemes; an inaccurate event search can change the invariant measure.

For a monotone uphill segment, the condition simplifies to β[Uf(ℓf)−Uf(0)]=Ef\beta[U_f(\ell_f)-U_f(0)]=E_f. If the factor first decreases, only subsequent positive variation contributes. This is why the positive derivative, rather than net energy change over a long flight, appears in the law.

For a concrete fixed pair, take Uij=k(xi−xj)2/2U_{ij}=k(x_i-x_j)^2/2, initially xi=xj=0x_i=x_j=0, direction +1+1, and β=k=1\beta=k=1. Moving ii gives integrated hazard ℓ2/2\ell^2/2. An illustrative threshold E=1/2E=1/2 therefore causes an event at ℓ=1\ell=1. Activity transfers to jj, whose first displacement reduces the pair energy. The figure tracks coordinates and activity separately; the value E=1/2E=1/2 is chosen for explanation, not claimed to be a random draw.

An event changes the active coordinate

Active i moves uphill

01j = 0i = 1∫ λ dℓ = ℓ² / 2event at ℓ = 1

The event threshold determines where activity transfers from i to j.

Active j moves downhill

01j = 1/2i = 1pair energy decreasesthis factor has λ = 0

Teal marks activity, not a permanent particle identity. No uphill hazard is accumulated on this initial downhill segment.

One-dimensional harmonic pair, β = k = 1, with a chosen exponential threshold E = 1/2. The event is at displacement 1; the second panel shows a subsequent energy-decreasing flight to displacement 1/2 of j. ↗

When the active particle moves downhill, does its interaction factor accumulate an event hazard?

An event transfers activity at a precise energy budget
A flight and a change of activity
frame follows the pair midpointijactive: j; separation 0.95
Energy versus accumulated hazard
energy / integrated hazardtotal displacement clock ℓ0600.6solid: hazard; dashed: U

∫λ dℓ = β∫[dU/dℓ]₊dℓ = E

Active particle j; pair energy 0.451; integrated hazard 0.000 of threshold 0.50.

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

One harmonic pair factor, β = k = 1, with the same chosen threshold E at each event. Positions are shown relative to their moving midpoint. This deterministic explanation is not a random event-chain sample; centre-of-mass translation is unconfined.

Track the active particle, pair energy and accumulated positive energy variation. At the chosen threshold, activity transfers. The next flight first goes downhill, where the hazard remains zero. ↗

7.5 Check the stationary flow in the lifted space

For a translation-invariant pair potential, define aij=e⋅∇iuija_{ij}=e\cdot\nabla_i u_{ij}. Translation invariance gives e⋅∇juij=−aije\cdot\nabla_j u_{ij}=-a_{ij}. When ii is active, its event rate to jj is β[aij]+\beta[a_{ij}]_+. For a target uniform in active index, the incoming minus outgoing event current at (r,i,e)(r,i,e) from that partner is

πNβ([−aij]+−[aij]+)=−πNβaij.\frac\pi N\beta\bigl([-a_{ij}]_+-[a_{ij}]_+\bigr) =-\frac\pi N\beta a_{ij}.

Meanwhile the divergence of deterministic transport contributes

−∇i⋅(eπN)=πNβ e⋅∇iU=πNβ∑j≠iaij.-\nabla_i\cdot\left(e\frac\pi N\right) =\frac\pi N\beta\,e\cdot\nabla_i U =\frac\pi N\beta\sum_{j\ne i}a_{ij}.

These terms cancel after summing over partners. That is a global-balance calculation for this pair-factor setting with appropriate periodic or decay boundaries. It does not assert pairwise detailed balance of the lifted motion. External fields, many-body factors, constraints and long-range event searches need their corresponding lifting rules; simply transferring to an arbitrary neighbour is not a general algorithm.

Event-chain motion is continuous in displacement parameter, with discrete changes of activity. Its clock is algorithmic, rather than Newtonian time. Sampling at fixed displacement intervals retains the invariant marginal; recording only event endpoints without accounting for inter-event residence generally changes the observation measure. Direction refreshing, factor-search cost and observable-specific correlation determine practical efficiency.

The course has now developed three distinct ways to change exploration: local stochastic proposals, collective clusters and persistent lifted motion. None alters what a physical particle means. The next chapter makes that modelling change explicitly, replacing atoms with parcels of a continuum.

Exercises

  1. Show that the stationary jump-chain law is proportional to π(x)a(x)\pi(x)a(x) using πP=π\pi P=\pi.
  2. Verify global balance for the persistent ring mixture. Identify an edge that violates detailed balance.
  3. In the harmonic-pair event example, derive the event displacement for arbitrary E>0E>0, β>0\beta>0 and k>0k>0.