Capturing rare events with the heterogeneous multiscale method - - PowerPoint PPT Presentation

capturing rare events with the heterogeneous multiscale
SMART_READER_LITE
LIVE PREVIEW

Capturing rare events with the heterogeneous multiscale method - - PowerPoint PPT Presentation

Capturing rare events with the heterogeneous multiscale method David Kelly Eric Vanden-Eijnden Courant Institute New York University New York NY www.dtbkelly.com October 1, 2016 SIAM MPE 16 , Philadelphia, PE David Kelly (CIMS) HMM rare


slide-1
SLIDE 1

Capturing rare events with the heterogeneous multiscale method

David Kelly Eric Vanden-Eijnden

Courant Institute New York University New York NY www.dtbkelly.com

October 1, 2016 SIAM MPE 16, Philadelphia, PE

David Kelly (CIMS) HMM rare events October 1, 2016 1 / 19

slide-2
SLIDE 2

Fast-slow systems

Fast slow SDEs: dX ε dt = f (X ε, Y ε) dY ε dt = ε−1g(X ε, Y ε) + ε−1/2σ(X ε, Y ε)dW dt where ε ≪ 1. Let Y x be ‘virtual fast process’ with frozen x: dY x dt = g(x, Y x) + σ(x, Y x)dW dt Assume that Y x has an ergodic invariant measure µx and is sufficiently mixing.

David Kelly (CIMS) HMM rare events October 1, 2016 2 / 19

slide-3
SLIDE 3

Averaging

The slow variables satisfy an averaging principle X ε →a.s. X where dX dt = F(X) and F(x) =

  • f (x, y)µx(dy).

David Kelly (CIMS) HMM rare events October 1, 2016 3 / 19

slide-4
SLIDE 4

A simple metastable example

Suppose µ > 0 and dX ε dt = Y ε − (X ε)3 dY ε = θ ε(µX ε − Y ε)dt + σ √εdW This has averaged equation dX

dt = µX − X

  • 3. Symmetric double-well

potential w/equilibria at ±√µ and saddle at origin. When ε ≪ 1, the long time behavior of X ε will be qualitatively different to the averaged system. The system exhibits hopping between wells due to fluctuations from the average.

David Kelly (CIMS) HMM rare events October 1, 2016 4 / 19

slide-5
SLIDE 5

The central limit theorem describes small fluctuations about the average. If we let Z ε = ε−1/2(X ε − X) then one can show Z ε →w Z where dZ = B0(X)Zdt + η(X)dV where V is a std Brownian motion and B0(x) =

  • ∇xf (x, y)µx(dy)

+ ∞

  • ∇yEy(˜

f (x, Y x(τ)))∇xb(x, y)µx(dy)dτ η(x)ηT(x) = ∞ E˜ f (x, Y x(τ))˜ f (x, Y x(0)))Tdτ where ˜ f (x, y) = f (x, y) − F(x).

David Kelly (CIMS) HMM rare events October 1, 2016 5 / 19

slide-6
SLIDE 6

Suppose X ε satisfies a large deviations principle: lim

ε→0 ε log P(X ε ∈ Γ) = − inf γ∈Γ S[0,T](γ)

for a set Γ of continuous paths γ : [0, T] → Rd in the slow state space. A large deviation principle quantifies many important features of O(1) fluctuations in metastable systems.

David Kelly (CIMS) HMM rare events October 1, 2016 6 / 19

slide-7
SLIDE 7

For instance, suppose that D ⊂ Rd is open w/ smooth boundary ∂D, and x∗ is an asymptotically stable equilibrium for the averaged system

dX dt = F(X).

Define the transition time τ ε = inf{t > 0 : X ε / ∈ D}. Define the quasi-potential V(x, y) = inf

T>0

inf

γ(0)=x,γ(T)=y S[0,T](γ)

Then the mean first passage/exit time is given by lim

ε→0 ε log Eτ ε = inf y∈∂D V(x, y)

David Kelly (CIMS) HMM rare events October 1, 2016 7 / 19

slide-8
SLIDE 8

For FS systems, Varadhan’s Lemma (reverse) tells us the following: Let u(t, x) = limε→0 ε log Ex exp(εϕ(X ε(t))). If u satisfies the Hamilton-Jacobi equation ∂tu = H(x, ∇u) , u(0, x) = ϕ for suitable class of ϕ, then X ε satisfies an LDP with rate function S[0,T](γ) = T L(γ(s), ˙ γ(s))ds where L is the Lagrangian associated with the Hamiltonian H L(x, β) = sup

θ

(θ · β − H(x, θ)) . Moral of the story: we can identify LDPs via the associated HJ equation.

David Kelly (CIMS) HMM rare events October 1, 2016 8 / 19

slide-9
SLIDE 9

Heterogeneous multi scale method for FS systems

A simple numerical scheme for the slow variables xε

n ≈ X ε(n∆t) when

ε ≪ 1: xε

n+1 = xε n +

(n+1)∆t

n∆t

f (xε

n, Y ε xε

n(s))ds

Then approximate the integral by simulating the virtual fast process on mesh size δt ≪ ∆t (n+1)∆t

n∆t

f (xε

n, Y ε xε

n(s))ds ≈

N−1

  • j=0

f (xε

n, yε n,j)δt

where Nδt = ∆t and (for instance) is given by Euler-Maruyama yε

n,j+1 = yε n,j + ε−1g(xε n, yε n,j)δt + ε−1/2σ(xε n, yε n,j)

√ δtξn,j for j = 0, . . . , N − 1.

David Kelly (CIMS) HMM rare events October 1, 2016 9 / 19

slide-10
SLIDE 10

Speeding up the method

The key observation of HMM is that one does not need the virtual process Y ε

x over the whole window [n∆t, (n + 1)∆t), but only over a fraction of it

[n∆t, (n + 1/λ)∆t] for some λ ≥ 1. By the ergodic theorem 1 ∆t (n+1)∆t

n∆t

f (xε

n, Y ε xε

n(s))ds ≈ F(xε

n) ≈ λ

∆t (n+1/λ)∆t

n∆t

f (xε

n, Y ε xε

n(s))ds

provided that ∆t/ε and ∆t/(ελ) are larger than the mixing time for Y x.

David Kelly (CIMS) HMM rare events October 1, 2016 10 / 19

slide-11
SLIDE 11

HMM summary

The update xε

n → xε n+1 works in two steps

1 - Micro step: Compute an approximation Fn,λ(xε

n) of the integral

λ ∆t (n+1/λ)∆t

n∆t

f (xε

n, Y ε xε

n(s))ds

by simulating the virtual fast process Y ε

n over the window

[n∆t, (n + 1/λ)∆t). Requires δt ≪ ∆t, δt ≪ ε and ∆t/(ελ) larger than mixing time. 2 - Macro step: xε

n+1 = xε n + Fn,λ(xε n)∆t

David Kelly (CIMS) HMM rare events October 1, 2016 11 / 19

slide-12
SLIDE 12

We know that HMM is consistent with the averaging principle. That is, as ε → 0 the sequence xε

n defined by HMM converges to

xn+1 = xn + F(xn)∆t which is a consistent numerical method for the averaged equation

dX dt = F(X).

What about fluctuations? 1 - Let zε

n = ε−1/2(xε n − xn). Does zε n converge to a numerical scheme for

Z as ε → 0? 2 - Let un,λ(x) = limε→0 ε log Ex exp(ε−1ϕ(xε

n)). Is un,λ a numerical

method for the true HJ equation?

David Kelly (CIMS) HMM rare events October 1, 2016 12 / 19

slide-13
SLIDE 13

HMM Fluctuations are inflated by λ

As ε → 0, zε

n converges to zn, which is a numerical scheme for the SDE

dZ λ = B0(X)Z λdt + √ λη(X)dV . Moreover, we find that uλ,n(x) is a numerical method for the HJ equation ∂tuλ = 1 λH(x, λ∇uλ) where H is the true Hamiltonian for X ε.In particular, the quasi-potential is Vλ(x, y) = λ−1V(x, y). It follows that mean first passage times will shrink Eτε ≍ exp 1 ελV(x∗, ∂D)

  • David Kelly (CIMS)

HMM rare events October 1, 2016 13 / 19

slide-14
SLIDE 14

Why the inflation?

In the HMM approximation, with λ ∈ Z, we are essentially replacing (n+1/λ)∆t

n∆t

f (x, Y ε

x(s))ds + · · · +

(n+1)∆t

(n+(λ−1)/λ)∆t

f (x, Y ε

x(s))ds

with (n+1/λ)∆t

n∆t

f (x, Y ε

x(s))ds + · · · +

(n+1/λ)∆t

n∆t

f (x, Y ε

x(s))ds

  • ie. Replace sum of λ weakly correlated random variables with

λ × first random variable. Clearly this inflates the variance.

David Kelly (CIMS) HMM rare events October 1, 2016 14 / 19

slide-15
SLIDE 15

Parallel HMM

There is a simple way to fix the problem. The update xε

n → xε n+1 works in

two steps 1 - λ parallel micro steps: Compute an approximation Fn,λ(xε

n) of the

integral

λ

  • k=1

1 ∆t (n+1/λ)∆t

n∆t

f (xε

n, Y ε xε

n,k(s))ds

by simulating λ independent copies of the virtual fast processes Y ε

n,k for

k = 1, . . . , λ over the window [n∆t, (n + 1/λ)∆t). 2 - Macro step: xε

n+1 = xε n + Fn,λ(xε n)∆t

David Kelly (CIMS) HMM rare events October 1, 2016 15 / 19

slide-16
SLIDE 16

Parallel HMM

  • Since the virtual fast processes are independent, they can be

simulated in parallel. This is a kind of parallel-in-time method.

  • We can show that this method is in fact consistent with X ε at

both the level of small fluctuations and large deviations.

David Kelly (CIMS) HMM rare events October 1, 2016 16 / 19

slide-17
SLIDE 17

Small fluctuations example I

Suppose µ < 1 and dX ε dt = Y ε − X ε dY ε = θ ε(µX ε − Y ε)dt + σ √εdW This has averaged equation dX

dt = (µ − 1)X.

  • 6
  • 4
  • 2

2 4 6

X

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

6 =1 6=5 6=10

1 2 3 4 5

λ

1 2 3 4 5

var

HMM PHMM David Kelly (CIMS) HMM rare events October 1, 2016 17 / 19

slide-18
SLIDE 18

Large deviations example

Suppose µ > 0 and dX ε dt = Y ε − (X ε)3 dY ε = θ ε(µX ε − Y ε)dt + σ √εdW This has averaged equation dX

dt = µX − X 3.

1 2 3 4 5

λ

10 20 30 40 50

τ

HMM PHMM LDP

Figure: Mean first passage time

David Kelly (CIMS) HMM rare events October 1, 2016 18 / 19

slide-19
SLIDE 19

References

  • D. Kelly, E. Vanden-Eijnden. Capturing rare events with the heterogeneous

multiscale method. arXiv (2016). All my slides are on my website (www.dtbkelly.com) Thank you!

David Kelly (CIMS) HMM rare events October 1, 2016 19 / 19