path simulation
Mike Giles
giles@comlab.ox.ac.uk
Outline
Long-term objective is faster Monte Carlo simulation of path
dependent options to estimate values and Greeks.
Several ingredients, not yet all combined:
multilevel method
quasi-Monte Carlo
adjoint pathwise Greeks
parallel computing on NVIDIA graphics cards
Emphasis in this presentation is on multilevel method
Generic Problem
Stochastic differential equation with general drift and
volatility terms:
dS(t) = a(S, t) dt + b(S, t) dW (t)
U, V.
Multilevel Monte Carlo p. 3/41
Simplest MC Approach
Euler discretisation with timestep h:
Sbn+1 = Sbn + a(Sbn , tn ) h + b(Sbn , tn ) Wn
N
X
i=1
(i)
f (SbT /h )
Simplest MC Approach
Mean Square Error is O
N 1
h2
h = O()
, with p as small as
Standard MC Improvements
variance reduction techniques (e.g. control variates,
stratified sampling) improve the constant factor in front
of 3 , sometimes spectacularly
improved second order weak convergence(e.g. through
Richardson extrapolation) leads to h = O( ), giving
p = 2.5
quasi-Monte Carlo reduces the number of samples
required, at best leading to N O(1), giving p 2 with
first order weak methods
Multilevel method gives p = 2 without QMC, and at best
p 1 with QMC.
Multilevel Monte Carlo p. 6/41
Multilevel MC Approach
Consider multiple sets of simulations with different
timesteps hl = 2l T, l = 0, 1, . . . , L, and payoff Pbl
E[PbL ] = E[Pb0 ] +
L
X
l=1
E[Pbl Pbl1 ]
Nl
X
i=1
(i)
(i)
Pbl Pbl1
Multilevel MC Approach
Discrete Brownian path at different levels
3.5
P0
P1
2.5
P2
P
1.5
P5
P
0.5
0
0.5
1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Multilevel MC Approach
Using independent paths for each level, the variance of the
combined estimator is
" L #
L
X
X
Ybl =
V
N 1 Vl ,
Vl V[Pbl Pbl1 ],
l
l=0
l=0
L
X
Nl h1
l .
l=0
Multilevel MC Approach
For the Euler discretisation and a Lipschitz payoff function
V[Pbl P ] = O(hl )
hL = O().
Multilevel MC Approach
Theorem: Let P be a functional of the solution of a stochastic o.d.e.,
bl ] =
ii) E[Y
E[Pb0 ],
l=0
E[Pb Pb ], l > 0
l
l1
bl ] c2 N 1 h
iii) V[Y
l
l
bl , is bounded by
iv) Cl , the computational complexity of Y
Cl c3 Nl h1
l
Multilevel MC Approach
then there exists a positive constant c4 such that for any < e1 there
are values L and Nl for which the multi-level estimator
Yb =
L
X
l=0
Ybl ,
Yb E[P ]
2
< 2
2 ,
> 1,
c
4
C
c4 2 (log )2 , = 1,
Milstein Scheme
The theorem suggests use of Milstein scheme
better strong convergence, same weak convergence
Generic scalar SDE:
dS(t) = a(S, t) dt + b(S, t) dW (t),
0 < t < T.
Milstein scheme:
Milstein Scheme
In scalar case:
O(h) strong convergence
O(2 ) complexity for Lipschitz payoffs trivial
O(2 ) complexity for Asian, lookback, barrier and
digital options using carefully constructed estimators
based on Brownian interpolation or extrapolation
Milstein Scheme
Key idea: within each timestep, model the behaviour as
simple Brownian motion conditional on the two end-points
b
S(t)
= Sbn + (t)(Sbn+1 Sbn )
+ bn W (t) Wn (t)(Wn+1 Wn ) ,
where
t tn
(t) =
tn+1 tn
Results
Geometric Brownian motion:
dS = r S dt + S dW,
0 < t < T,
MLMC Results
GBM: European
0
10
log2 |mean|
log2 variance
15
10
20
15
P
25
P P
l
30
call
P P
l1
4
l
20
l1
4
l
MLMC Results
GBM: European
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
Std MC
MLMC
10
10
Cost
10
10
10
10
call
4
l
10
10
10
MLMC Results
GBM: Asian
0
10
log2 |mean|
log2 variance
15
10
20
15
P
25
P P
l
30
option
P P
l1
4
l
20
l1
4
l
MLMC Results
GBM: Asian
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
10
2 Cost
10
10
option
10
10
10
Std MC
MLMC
4
l
10
10
10
MLMC Results
GBM: lookback
0
10
log2 |mean|
log2 variance
15
10
20
15
P
25
P P
l
30
option
P P
l1
5
l
10
20
l1
5
l
Multilevel Monte Carlo p. 22/41
10
MLMC Results
GBM: lookback
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
10
2 Cost
10
10
option
10
10
10
Std MC
MLMC
5
l
10
10
10
10
MLMC Results
GBM: barrier
0
10
log2 |mean|
log2 variance
15
10
20
15
P
25
P P
l
30
option
P P
l1
4
l
20
l1
4
l
MLMC Results
GBM: barrier
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
10
2 Cost
10
10
option
10
10
10
Std MC
MLMC
4
l
10
10
10
Milstein Scheme
Generic vector SDE:
dS(t) = a(S, t) dt + b(S, t) dW (t),
0 < t < T,
Milstein Scheme
In vector case:
O(h) strong convergence if Lvy areas are simulated
correctly expensive
O(h1/2 ) strong convergence in general if Lvy areas are
omitted, except if a certain commutativity condition is
satisfied (useful for a number of real cases)
Results
Heston model:
dS = r S dt + V S dW1 ,
0<t<T
2
dV = ( V ) dt + V dW2 ,
T = 1, S(0) = 1, V (0) = 0.04, r = 0.05,
= 0.2, = 5, = 0.25, = 0.5
MLMC Results
Heston model: European call
0
10
log2 |mean|
log2 variance
15
10
20
15
P
25
P P
l
30
P P
l1
4
l
20
l1
4
l
MLMC Results
Heston model: European call
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
Std MC
MLMC
10
10
Cost
10
10
10
10
4
l
10
10
10
Quasi-Monte Carlo
well-established technique for approximating
high-dimensional integrals
for finance applications see papers by lEcuyer and
book by Glasserman
Sobol sequences are perhaps most popular;
we use lattice rules (Sloan & Kuo)
two important ingredients for success:
randomized QMC for confidence intervals
good identification of dominant dimensions
(Brownian Bridge and/or PCA)
Quasi-Monte Carlo
Approximate high-dimensional hypercube integral
Z
f (x) dx
[0,1]d
by
1
N
N
1
X
i=0
where
x
f (x(i) )
(i)
i
z
=
N
Quasi-Monte Carlo
In the best cases, error is O(N 1 ) instead of O(N 1/2) but
without a confidence interval.
To get a confidence interval, let
i
(i)
z + x0 .
x =
N
where x0 is a random offset vector.
Using 32 different random offsets gives a confidence
interval in the usual way.
Quasi-Monte Carlo
For the path discretisation we can use
Wn = h 1 (xn ),
where 1 is the inverse cumulative Normal distribution.
Much better to use a Brownian Bridge construction:
x1
x2
x3 , x4
W (T )
W (T /2)
W (T /4), W (3T /4)
Multilevel QMC
rank-1 lattice rule developed by Sloan, Kuo &
Waterhouse at UNSW
32 randomly-shifted sets of QMC points
number of points in each set increased as needed to
achieved desired accuracy, based on confidence
interval estimate
results show QMC to be particularly effective on lowest
levels with low dimensionality
MLQMC Results
GBM: European call
0
5
5
15
log2 |mean|
log2 variance
10
20
25
30
40
15
1
16
256
4096
35
0
10
P P
l
4
l
20
l1
4
l
MLQMC Results
GBM: European call
6
10
10
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
10
Cost
10
10
10
2
10
10
Std QMC
MLQMC
4
l
10
10
10
MLQMC Results
GBM: barrier option
0
5
5
15
log2 |mean|
log2 variance
10
20
25
30
40
15
1
16
256
4096
35
0
10
P P
l
4
l
20
l1
4
l
MLQMC Results
GBM: barrier option
7
10
10
=0.00005
=0.0001
=0.0002
=0.0005
=0.001
10
10
Cost
10
10
Std QMC
MLQMC
10
10
10
10
4
l
10
10
10
Conclusions
Results so far:
much improved order of complexity
fairly easy to implement
significant benefits for model problems
However:
lots of scope for further development
multi-dimensional SDEs needing Lvy areas
adjoint Greeks and vibrato Monte Carlo
numerical analysis of algorithms
execution on NVIDIA graphics cards (128 cores)
need to test ideas on real finance applications
Multilevel Monte Carlo p. 40/41
Papers
M.B. Giles, Multilevel Monte Carlo path simulation,
to appear in Operations Research, 2007.
M.B. Giles, Improved multilevel convergence using the
Milstein scheme, to appear in MCQMC06 proceedings,
Springer-Verlag, 2007.
M.B. Giles, Multilevel quasi-Monte Carlo path simulation,
submitted to Journal of Computational Finance, 2007.
www.comlab.ox.ac.uk/mike.giles/finance.html
Email: giles@comlab.ox.ac.uk