Basic Prerequisites: BSM · 02 The PDE & Derivation and SC · 04 SDEs & Simulation.


1. Intuition & Practical Objective

A forward SDE says: given where I start, where do I end up? A backward SDE says the opposite: given where I must end up, what is the value now - and by which control? That inversion is exactly the structure of a hedging problem, and it is why BSDEs are the natural language of this folder.

The classic Feynman–Kac theorem (BSM · 02) already links a linear PDE to an expectation: . Pardoux–Peng (1990) removed the linearity. Replace the expectation by a backward SDE with a driver , and the same link survives in a nonlinear form:

The one-sentence essence:

A BSDE is a Feynman–Kac formula for nonlinear PDEs: the pair generalises (value, gradient), the driver generalises the discount/payoff non-linearity, and the entropic risk measure - the only one of page 02’s three with a closed-form dynamics - is exactly the special case whose dynamics is the exponential transform being a martingale.

Four things to carry out of this page:

  1. The pair , not just . is the value (the price, the utility, the risk), and is the control - in a Markovian setting , the martingale-representation density, i.e. the hedge in the diffusive scale. The numerical difficulties of deep hedging are almost all difficulties with .
  2. Lipschitz is the classical regime; quadratic is the financial one. Pardoux–Peng need Lipschitz in . The entropic driver is quadratic and violates that hypothesis - it needs the Kobylanski theory, and it is precisely the case that matters for hedging. The extra structure (the exponential transform) is what replaces the Lipschitz condition.
  3. Nonlinear Feynman–Kac is the computational bridge. It converts “solve a BSDE” into “solve a semilinear PDE” and back - which is why the Deep BSDE and Deep Galerkin solvers of §04 attack the same object from two different directions.
  4. -expectations package it. A driver defines a sublinear (or nonlinear) expectation . recovers the ordinary conditional expectation; recovers the entropic one. The comparison theorem makes these well-behaved.

The practical objective: write down a BSDE, state the conditions for a solution, take the nonlinear Feynman–Kac correspondence in both directions, solve an exactly-solvable quadratic BSDE by hand, and reproduce it numerically by backward-induction LSMC.


2. Mathematical Ground Truth & Derivations

2.1 The BSDE

Fix a filtered probability space carrying a -dimensional Brownian motion , and a terminal condition . A BSDE is

or, in differential form, with . Two objects are sought: a value (continuous, adapted) and a control (-valued, adapted). The minus sign in front of the -integral is a convention; it makes the density in the martingale representation of the “hedging error” and is standard in the financial literature.

Existence and uniqueness (Pardoux–Peng 1990). If

then there is a unique solution with continuous and both in the appropriate spaces. The proof is a fixed-point argument: the linear BSDE with driver has the explicit solution (a Feynman–Kac identity), and the Picard iteration contracts onto that when is Lipschitz. The linear case is the one the hub code solves: with , (the price) and is the martingale-representation density (the hedge). Set and you have Black–Scholes written as a BSDE.

2.2 Nonlinear Feynman–Kac

Let the forward process be with generator . Suppose there is a smooth solution of the semilinear equation

Then the BSDE with terminal and driver has the Markovian solution

This is proved with Itô’s lemma on : . Reading it backwards is the useful direction in practice: if you can solve the BSDE, you have solved the PDE - and vice versa, which is why Deep BSDE (PDE ⇒ BSDE) and Deep Galerkin (PDE ⇒ residual) are two attacks on the same object.

Two consequences that matter constantly:

  • is a gradient. In one dimension - the delta in diffusive units. Learning is learning the hedge; the numerical noise in (§3 check B) is the numerical noise in the delta.
  • The driver is the model’s nonlinearity. gives Black–Scholes; linear in gives discounting; quadratic in gives entropic risk; concave in gives transaction costs (Leland, §06). The whole zoo of incomplete-market pricing is a choice of driver.

2.3 The entropic (quadratic) driver - the hinge of the folder

Take the driver to be quadratic in :

This is not Lipschitz, so Pardoux–Peng does not apply; but the transform

is a martingale. Indeed with Itô gives

so is a local martingale, and under exponential integrability a true one. Hence and

The quadratic BSDE is the exponential transform of a conditional expectation. This is why entropic risk is the tractable case: the nonlinearity is entirely absorbed by the exponential, and the remaining objects are ordinary conditional expectations. Two immediate corollaries:

  • The comparison/level structure. For a Gaussian terminal the closed form is exact: , and in general - the mean–variance hedge is the small-risk-aversion limit (§02 §2.4).
  • This is the indifference price. (a loss with ) is the exponential-utility indifference price of §02 §2.3; the sign of in the driver is the sign convention between “value of a liability” and “risk measure of a payoff”.

2.4 The exactly solvable example (used in §3)

Restrict to arithmetic Brownian motion, (so ), and take the terminal condition (a quadratic, hence unbounded, payoff - deliberately: it shows the method is not confined to bounded claims). With (i.e. ), the nonlinear Feynman–Kac equation is

Guess with ; substituting gives , , . Separating: and . Hence

Two sanity limits: at , ✓; as , ✓ (no randomness, no risk). Everything in §3 checks against these.

2.5 -expectations and the comparison theorem

A driver (state-independent, ) defines the -expectation of the BSDE with driver and terminal . Properties follow from the comparison theorem:

  • : - the ordinary expectation.
  • convex in : is sublinear (monotone, translation-invariant, convex) and its dual is a set of measures - the BSDE face of the robust representation of §02.
  • (concave): is superlinear, and equals the entropic transform above.

The financial reading: a nonlinear expectation is a set of priors (model uncertainty), and choosing a driver is choosing how much the desk distrusts its own model. This is the BSDE-theoretic root of the distributionally-robust hedge of 06.


3. Computational Implementation - a quadratic BSDE solved by hand and by LSMC

Three independent checks on the exactly-solvable example of §2.4: (A) the closed form satisfies the nonlinear PDE to machine precision; (B) a backward-induction LSMC solver - regression for and the martingale-representation regression for - reproduces both and ; (C) the Gaussian closed form is verified against a Monte-Carlo entropic transform.

Reading the output.

  • (A) The closed form is a genuine solution. Its maximum PDE residual over random collocation points is - finite-difference truncation error, not model error (the step is , so discretisation of a smooth function sits at that scale). The nonlinear Feynman–Kac correspondence is satisfied.
  • (B) The LSMC solver works, and the error is in the control. is recovered with a bias of to on a value of () shrinking slowly; is recovered with a bias of on - comparable in relative terms but far noisier across seeds. This is the canonical BSDE error signature: the backward regression computes the value functional (smooth, well-conditioned) to high accuracy, and the control (a gradient, hence differentiation of a noisy object) to much lower accuracy. Every deep-hedging implementation inherits this asymmetry.
  • (C) The Gaussian closed form is exact and the MC agrees. with : the Monte-Carlo entropic transform gives against - a gap, within the Monte-Carlo and log-bias error of an estimator whose integrand is -normal. This confirms the mean-minus-half-risk-aversion-times-variance identity, i.e. the exact bridge from the entropic BSDE to the variance-optimal hedge of page 01.

4. Failure Modes & First-Principles Breakdowns

  1. Applying Pardoux–Peng to a quadratic driver. The theorem needs Lipschitz in ; is not. Existence for quadratic drivers needs bounded terminal data (or exponential moments) and the Kobylanski machinery, and uniqueness can fail without them. “There is a BSDE theory” does not mean “your BSDE is covered by the textbook theorem”.
  2. Confusing with the delta. : it is the delta scaled by the volatility, and in multiple dimensions it is a row vector contracted with the diffusion matrix. Reporting as “the delta” silently inserts a factor (the hub code reports both: and ). Get the scaling wrong and a correct solver still “validates” against a correctly-scaled wrong benchmark.
  3. Treating the driver as arbitrary. Different drivers give different prices, not just different numerical behaviour: prices at ; the entropic driver prices at the indifference price. A sign error in (or in ) flips “risk-averse” into “risk-seeking” and is easy to miss because the code still runs.
  4. Using the wrong measure in the forward simulation. The BSDE is stated under (or under with a driver that absorbs the risk premium). Simulating with the physical drift and then pricing with a risk-neutral BSDE gives a systematic bias that no amount of Monte Carlo removes. The drift belongs in the driver, and the driver must be stated. See SC · 05 Girsanov & Risk-Neutral.
  5. Ignoring the terminal integrability required for the exponential transform. The identity requires . For heavy-tailed or unbounded-below payoffs (short calls, quadratic payoffs on log-normal spots) the exponential does not integrate, the transform fails, and the “solution” is . §3 uses a quadratic payoff on an additive Brownian motion precisely because the exponential moment exists there; on a geometric Brownian motion the same payoff would explode the entropic transform.
  6. Forgetting that the comparison theorem is strict about the conditions. and give only under the same integrability regime; for quadratic drivers the ordering can fail without boundedness. Bulk monotonicity intuitions (“a riskier payoff has a higher value”) are theorems with hypotheses, not axioms.
  7. Using LSMC with a poor regressor basis. The check-B bias comes from the regression family, not from the number of paths: a basis that cannot represent produces a bias, not noise, and increasing the path count converges confidently to the wrong answer. Always fit on a basis that contains the true conditional-mean family (here , which is exact for the quadratic example), or validate with an independent method. See NM · 03 Monte-Carlo Pricing.
  8. Believing the value is “the answer”. is one number; the strategy is the whole process , and it is that a desk trades. A solver validated only on has validated only a diagnostic, not the deliverable.

5. References

  • Pardoux, E. & Peng, S. (1990), Adapted solution of a backward stochastic differential equation, Systems & Control Letters 14, 55–61
  • Kobylanski, M. (2000), Backward stochastic differential equations and partial differential equations with quadratic growth, Annals of Probability 28(2), 558–602
  • Peng, S. (1997/2004), Monotonic limit theorem of BSDE and nonlinear decomposition theorem, and Nonlinear expectations and nonlinear Markov chains
  • Buehler, H., Gonon, L., Teichmann, J., Wood, B. (2019), Deep Hedging, Quantitative Finance 19(8), 1271–1291
  • Gobet, E., Lemor, J.-P., Warin, X. (2005), A regression-based Monte Carlo method to solve backward stochastic differential equations, Annals of Applied Probability 15(3), 2172–2202
  • Karatzas, I. & Shreve, S., Brownian Motion and Stochastic Calculus

6. Connected Graph Bridges