Conditioning a diffusion on a rare event changes the path measure. Under mild conditions the conditioned process is again a diffusion with the same noise and a modified drift. That modification is Doob’s -transform: add a force proportional to , where is the probability of eventual success. Stochastic optimal control is the same statement in the language of Girsanov.
The -function
Definition 3.1 (Doob h-function).
Fix a rare event that is measurable at a terminal time or at a stopping time. The -function is the conditional success probability
For a hitting event there is no clock, is the committor , and there is no .
Wherever is small, success is still rare. The score points toward higher remaining probability of . Doob’s theorem says that this score is the optimal extra drift.
Theorem 3.1 (Doob h-transform).
Let solve under , and assume is positive and off the event set, with . The process conditioned on is a diffusion with the same volatility and drift
Equivalently, in noise coordinates (Theorem 1.3), the optimal control is and the extra drift is .
Intuition
Where is flat there is little guidance. Where rises steeply toward the event, the force is strong. Near a set on which , blows up and repels — an infinite wall against failure. The rare event becomes typical under the controlled law , while the noise is untouched, so Girsanov applies.
Exact example: the Brownian bridge
Let and be constant, and condition on the point event . Then is the heat kernel from at time to at time :
Theorem 3.2 (Brownian bridge drift).
For Brownian motion with volatility , the Doob control that pins is
The extra drift is this itself (here in one dimension, and , so ).
Proof
Differentiate the Gaussian kernel:
Theorem 3.1 gives extra drift with , hence . The pull diverges as , which is what pinning requires: any residual gap must be closed in the remaining time.
◻
Figure 3.1. Uncontrolled Brownian motion versus the Doob bridge to a target y. The same noise, a drift (y-x)/(T-t), and every path hits.
The bridge is the fixed-horizon cousin of the committor control. Same philosophy (score of a success probability), different event (a point at time , versus hit before ).
Hitting-time case:
For transitions between metastable sets there is no clock . The natural is the committor of Module 2. On overdamped Langevin, , so Theorem 3.1 specializes to
The controlled SDE is
Theorem 3.3 (Optimal biased potential).
The extra force is overdamped Langevin in the biased potential
The sign is a minus. The stationary density of the controlled process is .
Proof
Match the drift: forces
The invariant-measure check is independent. Overdamped Langevin in has Boltzmann law . Substituting the minus sign,
which is the textbook invariant measure of a Doob -transform. The plus sign would give and an infinitely deep well at .
◻
Mind the sign. Since one has , so : the bias adds a positive wall that diverges as near . Writing digs a well at — the opposite of a reactive process.
The absorbing sets must again be the wells , . Absorb at the outer box and at the well minimum is order one; then retains a barrier, and the slogan ” has no barrier” is false as computed.
Figure 3.2. Left: V versus V^\star=V-\tfrac{2}{\beta}\log q, with a repulsive wall at \partial A. Middle: the committor. Right: original force -\nabla V, Doob force u^\star, and the total force, which never points back into A.
Near , so blows up and repels. Near , so and the extra force shuts off: the particle falls in under . Between the wells, points uphill in committor space.
Girsanov weights and zero-variance importance sampling
The controlled process generates reactive paths, but it is a different law. Unbiased statistics of the reference process require the Radon–Nikodym weight .
In the force convention of this lecture, Theorem 1.3 converts as in Module 1:
and along a controlled Euler–Maruyama path the log-weight is
(The Brownian increment here is the one driving the controlled integrator.)
Theorem 3.4 (Zero-variance importance sampling).
Let be the exact Doob force for the event , and let be the controlled law. Then , and the Girsanov weights are almost surely constant on reactive paths. Consequently the self-normalized importance-sampling estimator of any bounded functional of a reactive trajectory has vanishing variance in continuous time.
Proof
By Theorem 3.1, is the reference process conditioned on . Bayes on path space therefore gives
Started at a fixed , the denominator is the constant . On the event the indicator is , so is constant, and . Any bounded functional of a reactive path is therefore estimated with variance zero. Girsanov identifies the same change of measure with the exponential martingale of , which is how one computes the weight from a controlled trajectory.
◻
Approximate controls remain valid importance-sampling proposals; they just have non-constant weights, and the effective sample size
reports how close is to .
ESS is not the reactive fraction
A control can be excellent at generating transitions and still sample the reference law terribly.
Figure 3.3. Left: reactive fraction versus control scale. Middle: ESS/N, peaked only at the exact Doob scale 1.0. Right: at the exact control, the interquartile range of \log w collapses like \sqrt{\Delta t} under Euler–Maruyama refinement.
On the 1D well at , launching just outside :
scale
reactive
ESS/N
0.3
52%
1%
0.7
100%
56%
1.0
100%
97%
1.3
100%
50%
The reactive fraction saturates at long before the weights become uniform. Scale overshoots: every path still reacts, but the weights spread and ESS drops. ESS is the diagnostic that separates the exact control from the merely reactive ones.
Remark 3.1 (Discretization near the absorbing set).
“Zero variance” is a continuous-time statement. Euler–Maruyama with a finite is not the -transform of the discrete chain. Near one has , so a single step is badly biased if you launch too close to the wall. Refining the spatial grid that defines can make ESS worse, because a finer resolves the singular control that the timestep cannot follow. The check that actually confirms Theorem 3.4 is -refinement of at fixed exact : the bulk of the weight distribution tightens at the Euler–Maruyama rate . Outlier paths that graze can still make and ESS non-monotone; the interquartile range is the more honest plot.
Clipping a walker to a box inside the integrator also breaks the Girsanov identity the log-weight is accumulating. The weight algebra assumes the SDE that was written down.
Mode versus ensemble
A different object is the Onsager–Machlup most probable path: the curve that minimizes a path action
ô
In the small-noise limit this is a Freidlin–Wentzell geodesic, and numerically it is a minimum-energy path.
OM minimiserargmin S_OM[x]one curve (a mode)Doob processlaw of X given Ea cloud (the ensemble)
These are not the same. A single optimized curve can look chemically reasonable and still miss a second channel that carries a non-negligible share of . The Doob process samples the ensemble; the OM minimizer reports a mode. At finite they can disagree in kind, not just in width. The current of Module 2 is an ensemble object; a string method is a mode object.
Example 3.1 (What "typical" means).
Under the exact committor control, every trajectory is reactive, but the cloud still has width . The mean path is not the OM path, and the OM path need not even lie in the typical set of . If a method returns one curve, ask which functional it optimized.
What breaks
Approximate . Exact is as hard as the rare event. A misspecified still defines a Girsanov-tilted process; it is just not the conditioned process. Reactive fraction will not tell you. ESS will.
Underdamped dynamics. The -transform itself never used reversibility: still holds, with acting only in the momentum coordinates. What fails are the Module 2 identities used to plot as a function of alone, and the current . In phase space the control knows about .
Singular wall. The true committor has , so and are singular at . That is correct for the mathematical conditioned process and disastrous for a neural parametrization of . Module 4 introduces a boundary softening that keeps an equivalent linear PDE while bounding .
The 1D and 2D diagnostics, including the ESS table and the panel of Figure 3.3, are in notebooks/soc/04_stochastic_optimal_control.ipynb. The Brownian bridge gadget has a companion notebook notebooks/00_brownian_bridge_doob.ipynb.