Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center.

Slides:



Advertisements
Similar presentations
Review Of Statistical Mechanics
Advertisements

Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Monte Carlo Methods and Statistical Physics
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Variants of Stochastic Simulation Algorithm Henry Ato Ogoe Department of Computer Science Åbo Akademi University.
Multiscale Stochastic Simulation Algorithm with Stochastic Partial Equilibrium Assumption for Chemically Reacting Systems Linda Petzold and Yang Cao University.
Ch 11. Sampling Models Pattern Recognition and Machine Learning, C. M. Bishop, Summarized by I.-H. Lee Biointelligence Laboratory, Seoul National.
Modern Monte Carlo Methods: (2) Histogram Reweighting (3) Transition Matrix Monte Carlo Jian-Sheng Wang National University of Singapore.
Techniques for rare events: TA-MD & TA-MC Giovanni Ciccotti University College Dublin and Università “La Sapienza” di Roma In collaboration with: Simone.
BAYESIAN INFERENCE Sampling techniques
Lecture 14: Advanced Conformational Sampling
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
Energy. Simple System Statistical mechanics applies to large sets of particles. Assume a system with a countable set of states.  Probability p n  Energy.
Computational Biology, Part 17 Biochemical Kinetics I Robert F. Murphy Copyright  1996, All rights reserved.
Exploring Protein Motors -- from what we can measure to what we like to know Hongyun Wang Department of Applied Mathematics and Statistics University of.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Parallel Flat Histogram Simulations Malek O. Khan Dept. of Physical Chemistry Uppsala University.
CSE808 F'99Xiangping Chen1 Simulation of Rare Events in Communications Networks J. Keith Townsend Zsolt Haraszti James A. Freebersyser Michael Devetsikiotis.
Monte Carlo Methods in Partial Differential Equations.
Introduction to Monte Carlo Methods D.J.C. Mackay.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Advanced methods of molecular dynamics Monte Carlo methods
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
Outline Review of extended ensemble methods (multi-canonical, Wang-Landau, flat-histogram, simulated tempering) Replica MC Connection to parallel tempering.
TIME ASYMMETRY IN NONEQUILIBRIUM STATISTICAL MECHANICS Pierre GASPARD Brussels, Belgium J. R. Dorfman, College ParkS. Ciliberto, Lyon T. Gilbert, BrusselsN.
Deca-Alanine Stretching
Lecture 19: Free Energies in Modern Computational Statistical Thermodynamics: WHAM and Related Methods Dr. Ronald M. Levy Statistical.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
Module 1: Statistical Issues in Micro simulation Paul Sousa.
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Nathan Baker BME 540 The Monte Carlo method Nathan Baker BME 540.
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins:
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Markov Chain Monte Carlo and Gibbs Sampling Vasileios Hatzivassiloglou University of Texas at Dallas.
Stochastic Thermodynamics in Mesoscopic Chemical Oscillation Systems
Study of Pentacene clustering MAE 715 Project Report By: Krishna Iyengar.
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Advanced methods of molecular dynamics 1.Monte Carlo methods 2.Free energy calculations 3.Ab initio molecular dynamics 4.Quantum molecular dynamics 5.Trajectory.
Quantum dynamics of two Brownian particles
9/24/2014PHY 711 Fall Lecture 131 PHY 711 Classical Mechanics and Mathematical Methods 10-10:50 AM MWF Olin 103 Plan for Lecture 13: Finish reading.
Lesson 4: Computer method overview
A Bayesian Approach to Calculating Free Energies in Chemical and Biological Systems Andrew Pohorille NASA-Ames Research Center.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
ChE 452 Lecture 17 Review Of Statistical Mechanics 1.
Cosmological Model Selection David Parkinson (with Andrew Liddle & Pia Mukherjee)
Path Integral Quantum Monte Carlo Consider a harmonic oscillator potential a classical particle moves back and forth periodically in such a potential x(t)=
The generalization of Bayes for continuous densities is that we have some density f(y|  ) where y and  are vectors of data and parameters with  being.
Bioinformatics: Practical Application of Simulation and Data Mining Markov Modeling I Prof. Corey O’Hern Department of Mechanical Engineering Department.
13. Extended Ensemble Methods. Slow Dynamics at First- Order Phase Transition At first-order phase transition, the longest time scale is controlled by.
Biochemical Reactions: how types of molecules combine. Playing by the Rules + + 2a2a b c.
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
Molecular dynamics (2) Langevin dynamics NVT and NPT ensembles
Determining the Complexity of the Quantum Adiabatic Algorithm using Monte Carlo Simulations A.P. Young, University of California Santa Cruz
CS Statistical Machine learning Lecture 25 Yuan (Alan) Qi Purdue CS Nov
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Details for Today: DATE:13 th January 2005 BY:Mark Cresswell FOLLOWED BY:Practical Dynamical Forecasting 69EG3137 – Impacts & Models of Climate Change.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
6/11/2016Atomic Scale Simulation1 Definition of Simulation What is a simulation? –It has an internal state “S” In classical mechanics, the state = positions.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Stochastic thermodynamics and Fluctuation theorems
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
Overview of Molecular Dynamics Simulation Theory
12. Reweighting Methods.
14. TMMC, Flat-Histogram and Wang-Landau Method
Advanced Molecular Dynamics
DIAGRAMMATIC MONTE CARLO:
Common Types of Simulations
Presentation transcript:

Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center

Outline Enhanced sampling of pdfs Dynamical systems Stochastic kinetics flat histograms multicanonical method Wang-Landau transition probability method parallel tempering

Enhanced sampling techniques

Preliminaries define: variables x, , N a function  U(x, ,N) a probability: marginalize x define “free energy” or “thermodynamic potential” partition function Q(x, ,N) energies are Boltzmann-distributed  = 1/kT

The problem: What to do if is difficult to estimate because we can’t get sufficient statistics for all of interest.

Flat histogram approach pdf sampled uniformly for all , N weight 

Example: original pdf weighted pdf marginalization “canonical” partition function 1.get  2.get Q

General MC sampling scheme insertion deletion insertion deletion adjust weights adjust free energy free energy

Multicanonical method bin count shift normalization of  Berg and Neuhaus, Phys. Rev. Lett. 68, 9 (1992)

The algorithm Start with any weights (e.g.  1 (N) = 0) Perform a short simulation and measure P(N;  1 ) as histogram Update weights according to Iterate until P(N;  1 ) is flat or better

Typical example

Wang-Landau sampling entropy acceptance criterion Wang and Landau, Phys. Rev. Lett. 86, 2050 (2001), Phys. Rev. E 64, (2001) update constant Example: estimate entropies for (discrete) states

The algorithm Set entropies of all states to zero; set initial g Accept/reject according to the criterion: Always update the entropy estimate for the end state When the pdf is flat reduce g

Transition probability method ij K I J Wang, Tay, Swendsen, Phys. Rev. Lett., (1999) Fitzgerald et al. J. Stat. Phys. 98, 321 (1999)

detailed balance macroscopic detailed balance

Parallel tempering

Dynamical systems

The idea: the system evolves according to equations of motion (possibly Hamiltonian) we need to assign masses to variables Assumption -ergodicity 

Advantages No need to design sampling techniques Specialized methods for efficient sampling are available (Laio-Parrinello, Adaptive Biasing Force) No probabilistic sampling Possibly complications with assignment of masses Disadvantages

Two formulations: Hamiltonian Lagrangian Numerical, iterative solution of equations of motion (a trajectory)

Assignment of masses Masses too large - slow motions Masses too small - difficult integration of equations of motion Large separation of masses - adiabatic separation Thermostats are available Lagrangian - e.g. Nose-Hoover Hamiltonian - Leimkuhler Energy equipartition needs to be addressed

Adaptive Biasing Force  A =  a   b  ∂H(  )/∂    * d  * Darve and Pohorile, J. Chem. Phys. 115: (2001). force AA

Summary A variety of techniques are available to sample efficiently rarely visited states. Adaptive methods are based on modifying sampling while building the solution. One can construct dynamical systems to seek the solution and efficient adaptive techniques are available. But one needs to do it carefully.

Stochastic kinetics

The problem {X i } objects, i = 1,…N n i copies of each objects undergo r transformations With rates {k  },  = 1,…r {k  } are constant The process is Markovian (well-stirred reactor) Assumptions

Example 7 objects 5 transformations

Deterministic solution concentrations kinetics (differential equations) steady state (algebraic equations) Works well for large {n i } (fluctuations suppressed)

A statistical alternative generate trajectories which reaction occurs next? when does it occur? next reaction is  at time  next reaction is  at any time any reaction at time 

Direct method - Algorithm Initialization Calculate the propensities {a i } Choose  (r.n.) Choose  (r.n.) Update no. of molecules and reset t  t+  Go to step 2 Gillespie, J. Chem. Phys. 81, 2340 (1977)

First reaction method -Algorithm Initialization Calculate the propensities {a i } For each  generate   according to (r.n.) Choose reaction for which is   the shortest Set  =   Update no. of molecules and reset t  t+  Go to step 2 Gillespie, J. Chem. Phys. 81, 2340 (1977)

Next reaction method Complexity - O(log r) Gibson and Bruck, J. Phys. Chem. A (2000)

Extensions k = k(t) (GB) Non-Markovian processes (GB) Stiff reactions (Eric van den Eijden) Enzymatic reactions (A.P.)