Interval Arithmatic and Automatic Differentiation in Optimization - - PowerPoint PPT Presentation

interval arithmatic and automatic differentiation
SMART_READER_LITE
LIVE PREVIEW

Interval Arithmatic and Automatic Differentiation in Optimization - - PowerPoint PPT Presentation

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Interval Arithmatic and Automatic Differentiation in Optimization and Model Calibration Grzegorz Kozikowski University of Manchester


slide-1
SLIDE 1

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Interval Arithmatic and Automatic Differentiation

in Optimization and Model Calibration Grzegorz Kozikowski

University of Manchester

Tampere 15th May 2013 HPCFinance

1 / 30

slide-2
SLIDE 2

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Agenda

1

Aims

2

Calibration of Heston Model

3

Interval Analysis

4

Interval based algorithm for Heston calibration

5

Summary

2 / 30

slide-3
SLIDE 3

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Aims Global optimization algorithm for non-linear regression. The approach is based on Interval Analysis and Automatic Differentiation using HPC technologies.

3 / 30

slide-4
SLIDE 4

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Aims Global optimization algorithm for non-linear regression. The approach is based on Interval Analysis and Automatic Differentiation using HPC technologies. Application Calibration of the Heston Model, ill-posed optimization problems.

3 / 30

slide-5
SLIDE 5

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Aims Global optimization algorithm for non-linear regression. The approach is based on Interval Analysis and Automatic Differentiation using HPC technologies. Application Calibration of the Heston Model, ill-posed optimization problems. Optimization problem Let us f : Rn → R: minimize

x

f(x) subject to: hi(x) ≤ ai, i = 1, . . . , n. gj(x) ≤ bj, j = 1, . . . , m.

3 / 30

slide-6
SLIDE 6

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Optimization methods: Class of the gradient based optimization algorithms using real numbers:

  • no global extremum guaranteed
  • sequential structure
  • discrete optimization

Heuristic algorithms

  • no global extremum guaranteed
  • embarrassingly parallel problem
  • discrete optimization

4 / 30

slide-7
SLIDE 7

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Optimization methods: Consider a contour line plot of some function f: from starting points (0, 0), (0, 4), (4, 0), converges to 1 from starting points (4, 4), (2, 2), converges to point 2 Unsolved problem in real numbers!!!

5 / 30

slide-8
SLIDE 8

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary

Optimization methods: Global optimization based on Interval Arithmetic/Automatic Differentiation

  • global extremum guaranteed
  • embarrassingly parallel problem
  • intervals

6 / 30

slide-9
SLIDE 9

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Heston Model Calibration function

Heston Model

Heston Stochastic Volatility Model The dynamics of the Heston model can be described as follows: dSt = µStdt +

  • VtStdZ 1

t

dVt = κ(θ − Vt)dt + σ

  • VtdZ 2

t

dZ 1

t dZ 2 t = ρdt

St asset price at time t µ - constant drift of the asset price dt - time increment Vt - variance of the asset price at time t dZt increment of a Brownian motion at time t κ - constant mean reversion factor of the asset price variance θ - long-term level of asset price variance σ - volatility of volatility ρ - correlation between Brownian motions 7 / 30

slide-10
SLIDE 10

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Heston Model Calibration function

Heston Model - semi-closed form solution

Solution of Heston PDE is: C(S, V , t, ξ) = SP1 − e−rTKP2 where ξ = (V0, κ, θ, σ, ρ, µ) and: Pj(S, V , t, ξ, K) = 1

2 + 1 π

0 Re( e−iφln(K)fj(S,V ,t,ξ) iφ

)dφ fj(S, V , t, ξ) = eC(T−t,φ)+D(T−t,φ)Vt+iφln(St)) C(T − t, φ) = rφir + a

σ2 [(bj − ρσφi + d)τ − 2ln( 1−gedr 1−g )]

D(T − t, φ) = bj−ρσφi+d

σ2

( 1−edr

1−gedr )

g = bj−ρσφi+d

bj−ρσφi−d

d =

  • (ρσφi − bj)2 − σ2(2ujφi − φ2)

u1 = 1

2, u2 = − 1 2, a = κθ, b1 = κ + λ − ρσ, b2 = κ + λ,

8 / 30

slide-11
SLIDE 11

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Heston Model Calibration function

Calibration

Minimize errors between prices predicted by the Heston model and the market option data (different maturities, strike prices, options): ri(ξ) = Ci(ξ) − C mkt

i

Global optimization - Calibration of the Heston Model The aim is to find the set of input-parameters ξ = (V0, κ, θ, σ, ρ, µ), X = {ξ : ξǫX} that minimize an error function: min

ξ

= G(ξ) =

  • Nquotes
  • i=1

(Ci(ξ) − C mkt

i

)2

9 / 30

slide-12
SLIDE 12

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Heston Model Calibration function

Most optimization require the gradient and the Hessian: ri(ξ) = Ci(ξ) − C mkt

i

the gradient: ∇G(ξ) = 2

Nquotes

  • i=1

ri(ξ)∇ri(ξ) =           2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

dV0

2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

2 Nquotes

i=1

ri(ξ) ∗ dri(ξ)

          = [0] the Hessian: ∇2G(ξ) = 2

Nquotes

  • i=1

(ri(ξ)∇2ri(ξ) + ∇ri(ξ)∇ri(ξ)T)

10 / 30

slide-13
SLIDE 13

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Interval arithmetic

Approach to putting bounds in mathematical computation and thus, developing numerical methods that yield reliable results Each single real-number X is represented as a pair of bounds [xl, xu], where xl < xu Interval operators are inclusion isotonic (Z ⊂ X) => f (Z) ⊂ f (X) Optimization - reduction of an input space

11 / 30

slide-14
SLIDE 14

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Interval arithmetic

Approach to putting bounds in mathematical computation and thus, developing numerical methods that yield reliable results Each single real-number X is represented as a pair of bounds [xl, xu], where xl < xu Interval operators are inclusion isotonic (Z ⊂ X) => f (Z) ⊂ f (X) Optimization - reduction of an input space

11 / 30

slide-15
SLIDE 15

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Interval operators

Each single real-number X is represented as a pair of [x1, x2], where x1 < x2 Elementary arithmetic operations: [x1, x2] + [y1, y2] = [x1 + y1, x2 + y2] [x1, x2] − [y1, y2] = [x1 + y2, x2 + y1] [x1, x2] ∗ [y1, y2] = [min(x1y1, x1y2, x2y1, x2y2), max(x1y1, x1y2, x2y1, x2y2)]

[x1,x2] [y1,y2] = [x1, x2] ∗ [ 1 y1 , 1 y2 ]

12 / 30

slide-16
SLIDE 16

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Features

Intervals deal with: Non-continuous and non-differentiable functions Uncertainty of machine representation of numbers (outward rounding) Discretization errors Analysis of the simulation results based on uncertain input-parameters Numerical problems that are unsolved in real-numbers (global

  • ptimization)

Interval results of operations are not always sharp (sharp bounds - NP-hard problem)

13 / 30

slide-17
SLIDE 17

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Reduction box techniques

Box consistency Consider an equation f (x1, ..., xn) = 0 where x1ǫX1, ..., xnǫXn. Replace all the variables except the i-th by intervals: q(xi) = f (X1, ...Xi−1, xi, Xi+1, ...Xn) = 0 Eliminate subsets of Xi not satisfying q(xi) = 0

14 / 30

slide-18
SLIDE 18

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Reduction box techniques

Contractors Property that allows us to set constraints for input parameters taking into account bounds of the result. Consider f (x1, x2) where x1ǫX1 and x2ǫX2 and f (x) = ¯ y

15 / 30

slide-19
SLIDE 19

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Contractors - Forward/Backward propagation algorithm If f (x1, x2) = exp(x1) + sin(x2) and x1ǫ[x1] x2ǫ[x2]. To obtain the exact domains for ¯ y = f (x) we use contractors: forward propagation: backward propagation: [a1] = exp([x1]) [a2] = ([¯ y] − [a3]) ∩ [a2] [a2] = sin([x2]) [a3] = ([¯ y] − [a2]) ∩ [a3] [y] = [a2] + [a3] [x2] = sin−1([a3]) ∩ [x2] [x1] = log([a1]) ∩ [x1]

16 / 30

slide-20
SLIDE 20

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Upper-bound test

Upper-bound test

1 Consider f (x1, x2) where x1ǫX1 and x2ǫX2 2 Suppose f ∗ - global minimum of f(x) 3 Evaluate f at point/interval x0: fu(x0) > f ∗ 4 As fu(x0) > f ∗, reduce the box for which f > fu(x0) by

contracting an inequality: f (x) = [−∞, fu(x0)]

5 As a result we obtain a new reduced box 17 / 30

slide-21
SLIDE 21

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Upper-bound test

Upper-bound test

1 Consider f (x1, x2) where x1ǫX1 and x2ǫX2 2 Suppose f ∗ - global minimum of f(x) 3 Evaluate f at point/interval x0: fu(x0) > f ∗ 4 As fu(x0) > f ∗, reduce the box for which f > fu(x0) by

contracting an inequality: f (x) = [−∞, fu(x0)]

5 As a result we obtain a new reduced box 17 / 30

slide-22
SLIDE 22

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Upper-bound test

Upper-bound test

1 Consider f (x1, x2) where x1ǫX1 and x2ǫX2 2 Suppose f ∗ - global minimum of f(x) 3 Evaluate f at point/interval x0: fu(x0) > f ∗ 4 As fu(x0) > f ∗, reduce the box for which f > fu(x0) by

contracting an inequality: f (x) = [−∞, fu(x0)]

5 As a result we obtain a new reduced box 17 / 30

slide-23
SLIDE 23

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Upper-bound test

Upper-bound test

1 Consider f (x1, x2) where x1ǫX1 and x2ǫX2 2 Suppose f ∗ - global minimum of f(x) 3 Evaluate f at point/interval x0: fu(x0) > f ∗ 4 As fu(x0) > f ∗, reduce the box for which f > fu(x0) by

contracting an inequality: f (x) = [−∞, fu(x0)]

5 As a result we obtain a new reduced box

x0 - the middle of box of the point generated by some optimization methods for real numbers.

17 / 30

slide-24
SLIDE 24

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Monotonicity/Concavity tests

Monotonicity test Let ∇(X) the interval gradient of a box X. If 0 ǫ∇(X), then eliminate X Concavity test Let H(X) the interval Hessian of a box X. If some Hii(X) < 0, then eliminate X Disjoint boxes If X1 ∩ X2 = ∅ and fupper(X1) < flower(X2) then eliminate X2 (inclusion isotonic property)

18 / 30

slide-25
SLIDE 25

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Taylor series - the gradient Consider a Taylor expansion of f around x (the middle of the box): f (y)ǫf (x) + n

i=1(yi − xi)gi.

Eliminate all y that: f (y)ǫf (x) + n

i=1(yi − xi)gi > ¯

f Taylor series - the Hessian Consider a Taylor expansion of f around x (the middle of the box): f (y)ǫf (x) + (y − x)Tg(x) + 1

2H(x)(y − x).

Eliminate all y that: f (y)ǫf (x) + (y − x)Tg(x) + 1

2H(x)(y − x) > ¯

f

19 / 30

slide-26
SLIDE 26

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Introduction Reduction box techniques

Newton Method

Newton Method - equation f(X)=0 From the mean value theorem: f (x) − f (x⋆) = (x − x⋆)f ′(ξ) and (x⋆ < ξ < x) If x⋆ is a zero of f then: x⋆ = x − f (x)

F ′(ξ)

If f ′(ξ)ǫf ′(X) and x = m(X) then: N(Xn) = m(Xn) − f (m(Xn))

F ′(Xn) ,

Xn+1 = Xn ∩ N(Xn)

20 / 30

slide-27
SLIDE 27

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-28
SLIDE 28

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-29
SLIDE 29

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-30
SLIDE 30

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-31
SLIDE 31

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-32
SLIDE 32

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

1 Begin with a box X in which the global minimum is sought 2 Contract ξ to the conditionCi(ξ) = C mkt

i

± Error

3 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 4 If ξ = ∅ then evaluate G(ξ) otherwise go to Stage 2 5 Contract ξ to the condition Ci(ξ) = C mkt

i

± Error

21 / 30

slide-33
SLIDE 33

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-34
SLIDE 34

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-35
SLIDE 35

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-36
SLIDE 36

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-37
SLIDE 37

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-38
SLIDE 38

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

7 Find minimum fsomemin of G(ξ) by using heuristic/gradient

methods

8 If interval contraction was not successful, fsomemin is global

minimum

9 Contract ξ to G(ξ) = [0, fsomemin] 10 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 11 Contract ξ to the condition: ∇G(ξ) = 0 12 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 22 / 30

slide-39
SLIDE 39

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional interval Newton method for each

sub-box to solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 23 / 30

slide-40
SLIDE 40

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional interval Newton method for each

sub-box to solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 23 / 30

slide-41
SLIDE 41

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional interval Newton method for each

sub-box to solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 23 / 30

slide-42
SLIDE 42

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional interval Newton method for each

sub-box to solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 23 / 30

slide-43
SLIDE 43

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

16 Choose the best sub-boxes

Interval results of arithmetic operations are not always sharp (f (xǫX) ⊂ f (X), but not always f (xǫX) ⊆ f (X)) !!! Conclusion: The sub-box whose error function is the lowest known value is not always the best. Glower(ξb1) < Glower(ξb2) < .... < Glower(ξbm) Answer: Try to contract the difference between the best pair of the sub-boxes. If successful, eliminate all the other.

24 / 30

slide-44
SLIDE 44

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

16 Choose the best sub-boxes

Interval results of arithmetic operations are not always sharp (f (xǫX) ⊂ f (X), but not always f (xǫX) ⊆ f (X)) !!! Conclusion: The sub-box whose error function is the lowest known value is not always the best. Glower(ξb1) < Glower(ξb2) < .... < Glower(ξbm) Answer: Try to contract the difference between the best pair of the sub-boxes. If successful, eliminate all the other.

24 / 30

slide-45
SLIDE 45

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

16 Choose the best sub-boxes

Interval results of arithmetic operations are not always sharp (f (xǫX) ⊂ f (X), but not always f (xǫX) ⊆ f (X)) !!! Conclusion: The sub-box whose error function is the lowest known value is not always the best. Glower(ξb1) < Glower(ξb2) < .... < Glower(ξbm) Answer: Try to contract the difference between the best pair of the sub-boxes. If successful, eliminate all the other.

24 / 30

slide-46
SLIDE 46

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional Newton method for each sub-box to

solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 17 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 18 Repeat Stage 2 until the difference between lower and upper

bound of ǫ is less than error tolerance (for each dimension)

25 / 30

slide-47
SLIDE 47

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional Newton method for each sub-box to

solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 17 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 18 Repeat Stage 2 until the difference between lower and upper

bound of ǫ is less than error tolerance (for each dimension)

25 / 30

slide-48
SLIDE 48

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Heston Calibration - Interval Approach

13 Use multidimensional Newton method for each sub-box to

solve (∇G(ξ) = 0)

14 Contract ξ to the condition Hii(ξ) < 0 or use Taylor

expansions

15 Eliminate sub-boxes whose lower bound > upper bound of the

box for which G(X) is the lowest

16 Choose the best sub-boxes 17 Evaluate the joint set: ξ = ξ1 ∩ ξ2 ∩ ... ∩ ξNquotes 18 Repeat Stage 2 until the difference between lower and upper

bound of ǫ is less than error tolerance (for each dimension)

25 / 30

slide-49
SLIDE 49

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Comments

The Gradient and the Hessian are evaluated by Automatic Differentiation routines If some intermediate result has an infinite bound, use extended interval analysis and contractors During interval contraction or Gauss-Newton method, the initial box might be divided into many sub-boxes All the sub-boxes can be processed in parallel (GPU, multicore CPUs)

26 / 30

slide-50
SLIDE 50

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Comments

The Gradient and the Hessian are evaluated by Automatic Differentiation routines If some intermediate result has an infinite bound, use extended interval analysis and contractors During interval contraction or Gauss-Newton method, the initial box might be divided into many sub-boxes All the sub-boxes can be processed in parallel (GPU, multicore CPUs)

26 / 30

slide-51
SLIDE 51

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Comments

The Gradient and the Hessian are evaluated by Automatic Differentiation routines If some intermediate result has an infinite bound, use extended interval analysis and contractors During interval contraction or Gauss-Newton method, the initial box might be divided into many sub-boxes All the sub-boxes can be processed in parallel (GPU, multicore CPUs)

26 / 30

slide-52
SLIDE 52

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Stage 1 Stage 2 Stage 3 Comments

Comments

The Gradient and the Hessian are evaluated by Automatic Differentiation routines If some intermediate result has an infinite bound, use extended interval analysis and contractors During interval contraction or Gauss-Newton method, the initial box might be divided into many sub-boxes All the sub-boxes can be processed in parallel (GPU, multicore CPUs)

26 / 30

slide-53
SLIDE 53

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Questions Bibliography

Conclusion

Conclusion Heston calibration requires an implementation of extended interval analysis for complex numbers Parallel architectures are suitable for global optimization using Interval Analysis Interval analysis deals with numerical problems that are unsolved in real-numbers (global optimization)

27 / 30

slide-54
SLIDE 54

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Questions Bibliography

Questions Questions

28 / 30

slide-55
SLIDE 55

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Questions Bibliography

Bibliography

Hansen Eldon, Global Optimization using Interval Arithmetics New York Basel, 2006 Grzegorz Kozikowski, Evaluation of Option Price Sensitivities based on the Automatic Differentiation Methods using CUDA, Warsaw University of Technology 2013, Master Thesis Grzegorz Kozikowski, Library for Automatic Differentiation using OpenCL, Warsaw University of Technology 2011, Bachelor Thesis Grzegorz Kozikowski and Bartlomiej Jacek Kubica, Interval Arithmetic and Automatic Differentiation using OpenCL technology, Springer 2013, LNCS 7738 Max E. Jerell, Automatic Differentiation and Interval Arithmetic for Estimation of Disequilibrium Models, 1997 Luenberger G. David, Ye Yinyu: Linear and nonlinear programming, Springer 2008 Bazara S. Mokhatar, Nonlinear programming, Theory and algorithms, Willey Interscience 29 / 30

slide-56
SLIDE 56

Aims Calibration of Heston Model Interval Analysis Interval based algorithm for Heston calibration Summary Questions Bibliography

Thank You Thank You very much for Your attention

30 / 30