Algorithm Search⌘K

Algorithmresearch

Forward flux sampling

Estimates rare transition rates by firing trial runs from a series of interfaces between two states and keeping those that reach the next interface.

Time
O((n_0 + n M l) G) expected
Space
O(M d) extra
Where
G = the cost of one step; M = the number of trial runs per interface; d = the number of coordinates of a state; l = the mean length of a trial run in steps; n = the number of interfaces after the first; n_0 = the length of the first run in steps
Properties
randomizednot exactnot iterativerandomizedunbiased given first run
Origin
Rosalind J. Allen, Patrick B. Warren, Pieter Rein ten Wolde, 2005

Forward flux sampling (FFS) estimates the rate of a rare transition from a state AA to a state BB by splitting it into a chain of more likely steps. An order parameter λ\lambda and interfaces λ0<λ1<⋯<λn\lambda_0 < \lambda_1 < \cdots < \lambda_n separate the two states. One ordinary run in AA measures the flux ΦA,0\Phi_{A,0} of trajectories that leave AA and cross λ0\lambda_0, and stores the crossing points. From these points, trial runs estimate the probability to reach λ1\lambda_1 before going back to AA; the points where they reach λ1\lambda_1 start the next stage, and so on. The rate is the product kAB=ΦA,0∏iP(λi+1∣λi)k_{AB} = \Phi_{A,0} \prod_i P(\lambda_{i+1} | \lambda_i). FFS uses only forward simulation, so it works for dynamics that are not reversible and not in equilibrium, such as biochemical networks simulated with the Gillespie algorithm.

In plain words

Climbing a high wall in one jump almost never works. So mark ledges on the wall. First count how often climbers leave the ground and reach the lowest ledge. Then, from the climbers on that ledge, send many up and count how many reach the next ledge before falling back to the ground. Those who arrive become the starting group for the next ledge.

The chance to get to the top is the product of the chances from ledge to ledge. Each of these chances is not small, so a few hundred tries measure it well. The rate of reaching the top is the rate of reaching the first ledge times this product.

The problem

The input is a dynamics given as a time step, an order parameter λ\lambda, a test for the state AA (with λ<λ0\lambda < \lambda_0 on AA), interfaces λ0<⋯<λn\lambda_0 < \cdots < \lambda_n with B={λ≥λn}B = \{\lambda \ge \lambda_n\}, the length n0n_0 of the first run, and the number MM of trial runs per interface. The output is an estimate of kABk_{AB}, the number of transitions from AA to BB per unit of time spent in the region of AA (the time since the last visit to AA rather than to BB), and, as a by-product, the trajectories that reach BB. The method assumes that the dynamics is Markov in the variables that are stored at the interfaces.

The algorithm

  1. FFS(x, step, λ, A, λ_0..λ_n, n_0, M)
  2. 1run n_0 steps from x in A; Φ ← (first crossings of λ_0 after a visit to A) / (time in the region of A); S_0 ← the crossing points
  3. 2for i = 0 to n - 1
  4. 3repeat M times: pick y uniformly at random from S_i
  5. 4run from y until λ(y) ≥ λ_{i+1} or y ∈ A
  6. 5if λ(y) ≥ λ_{i+1}: add y to S_{i+1}
  7. 6P_i ← |S_{i+1}| / M; if P_i = 0 return 0
  8. 7return Φ P_0 P_1 ... P_{n-1}

Line L1 counts a crossing only on the first arrival at λ≥λ0\lambda \ge \lambda_0 after the last visit to AA, and counts time only in the region of AA; a run that reaches BB stops counting until it returns to AA. Line L4 is a plain forward run of the dynamics. A run that reaches AA fails; a run that jumps over several interfaces succeeds, and its end point is already past the next interface as well. Line L3 resamples the stored points with replacement, which keeps the product of line L7 unbiased. The points of SnS_n, with the trial runs that led to them traced back, give sample transition paths.

Example

Take a Metropolis random walk on the states 0,1,…,60, 1, \ldots, 6 with the energies 0,2,4,5,4,2,00, 2, 4, 5, 4, 2, 0 at β=1\beta = 1: propose ±1\pm 1 with probability 1/2 each, reject a move off the ends, accept with min⁡(1,e−ΔE)\min(1, e^{-\Delta E}). Let λ(x)=x\lambda(x) = x, A={0}A = \{0\} and the interfaces 1,2,…,61, 2, \ldots, 6, so B={6}B = \{6\}. For this walk everything is exact. With the committor qq (the probability to reach 6 before 0), q(1)=0.01756q(1) = 0.01756, each crossing probability is P(i+1∣i)=q(i)/q(i+1)P(i+1 | i) = q(i)/q(i+1), which gives 0.1192,0.2946,0.5864,0.8679,0.98240.1192, 0.2946, 0.5864, 0.8679, 0.9824, the flux is ΦA,0=π(0)p(0,1)/∑xπ(x)(1−q(x))=0.05848\Phi_{A,0} = \pi(0) p(0,1) / \sum_x \pi(x)(1 - q(x)) = 0.05848 per step, and the rate is kAB=ΦA,0 q(1)=1.0270×10−3k_{AB} = \Phi_{A,0}\, q(1) = 1.0270 \times 10^{-3} per step.

One run with n0=20000n_0 = 20000, M=2000M = 2000 and random.Random(1) measured the flux 0.05789, the probabilities 0.1255,0.2945,0.576,0.8705,0.9830.1255, 0.2945, 0.576, 0.8705, 0.983, and kAB=1.055×10−3k_{AB} = 1.055 \times 10^{-3}, with 45195 steps of the walk. Over 20 seeds:

n0n_0 MM mean estimate relative standard deviation largest relative error steps per run
2000 200 1.011×10−31.011 \times 10^{-3} 0.24 0.50 4412 to 4727
2000 300 1.050×10−31.050 \times 10^{-3} 0.21 0.44 5636 to 5985
20000 2000 1.024×10−31.024 \times 10^{-3} 0.087 0.175 45003 to 45686

For comparison, a direct run of 10610^6 steps saw 537 transitions and gave 1.076×10−31.076 \times 10^{-3}. With the 45000 steps of one FFS run, a direct run would see about 23 transitions, a relative error of about 0.2, against 0.087 for FFS. These are measurements for this walk; the gain grows as the transition becomes rarer.

Correctness

The proof is in the correctness proof of this page. Every transition to BB starts with a first crossing of λ0\lambda_0, and the excursion after a crossing at yy ends in BB with probability u(y)u(y), the probability to reach λn\lambda_n before AA. So the rate is the flux times the average of uu over the crossing points, which is ΦA,0P(λn∣λ0)\Phi_{A,0} P(\lambda_n | \lambda_0). To reach λn\lambda_n the excursion must reach each interface in turn; by the strong Markov property at each interface, the expected product of the stage estimates P^i\hat P_i, given the first run, is exactly the average of uu over S0S_0. So the estimate is unbiased given the first run, and consistent as n0n_0 grows. This needs the dynamics to be Markov in the stored state: if hidden variables, such as velocities that are not stored, carry memory across an interface, the restarted runs have the wrong law.

Proof: Why the product of flux and crossing probabilities gives the ratefull

We prove two things for a Markov chain (Xt)(X_t) with an order parameter λ\lambda, a state AA with λ<λ0\lambda < \lambda_0 on AA, interfaces λ0<λ1<⋯<λn\lambda_0 < \lambda_1 < \cdots < \lambda_n, and the state B={λ≥λn}B = \{\lambda \ge \lambda_n\}. First, the rate is the flux times the probability to reach BB from the first crossing of λ0\lambda_0. Second, the staged estimator of that probability is unbiased.

Definitions. A trajectory is in the region of A at time tt if it visited AA more recently than BB. A first crossing of λ0\lambda_0 is a time at which the trajectory, in the region of AA, reaches λ≥λ0\lambda \ge \lambda_0 for the first time since its last visit to AA. For a point yy, let ui(y)u_i(y) be the probability that the chain from yy reaches λ≥λn\lambda \ge \lambda_n before it enters AA, and let τi+1(y)\tau_{i+1}(y) be the first time at which it reaches λ≥λi+1\lambda \ge \lambda_{i+1} or enters AA. The rate kABk_{AB} is the long run number of transitions from the region of AA to BB per unit of time spent in the region of AA.

Lemma 1 (the rate). Let y1,y2,…y_1, y_2, \ldots be the points of the successive first crossings of λ0\lambda_0 in a long stationary run, and TA(t)T_A(t) the time spent in the region of AA up to tt. If the chain is ergodic, then

kAB=lim⁡t→∞1TA(t)∑j:crossing j before tu(yj),k_{AB} = \lim_{t \to \infty} \frac{1}{T_A(t)} \sum_{j : \text{crossing } j \text{ before } t} u(y_j),

where u=u0u = u_0. Writing ΦA,0\Phi_{A,0} for the limit of the number of crossings over TA(t)T_A(t), and P(λn∣λ0)P(\lambda_n | \lambda_0) for the average of uu over the crossing points, kAB=ΦA,0P(λn∣λ0)k_{AB} = \Phi_{A,0} P(\lambda_n | \lambda_0).

Proof. Every transition to BB starts in the region of AA and must reach λ≥λ0\lambda \ge \lambda_0 on the way, because λ<λ0\lambda < \lambda_0 on AA and λ≥λn>λ0\lambda \ge \lambda_n > \lambda_0 on BB. So each transition belongs to exactly one first crossing, the last one before it, and the excursion after crossing jj ends in BB (a transition) or in AA (no transition). The indicator IjI_j that excursion jj ends in BB has the conditional mean u(yj)u(y_j) given the past up to crossing jj, by the strong Markov property. So ∑j(Ij−u(yj))\sum_j (I_j - u(y_j)) is a martingale with bounded increments, and divided by the number of crossings it tends to 0. Dividing by TA(t)T_A(t) instead changes nothing, because the number of crossings grows like TA(t)T_A(t). The number of transitions is ∑jIj\sum_j I_j, which proves the first formula; the second is a rewriting. □\square

Lemma 2 (the stages). Fix the set S0S_0 of first crossing points. In stage ii, the estimator draws MM points yy uniformly with replacement from SiS_i, runs each until τi+1(y)\tau_{i+1}(y), and collects the end points that have λ≥λi+1\lambda \ge \lambda_{i+1} into Si+1S_{i+1}; P^i=∣Si+1∣/M\hat P_i = |S_{i+1}| / M. Then

E[P^0P^1⋯P^n−1 | S0]=1∣S0∣∑y∈S0u(y).E\left[\hat P_0 \hat P_1 \cdots \hat P_{n-1} \,\middle|\, S_0\right] = \frac{1}{|S_0|} \sum_{y \in S_0} u(y).

Proof. Let ui(y)u_i(y) be the probability to reach λ≥λn\lambda \ge \lambda_n before AA from yy, as above; it does not depend on ii, but we use it at stage ii. We show by downward induction on ii that E[P^i⋯P^n−1∣Si]=1∣Si∣∑y∈Siu(y)E[\hat P_i \cdots \hat P_{n-1} | S_i] = \frac{1}{|S_i|} \sum_{y \in S_i} u(y) for nonempty SiS_i. For i=ni = n the product is empty, equal to 1, and u=1u = 1 on SnS_n because its points have λ≥λn\lambda \ge \lambda_n. For the step, condition on Si+1S_{i+1} and use the induction hypothesis (if Si+1S_{i+1} is empty, the product is 0, and so is the sum below):

E[P^i⋯P^n−1∣Si]=E[∣Si+1∣M⋅1∣Si+1∣∑z∈Si+1u(z) | Si]=1ME[∑z∈Si+1u(z) | Si].E[\hat P_i \cdots \hat P_{n-1} | S_i] = E\left[\frac{|S_{i+1}|}{M} \cdot \frac{1}{|S_{i+1}|} \sum_{z \in S_{i+1}} u(z) \,\middle|\, S_i\right] = \frac{1}{M} E\left[\sum_{z \in S_{i+1}} u(z) \,\middle|\, S_i\right].

Each of the MM trials picks yy uniformly in SiS_i and adds u(Xτi+1)u(X_{\tau_{i+1}}) if the run reaches λi+1\lambda_{i+1} first. By the strong Markov property at τi+1\tau_{i+1}, the expectation of this term given yy is the probability to reach λn\lambda_n before AA from yy, which is u(y)u(y), because a run that reaches λn\lambda_n must first reach λi+1\lambda_{i+1}. So the right side is 1∣Si∣∑y∈Siu(y)\frac{1}{|S_i|} \sum_{y \in S_i} u(y). □\square

Theorem. The estimate k^=Φ^A,0∏iP^i\hat k = \hat \Phi_{A,0} \prod_i \hat P_i of the implementation, with Φ^A,0\hat \Phi_{A,0} the number of first crossings over the time in the region of AA in the first run, satisfies E[k^∣first run]=1TA∑ju(yj)E[\hat k | \text{first run}] = \frac{1}{T_A} \sum_j u(y_j), and this tends to kABk_{AB} as the first run grows. So k^\hat k is unbiased given the first run, and consistent.

Proof. Φ^A,0=∣S0∣/TA\hat \Phi_{A,0} = |S_0| / T_A is fixed by the first run. Lemma 2 gives E[k^∣first run]=∣S0∣TA⋅1∣S0∣∑y∈S0u(y)E[\hat k | \text{first run}] = \frac{|S_0|}{T_A} \cdot \frac{1}{|S_0|} \sum_{y \in S_0} u(y), and Lemma 1 gives the limit. ■\blacksquare

For the nearest neighbour walk of the tests. With A={0}A = \{0\}, B={L}B = \{L\} and the interfaces 1,2,…,L1, 2, \ldots, L, every point on interface ii is the state ii, so P^i\hat P_i is a binomial proportion with the mean P(i+1∣i)=q(i)/q(i+1)P(i+1 | i) = q(i) / q(i+1), where qq is the committor (q(0)=0q(0) = 0, q(L)=1q(L) = 1). The product telescopes to q(1)q(1). The flux is the rate of steps from 0 to 1 per unit of time in the region of AA, π(0)p(0,1)/∑xπ(x)(1−q(x))\pi(0) p(0, 1) / \sum_x \pi(x) (1 - q(x)), because for a reversible chain the probability that xx is in the region of AA is 1−q(x)1 - q(x). Together, kAB=π(0)p(0,1)q(1)/∑xπ(x)(1−q(x))k_{AB} = \pi(0) p(0, 1) q(1) / \sum_x \pi(x) (1 - q(x)), the exact value of the tests.

What is not proved. The theorem gives no variance. The variance of k^\hat k depends on the placement of the interfaces and on MM; on the page it is measured.

Complexity

The first run costs n0n_0 steps, and each of the nn stages costs MM trial runs of mean length ll, so the work is O((n0+nMl)G)O((n_0 + n M l) G) in the real RAM model, with O(Md)O(M d) memory for the stored points. The variance of the probability estimate is about ∑i(1−Pi)/(MPi)\sum_i (1 - P_i) / (M P_i) in relative terms if the stages were independent; interfaces placed so that each PiP_i is not small, and more trials where PiP_i is small, reduce it. The trial runs of a stage are independent and run in parallel.

Properties

  • Forward in time only. No time reverse, no equilibrium and no detailed balance are needed.
  • Unbiased given the first run. The product of the stage estimates has the right mean for any number of trials.
  • Paths as a by-product. The successful trials, traced back, are sample transition paths.
  • Needs an order parameter. The interfaces must separate AA from BB; unlike transition path sampling, the order parameter is part of the method, although it does not need to be a good reaction coordinate.

Variants and improvements

  • Branched growth. Each point at an interface fires its own fixed number of trials, which builds a tree of paths and keeps their ancestry.
  • The Rosenbluth method. A single path is grown through the interfaces with a weight, as in polymer growth.
  • Adaptive interfaces. The interfaces are placed after a pilot run so that the probabilities PiP_i are about equal.
  • Subset simulation and multilevel splitting are the same idea in reliability analysis and applied probability: a rare event as a product of conditional probabilities estimated by sequential Monte Carlo.
  • Transition interface sampling uses the same interfaces with path sampling moves for reversible dynamics.

When to use it

Use FFS for rare switching in stochastic systems that are not in equilibrium, such as genetic switches, and for nucleation and other rare events where a simple order parameter is available and the dynamics can be restarted from a stored state. Use transition path sampling when the dynamics is reversible and no order parameter is known, and kinetic Monte Carlo when the rates of the elementary events are known.

Pitfalls

  • Lost memory. If the stored state at an interface does not include all the variables of the Markov dynamics, the trial runs start from the wrong distribution.
  • Interfaces that are too far apart. If some PiP_i is very small, few or no trials succeed, and the estimate has a large variance or is 0.
  • Few points at an interface. All later stages descend from these points; if they are few, the later trials are strongly correlated and the error is larger than the binomial formula suggests.
  • Counting crossings wrongly. Only the first crossing of λ0\lambda_0 after a visit to AA counts, and the time in the region of BB must not be counted.
  • A first interface inside A. The first interface must lie outside the state AA, so that the trajectories that cross it are leaving.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

forward_flux_sampling.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/forward-flux-sampling/. The authors are listed in prov/0GTKCK.jsonl.
"""Forward flux sampling, direct version (Allen, Warren and ten Wolde 2005).

An order parameter lam(x) and interfaces lam_0 < lam_1 < ... < lam_n
separate the state A (in_a(x) is True, and lam < lam_0 there) from the
state B (lam >= lam_n). The rate constant from A to B is

    k_AB = Phi_A0 * P(lam_1 | lam_0) * ... * P(lam_n | lam_(n-1)),

where Phi_A0 is the flux of first crossings of lam_0 by trajectories that
come from A, per unit of time spent in the region of A (the time since the
last visit to A rather than to B), and P(lam_(i+1) | lam_i) is the
probability that a trajectory at its first crossing of lam_i reaches
lam_(i+1) before it returns to A.

The flux and the first point set come from one long run in the region of
A. Each later stage fires trial runs from points picked at random in the
set of the previous stage, and keeps the end points of the runs that reach
the next interface. Only forward simulation is needed, so the dynamics
need not be reversible or in equilibrium.
"""

from typing import Callable


def forward_flux_sampling(x0, step: Callable, lam: Callable, in_a: Callable, interfaces, rng,
                          n_flux_steps: int, n_trials: int, max_trial_steps: int = 10**6):
    """Estimate k_AB per unit of time step.

    Returns (rate, flux, probabilities, work): the rate estimate, the flux
    estimate, the list of the n estimated crossing probabilities, and the
    number of dynamics steps used. Time is counted in steps.
    """
    lam_0, lam_b = interfaces[0], interfaces[-1]
    x = x0
    in_region_a, armed = True, True
    time_a, crossings = 0, 0
    points = []
    work = 0
    for _ in range(n_flux_steps):                                       # @line L1
        x = step(x, rng)
        work += 1
        if lam(x) >= lam_b:
            in_region_a = False
        elif in_a(x):
            in_region_a, armed = True, True
        if in_region_a:
            time_a += 1
            if armed and lam(x) >= lam_0:
                crossings += 1
                points.append(x)
                armed = False
    flux = crossings / time_a if time_a else 0.0
    probabilities = []
    if not points:
        return 0.0, flux, probabilities, work
    for i in range(len(interfaces) - 1):                                # @line L2
        target = interfaces[i + 1]
        reached = []
        for _ in range(n_trials):
            y = rng.choice(points)                                      # @line L3
            steps = 0
            while lam(y) < target and not in_a(y):                      # @line L4
                if steps == max_trial_steps:
                    raise RuntimeError("forward_flux_sampling: a trial run did not end")
                y = step(y, rng)
                steps += 1
            work += steps
            if lam(y) >= target:
                reached.append(y)                                       # @line L5
        p = len(reached) / n_trials                                     # @line L6
        probabilities.append(p)
        if p == 0.0:
            return 0.0, flux, probabilities, work
        points = reached
    rate = flux
    for p in probabilities:
        rate *= p
    return rate, flux, probabilities, work                              # @line L7
test_forward_flux_sampling.py 97 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/forward-flux-sampling/. The authors are listed in prov/0GTKCK.jsonl.
import math
import random

import pytest

from forward_flux_sampling import forward_flux_sampling

# Metropolis random walk on 0..6 with a barrier in the middle, beta = 1.
ENERGY = [0.0, 2.0, 4.0, 5.0, 4.0, 2.0, 0.0]
S = len(ENERGY)
L = S - 1
INTERFACES = [1, 2, 3, 4, 5, 6]


def step(i, rng):
    j = i + (1 if rng.random() < 0.5 else -1)
    if j < 0 or j >= S:
        return i
    if rng.random() < math.exp(-(ENERGY[j] - ENERGY[i])):
        return j
    return i


def lam(x):
    return x


def in_a(x):
    return x == 0


def exact():
    """k_AB, the flux and the crossing probabilities of the walk, per step.

    With the committor q (q(0) = 0, q(L) = 1), the equilibrium pi and
    p(x, x+1), the rate of A to B transitions per step of time in the region
    of A is k = pi(0) p(0, 1) q(1) / sum_x pi(x) (1 - q(x)). The flux is
    the same without q(1), and P(i+1 | i) = q(i) / q(i+1).
    """
    w = [math.exp(-e) for e in ENERGY]
    pi = [v / sum(w) for v in w]
    up = [0.5 * min(1.0, math.exp(-(ENERGY[x + 1] - ENERGY[x]))) for x in range(L)]
    r = [1.0 / (pi[x] * up[x]) for x in range(L)]
    q = [sum(r[:x]) / sum(r) for x in range(S)]
    den = sum(pi[x] * (1.0 - q[x]) for x in range(S))
    flux = pi[0] * up[0] / den
    probabilities = [q[i] / q[i + 1] for i in range(1, L)]
    return flux * q[1], flux, probabilities


def test_exact_values_of_the_page():
    k, flux, probabilities = exact()
    assert k == pytest.approx(1.02696e-3, rel=1e-4)
    assert flux == pytest.approx(0.058484, rel=1e-4)
    assert probabilities[0] == pytest.approx(1.0 / (1.0 + math.e ** 2))
    assert flux * math.prod(probabilities) == pytest.approx(k)


def test_estimates_agree_with_the_exact_values():
    k, flux, exact_p = exact()
    rate, f, probabilities, work = forward_flux_sampling(0, step, lam, in_a, INTERFACES, random.Random(1), 2000, 300)
    assert work <= 10000
    # For this walk every point on an interface is the same state, so each
    # estimate is a binomial proportion of 300 trials.
    for p_hat, p in zip(probabilities, exact_p):
        assert abs(p_hat - p) < 3.0 * math.sqrt(p * (1.0 - p) / 300)
    assert f == pytest.approx(flux, rel=0.2)
    assert rate == pytest.approx(k, rel=0.5)
    assert rate == pytest.approx(f * math.prod(probabilities))


def test_jumps_over_interfaces_by_hand():
    def jump(x, rng):
        return min(x + 2, L)
    rate, f, probabilities, work = forward_flux_sampling(0, jump, lam, in_a, INTERFACES, FirstChoice(), 5, 3)
    # Flux run: 0 -> 2 (a crossing of lam_0 = 1), 4, then 6 in B. Time in the
    # region of A is 2 steps, so the flux is 1/2. Points at 2 and 4 already lie
    # on the next interface and need no step.
    assert f == 0.5
    assert probabilities == [1.0] * 5
    assert rate == 0.5
    assert work == 5 + 3 * 2


class FirstChoice:
    def choice(self, seq):
        return seq[0]


def test_no_success_gives_rate_zero():
    def back_to_a(x, rng):
        return 1 if x == 0 else 0
    rate, f, probabilities, _ = forward_flux_sampling(0, back_to_a, lam, in_a, INTERFACES, FirstChoice(), 10, 4)
    assert f == pytest.approx(0.5)
    assert probabilities == [0.0] and rate == 0.0

History

Allen, Warren and ten Wolde introduced forward flux sampling in 2005 to compute the switching rates of genetic toggle switches, which are stochastic and far from equilibrium, so that methods based on detailed balance did not apply. Allen, Frenkel and ten Wolde compared the direct method with the branched and Rosenbluth versions in 2006, and Allen, Valeriani and ten Wolde reviewed the method in 2009. The idea of splitting a rare event at intermediate levels goes back to the splitting methods of Monte Carlo for particle transport.

References

  1. Rosalind J. Allen, Patrick B. Warren and Pieter Rein ten Wolde, Sampling rare switching events in biochemical networks, Physical Review Letters 94(1), 2005, 018104, the interfaces, the flux through the first interface and the product of the crossing probabilities
  2. Rosalind J. Allen, Daan Frenkel and Pieter Rein ten Wolde, Simulating rare events in equilibrium or nonequilibrium stochastic systems, The Journal of Chemical Physics 124(2), 2006, 024102, the direct method and its variants, with a comparison of their efficiency
  3. Rosalind J. Allen, Chantal Valeriani and Pieter Rein ten Wolde, Forward flux sampling for rare event simulations, Journal of Physics Condensed Matter 21(46), 2009, 463102, the review of the method, the choice of the interfaces and the error analysis

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.expected
  • a full proof of space.extra
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a scene preset for the example