Three families compute the same field
Problem 1
Problem 6.1 (Three Losses, One Table).Fill in the table. A short phrase in each cell is enough.
Doob’s Lagrangian Adjoint Matching Value Matching Simulation-free? Floor at the true On-policy or off-policy? Then, in two or three sentences, explain what “floor” means here: the value of the loss at the true control, and why a nonzero floor prevents reading model error off the reported number.
Solution
A floor is
, the loss at the truth. Lagrangian’s floor is the optimal cost (or the best action the restricted family can represent). AM’s floor is , which does not involve the candidate except through the sampling measure. VM’s residual vanishes pathwise at , so the floor is (up to Euler–Maruyama error in the squared loss). If the floor is unknown and large, a reported loss of does not tell you : you cannot subtract a number you do not have. VM is the only one whose perfect score is known ( ), and even then a finite buries that under discretisation.
Problem 2
Problem 6.2 (Adjoint Matching Is a Conditional Expectation).Recall the lean costate
integrated backward along a frozen trajectory, and the Adjoint Matching loss
.
- Why is
not equal to pathwise? What identity does hold? - Using the usual bias–variance split for least squares, identify the two terms in
and state which one depends on (under a frozen sampling measure). - Why does the double well make the variance term vicious? (Hint:
and on the barrier.)
Solution
The costate
is a functional of the whole remaining path, including future noise. The optimal control is a function of the current state only. They cannot agree pathwise unless the remaining noise is deterministic (linear-quadratic with no residual, or a degenerate problem). What holds is the conditional expectation AM is least squares onto a noisy unbiased target, not a pathwise HJB residual. That is why its floor is a variance rather than zero.
Write
. Then, under a fixed path measure, The first term is the bias and vanishes iff
. The second does not depend on once the measure is frozen. On-policy, the measure is the law of , so the floor drifts with and can move the apparent argmin. Scoring every candidate on one shared path set (common random numbers) pins the floor and recovers a bowl at the truth. Along overdamped Langevin, the linearised costate multiplies by
. On the barrier has , so paths that linger there are exponentially amplified. A tiny fraction of trajectories then dominate (in the course measurements, the top of paths can carry of that second moment, with a standard deviation tens of times the mean). AM remains unbiased and still lands in the wrong place if one trusts an on-policy loss curve.
Problem 3
Problem 6.3 (When Off-Policy Noise Scaling Is Illegal).Value Matching can be evaluated along a
-process (noise scaled by , optional extra drift ). For a hitting-time committor problem the residual at the true stationary vanishes for every .
- Why does stationarity of
(no ) make admissible? Sketch the Itô bookkeeping that leaves a factor in front of when does depend on time. - Conclude: on a fixed-horizon problem (the setting of Adjoint Matching, and of Notebooks 9–11) only
is legal. On a stationary hitting-time problem, is a sampler knob, not a change of the control problem. - Name one thing
is not: it is not a principled error bar, and the VM loss value still does not report at finite .
Solution
Value Matching rearranges Itô’s formula for
along a process whose diffusion coefficient is times the original (and whose drift may be an arbitrary ). Boundary terms cancel against the terminal cost when matches on the event. What remains at the true is proportional to plus a drift-coefficient mismatch that is arranged to vanish at the paper’s consistent reading of the
term. If is stationary, and the factor in front of disappears: every is unbiased. If , that integral is not identically zero, so leaves a systematic residual at the truth. Fixed-horizon control has a time-dependent value function (backward Kolmogorov from
at time ). Therefore only is admissible there. Hitting-time committors of time-homogeneous diffusions are stationary, which is why REACT can advertise a -process. The freedom belongs to the problem class, not to the loss in the abstract.
and the behaviour are engineering choices that make reactive trajectories cheaper to generate. They are not identified by the loss, and is already measurably worse on the course double well. At finite the VM floor is even at the exact , so a small loss does not certify a small control error. VM’s structural gift is a known continuum floor of , not an automatic error bar.
Problem 4
Problem 6.4 (Read the Three Floors).From the repository root, read
notebooks/soc/09_one_problem_three_losses.ipynb(figures are enough; you do not need to retrain). Answer:
- What three theoretical floors does the notebook assign to least action / Adjoint Matching / Value Matching?
- What three measured values does it report along the one-parameter family through the truth (order-of-magnitude is enough if you quote the notebook’s summary table)?
- One sentence: why did on-policy Adjoint Matching fail to bottom out at
until common random numbers were used?
Solution
Theoretical floors: least action / Doob’s Lagrangian bottoms at
(the optimal cost; a path-family restriction raises this to the best action inside the family). Adjoint Matching bottoms at the conditional variance of . Value Matching bottoms at , pathwise, at the true . Measured in Notebook 9’s summary (same double well, shared representation): least action
; Adjoint Matching (FINDINGS quotes for the variance term against a bias of , a ratio ); Value Matching , and as . Companion measurements: Lagrangian’s family gap is above optimal at Gaussians and at ; VM’s rms residual scales as . Quote whichever table the student actually opened; the grading target is “cost vs variance vs zero,” not a particular digit. On-policy, changing
changes the path measure, so AM’s huge variance floor moves and can dominate the tiny bias signal. Shared paths freeze the measure, the bias term is a clean bowl at , and the argmin stops being seed noise.