Modules 1–4 built one object. A rare event is the law of a diffusion conditioned on a hitting event. That conditioned process is a Doob -transform whose is the committor , which solves one linear elliptic PDE . After Cole–Hopf, the same field is the value function of a stochastic control problem, and the optimal feedback is .

This lecture changes one thing. Replace the constraint “reach before ” — an event on paths — by the constraint “be distributed as at time ” — a condition on the law. The Fleming / Cole–Hopf transform of Module 4 survives, but it now needs two linear PDEs, coupled nonlinearly through their boundary data. That coupling is exactly what Iterative Proportional Fitting (IPF) / Sinkhorn is for.

Then we turn the noise down. As the bridge degenerates into the Benamou–Brenier formulation of optimal transport, the coupling collapses onto the graph of the Monge map, and Cole–Hopf stops working: the second-order term that cancelled the HJB nonlinearity vanishes with the noise.

min_Q KL(Q || P) s.t. ... hitting event paths reach B before A one unknown: q one linear PDE L q = 0 two marginals law at time T is mu_1 two unknowns: phi, phihat coupled at t = 0 and t = T Modules 1-4 dQ/dP = 1_reactive / q(x_0) drift b + 2D grad log q stationary this module dQ/dP = phihat_0 phi_T drift b + 2D grad log phi_t time-dependent

From an Event to Two Marginals

Both the committor problem and the Schrödinger bridge solve a problem of the same shape:

where is the law of the uncontrolled process. What changes is the constraint.

Definition 5.1 (Schrödinger Bridge).

Let be the path measure of a diffusion

on a finite horizon , and let be two probability measures on the state space. The Schrödinger bridge is the path measure

Equivalently, is the law of the reference process conditioned (in the large-deviation / exponential-tilt sense) to have the prescribed endpoint marginals.

Remark 5.1 (Hard paths versus soft ensembles).

An event constraint is a hard condition on each path: every reactive trajectory really does hit before . A marginal constraint is a soft condition on the ensemble: individual bridge paths are not required to do anything in particular, only the cloud as a whole. At finite the two problems have different answers. They meet only in a limit we take later: absorb at , put all the terminal mass in , and send . Then the bridge collapses onto the committor -transform of Module 3.

The discrete-time, discrete-space shadow of Definition 5.1 is entropic optimal transport, and the algorithm that solves it is Sinkhorn.

The Schrödinger System

Why the reweighting factors through the endpoints

is strictly convex in , and the constraints , are linear. So this is a convex problem with linear constraints.

Theorem 5.1 (Schrödinger Factorization).

Assume is the path measure of a Markov diffusion on and are equivalent to the endpoint laws of in the sense that a finite-KL bridge exists. Then the unique minimizer of subject to , has Radon–Nikodym derivative that depends on a path only through its endpoints:

Nothing in between. Out of all the ways a path measure could be reweighted, optimality forces the reweighting to factor through and .

Proof

Form the Lagrangian

For with density ,

and the endpoint constraints are linear in . The first variation in the direction of a signed path measure with is

Setting the variation to zero for every forces

i.e. is a product of a function of the start and a function of the end. Write and (the split of the constant is a convention). Strict convexity of KL gives uniqueness.

◻

Everything else is bookkeeping: propagate the two endpoint factors with the reference dynamics.

Definition 5.2 (Forward and Backward Schrödinger Factors).

Given a terminal factor and an initial factor , define for

Then solves the backward Kolmogorov equation and the forward Fokker–Planck equation:

Both PDEs are linear. The value function of the bridge is , and the optimal control is the same expression as in Module 3,

only now it depends on .

Proposition 5.1 (The Schrödinger System).

The pair of Definition 5.2, together with the factorization of Theorem 5.1, solves the Schrödinger system

Equivalently, the bridge marginal at every time factorises as . Two linear PDEs, coupled by two pointwise products at the two ends.

Proof

The PDE half is the definition of and as the backward and forward propagations of the endpoint factors. For the coupling, the law of at time is obtained by reweighting the reference transition by . Markovianity of splits that weight as

Evaluating at and and imposing the two marginals gives the products. The control formula is Cole–Hopf applied to , exactly as in Module 4: turns the linear backward Kolmogorov equation into an HJB, and .

◻

Remark 5.2 (Where the nonlinearity went).

It did not disappear; it moved to the boundary. You cannot solve either linear PDE without knowing the other’s boundary datum. Iterating the obvious fixed point

is Iterative Proportional Fitting (IPF). In the discretised setting it is literally the Sinkhorn algorithm. Each half-step enforces one marginal exactly and breaks the other; the alternation converges because each half-step is an -projection onto a convex set (Csiszár).

Remark 5.3 (Two different objects).

is a density. is a function — an expectation of the terminal factor. Only their product is a probability distribution. Neither factor separately integrates to anything meaningful.

Computing the Bridge: Generators and Sinkhorn

To compute, we need the reference transition kernel , obtained by exponentiating a discretised generator, .

The trap is that must actually be a generator: non-negative off-diagonals, rows summing to zero. Otherwise has negative entries, which are not probabilities, and Sinkhorn — which divides by — silently produces nonsense or overflows.

The natural central-difference discretisation

has non-negative off-diagonals only if . That ratio is the cell Péclet number

for overdamped Langevin with . Above the advection term overwhelms diffusion within a single cell and the scheme stops describing a Markov process.

Example 5.1 (Upwinding, and its price).

Upwind the advection, keep diffusion central:

Both off-diagonals are non-negative for any . The price is numerical diffusion of size added to the true — a different physical process, silently. Figure 5.1 measures that price by comparing each discrete generator’s stationary density against the exact .

Left: central differences cease to be a generator at cell Péclet 1; upwinding stays a generator. Middle: the price of upwinding is extra numerical diffusion, visible as a larger TV distance to e^{-\beta V}. Right: the reference kernel K=e^{TQ} at T=2, concentrated on staying in a well.
Figure 5.1. Left: central differences cease to be a generator at cell Péclet 1; upwinding stays a generator. Middle: the price of upwinding is extra numerical diffusion, visible as a larger TV distance to e^{-\beta V}. Right: the reference kernel K=e^{TQ} at T=2, concentrated on staying in a well.

Sinkhorn is IPF is coordinate ascent

With the kernel in hand the two boundary conditions become a matrix problem. Write and as vectors on the grid. The coupling is , and the constraints are

Solve each for its own variable, holding the other fixed:

That is the whole algorithm. Four readings of the same two lines:

viewpointwhat the two lines are
optimal transportSinkhorn — alternating rescaling of a matrix to match prescribed margins
statisticsIterative Proportional Fitting — Deming–Stephan, 1940, for contingency tables
convex analysisalternating -projection onto two affine sets, in the KL geometry
stochastic controlalternating enforcement of the two Fleming boundary conditions

Convergence is linear, with a rate governed by the Hilbert projective metric contraction of . Practical meaning: the harder the kernel makes the transport, the more iterations you pay. Shortening the horizon makes crossing rarer and Sinkhorn slower; Figure 5.2 records four iterations at versus at .

Left: IPF residual at T=2, converged in four iterations. Middle: rarer crossings need more Sinkhorn steps; labels are the reference crossing mass. Right: the resulting endpoint coupling \pi(x_0,x_T), a blob from the left well to the right well.
Figure 5.2. Left: IPF residual at T=2, converged in four iterations. Middle: rarer crossings need more Sinkhorn steps; labels are the reference crossing mass. Right: the resulting endpoint coupling \pi(x_0,x_T), a blob from the left well to the right well.

Recovering the time-dependent drift

The Sinkhorn output is only the boundary data. To simulate the bridge we need at every intermediate time, because the control changes with . Both propagations are one matrix multiply per step, in opposite directions:

and the bridge marginal at every time is the pointwise product of Proposition 5.1.

From left to right: the backward factor \varphi_t, the forward factor \hat\varphi_t, their product \rho_t (the bridge marginal), and the time-dependent Doob drift 2D\,\partial_x\log\varphi_t.
Figure 5.3. From left to right: the backward factor \varphi_t, the forward factor \hat\varphi_t, their product \rho_t (the bridge marginal), and the time-dependent Doob drift 2D\,\partial_x\log\varphi_t.

The claim this encodes is dynamical: integrating the controlled SDE

must produce . Figure 5.4 checks it. One numerical warning: if is several times the width of , a single Euler step jumps clean across the target. Sub-stepping, with common random numbers across resolutions, isolates the integrator bias from Monte Carlo noise.

Left: controlled bridge paths on the predicted density \rho_t. Next: the simulated terminal law against \mu_1. Next: integrator error versus sub-steps per \d t, using common random numbers. Right: the control is time-dependent and sharpens toward t=T.
Figure 5.4. Left: controlled bridge paths on the predicted density \rho_t. Next: the simulated terminal law against \mu_1. Next: integrator error versus sub-steps per \d t, using common random numbers. Right: the control is time-dependent and sharpens toward t=T.

The Collapse Back to the Committor

Replace the terminal marginal with a terminal event — “be in ” — and put absorbing sets back at the boundaries of and . Then is fixed outright, not solved for.

Look at what that does to Sinkhorn: the update is skipped entirely, and is a single explicit division. Zero iterations. The nonlinear coupling that made the Schrödinger system hard existed only because both ends were soft.

As grows, stops depending on and converges to the solution of the stationary problem — the committor:

which is Module 3’s drift exactly. The committor -transform is the infinite-horizon, hard-constraint corner of the Schrödinger bridge.

As T grows, \varphi and its drift converge to the committor q and the stationary Doob drift. Absorbing sets must land on grid nodes or the error plateaus instead of refining.
Figure 5.5. As T grows, \varphi and its drift converge to the committor q and the stationary Doob drift. Absorbing sets must land on grid nodes or the error plateaus instead of refining.
Remark 5.4 (The optimally biased potential).

For reversible overdamped Langevin the stationary Doob drift is . Writing it as forces

The minus sign is load-bearing: off , so builds a wall at and flattens the barrier. The opposite sign digs a well at . The invariant of the controlled process is .

Two things, however, do not collapse at finite .

  1. The control is time-dependent, and it sharpens toward . The committor’s control is a fixed vector field. The bridge’s control grows across the horizon because has to sharpen into in the time remaining. It is tempting to continue “…and it diverges like .” For a Brownian bridge pinned to a point that is exactly right: . For a target of finite width , the pole is cut off once .
  2. A fixed- marginal is not a hitting-time event. At finite the bridge insists on arrival at time — no earlier, no later. A path that reaches at must come back out and return, which the committor problem would never ask of it.
Left: \max|u(t,\cdot)| grows as T-t shrinks, but levels off rather than following the pinned-bridge pole 1/(T-t). Right: some bridge paths (red) enter B early and then leave, because the constraint is a terminal law, not a hitting event.
Figure 5.6. Left: \max|u(t,\cdot)| grows as T-t shrinks, but levels off rather than following the pinned-bridge pole 1/(T-t). Right: some bridge paths (red) enter B early and then leave, because the constraint is a terminal law, not a hitting event.

Entropic Optimal Transport and the Zero-Noise Limit

Change the reference to the simplest possible process — Brownian motion with diffusivity ,

— and drop the potential. The problem is now pure transport, with as the only parameter:

(The factor keeps the objective finite as ; without it everything diverges.) This is the interesting limit for Cole–Hopf. Look back at the algebra of Module 4: the transform worked because produced the spurious term that cancelled the HJB nonlinearity. The second-order term is the thing that does the cancelling. Shrink and you shrink the eraser, not the thing being erased. At there is no second-order term at all and the HJB stays exactly as nonlinear as it started.

The slider below is a one-dimensional cartoon of that interpolation: two Gaussians, a heat-flow bridge between them, and an you can turn down until the path of densities collapses onto displacement interpolation.

The static problem is entropic OT

Because the reference is Brownian motion, the path problem collapses to a problem about the coupling alone. The reference transition density is , so between path measures reduces to

This is entropic optimal transport, and its solution has exactly the factorization of Theorem 5.1.

with the dual potentials — the logarithms of the two Sinkhorn scalings, , .

Remark 5.5 (The log domain is not optional as epsilon to 0).

In the raw domain, overflows the moment exceeds . Run the updates on with logsumexp. Algebraically identical, numerically survivable.

One subtlety that changes the overflow prediction by a factor of two: must be measured on . Off the support, Sinkhorn never divides by anything, so those entries are arithmetic debris. Include them and the predicted float64 wall moves by a factor of two.

In one dimension the noiseless problem has a closed form and needs no solver. If are the CDFs, the Monge map and the squared distance are

and the geodesic is displacement interpolation: move every particle in a straight line at constant speed,

Remark 5.6 (Displacement interpolation is not linear interpolation of densities).

Linear interpolation makes two bumps fade in and out. Displacement interpolation slides one bump across. Both connect to ; only the second is a geodesic of . Figure 5.7 shows the coupling concentrating on the Monge graph, and the geodesic sliding mass rather than fading it.

As \varepsilon drops, the entropic coupling \pi_\varepsilon concentrates on the graph of the Monge map T. Right: the exact W_2 geodesic is displacement interpolation (solid), not linear interpolation of the densities (dotted).
Figure 5.7. As \varepsilon drops, the entropic coupling \pi_\varepsilon concentrates on the graph of the Monge map T. Right: the exact W_2 geodesic is displacement interpolation (solid), not linear interpolation of the densities (dotted).

A three-term identity: where the cost goes

For the reference , Girsanov gives the action of a controlled law with drift :

Following Nelson, define the current velocity — the velocity of the mass, not of a particle —

which is the field in the continuity equation . Substituting and expanding the square:

The cross term is an endpoint constant. Using the continuity equation and integrating by parts,

It does not depend on the path, so it does not affect the minimiser — which is why it is easy to forget. It does not vanish, and at small it is the larger of the two corrections. The boxed identity is

Remark 5.7 (The Fisher epsilon-squared is a prefactor, not a rate).

The integral it multiplies grows as the bridge sharpens. A Brownian bridge between two points has Gaussian of variance , whose Fisher information is — a full power of , leaving the term at . For spread-out marginals the measured exponent sits between and (about on the demo of Figure 5.8).

As the last two terms vanish and one recovers Benamou–Brenier:

Left: the entropy correction is O(\varepsilon); the Fisher term is steeper but not O(\varepsilon^2). Middle: the Benamou–Brenier piece converges to the exact geodesic action W_2^2/2. Right: the entropic transport cost \langle c,\pi_\varepsilon\rangle approaches W_2^2/2 linearly in \varepsilon.
Figure 5.8. Left: the entropy correction is O(\varepsilon); the Fisher term is steeper but not O(\varepsilon^2). Middle: the Benamou–Brenier piece converges to the exact geodesic action W_2^2/2. Right: the entropic transport cost \langle c,\pi_\varepsilon\rangle approaches W_2^2/2 linearly in \varepsilon.

Why Cole–Hopf Dies

The argument is a one-liner, and then a theorem.

Theorem 5.2 (Cole–Hopf Needs the Second-Order Term).

Consider the viscous Hamilton–Jacobi equation associated with Brownian motion of diffusivity ,

The Cole–Hopf substitution linearises this PDE if and only if : then solves the heat equation . At the equation is the inviscid Hamilton–Jacobi equation

which is nonlinear, and no substitution of the form produces a linear parabolic equation for . Moreover, the Hopf–Lax solution of the inviscid equation is in general only Lipschitz and develops shocks, which cannot arise as of a positive solution of a linear parabolic PDE.

Proof

Let with . Then

The left-hand side of the viscous HJ is

The right-hand side is

Equating both sides, the quadratic terms cancel and one is left with . The cancellation uses the Laplacian. If , the right-hand side is identically zero and there is nothing to cancel .

For the second claim: at , solves a linear parabolic equation with positive data, so is smooth and strictly positive for every (parabolic regularity). Hence is smooth for every . At the Hopf–Lax formula

is a minimum, not a smooth average. Where two minimising branches exchange, has a kink and jumps. A kink cannot be of a smooth strictly positive function. Therefore the solution is not of Cole–Hopf form, and the linearisation does not exist in the limit.

◻

Figure 5.9 makes the shock visible without eyeballing a derivative. Track the location of the minimiser . While one branch wins everywhere, is continuous. When the branches swap, jumps across the gap between the wells. That jump is a shock in , and it appears only at . Every with is smooth; they converge to a non-smooth limit at rate .

Left: the Hopf–Lax minimising branch y^\star(x) jumps at the predicted shock time. Middle: \partial_x\Phi develops a jump only at \varepsilon=0. Right: \Phi_\varepsilon\to\Phi at O(\varepsilon), with every viscous solution smooth.
Figure 5.9. Left: the Hopf–Lax minimising branch y^\star(x) jumps at the predicted shock time. Middle: \partial_x\Phi develops a jump only at \varepsilon=0. Right: \Phi_\varepsilon\to\Phi at O(\varepsilon), with every viscous solution smooth.

What Is, and What Is Not, an -Transform

The formula now shows up everywhere in generative modelling. The question is whether that is the same structure as Modules 1–4 or a coincidence of form. It depends on which object, and the three cases split cleanly.

drift ~ sigma sigma^T grad log( something ) score grad log p_t time reversal Anderson identity nothing is optimised; p_t is not a value fn guidance grad log h h = P(y | X_t = x) reverse-process BKE a Doob h-transform: this course flow matching no log at all regress onto a chosen coupling an interpolation; nothing is a value function

Score-based diffusion is an identity

Anderson’s theorem (and Haussmann–Pardoux) says: if solves , then the time-reversed process solves

The correction is structurally identical to the Doob drift. It is not the same problem. is the marginal law of a process you already have, not the solution of a control problem. Nothing is minimised. The shared is Girsanov bookkeeping: every change of drift produces a of a density ratio.

A 1D Gaussian mixture stays a mixture under a linear SDE, so p_t and \nabla\log p_t are closed-form. Reverse-time sampling recovers the data. This is Anderson's identity, not a Schrödinger bridge.
Figure 5.10. A 1D Gaussian mixture stays a mixture under a linear SDE, so p_t and \nabla\log p_t are closed-form. Reverse-time sampling recovers the data. This is Anderson's identity, not a Schrödinger bridge.

The Schrödinger bridge of Definition 5.1 really is an optimisation with marginal constraints. Score-based diffusion looks like the bridge but is not one: it has no constraint at that it is trying to satisfy optimally. It runs a process backwards.

Classifier guidance genuinely is a Doob -transform

Suppose we want samples from one particular mode — call that event . Define

Compare with the committor . Both are conditional probabilities of a future event given the current state, which is the definition of an -transform’s . Conditioning the reverse process on multiplies its path measure by , and Doob’s theorem says the conditioned process is the original one with drift augmented by — precisely the classifier-guidance term, and precisely the form of .

An -transform’s must be space-time harmonic for the process being conditioned: it must solve that process’s backward Kolmogorov equation. For the committor this is . Here is a martingale along the reverse process, so .

Left: h(t,x)=\mathbb{P}(y\mid X_t=x) is a committor in (t,x). Middle: the same object, compared with the stationary committor of the double well. Right: guiding the reverse SDE by \nabla\log h recovers the conditional p(x\mid y).
Figure 5.11. Left: h(t,x)=\mathbb{P}(y\mid X_t=x) is a committor in (t,x). Middle: the same object, compared with the stationary committor of the double well. Right: guiding the reverse SDE by \nabla\log h recovers the conditional p(x\mid y).

Flow matching optimises nothing

Flow matching builds a deterministic ODE carrying to . The velocity is obtained by regression: pick a coupling of , interpolate , and fit

There is no , no , no value function, and no objective over path measures being minimised. The regression objective is minimised over network parameters, to hit a conditional expectation that was already determined the moment the coupling was chosen.

A 1D subtlety makes this sharper. Uniqueness of ODE solutions forces the flow map to be monotone, and the monotone map pushing to is unique — it is the Monge map. So vanilla CFM gets the optimal coupling for free, by topology. It can still sit well above the Benamou–Brenier floor, because the routes curve: averaging a crossing family of straight lines yields a curved non-crossing flow. The excess is path curvature, not a wrong matching of endpoints.

Left: CFM marginals. Middle: conditional training pairs cross; the marginal flow cannot, and curves instead. Right: the independent coupling costs \approx 1.68\times W_2^2; the Monge (OT-CFM) target sits on the geodesic floor.
Figure 5.12. Left: CFM marginals. Middle: conditional training pairs cross; the marginal flow cannot, and curves instead. Right: the independent coupling costs \approx 1.68\times W_2^2; the Monge (OT-CFM) target sits on the geodesic floor.

The taxonomy

ObjectIs it an -transform / control problem?What it actually isWhat plays the role of
Committor (Modules 1–4)Yes — the defining caseconditioning on a hitting event itself
Fleming / Cole–Hopf (Module 4)Yes — the general mechanismlinearisation of HJB
Schrödinger bridgeYes — two-marginal versionmin KL with marginal constraintsthe pair
Entropic OTYes — the static shadow of the bridgesame problem, coupling onlythe potentials
Benamou–Brenier, Optimisation yes, transform nothe noiseless limitnothing — no linearisation exists
Score-based diffusionNoa time-reversal identitynothing — is not a value function
Classifier guidanceYes — exactlyconditioning on a label
Flow matching (CFM)Noregression onto a chosen couplingnothing
OT-CFMOptimisation yes, transform noapproximates the BB geodesicnothing
Mean-field control / MFGNoobjective nonlinear in the lawno exponential tilt exists

Read the table by the last column. The correspondence tracks one thing: whether there is an event being conditioned on. Where there is — a hitting event, a label, a pair of marginals — there is an , it solves a linear PDE, and the optimal control is . Where there is not, a may still appear, but it is Girsanov bookkeeping and nothing more.

Past the edge of this picture sit two structures worth naming so the boundary is a line rather than a fade-out. JKO writes Fokker–Planck as the -gradient flow of free energy; it describes the reference dynamics, not how to steer them. Mean-field control is where the exponential tilt genuinely stops existing: once the objective depends on the law nonlinearly (a congestion cost, a variance penalty), there is no to write down. That, and not , is the true outer boundary.

What Survives for Underdamped Langevin

Everything above was written for reversible overdamped dynamics, , whose generator is elliptic and self-adjoint in . Molecular simulation typically integrates underdamped Langevin,

with generator . Three things happen, and they are not all the same kind of thing.

  • What survives, untouched. The -transform, , the optimal control (acting on only), Cole–Hopf, the Schrödinger system, Sinkhorn. None of these ever used reversibility. They need a Markov process, a generator, and an event.
  • What degrades. The noise enters only the equation, so is singular and is hypoelliptic rather than elliptic. Hörmander’s commutator regenerates the missing direction, so solutions are still smooth. What changes is the PDE analysis and the discretisation, not the control–conditioning duality.
  • What fails outright. (i) The Dirichlet-energy variational principle needs self-adjoint in . The underdamped Dirichlet form is — it sees only the -derivative, and its kernel contains every -independent function, including the ramp that matches the boundary values at energy zero. The principle is vacuous, not merely inaccurate. (ii) The reversible current used . Time reversal flips momentum, so . A particle at the barrier moving right is far more likely to reach than one moving left. The current formula must be rederived with the momentum flip; the reversible expression is correct for the reversible dynamics it was stated in, and only there.

The reactive density of a reversible process is . That never belonged on the current.

Underdamped committor on (x,p). Left: q^+ depends on momentum. Middle: q^+(x,p)-q^+(x,-p) is order one, so q^-=1-q^+ is false. Right: slices, and the zero-energy ramp that fools the Dirichlet form.
Figure 5.13. Underdamped committor on (x,p). Left: q^+ depends on momentum. Middle: q^+(x,p)-q^+(x,-p) is order one, so q^-=1-q^+ is false. Right: slices, and the zero-energy ramp that fools the Dirichlet form.

Summary

committor (Module 3)Schrödinger bridge
constraintevent: reach before marginals at same marginals, no noise
unknownsone function two functions a coupling / a geodesic
equationsone linear PDE two linear PDEs, products at both endsinviscid HJ / Benamou–Brenier
algorithmone linear solveIPF / Sinkhornlinear program / Hopf–Lax
control, stationary, time-varyingnone of Cole–Hopf type
Cole–Hopfworksworksgone, by Theorem 5.2

The Fleming transform of Module 4 carried over completely to the two-marginal problem. What the second marginal cost us is not linearity but decoupling. What the zero-noise limit cost us is the second-order term itself.

Knowing that solves a linear PDE does not tell you how to compute it in a space where a grid is impossible. Module 6 takes that as its subject: one object , three families of losses.

The accompanying calculations are in notebooks/soc/06_schrodinger_bridge_sinkhorn.ipynb, notebooks/soc/07_epsilon_to_zero_benamou_brenier.ipynb, and notebooks/soc/08_diffusion_flow_matching_taxonomy.ipynb.