- Introduced by
- Michael B. Giles
- Year
- 2008
- Type
- variance-reduction simulation
- Family
- Bayesian / computational
What does it do?
Multilevel Monte Carlo (MLMC) estimates an expectation by combining simulations run at several levels of numerical resolution.
Most samples are taken at cheap, coarse levels, and a small number of fine-level samples correct the remaining difference between adjacent levels. Giles (2008) showed that this construction can reduce the computational cost of estimating an expectation from a stochastic differential equation compared with standard Monte Carlo run at the finest resolution. MLMC is a simulation method for estimating expectations; it is not in itself a method for Bayesian inference.
The intuition behind the method
Suppose the quantity of interest is the expected payoff of a financial derivative, computed from simulated price paths whose accuracy depends on a time-step size. Simulating every path at fine resolution is costly. MLMC instead runs many cheap coarse-resolution paths to obtain a rough estimate, then uses fewer fine-resolution paths to correct the bias left by the coarseness. The efficiency comes from the fact that the difference between two resolutions of the same path has much smaller variance than the quantity itself, so the fine-level corrections need relatively few samples.
History
Michael B. Giles introduced MLMC for path simulation of stochastic differential equations in a 2008 Operations Research paper. The paper showed that multigrid ideas can be applied to Monte Carlo estimation, reducing the cost of estimating an expectation from an SDE in the simplest Lipschitz Euler case from O(ε⁻³) to O(ε⁻²(log ε)²). Giles's 2015 Acta Numerica survey reviews the ideas behind the method, its generalisations and extensions, and applications, including stochastic PDEs.
When to use it
Choose MLMC when (1) an accurate estimate requires fine numerical resolution, so that standard Monte Carlo at that resolution is too costly; (2) the model admits a hierarchy of approximations, such as finer time steps or spatial grids, in which outputs at consecutive levels are strongly correlated when driven by shared random inputs; and (3) the target is an expectation of a scalar or vector functional, such as a mean or variance. The method has been developed mainly for stochastic differential equations and stochastic partial differential equations. Do not use it when no meaningful hierarchy of approximations exists, when the cost of each level cannot be controlled, or when the variance of level corrections does not decrease as the resolution increases; in those cases the cost savings may not materialise.
Limitations and considerations
- Requires that the model supports a hierarchy of numerical resolutions with increasing accuracy and increasing cost.
- The variance of corrections must decay sufficiently fast across levels, relative to how quickly the cost per sample grows with resolution. If it does not, the theoretical cost savings are lost. This should be checked from pilot estimates of level variances and costs.
- Estimating the variance and cost parameters needed for optimal allocation requires a pilot run.
- Implementation complexity grows when the coupling between levels is difficult (e.g. path-dependent payoffs with discontinuities).
- Not directly applicable to models where only a single level of simulation is possible or cost differences across resolutions are negligible.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- For a Lipschitz payoff with Euler discretisation, Giles (2008) shows that the cost of reaching accuracy O(ε) can be reduced from O(ε⁻³) to O(ε⁻²(log ε)²) relative to standard Monte Carlo.
- Once a simulator that can be run at a range of resolutions exists, the estimator needs only paired simulations at consecutive levels, with no change to the underlying model.
- Sample allocation across levels follows from the variance and cost of each correction, so effort is concentrated where it reduces variance most cheaply. This allocation is optimal only under the assumed variance and cost behaviour, and only as far as those quantities are estimated accurately, typically from a pilot run.
- Giles (2015) surveys the method's use for stochastic differential equations and stochastic PDEs, including the extensions developed since the original work.
- Samples at each level are independent of one another given the level, so they can be distributed across processors.
Applications
- Option pricing in computational finance using SDE path simulation.
- Stochastic PDE problems, as reviewed by Giles (2015), where generating an individual stochastic sample is very expensive.
- Other stochastic simulation settings in which each sample is costly and a hierarchy of resolutions is available, with applications illustrated in Giles (2015).
How it works
How it works
The model is simulated at L+1 levels of increasing resolution, indexed by ℓ = 0, …, L. For example, the time-step size may be halved from one level to the next, h_ℓ = 2^{-ℓ} h_0. Level 0 is the coarsest and cheapest; level L is the finest and most accurate. Consecutive levels are coupled so that they are driven by the same underlying random inputs, which makes their outputs positively correlated.
Formula
\ell = 0, 1, \ldots, L \text{ levels with mesh size } h_\ell = 2^{-\ell} h_0The expectation at the finest level is rewritten as the expectation at the coarsest level plus a sum of expected corrections, each being the difference between outputs at adjacent levels. When the coupling between levels is good, each correction term has smaller variance than the quantity it replaces, and this is what makes the decomposition useful in practice.
Formula
\mathbb{E}[P_L] = \mathbb{E}[P_0] + \sum_{\ell=1}^{L} \mathbb{E}[P_\ell - P_{\ell-1}]For each level, N_ℓ coupled pairs of the correction P_ℓ − P_{ℓ−1} are simulated to estimate its mean. Levels whose correction variance is large relative to their per-sample cost receive more samples, while levels where cost is high relative to variance receive fewer. The total cost is the sum over levels of N_ℓ multiplied by the per-sample cost at that level. The allocation that minimises this cost is given in the optimal allocation step below.
Formula
\text{Cost} \propto \sum_{\ell=0}^{L} N_\ell C_\ell, \quad N_\ell = O(V_\ell^{1/2} / \varepsilon^2)The sample counts N_ℓ are obtained by minimising total cost subject to a target mean-squared error of ε². This error budget is shared between squared bias and sampling variance. Bias is controlled through the choice of the coarsest level and the number of levels L, and sampling variance is controlled through the N_ℓ. The constant in the allocation depends on how the budget is split between these two parts. The formula in the mechanics panel makes N_ℓ proportional to the square root of V_ℓ/C_ℓ, scaled by ε⁻² and by the sum over levels of √(V_k C_k). In practice the level variances V_ℓ and costs C_ℓ are unknown and are estimated, typically from a pilot run. Giles (2008) reports that, in the simplest case of a Lipschitz payoff with Euler discretisation, the cost of reaching accuracy O(ε) falls from O(ε⁻³) for standard Monte Carlo to O(ε⁻²(log ε)²). The logarithmic factor is a residual penalty relative to the pure ε⁻² rate, not a further improvement.
Formula
N_\ell^* = \varepsilon^{-2} \sqrt{V_\ell / C_\ell} \cdot \left(\sum_{\ell} \sqrt{V_\ell C_\ell}\right)Common pitfalls
- Failing to couple consecutive-level samples from the same underlying random number stream, which removes the variance reduction.
- Setting too few levels L or too coarse a coarsest level, which leaves significant bias in the estimator.
- Skipping the pilot run for variance and cost estimation, which leads to a poorly balanced sample allocation.
- Applying MLMC to discontinuous payoffs or indicator functions without smoothing, since the variance of corrections may decay too slowly.
- Treating MLMC as a form of stratified or importance sampling. Its gain comes from telescoping coupled corrections across resolutions, which is a different mechanism.
Frequently asked questions
How does MLMC differ from standard Monte Carlo?
Standard Monte Carlo runs all N samples at the single target resolution, with cost O(N * C_L). MLMC decomposes the estimation into a telescoping sum of corrections across levels, running most samples cheaply at coarse levels and only a few at the fine level. For the simplest Lipschitz SDE case, Giles (2008) reports that the cost to reach accuracy ε falls from O(ε⁻³) to O(ε⁻²(log ε)²).
What does 'coupled samples' mean in MLMC?
At each level l, a pair of simulations, one at resolution l and one at resolution l-1, is driven by the same underlying random numbers. This positive correlation is what allows the correction P_l - P_{l-1} to typically have much smaller variance than either P_l or P_{l-1} alone when the coupling is good, and this variance reduction is the source of MLMC's efficiency.
How many levels L should I use?
L should be large enough that the bias at the finest level is small compared with the statistical error target, and the coarsest level should be cheap without leaving too much bias. A common practical check is to monitor the size of successive level corrections. Giles (2015) reviews the method and its generalisations; the level-selection checks given here are general practice and should be verified empirically for the model at hand.
Can MLMC be used for Bayesian inference?
Multilevel extensions of Markov chain Monte Carlo and sequential Monte Carlo, listed among the related methods, apply a similar level-correction idea to posterior computation. These are distinct methods rather than MLMC itself. Whether they give a comparable advantage depends on the model and on how well consecutive levels can be coupled, so performance should be checked for the specific problem.
Does MLMC work for discrete-event or agent-based simulations?
It can be harder, because a natural coupling between resolution levels may be difficult to define for discrete-event or agent-based models. The key requirement, that the variance of corrections decreases with level, must be checked empirically for the model in question.
Related methods
Sources
Giles, M. B. (2008). Multilevel Monte Carlo path simulation. Operations Research, 56(3), 607–617.
Open DOI referenceGiles, M. B. (2015). Multilevel Monte Carlo methods. Acta Numerica, 24, 259–328.
Open DOI reference