Quasi-Monte Carlo And Sobol Sequences
Random sampling wastes effort re-covering ground it already covered. Sobol sequences replace randomness with a deterministic pattern that fills gaps on purpose, and option prices converge far faster as a result.
Prerequisites: Monte Carlo Option Pricing, Variance Reduction in Monte Carlo Pricing
Throw darts at a dartboard for an hour and you will find clusters where three darts landed almost on top of each other, and gaps where none landed at all. Every clustered dart is wasted information — it tells you nothing you didn't already know from its neighbour. Ordinary Monte Carlo simulation has exactly this problem: random points clump by chance, and the clumping is why the error shrinks so slowly, at a rate of for paths. Quadruple the paths, and you only halve the error.
Fill the gaps on purpose
A Sobol sequence is a way of choosing points that never wastes a throw. The first point goes roughly in the middle of the empty space, the second fills the largest remaining gap, and so on, forever — every new point is placed where the existing points have left the biggest hole. There is no randomness in this at all; the sequence is a fixed, precomputed list. The technical name for "spread evenly, no clumps, no gaps" is low discrepancy, and it is the entire idea: a low-discrepancy sequence is what a dartboard would look like if every throw were aimed at the emptiest spot.
Because a Sobol sequence covers space more efficiently, a sum over its points converges to an integral faster than a sum over random points does. The bound behind this, due to Koksma and Hlawka, says the error of a quasi-Monte Carlo (QMC) estimate is roughly
where is the number of points, is the dimension of the problem (roughly, the number of independent random draws each path needs), and is a constant depending on how wiggly the payoff is. In plain English: for a fixed low dimension, QMC error shrinks close to , not — for , that is the difference between an error of about and one of about , roughly three times tighter for the same computing bill.
Worked example 1: estimating an integral with 4 points
Estimate , whose true value is .
Random points : squares are . Mean . Error .
Evenly-spaced, low-discrepancy points (what a 1-D Sobol-type sequence gives with 4 points): squares are . Mean . Error .
Same number of function evaluations, six times less error, because the evenly-spaced points never left a gap the random points happened to miss.
Worked example 2: convergence for a digital option
Price a digital call that pays $1 if a stock ends above its strike, true probability . Simulating this is just estimating a probability, so the error scales the same way as any Monte Carlo average.
| Paths | Random MC error () | Sobol QMC error (, ) |
|---|---|---|
At small the two are close, but random error only ever divides by each time you add a decade of paths, while the Sobol error divides by nearly once is large. That gap is the entire commercial case for QMC on a pricing desk: the same accuracy for a fraction of the runtime, which matters when a Monte Carlo book has to reprice thousands of times a day for risk.
These sampled stock paths are exactly what feeds a Monte Carlo option price — each path's terminal value is one sample point, the same way each dart in the earlier picture was one point in the unit square. Drag the volatility slider and watch how much a handful of ordinary random paths scatter; that scatter is the raw material a low-discrepancy sequence spreads out on purpose instead of leaving to chance.
What this means in practice
QMC is standard on desks that reprice large baskets of vanilla and path-dependent options intraday, because halving runtime for the same accuracy is real money in compute costs and lets risk be refreshed more often. It pairs naturally with a Brownian bridge construction, which pushes the "important" random draws into the first few dimensions where low discrepancy works best.
The bound degrades badly as the dimension grows — a path with 250 time steps is nominally a 250-dimensional integral, and Sobol's advantage can evaporate entirely. In practice it survives because payoffs rarely depend equally on all 250 dimensions; a few early draws (via a Brownian bridge) dominate, and the effective dimension is much lower than the nominal one. Also, because a Sobol sequence is deterministic, you cannot get a confidence interval from a single run the way you can with random Monte Carlo — you need several independent randomized copies (scrambled Sobol) and must average across those to estimate the error honestly.
Random sampling wastes effort re-covering space it already covered; a low-discrepancy sequence spends every point filling the largest remaining gap, which is why quasi-Monte Carlo error shrinks close to instead of .
Related concepts
Practice in interviews
Further reading
- Glasserman, Monte Carlo Methods in Financial Engineering (Ch. 5)
- Niederreiter, Random Number Generation and Quasi-Monte Carlo Methods