Algorithm Search⌘K

Theoremadvanced

Multilevel Monte Carlo complexity theorem

Also called Giles complexity theorem.

Gives the cost of MLMC for root mean square error eps as eps^-2, eps^-2 (log eps)^2 or more, from the rates of variance decay and cost growth.

Statement

Let PP be a random variable and P0,P1,…P_0, P_1, \ldots approximations of it on levels l=0,1,…l = 0, 1, \ldots. Let Yl=Pl−Pl−1Y_l = P_l - P_{l-1} with P−1=0P_{-1} = 0, let Y^l\widehat{Y}_l be the mean of NlN_l independent samples of YlY_l, with the samples of different levels independent, and let Y^=∑l=0LY^l\widehat{Y} = \sum_{l=0}^{L} \widehat{Y}_l. Let ClC_l be the expected cost of one sample of YlY_l and Vl=Var(Yl)V_l = \mathrm{Var}(Y_l).

Theorem (Giles). Suppose there are positive constants α,β,γ,c1,c2,c3\alpha, \beta, \gamma, c_1, c_2, c_3 with α≥12min⁡(β,γ)\alpha \ge \frac{1}{2}\min(\beta, \gamma) such that for all l≥0l \ge 0

  1. ∣E[Pl−P]∣≤c12−αl|\mathbb{E}[P_l - P]| \le c_1 2^{-\alpha l},
  2. Vl≤c22−βlV_l \le c_2 2^{-\beta l},
  3. Cl≤c32γlC_l \le c_3 2^{\gamma l}.

Then there is a constant c4c_4 such that for every ε<e−1\varepsilon < e^{-1} there are a level LL and counts N0,…,NLN_0, \ldots, N_L for which the mean squared error E[(Y^−E[P])2]\mathbb{E}[(\widehat{Y} - \mathbb{E}[P])^2] is at most ε2\varepsilon^2 and the expected cost C=∑l=0LNlClC = \sum_{l=0}^{L} N_l C_l satisfies

C≤{c4 ε−2,β>γ,c4 ε−2(log⁡ε)2,β=γ,c4 ε−2−(γ−β)/α,β<γ.C \le \begin{cases} c_4\, \varepsilon^{-2}, & \beta > \gamma, \\ c_4\, \varepsilon^{-2} (\log \varepsilon)^2, & \beta = \gamma, \\ c_4\, \varepsilon^{-2 - (\gamma - \beta)/\alpha}, & \beta < \gamma. \end{cases}

The rate α\alpha is the weak rate of the bias, β\beta the rate of the variance of the corrections and γ\gamma the rate of the cost growth. The theorem says that good choices exist; the multilevel Monte Carlo algorithm makes the choices of the proof from estimated VlV_l and ClC_l.

In plain words

The multilevel method mixes many cheap coarse samples with few expensive fine ones. This theorem says how much the whole mix costs for a given accuracy. Three numbers decide it: how fast the error of the levels falls, how fast the spread of the corrections falls, and how fast the cost of one sample grows from level to level.

If the spread falls faster than the cost grows, almost all the work is on the coarse levels, and the total is the same as if every sample were cheap and exact. If the two match, every level costs about the same, and there is a small extra factor for the number of levels. If the cost grows faster, the finest level dominates, but the total is still much less than with the finest level alone.

Proof

We follow Giles 2015. All logarithms are natural logarithms, and ε<e−1\varepsilon < e^{-1} gives log⁡(ε−1)>1\log(\varepsilon^{-1}) > 1. The mean squared error splits into a variance and a squared bias,

E[(Y^−E[P])2]=∑l=0LVlNl+(E[PL]−E[P])2,\mathbb{E}[(\widehat{Y} - \mathbb{E}[P])^2] = \sum_{l=0}^{L} \frac{V_l}{N_l} + \big(\mathbb{E}[P_L] - \mathbb{E}[P]\big)^2,

because E[Y^]=E[PL]\mathbb{E}[\widehat{Y}] = \mathbb{E}[P_L] by the telescoping sum and the samples are independent (see the proof page of multilevel Monte Carlo). We make each part at most ε2/2\varepsilon^2/2.

Step 1 (the level). Let L=⌈α−1log⁡2(2 c1ε−1)⌉L = \big\lceil \alpha^{-1} \log_2(\sqrt{2}\, c_1 \varepsilon^{-1}) \big\rceil. Then c12−αL≤ε/2c_1 2^{-\alpha L} \le \varepsilon/\sqrt{2}, so the squared bias is at most ε2/2\varepsilon^2/2 by hypothesis 1. Also L<α−1log⁡2(2 c1ε−1)+1L < \alpha^{-1}\log_2(\sqrt{2}\, c_1 \varepsilon^{-1}) + 1, which gives

2αL<2α2 c1ε−1andL+1≤c5log⁡(ε−1)(1)2^{\alpha L} < 2^{\alpha} \sqrt{2}\, c_1 \varepsilon^{-1} \qquad \text{and} \qquad L + 1 \le c_5 \log(\varepsilon^{-1}) \tag{1}

for a constant c5c_5; the second bound uses log⁡(ε−1)>1\log(\varepsilon^{-1}) > 1 to absorb the constant terms. From the first bound, 2θL<(2α2 c1)θ/αε−θ/α2^{\theta L} < (2^\alpha \sqrt{2}\, c_1)^{\theta/\alpha} \varepsilon^{-\theta/\alpha} for every θ>0\theta > 0.

Step 2 (the counts). Let S=∑l=0LVlClS = \sum_{l=0}^{L} \sqrt{V_l C_l} and Nl=⌈2ε−2Vl/Cl S⌉N_l = \big\lceil 2 \varepsilon^{-2} \sqrt{V_l / C_l}\, S \big\rceil. Then

∑l=0LVlNl≤∑l=0Lε2Vl2SVl/Cl=ε22S∑l=0LVlCl=ε22,\sum_{l=0}^{L} \frac{V_l}{N_l} \le \sum_{l=0}^{L} \frac{\varepsilon^2 V_l}{2 S \sqrt{V_l / C_l}} = \frac{\varepsilon^2}{2S} \sum_{l=0}^{L} \sqrt{V_l C_l} = \frac{\varepsilon^2}{2},

so the mean squared error is at most ε2\varepsilon^2. These counts are the minimizers of the cost under the variance constraint, found by a Lagrange multiplier, rounded up. Since Nl<2ε−2Vl/Cl S+1N_l < 2 \varepsilon^{-2} \sqrt{V_l / C_l}\, S + 1,

C=∑l=0LNlCl<2ε−2S2+∑l=0LCl.(2)C = \sum_{l=0}^{L} N_l C_l < 2 \varepsilon^{-2} S^2 + \sum_{l=0}^{L} C_l. \tag{2}

Step 3 (the rounding term). By hypothesis 3, ∑l=0LCl≤c3∑l=0L2γl<c3 2γL/(1−2−γ)\sum_{l=0}^{L} C_l \le c_3 \sum_{l=0}^{L} 2^{\gamma l} < c_3\, 2^{\gamma L} / (1 - 2^{-\gamma}), and by (1) this is at most a constant times ε−γ/α\varepsilon^{-\gamma/\alpha}. The condition α≥12min⁡(β,γ)\alpha \ge \frac{1}{2}\min(\beta, \gamma) bounds this term in each case. If β≥γ\beta \ge \gamma, it gives γ/α≤2\gamma/\alpha \le 2, so the term is O(ε−2)O(\varepsilon^{-2}). If β<γ\beta < \gamma, it gives β/α≤2\beta/\alpha \le 2, so γ/α=β/α+(γ−β)/α≤2+(γ−β)/α\gamma/\alpha = \beta/\alpha + (\gamma - \beta)/\alpha \le 2 + (\gamma - \beta)/\alpha, and the term is O(ε−2−(γ−β)/α)O(\varepsilon^{-2 - (\gamma - \beta)/\alpha}). In both cases it is within the claimed bound (for β=γ\beta = \gamma because ε−2≤ε−2(log⁡ε)2\varepsilon^{-2} \le \varepsilon^{-2} (\log \varepsilon)^2).

Step 4 (the main term). By hypotheses 2 and 3, VlCl≤c2c3 2(γ−β)l/2\sqrt{V_l C_l} \le \sqrt{c_2 c_3}\, 2^{(\gamma - \beta) l / 2}.

  • If β>γ\beta > \gamma, the sum is bounded by a geometric series: S≤c2c3/(1−2−(β−γ)/2)S \le \sqrt{c_2 c_3} / (1 - 2^{-(\beta - \gamma)/2}), a constant. So 2ε−2S2=O(ε−2)2 \varepsilon^{-2} S^2 = O(\varepsilon^{-2}).
  • If β=γ\beta = \gamma, each term is at most c2c3\sqrt{c_2 c_3}, so S≤c2c3 (L+1)≤c2c3 c5log⁡(ε−1)S \le \sqrt{c_2 c_3}\,(L + 1) \le \sqrt{c_2 c_3}\, c_5 \log(\varepsilon^{-1}) by (1). So 2ε−2S2≤2c2c3c52 ε−2(log⁡ε)22 \varepsilon^{-2} S^2 \le 2 c_2 c_3 c_5^2\, \varepsilon^{-2} (\log \varepsilon)^2.
  • If β<γ\beta < \gamma, the sum is dominated by its last term: S≤c2c3 2(γ−β)L/2/(1−2−(γ−β)/2)S \le \sqrt{c_2 c_3}\, 2^{(\gamma - \beta) L / 2} / (1 - 2^{-(\gamma - \beta)/2}). So S2S^2 is at most a constant times 2(γ−β)L2^{(\gamma - \beta) L}, which by (1) is at most a constant times ε−(γ−β)/α\varepsilon^{-(\gamma - \beta)/\alpha}, and 2ε−2S2=O(ε−2−(γ−β)/α)2 \varepsilon^{-2} S^2 = O(\varepsilon^{-2 - (\gamma - \beta)/\alpha}).

Adding Step 3 and Step 4 in (2) and taking c4c_4 as the largest of the constants gives the three bounds. ■\blacksquare

The proof shows where the work is. If β>γ\beta > \gamma, the terms VlCl\sqrt{V_l C_l} fall geometrically, and most of the cost is on the coarsest levels. If β<γ\beta < \gamma, they grow geometrically, and most of the cost is on the finest levels, where one sample costs CL=O(ε−γ/α)C_L = O(\varepsilon^{-\gamma/\alpha}). If β=γ\beta = \gamma, the cost is spread evenly over the L+1=O(log⁡ε−1)L + 1 = O(\log \varepsilon^{-1}) levels, and the factor (log⁡ε)2(\log \varepsilon)^2 is (L+1)2(L + 1)^2.

Consequences

  • Euler-Maruyama paths. For an SDE with smooth coefficients and a Lipschitz output of the final value, the Euler-Maruyama method with hl=2−lh0h_l = 2^{-l} h_0 has weak order 1 and strong order 1/2, so α=1\alpha = 1 and Vl=O(hl)V_l = O(h_l), β=1\beta = 1; the cost per sample is γ=1\gamma = 1. The theorem gives O(ε−2(log⁡ε)2)O(\varepsilon^{-2} (\log \varepsilon)^2). Plain Monte Carlo integration on one level needs O(ε−2)O(\varepsilon^{-2}) samples with O(ε−1)O(\varepsilon^{-1}) steps, which is O(ε−3)O(\varepsilon^{-3}). With hl=4−lh0h_l = 4^{-l} h_0, as in Giles 2008, all three rates are 2 and the order is the same.
  • Milstein paths. With the Milstein method in one dimension, the strong order is 1, so β=2>γ=1\beta = 2 > \gamma = 1 and the cost is O(ε−2)O(\varepsilon^{-2}), the order of Monte Carlo with exact samples of unit cost.
  • Plain Monte Carlo as one level. Plain Monte Carlo on level LL costs O(ε−2CL)=O(ε−2−γ/α)O(\varepsilon^{-2} C_L) = O(\varepsilon^{-2 - \gamma/\alpha}). In the case β<γ\beta < \gamma, MLMC saves the factor ε−β/α\varepsilon^{-\beta/\alpha}.
  • The condition on alpha. Giles notes that if hypothesis 2 is tightened to a bound on E[Yl2]\mathbb{E}[Y_l^2], which is the quantity that numerical analysis usually bounds, then α≥β/2\alpha \ge \beta/2 follows, because ∣E[Yl]∣≤E[Yl2]|\mathbb{E}[Y_l]| \le \sqrt{\mathbb{E}[Y_l^2]} and the bias is a sum of the E[Yl]\mathbb{E}[Y_l].
  • Rule of thumb (heuristic, not part of the theorem). In a run, plot log⁡2Vl\log_2 V_l, log⁡2∣Y^l∣\log_2 |\widehat{Y}_l| and log⁡2Cl\log_2 C_l against ll to read the rates. If the plotted VlClV_l C_l grows, the finest levels dominate, and it pays to improve the coupling before anything else.

Tightness

  • The rounding condition is needed. Without α≥12min⁡(β,γ)\alpha \ge \frac{1}{2}\min(\beta, \gamma), one sample on each level already costs about CL≈2γLC_L \approx 2^{\gamma L}, which is of order ε−γ/α\varepsilon^{-\gamma/\alpha}. For example, with β>γ\beta > \gamma and α<γ/2\alpha < \gamma/2, this exceeds ε−2\varepsilon^{-2}, so the first bound fails.
  • The bounds are attained by the method. If Vl=c22−βlV_l = c_2 2^{-\beta l} and Cl=c32γlC_l = c_3 2^{\gamma l} hold with equality and the bias is exactly c12−αLc_1 2^{-\alpha L}, then LL must be at least α−1log⁡2(2 c1ε−1)\alpha^{-1}\log_2(\sqrt{2}\, c_1 \varepsilon^{-1}), and by the Cauchy-Schwarz bound every choice of counts with variance at most ε2/2\varepsilon^2/2 costs at least 2ε−2S22 \varepsilon^{-2} S^2. For β=γ\beta = \gamma this is of order ε−2L2\varepsilon^{-2} L^2, so the factor (log⁡ε)2(\log \varepsilon)^2 cannot be removed for the multilevel estimator with these levels.
  • Near the lower bound for SDEs. Creutzig, Dereich, Müller-Gronbach and Ritter proved in 2009 a lower bound of order ε−2\varepsilon^{-2} for the quadrature of path functionals, and showed that the multilevel method reaches the worst case optimal order ε−2(log⁡ε)2\varepsilon^{-2} (\log \varepsilon)^2 for a class of Lipschitz path-dependent functionals. So the Euler case is optimal up to the logarithm.
  • The factor ε−2\varepsilon^{-2} is the floor. Every bound has the factor ε−2\varepsilon^{-2} of the central limit theorem: an estimator that averages independent samples of a variable with positive variance needs of order ε−2\varepsilon^{-2} samples for root mean square error ε\varepsilon.

History

Giles proved the theorem for SDE paths in 2008 (Theorem 3.1 of the Operations Research paper), with step sizes in the ratio 4 between levels. Cliffe, Giles, Scheichl and Teckentrup gave it in 2011 with general rates α\alpha, β\beta, γ\gamma, for elliptic PDEs with random coefficients. The form above, with expected costs, is Theorem 1 of the 2015 Acta Numerica review of Giles, who calls it a slight generalization of the 2008 theorem. Earlier, Heinrich had proved complexity bounds for multilevel methods in parametric integration and integral equations from 1998 on.

References

  1. Michael B. Giles, Multilevel Monte Carlo methods, Acta Numerica 24, 2015, 259-328, Section 2.1, Theorem 1 and its proof, and the discussion of the three cases; Section 5.1 for Euler-Maruyama paths
  2. Michael B. Giles, Multilevel Monte Carlo path simulation, Operations Research 56(3), 2008, 607-617, Theorem 3.1, the first form of the theorem
  3. K. Andrew Cliffe, Michael B. Giles, Robert Scheichl and Aretha L. Teckentrup, Multilevel Monte Carlo methods and applications to elliptic PDEs with random coefficients, Computing and Visualization in Science 14, 2011, 3-15, the theorem with general rates alpha, beta and gamma
  4. Jakob Creutzig, Steffen Dereich, Thomas Müller-Gronbach and Klaus Ritter, Infinite-dimensional quadrature and approximation of distributions, Foundations of Computational Mathematics 9(4), 2009, 391-429, the lower bound of order eps^-2 for SDE quadrature and the near optimality of the multilevel method for Lipschitz path functionals

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW0 stub
  • the lead paragraph