Quant techniques · Monte Carlo

Monte Carlo Greeks: pathwise derivatives and likelihood ratios

Pricing by simulation is straightforward: simulate risk-neutral paths, compute discounted payoffs, and average. Estimating delta, vega, or gamma by bumping an input and rerunning the whole pricer can be noisy and expensive. Pathwise differentiation and the likelihood-ratio method move the derivative inside the expectation, so one simulation can produce both a price and its sensitivities.

Monte Carlo precision improves slowly

Standard error relative to 100 paths

Independent paths with finite variance; standard error falls in proportion to 1/√N.

Differentiate the path or the probability law

Suppose a price is V(θ)=Eθ[g(X)]V(\theta)=E_\theta[g(X)]. If the simulated state can be written as X(θ,Z)X(\theta,Z) for a parameter-independent random variable ZZ, the pathwise estimator is

dVdθ=E[∂g(X(θ,Z))∂X∂X(θ,Z)∂θ],\frac{dV}{d\theta}=E\left[\frac{\partial g(X(\theta,Z))}{\partial X}\frac{\partial X(\theta,Z)}{\partial\theta}\right],

when differentiation and expectation can be interchanged and the payoff is sufficiently regular.

Alternatively, if XX has density fθ(x)f_\theta(x), differentiate the density:

dVdθ=Eθ[g(X)∂∂θlog⁡fθ(X)].\frac{dV}{d\theta}=E_\theta\left[g(X)\frac{\partial}{\partial\theta}\log f_\theta(X)\right].

The term ∂θlog⁡fθ(X)\partial_\theta\log f_\theta(X) is the score or likelihood ratio. This likelihood-ratio estimator can work when the payoff is discontinuous because it differentiates the distribution rather than the payoff, though it can have high variance.

Example: Black–Scholes call delta

Under risk-neutral GBM with continuous dividend yield qq,

ST=S0exp⁡((r−q−12σ2)T+σTZ),Z∼N(0,1).S_T=S_0\exp\left((r-q-\tfrac12\sigma^2)T+\sigma\sqrt T Z\right),\qquad Z\sim N(0,1).

For a call payoff g(ST)=(ST−K)+g(S_T)=(S_T-K)^+, pathwise differentiation gives

Δ=e−rTE[1{ST>K}STS0].\Delta=e^{-rT}E\left[\mathbf1_{\{S_T>K\}}\frac{S_T}{S_0}\right].

This is a useful estimator because the call payoff is differentiable except at ST=KS_T=K, an event with probability zero under a continuous distribution. Its analytic value is e−qTΦ(d1)e^{-qT}\Phi(d_1), which provides a benchmark for checking the Monte Carlo estimate.

For the same model, the likelihood-ratio delta is

Δ=e−rTE[(ST−K)+ZS0σT].\Delta=e^{-rT}E\left[(S_T-K)^+\frac{Z}{S_0\sigma\sqrt T}\right].

Both have the correct expectation under the model, but their variances differ. Use common random numbers when comparing estimators or computing finite differences, and report standard errors rather than only point estimates.

Discontinuous payoff: a digital call

For g(ST)=1{ST>K}g(S_T)=\mathbf1_{\{S_T>K\}}, the ordinary pathwise derivative is zero almost everywhere and misses the nonzero delta concentrated at the strike boundary. The likelihood-ratio estimator still works because the density depends smoothly on S0S_0. Conditional smoothing or a vibrato estimator can also combine pathwise and likelihood-ratio ideas.

Estimator choice and implementation

  • Pathwise: often low variance and easy to compute for smooth payoffs and pathwise differentiable dynamics. It can fail for digitals, barrier indicators, or payoff kinks when the derivative is not captured by ordinary differentiation.
  • Likelihood ratio: accommodates many discontinuous payoffs and differentiates distributional changes. The score multiplier can be heavy-tailed and produce noisy estimates, especially for higher-order Greeks.
  • Finite differences: broadly applicable as a fallback. With common random numbers, bump-and-revalue noise can be reduced, but the bump size trades truncation bias against Monte Carlo variance.

For path-dependent claims, differentiate the full simulated state recursion, not just the terminal payoff. For model parameters affecting the transition density, likelihood-ratio scores must include the complete path density. Check estimators against analytic benchmarks where possible and with independent seeds, bump sizes, and discretisations otherwise.

Common mistakes

  • Differentiating a payoff pathwise when the payoff is discontinuous and concluding its true sensitivity is zero.
  • Forgetting discounting or dividend terms in the risk-neutral sensitivity.
  • Treating one estimator as universally lower variance. Compare empirical variances for the payoff and parameter at hand.
  • Reusing a pathwise tangent from the wrong parameterisation or omitting how earlier states affect later states.
  • Reporting a Greek without its Monte Carlo error; sensitivities can be much noisier than prices.

Practice

PathwiseFor a call payoff, what factor appears when differentiating (Sₜ − K)⁺ with respect to Sₜ?
Show answer

1{ST>K}\mathbf1_{\{S_T>K\}} away from the strike. At the strike the payoff has a kink, but under a continuous distribution this point has probability zero for the expectation.

DigitalWhy does naive pathwise differentiation fail for a digital call payoff?
Show answer

The indicator payoff is locally constant almost everywhere, so its ordinary pathwise derivative is zero on almost every simulated path. The true derivative comes from probability mass moving across the strike boundary; a likelihood-ratio or smoothing method captures it.

ChoiceWhich direct estimator is usually applicable to a discontinuous payoff: pathwise or likelihood ratio, and what trade-off remains?
Show answer

Likelihood ratio is generally applicable because it differentiates the density rather than the payoff. Its score multiplier can create high variance, so variance reduction and empirical error checks remain important.

Further reading: Broadie and Glasserman (1996), “Estimating Security Price Derivatives Using Simulation,” Management Science 42(2), 269–285. Author-hosted paper.