Docsity

Global Optimization using Monte Carlo-Simulations in Statistical Physics-Lecture Slides, Slides of Statistical Physics

Partial preview of the text

Download Global Optimization using Monte Carlo-Simulations in Statistical Physics-Lecture Slides and more Slides Statistical Physics in PDF only on Docsity!

Global Optimization using Monte Carlo

Simulations in

Statistical Physics

Energy Landscape

  • Energy Landscape
    • Complex biological or physical system has a complicated and rough energy landscape

Local Optimization

  • Local Optimization
    • Quickly reach a local minima
    • Approaches
      • Gradient-based Method
      • Quasi-Newton Method
      • Powell Method
      • Hill-climbing Method
  • Global Optimization
    • Find the global minima
    • More difficult than local optimization

Consequences of the Occasional Ascents

Help escaping the local optima.

desired effect

Might pass global optima after reaching it

adverse effect

(easy to avoid by keeping track of best-ever state)

Boltzmann distribution

  • At thermal equilibrium at temperature T, the

Boltzmann distribution gives the relative probability that the system will occupy state A vs. state B as:

  • where E(A) and E(B) are the energies associated

with states A and B.

exp( ( )/ )

( ) ( ) exp( ( )/ ) exp ( )

( )

E A T

E B T

T

E A E B

P B

P A   

  

   

Real annealing: Sword

  • He heats the metal, then

slowly cools it as he hammers

the blade into shape.

  • If he cools the blade too quickly the metal will form patches of different composition;
  • If the metal is cooled slowly while it is shaped, the constituent metals will form a uniform alloy.

Note on simulated annealing: limit cases

  • Boltzmann distribution: accept “bad move” with E<0 (goal is to maximize E) with probability P(E) = exp(E/T)
  • If T is large: E < 0

E/T < 0 and very small exp(E/T) close to 1 accept bad move with high probability

  • If T is near 0: E < 0

E/T < 0 and very large exp(E/T) close to 0 accept bad move with low probability

Random walk

Deterministic

down-hill

Simulated Tempering

  • Basic Idea
    • Allow the temperature to go up and down randomly
    • Proposed by Geyers 1993
    • Can be applied to a very rough energy landscape
  • Simulated Tempering Algorithm
    • At the current sampler i , update x using a Metropolis-Hastings update for  i(x).
    • Set j = i1 according to probabilities pi,j , where p1,2 = pm,m-1 = 1.0 and pi,i+1 = pi,i-1 = 0.5 if 1 < i < m.
    • Calculate the equivalent of the Metropolis-Hastings ratio for the ST method,
    • where c(i) are tunable constants and accept the transition from i to j with probability min(rst, 1). The distribution  is called the pseudo-prior because the function ci(x)i(x) resembles formally the product of likelihood and prior.

, ,

( ) ( ) ( ) ( ) ST^ j^ j i i i j

r c j^ x p c i x p

  

Multi-Transition Metropolis

  • Multi-Transition Metropolis
    • Allow steps of different size
    • Proposed by J. Liu
  • Basic Idea
    • Large step size can escape the deep local minima trap more easily
    • However, the acceptance rate is much lower

Accelerated Simulated Tempering

  • Basic Idea
    • The transition step size is important
    • Allow an aggressive move
    • Proposed by Li et al 2004
    • Very powerful to run away from deep local minima
  • Implementation
    • A random walk on a space/temperature ladder
    • Aggressive move at a high temperature

Summary

  • Local Optimization
  • Global Optimization
    • Energy Landscape
      • Local Minima
      • Global Minima
    • Simulated Annealing
    • Simulated Tempering
    • Accelerated Simulated Tempering
    • Parallel Tempering
  • Applications