Write
Problem 1
Problem 4.1 (Cole–Hopf Algebra).Let
be smooth and .
Compute
and in terms of . Conclude the identity Suppose
solves the stationary quadratic-control HJB (up to the usual terminal/boundary cost). Deduce that solves the linear equation . Conversely, if and , then solves the HJB. Recover the optimal control
and, for , show this is . For the committor problem with , this is the Doob drift of Homework 3.
Solution
. Differentiating again, so
. The first-order piece is . Adding them, The exponential is the one function whose Hessian reproduces the square of the gradient with the coefficient needed to cancel a quadratic Hamiltonian.
If
, the parenthesis vanishes and . Conversely, if and , divide the identity by to get . This is the mechanism: a nonlinear HJB becomes a linear Kolmogorov equation. Completing the square in the control Hamiltonian (cost
, extra drift ) gives . Since , With
one has , hence . Setting recovers Homework 3. Equivalently the controlled drift is .
Problem 2
Problem 4.2 (Why Soften the Committor Boundaries).The exact committor has
on and on , so diverges on and has a pole. The REACT softening is equivalently Dirichlet data
, .
Why
? What would go wrong at for a neural (or even a grid) representation of or ? Why
? Phrase the answer in terms of the terminal cost on versus , and in terms of remaining a strictly increasing rescaling of . Show that the oscillation of
is exactly Why is this the number that later collides with float64 overflow as
(or as in Homework 5)? Optional remark:
is not simply of order . Softening caps the value function; it does not shrink the pole at a fixed distance from once .
Solution
At
one recovers , so on and in the boundary layer. Neural nets cannot represent infinite targets, optimizers see exploding gradients, and a grid cannot resolve a
pole. Taking replaces the Dirichlet value by , so and the control on is finite. The associated terminal cost is
, i.e. and . The inequality is exactly : hitting is strictly cheaper than hitting , so the control problem still prefers . Equivalently, makes a strictly increasing affine rescaling of , with range rather than a constant or a reversed committor.
ranges over , so ranges over and The dynamic range that a floating-point representation of
must hold is . Float64 overflows near , so is fatal. The same diagnostic, with , is what kills a naive Schrödinger-bridge solver as . The optional remark: at a fixed interior point,
as , so there. Softening only decides how close to one resolves the pole; it does not multiply by in the interior. For moderate the largest control often sits at the barrier, where , not at .
Problem 3
Problem 4.3 (When Cole–Hopf Fails).Cole–Hopf linearizes a quadratic-control HJB when control and noise share a channel,
, and the objective is the expectation of a path functional.
- Zero-noise limit. In the Schrödinger-bridge / entropic-OT setting the noise scale is
(or ). What happens to Cole–Hopf as ? Which term in the HJB dies, and which nonlinear first-order equation remains? - Mean-field / law-dependent costs. Why is there no exponential-tilt representation when the objective is nonlinear in the law of
(mean-field control, MFGs)? Contrast with a path functional . - Give one additional concrete failure mode from the following list and a one-line reason: a hard control budget
; an underactuated system (control missing a noise direction); a non-quadratic running cost. You do not need a full PDE theory; a correct accounting of which term fails to cancel is enough.
Solution
The second-order piece of the HJB is
(or with ). Cole–Hopf cancels the quadratic Hamiltonian against that Laplacian term. As the Laplacian vanishes, the cancellation has nothing to work with, and one is left with the Hamilton–Jacobi equation (Benamou–Brenier / Hopf–Lax). That equation is nonlinear, develops shocks, and has no linear Feynman–Kac representation. Numerically,
overflows long before the continuum limit is interesting. So: optimisation survives (it becomes geodesics); the transform dies with the second-order term. Girsanov / Fleming produces an exponential tilt
. That identity is linear in the path measure. A mean-field cost such as is nonlinear in , so the first-order optimality condition is no longer “exponentially tilt the reference.” One gets an HJB on Wasserstein space (or an MFG), not a linear Kolmogorov equation for . Any one of:
- Control budget
: the Hamiltonian is no longer quadratic where the cap binds, so the Hessian-of-exponential identity does not cancel. The Cole–Hopf residual is . - Underactuation,
: control cannot cancel the contribution in the uncontrolled directions. Residual in a typical example. - Non-quadratic running cost: the same mismatch; Cole–Hopf is tied to a quadratic Hamiltonian whose coefficient matches
.
Problem 4
Problem 4.4 (Optional: HJB Residual versus Linear Residual).On the 1D double well of Homework 2, pick a candidate
from a numerical committor (or from the analytic integral formula) and a deliberately wrong , e.g. a linear ramp.
- Form the nonlinear residual
and the linear residual with . Check the identity to plotting or discrete- precision. - Optional: follow
notebooks/soc/05_fleming_log_transform.ipynb, which solves the same problem once by a linear Cole–Hopf solve and once by policy iteration on the HJB.A short residual plot is enough; this problem is optional.
Solution
On a grid, approximate
by the same central stencil as Homework 2. For built from an accurate , both residuals should be at the level of discretisation error (and shrink under refinement). For a linear ramp, is and matches pointwise. Policy iteration on the HJB (Howard) agrees with one linear solve of once it has converged; the notebook measures in 1D. Grade the identity check, not a particular solver.