Probing the properties of soft matter by optimally designed - - PowerPoint PPT Presentation

probing the properties of soft matter by optimally
SMART_READER_LITE
LIVE PREVIEW

Probing the properties of soft matter by optimally designed - - PowerPoint PPT Presentation

Probing the properties of soft matter by optimally designed nonequilibrium experiments Carsten Hartmann (FU Berlin) Newton Institute, Cambridge, UK, 14 December 2015 Predicting molecular flexibility Estimation of molecular properties in


slide-1
SLIDE 1

Probing the properties of soft matter by

  • ptimally designed nonequilibrium experiments

Carsten Hartmann (FU Berlin) Newton Institute, Cambridge, UK, 1–4 December 2015

slide-2
SLIDE 2

Predicting molecular flexibility

◮ Estimation of molecular properties in

thermodynamic equilibrium, e.g. F = − log E

  • e−W

. (includes rates, statistical weights, etc.)

◮ Perturbation drives the system out of

equilibrium with likelihood quotient ϕ = dµ0 dµ .

◮ Experimental and numerical realization:

AFM, SMD, TMD, Metadynamics, . . .

[Schlitter, J Mol Graph, 1994], [Schulten & Park, JCP, 2004], [H. et al, Proc Comput Sci, 2010]

slide-3
SLIDE 3

Set-up (estimation problem)

Given an “equilibrium” diffusion process X = (Xt)t≥0 on Rn, dXt = b(Xt)dt + σ(Xt)dBt , X0 = x , we want to estimate path functionals of the form ψ(x) = E

  • e−W (X)

Example: mean passage time to a set C ⊂ Rn

Let W = ατC. Then, for sufficiently small α > 0, −α−1 log ψ = E[τC] + O(α)

slide-4
SLIDE 4

Guiding example: bistable system

◮ Overdamped Langevin equation

dXt = −∇V (Xt)dt + √ 2ǫdBt .

◮ Small noise asymptotics (Kramers)

lim

ǫ→0 ǫ log E[τC] = ∆V . ◮ Standard MC estimator of ψ fails:

E[e−2ατC ] ≫ (E[e−ατC ])2

−1.5 −1 −0.5 0.5 1 1.5 −2 −1 1 2 3 4 5 6 7 x V −1.5 −1 −0.5 0.5 1 1.5 1000 2000 3000 4000 5000 6000 x time (ns)

C

[Freidlin & Wentzell, 1984], [Berglund, Markov Processes Relat Fields 2013]

slide-5
SLIDE 5

Outline

Sampling of rare events based on optimal control Optimal controls from cross-entropy minimization High-dimensional problems and suboptimal controls

slide-6
SLIDE 6

Sampling of rare events based on optimal control Optimal controls from cross-entropy minimization High-dimensional problems and suboptimal controls

slide-7
SLIDE 7

Guiding example, cont’d

◮ Mean first passage time for small ǫ

E[τC] ≍ exp(∆V /ǫ)

◮ Adaptive tilting of the potential

U(x, t) = V (x) − utx decreases the energy barrier.

◮ Controlled Langevin equation

dX u

t = (ut − ∇V (X u t )) dt +

√ 2ǫdBt .

  • −1.5

−1 −0.5 0.5 1 1.5 1000 2000 3000 4000 5000 6000 x time (ns)

slide-8
SLIDE 8

Can we systematically speed up the sampling while controlling the variance by tilting the energy landscape?

slide-9
SLIDE 9

Estimation problem revisited

Given a “nonequilibrium” (tilted) diffusion process X u = (X u

t )t≥0,

dX u

t = (b(X u t ) + σ(X u t )ut)dt + σ(X u t )dBt ,

X u

0 = x ,

estimate a reweigthed version of ψ: E

  • e−W (X)

= Eµ e−W (X u)ϕ(X u)

  • with equilibrium/nonequilibrium likelihood ratio ϕ = dµ0

dµ .

Remark: We allow for W ’s of the general form

W (X) = τ f (Xs, s) ds + g(Xτ) , for suitable functions f , g and a stopping time τ < ∞ (a.s.).

slide-10
SLIDE 10

Sufficient condition for optimal nonequilibrium forcing

Theorem (H, 2012)

Let u∗ be a minimizer of the cost functional J(u) = E

  • W (X u) + 1

4 τ u |us|2 ds

  • under the nonequilibrium dynamics X u

t , with X u 0 = x. Then,

ψ(x) = e−W (X u∗)ϕ(X u∗) (a.s.) . Moreover, u∗ is unique. Proof: Jensen’s inequality and Girsanov’s theorem.

[H & Sch¨ utte, JSTAT, 2012], [H et al, Entropy, 2014]

slide-11
SLIDE 11

Guiding example, cont’d

◮ Exit problem: f = α, g = 0, τ = τC:

J(u∗) = min

u E

  • ατ u

C + 1

4 τ u

C

|us|2 ds

  • ◮ Recovering equilibrium statistics:

E[τC] = d dα

  • α=0

J(u∗)

◮ Optimally tilted potential

U∗(x, t) = V (x) − u∗

t x

with stationary feedback u∗

t = c(X u∗ t ).

  • −1.5

−1 −0.5 0.5 1 1.5 1000 2000 3000 4000 5000 6000 x time (ns)

slide-12
SLIDE 12

Yet, . . .

slide-13
SLIDE 13

. . . there is a catch

The optimal control is a feedback control in gradient form , u∗

t = −2σ(X u∗ t )T∇F(X u∗ t ) ,

with the bias potential being the value function F(x) = min

u J(u) .

NFL Theorem I: The bias potential is given by F = − log ψ. NFL Theorem II: F solves a nonlinear Hamilton-Jacobi-type PDE, −∂F ∂t + H

  • x, F, ∇F, ∇2F
  • = 0 .

(Remark: In some cases, F may be explicitly time-dependent.)

[H & Sch¨ utte, JSTAT, 2012], [H et al, Entropy, 2014]; cf. [Fleming, SIAM J Control, 1978]

slide-14
SLIDE 14

Sampling of rare events based on optimal control Optimal controls from cross-entropy minimization High-dimensional problems and suboptimal controls

slide-15
SLIDE 15

Two key facts about our control problem

slide-16
SLIDE 16

Fact #1

The optimal control is a feedback law of the form u∗

t = σ(X u t ) ∞

  • i=1

ci∇φi(X u

t ) ,

with coefficients ci ∈ R and suitable basis functions φi ∈ C 1(Rn).

slide-17
SLIDE 17

Fact #2

Letting µ denote the probability (path) measure on C([0, ∞)) associated with the tilted dynamics X u, it holds that J(u) − J(u∗) = KL(µ, µ∗) with µ∗ = µ(u∗) and KL(µ, µ∗) =   

  • log

dµ dµ∗

if µ ≪ µ∗ ∞

  • therwise

the Kullback-Leibler divergence between µ and µ∗.

slide-18
SLIDE 18

Cross-entropy method for diffusions

Idea: seek a minimizer of J among all controls of the form ˆ ut = σ(X u

i ) M

  • i=1

αi∇φi(X u

t ) ,

φi ∈ C 1(X) . and minimize the Kullback-Leibler divergence S(µ) = KL(µ, µ∗)

  • ver all candidate probability measures of the form µ = µ(ˆ

u). Remark: unique minimizer is given by dµ∗ = ψ−1e−W dµ0.

  • cf. [Oberhofer & Dellago, CPC, 2008], [Aurell et al, PRL, 2011]
slide-19
SLIDE 19

Unfortunately, . . .

slide-20
SLIDE 20

Cross-entropy method for diffusions, cont’d

. . . that doesn’t work without knowing the normalization factor ψ.

Feasible cross-entropy minimization

Minimization of the relaxed functional KL(µ∗, ·) is equivalent to cross-entropy minimization: minimize CE(µ) = −

  • log µ dµ∗
  • ver all admissible µ = µ(ˆ

u), with dµ∗ ∝ e−W dµ0. Note: KL(µ, µ∗)=0 iff KL(µ∗, µ) = 0, which holds iff µ = µ∗.

[Rubinstein & Kroese, Springer, 2004], [Zhang et al, SISC, 2014], [Badowski, PhD thesis, 2015]

slide-21
SLIDE 21

Example I (guiding example)

slide-22
SLIDE 22

Computing the mean first passage time (n = 1)

Minimize J(u; α) = E

  • ατ + 1

4 τC |ut|2 dt

  • with τC = inf{t > 0: Xt ∈ [−1.1, −1]} and the dynamics

dX u

t = (ut − ∇V (X u t )) dt + 2−1/2 dBt

−1.5 −1 −0.5 0.5 1 1.5 0.5 1 1.5 2 2.5 x V(x) −2 −1 1 2 20 40 60 80 100 120 140 160 x Ex(τ)

Skew double-well potential V and MFPT of the set S = [−1.1, −1] (FEM reference solution).

slide-23
SLIDE 23

Computing the mean first passage time, cont’d

Cross-entropy minimization using a parametric ansatz c(x) =

10

  • i=1

αi∇φi(x) , φi : equispaced Gaussians

−1.5 −1 −0.5 0.5 1 1.5 0.5 1 1.5 2 2.5 3 3.5 4 x (V+U)(x) −1 −0.5 0.5 1 1.5 0.2 0.4 0.6 0.8 1 1.2 x Ex(τ) with opt. control

−2 −1 1 2 20 40 60 80 100 120 140 160 x Ex(τ)

Biasing potential V + 2F and unbiased estimate of the limiting MFPT.

  • cf. [H & Sch¨

utte, JSTAT, 2012]

slide-24
SLIDE 24

Sampling of rare events based on optimal control Optimal controls from cross-entropy minimization High-dimensional problems and suboptimal controls

slide-25
SLIDE 25

The bad news

slide-26
SLIDE 26

The good news

Bound for the relative sampling error for suboptimal controls ¯ u based on averaged equations of motion: δrel ≤ C √ N τfast τslow 1/8 . (N: sample size, C ≈ 1) Remark: δ∗

rel = 0 for u = u∗.

  • 6
  • 4
  • 2

2 4 6

  • 10
  • 5

5 10 15 20 Vε(x) x

  • 5
  • 4
  • 3
  • 2
  • 1

1 2 1 2 3 4 5 6 7 8 9 x V(x)

  • Theo. Value Fun.:

ε = 0.3

  • Opt. Value Func.: Homogenized
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 1 2 3 4 5 6 7 8 9 x u(x)

  • Opt. Control: ε = 0.3
  • Opt. Control: Homogenized
  • Opt. Control Correction: ε = 0.3

[H et al, J Comp Dyn, 2014], [Zhang et al, Prob Theory Rel Fields, submitted]

slide-27
SLIDE 27

The good news, cont’d

Averaged control problem: minimize I(v) = E

  • ¯

W (ξv) + 1 4 τ v |vs|2 ds

  • subject to the averaged dynamics

dξu

t = (vt − ¯

b(ξv

t ))dt + ¯

σ(ξv

t )dBt

Control approximation strategy u∗

t ≈ c(ξ(X u∗ t )) = ∇ξ(X u∗ t )v∗ t

  • 6
  • 4
  • 2

2 4 6

  • 10
  • 5

5 10 15 20 Vε(x) x

  • 5
  • 4
  • 3
  • 2
  • 1

1 2 1 2 3 4 5 6 7 8 9 x V(x)

  • Theo. Value Fun.:

ε = 0.3

  • Opt. Value Func.: Homogenized
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 1 2 3 4 5 6 7 8 9 x u(x)

  • Opt. Control: ε = 0.3
  • Opt. Control: Homogenized
  • Opt. Control Correction: ε = 0.3

[H et al, Nonlinearity, submitted]; cf. [Legoll & Leli` evre, Nonlinearity, 2010]

slide-28
SLIDE 28

Example II (suboptimal control)

slide-29
SLIDE 29

Conformational transition of butane in water (n = 16224)

Probability of making a gauche-trans transition before time T: − log P(τC ≤ T) = min

u E

1 4 τ |ut|2 dt − log 1∂C(Xτ)

  • ,

with τ = min{τC, T} and τC denoting the first exit time from the gauche conformation “C” with smooth boundary ∂C

3 2 1 4 4’ gauche trans T [ps] P(τ ≤ T) Error Var

  • Accel. I

0.1 4.30 × 10−5 0.77 × 10−5 3.53 × 10−6 42.5 0.2 1.21 × 10−3 0.11 × 10−3 2.50 × 10−4 26.0 0.5 6.85 × 10−3 0.38 × 10−3 2.88 × 10−3 13.0 1.0 1.74 × 10−2 0.08 × 10−2 1.21 × 10−2 7.0

IS of butane in a box of 900 water molecules (SPC/E, GROMOS force field) using cross-entropy minimization [Zhang et al, SISC, 2014], cf. [Banisch & Hartmann, Math Control Rel Fields, 2015]

slide-30
SLIDE 30

Take-home message

◮ Optimally designed nonequilibrium perturbations can mimic

thermodynamic equilibrium.

◮ Variational problem: find the optimal perturbation by

cross-entropy minimization.

◮ Method features short trajectories with minimum variance

estimators of the rare event statistics.

◮ To do: adaptivity, error analysis, data-driven framework, . . .

slide-31
SLIDE 31

Thank you for your attention! Acknowledgement: Wei Zhang Ralf Banisch Christof Sch¨ utte Tomasz Badowski German Science Foundation (DFG) Einstein Center for Mathematics Berlin (ECMath)