ArticleslgStudy

computer science

Multilevel Monte Carlo method

Multilevel Monte Carlo method is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Multilevel Monte Carlo method rather than just read about it. In short: Multilevel Monte Carlo (MLMC) methods in numerical analysis are algorithms for computing expectations that arise in stochastic simulations. Just as Monte Carlo methods, they rely on repeated random sampling, but these samples are taken on different levels of accuracy.

Multilevel Monte Carlo method — main illustration
Multilevel Monte Carlo method — illustration

Key takeaways

  • Multilevel Monte Carlo method belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Multilevel Monte Carlo method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Multilevel Monte Carlo method from memory before moving on to harder problems.

Reference excerpt

Multilevel Monte Carlo (MLMC) methods in numerical analysis are algorithms for computing expectations that arise in stochastic simulations. Just as Monte Carlo methods, they rely on repeated random sampling, but these samples are taken on different levels of accuracy. MLMC methods can greatly reduce the computational cost of standard Monte Carlo methods by taking most samples with a low accuracy and corresponding low cost, and only very few samples are taken at high accuracy and corresponding high cost.

Goal The goal of a multilevel Monte Carlo method is to approximate the expected value E ⁡ [ G ] {\displaystyle \operatorname {E} [G]} of the random variable G {\displaystyle G} that is the output of a stochastic simulation. Suppose this random variable cannot be simulated exactly, but there is a sequence of approximations G 0 , G 1 , … , G L {\displaystyle G_{0},G_{1},\ldots ,G_{L}} with increasing accuracy, but also increasing cost, that converges to G {\displaystyle G} as L → ∞ {\displaystyle L\rightarrow \infty } . The basis of the multilevel method is the telescoping sum identity,

that is trivially satisfied because of the linearity of the expectation operator. Each of the expectations E ⁡ [ G ℓ − G ℓ − 1 ] {\displaystyle \operatorname {E} [G_{\ell }-G_{\ell -1}]} is then approximated by a Monte Carlo method, resulting in the multilevel Monte Carlo method. Note that taking a sample of the difference G ℓ − G ℓ − 1 {\displaystyle G_{\ell }-G_{\ell -1}} at level ℓ {\displaystyle \ell } requires a simulation of both G ℓ {\displaystyle G_{\ell }} and G ℓ − 1 {\displaystyle G_{\ell -1}} . The MLMC method works if the variances V ⁡ [ G ℓ − G ℓ − 1 ] → 0 {\displaystyle \operatorname {V} [G_{\ell }-G_{\ell -1}]\rightarrow 0} as ℓ → ∞ {\displaystyle \ell \rightarrow \infty } , which will be the case if both G ℓ {\displaystyle G_{\ell }} and G ℓ − 1 {\displaystyle G_{\ell -1}} approximate the same random variable G {\displaystyle G} . By the Central Limit Theorem, this implies that one needs fewer and fewer samples to accurately approximate the expectation of the difference G ℓ − G ℓ − 1 {\displaystyle G_{\ell }-G_{\ell -1}} as ℓ → ∞ {\displaystyle \ell \rightarrow \infty } . Hence, most samples will be taken on level 0 {\displaystyle 0} , where samples are cheap, and only very few samples will be required at the finest level L {\displaystyle L} . In this sense, MLMC can be considered as a recursive control variate strategy.

Applications

The first application of MLMC is attributed to Mike Giles, in the context of stochastic differential equations (SDEs) for option pricing, however, earlier traces are found in the work of Heinrich in the context of parametric integration. Here, the random variable G = f ( X ( T ) ) {\displaystyle G=f(X(T))} is known as the payoff function, and the sequence of approximations G ℓ {\displaystyle G_{\ell }} , ℓ = 0 , … , L {\displaystyle \ell =0,\ldots ,L} use an approximation to the sample path X ( t ) {\displaystyle X(t)} with time step h ℓ = 2 − ℓ T {\displaystyle h_{\ell }=2^{-\ell }T} . The application of MLMC to problems in uncertainty quantification (UQ) is an active area of research. An important prototypical example of these problems are partial differential equations (PDEs) with random coefficients. In this context, the random variable G {\displaystyle G} is known as the quantity of interest, and the sequence of approximations corresponds to a discretization of the PDE with different mesh sizes.

An algorithm for MLMC simulation A simple level-adaptive algorithm for MLMC simulation is given below in pseudo-code.

L ← 0 {\displaystyle L\gets 0}

repeat Take warm-up samples at level L {\displaystyle L}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Multilevel Monte Carlo method

Start with the simplest possible case. Write down what Multilevel Monte Carlo method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Multilevel Monte Carlo method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Multilevel Monte Carlo method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Multilevel Monte Carlo method

In research
Multilevel Monte Carlo method appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Multilevel Monte Carlo method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Multilevel Monte Carlo method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Monte Carlo methods, Numerical analysis, Randomized algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Multilevel Monte Carlo method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Multilevel Monte Carlo method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Multilevel Monte Carlo method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Multilevel Monte Carlo method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Multilevel Monte Carlo method in simple terms?

Multilevel Monte Carlo (MLMC) methods in numerical analysis are algorithms for computing expectations that arise in stochastic simulations. Just as Monte Carlo methods, they rely on repeated random sampling, but these samples are taken on different levels of accuracy.

Why does Multilevel Monte Carlo method matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Multilevel Monte Carlo method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Multilevel Monte Carlo method.

Tags

  • Monte Carlo methods
  • Numerical analysis
  • Randomized algorithms
  • Sampling techniques
  • Stochastic simulation

Keep exploring