Lecture 8: Computer Simulations of Generalized Ensembles

Similar documents
Generalized Ensembles: Multicanonical Simulations

Lecture V: Multicanonical Simulations.

Multicanonical methods

Multicanonical parallel tempering

Parallel Tempering Algorithm for. Conformational Studies of Biological Molecules

Optimized statistical ensembles for slowly equilibrating classical and quantum systems

Their Statistical Analvsis. With Web-Based Fortran Code. Berg

Wang-Landau algorithm: A theoretical analysis of the saturation of the error

Wang-Landau sampling for Quantum Monte Carlo. Stefan Wessel Institut für Theoretische Physik III Universität Stuttgart

Optimized multicanonical simulations: A proposal based on classical fluctuation theory

SIMULATED TEMPERING: A NEW MONTECARLO SCHEME

Simulated Tempering: a New Monte Carlo Scheme.

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 6 Aug 2003

Advanced sampling. fluids of strongly orientation-dependent interactions (e.g., dipoles, hydrogen bonds)

Markov Chain Monte Carlo Simulations and Their Statistical Analysis An Overview

Rare Event Sampling using Multicanonical Monte Carlo

Trivially parallel computing

Monte Carlo simulation of proteins through a random walk in energy space

Multicanonical methods, molecular dynamics, and Monte Carlo methods: Comparison for Lennard-Jones glasses

Population Annealing: An Effective Monte Carlo Method for Rough Free Energy Landscapes

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 5 Jun 2003

A new combination of replica exchange Monte Carlo and histogram analysis for protein folding and thermodynamics

Hanoi 7/11/2018. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

AGuideto Monte Carlo Simulations in Statistical Physics

GPU-based computation of the Monte Carlo simulation of classical spin systems

Computer Simulation of Peptide Adsorption

Overcoming the slowing down of flat-histogram Monte Carlo simulations: Cluster updates and optimized broad-histogram ensembles

arxiv:cond-mat/ v1 [cond-mat.soft] 23 Mar 2007

Phase Transitions in Spin Glasses

Is there a de Almeida-Thouless line in finite-dimensional spin glasses? (and why you should care)

Learning About Spin Glasses Enzo Marinari (Cagliari, Italy) I thank the organizers... I am thrilled since... (Realistic) Spin Glasses: a debated, inte

An improved Monte Carlo method for direct calculation of the density of states

Graphical Representations and Cluster Algorithms

Order-parameter-based Monte Carlo simulation of crystallization

Markov Chain Monte Carlo Method

A New Method to Determine First-Order Transition Points from Finite-Size Data

Interface tension of the 3d 4-state Potts model using the Wang-Landau algorithm

Hyperparallel tempering Monte Carlo simulation of polymeric systems

Phase Transitions in Spin Glasses

Monte Carlo study of the Baxter-Wu model

Likelihood Inference for Lattice Spatial Processes

Monte Carlo Methods for Rough Free Energy Landscapes: Population Annealing and Parallel Tempering. Abstract

Lecture 14: Advanced Conformational Sampling

Phase transition phenomena of statistical mechanical models of the integer factorization problem (submitted to JPSJ, now in review process)

Multidimensional replica-exchange method for free-energy calculations

VSOP19, Quy Nhon 3-18/08/2013. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Phase transitions and finite-size scaling

Choosing weights for simulated tempering

Generalized-Ensemble Algorithms for Molecular Simulations of Biopolymers

arxiv: v1 [physics.bio-ph] 26 Nov 2007

Pressure Dependent Study of the Solid-Solid Phase Change in 38-Atom Lennard-Jones Cluster

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

Evaporation/Condensation of Ising Droplets

Phase Transition in a Bond. Fluctuating Lattice Polymer

First steps toward the construction of a hyperphase diagram that covers different classes of short polymer chains

Monte Caro simulations

Parallel Tempering Algorithm in Monte Carlo Simulation

A = {(x, u) : 0 u f(x)},

Improvement of Monte Carlo estimates with covariance-optimized finite-size scaling at fixed phenomenological coupling

Population annealing study of the frustrated Ising antiferromagnet on the stacked triangular lattice

Equilibrium Study of Spin-Glass Models: Monte Carlo Simulation and Multi-variate Analysis. Koji Hukushima

Smart walking: A new method for Boltzmann sampling of protein conformations

Quantum Annealing in spin glasses and quantum computing Anders W Sandvik, Boston University

Evaluation of Wang-Landau Monte Carlo Simulations

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

Macroscopic Degeneracy and FSS at 1st Order Phase Transitions

Classical Monte Carlo Simulations

The Monte Carlo Method in Condensed Matter Physics

Wang-Landau Sampling of an Asymmetric Ising Model: A Study of the Critical Endpoint Behavior

Available online at ScienceDirect. Physics Procedia 57 (2014 ) 82 86

Bayesian Statistics, Statistical Physics, and Monte Carlo Methods: An interdisciplinary study. Yukito Iba

MONTE CARLO METHODS IN SEQUENTIAL AND PARALLEL COMPUTING OF 2D AND 3D ISING MODEL

Critical Dynamics of Two-Replica Cluster Algorithms

Computational Physics. J. M. Thijssen

Topological defects and its role in the phase transition of a dense defect system

Multi-Ensemble Markov Models and TRAM. Fabian Paul 21-Feb-2018

Structuraltransitionsinbiomolecules-anumericalcomparison of two approaches for the study of phase transitions in small systems

Equilibrium sampling of self-associating polymer solutions: A parallel selective tempering approach

Advanced Monte Carlo Methods Problems

Monte Carlo. Lecture 15 4/9/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Ising model: Measurements. Simulating spin models on GPU Lecture 4: Advanced Techniques. Ising model: Measurements (cont d)

Simulation of the two-dimensional square-lattice Lenz-Ising model in Python

Phase diagram of the Ising square lattice with competing interactions

Parallel tempering and 3D spin glass models

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

A Search and Jump Algorithm for Markov Chain Monte Carlo Sampling. Christopher Jennison. Adriana Ibrahim. Seminar at University of Kuwait

Correlations Between the Dynamics of Parallel Tempering and the Free Energy Landscape in Spin Glasses

4. Cluster update algorithms

Principles of Equilibrium Statistical Mechanics

Designing refoldable model molecules

Invaded cluster algorithm for Potts models

Monte Carlo and cold gases. Lode Pollet.

Free-Energy Calculations in Protein Folding by Generalized-Ensemble Algorithms

Redistricting Simulation through Markov Chain Monte Carlo

Progress toward a Monte Carlo Simulation of the Ice VI-VII Phase Transition

Markov Chain Monte Carlo Lecture 4

A Monte Carlo Implementation of the Ising Model in Python

LECTURE 11: Monte Carlo Methods III

Simulation Techniques for Calculating Free Energies

Metropolis Monte Carlo simulation of the Ising Model

Transcription:

Lecture 8: Computer Simulations of Generalized Ensembles Bernd A. Berg Florida State University November 6, 2008 Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 1 / 33

Overview 1. Reweighting 2. Umbrella Sampling 3. Binder s Method for Estimating Interface Tensions 4. Multicanonical Simulations First order phase transitions Groundstates and rugged free energy landscapes Simulations of peptides How to Get the Weights (Wang-Landau Recursion)? MUCA Performance Second order phase transitions and cluster algorithms 5. Replica Exchange Method (Parallel Tempering) Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 2 / 33

Reweighting Single Histogram Method exp( β E) exp( β E β E) = exp( β E) 1959: A first attempt to calculate the partition function by MCMC is made in a paper by Salsburg, Jacobson, Fickett, and Wood, using a method called in the modern language reweighting. As noticed by the authors their method is restricted to very small lattices. 1967: McDonald and Singer used reweighting to evaluate physical quantities over a small range of temperatures. Thereafter the approach appeared to be dormant. 1982: Reweighting was rediscovered by Falcioni, Marinari, Paciello, Parisi and Taglienti who focused on calculating complex zeros of the partition function. 1988: Ferrenberg and Swendsen formulated crystal-clear for what the method is good, and for what it is not: Reweighting allows to focus on maxima or minima of appropriate observables, but not to cover a finite temperature range in the infinite volume limit. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 3 / 33

Reweighting Multi Histogram Method 1972: Valleau and Card introduced the use of overlapping bridging distributions and called their method multistage sampling. 1989: Ferrenberg and Swendsen proposed a recursion for creating a joint distribution. 1990: Alves, Berg and Villanova patched histograms by minimizing χ 2 for the reweighted overlap: ν = 0.6303 (14) for 3D Ising model (ν = 0.6301 (4) nowadays best, Pelissetto & Vicari 2002). 14 3 lattice: Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 4 / 33

Umbrella Sampling Patching histograms of canonical simulations faces a number of limitations: 1. Bottlenecks in the canonical ensemble can create quasi-ergodicity. 2. There is no way to focus on canonically rare events. 1976: Torrie and Valleau introduced umbrella sampling, which copes with these difficulties by allowing arbitrary sampling distributions. Patching of of weighting factors from umbrella or window potentials is then done (e.g., Chandler 1987). But applications remained rather limited, although MCMC simulations flourished in the 1980s. Li and Scheraga, 1988: The difficulty of finding such weighting factors has prevented wide applications of umbrella sampling. Furthermore, there appeared to be no focus on identifying challenging problems, which could be overcome by using umbrella sampling. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 5 / 33

Binder s Method for Estimating Interface Tensions Simulations with periodic boundary conditions (Binder 1982). From equal heights double peaks : FL s = 1 ( P min ) L ln L (D 1) PL max. But in practice results remained pitiful: L max = 12 for the 3D Ising model with far off estimates like F s = 0.0050 (25) at β = 0.27227. Reason: PL min is exponentially suppressed in the canonical ensemble. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 6 / 33

Multicanonical Simulations (Berg and Neuhaus 1991/1992) 2D 10-state Potts model: 1000 multicanonical Histograms 500 70 2 lattice 0 canonical 1.0 1.5 - E / N Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 7 / 33

... achieved by sampling in an appropriate energy range E min E E max with an approximation of the weights W MUCA (E) = 1 E+α(E) = e b(e) n(e) and reweighting to the canonical ensemble. Thus, the multicanonical approach requires two steps (to be detailed later): 1. Obtain a working estimate of the weights W MUCA (E). 2. Perform a MCMC simulation with fixed weights. Working estimate means that the Markov chain cycles (tunnels) in the energy range: E min E E max which corresponds to a canonical temperature range (multicanonical) β min = b(e max ) β b(e min ) = β max. Rare configurations are now sampled (2D 10-state Potts model): Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 8 / 33

Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 9 / 33

Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 10 / 33

Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 11 / 33

Energy per spin histogram P L (e S ) 10 0 10-1 10-2 10-3 16 2 24 2 34 2 50 2 70 2 10-4 100 2 1.0 1.5 e S = E/V Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 12 / 33

0.110 2 f s 0.105 0.100 0.095 0.00 0.02 0.04 0.06 L -1 Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 13 / 33

Potts models: infinite volume interface tensions estimates. MUCA: q = 10 : F s = 0.09781 (75) (Berg and Neuhaus 1992, submitted July 1991) q = 7 : F s = 0.0241 (10) (Janke, Berg, and Katoot 1992, submitted March 1992) Before: q = 7 : F s = 0.1886 (12) (Boston 1989) q = 7 : F s 0.20 (Helsinki 1989) Exact: (Borgs and Janke 1992, submitted September 1992) q = 10 : F s = 0.094701... q = 7 : F s = 0.020792... Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 14 / 33

Multimagnetical Simulations Back to the 3D Ising Model (Berg, Hansmann, and Neuhaus, 1993) 10 60 improvement in statistics! Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 15 / 33

F s = 0.01293 (17) at β = 0.272 Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 16 / 33

Rugged Free Energy Landscapes and Groundstate Entropy (Berg and Celik 1992) Distribution of the 2D Ising Model Magnetization versus Temperature. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 17 / 33

Edward-Anderson Ising Spin Glass: E = ij J ij s i s j, i = ±1. The exchange coupling constants J ij are quenched random variables. MUCA simulations allow to equilibrate in the low temperature region. One averages over many J ij realizations (each requires to similate an Ising model with random couplings). Groundstates can be sampled on small systems (infinite volume extrapolations: Berg, Celik, and Hansmann 1994). The magnetization is no longer an order parameter. The substitute is the Parisi overlap parameter: q = i s 1 i s 2 i The superscripts 1 and 2 label replica of the same realization. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 18 / 33

For one realization: Parisi order parameter distribution versus temperature. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 19 / 33

Residual Entropy of Ordinary Ice: (Berg, Muguruma, and Okamoto 2006) 10 8 u d 1 2 3 6 y 4 2 0 0 2 4 6 8 10 12 Ice rule: All links between H 2 O molecules are hydrogen bonds. x Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 20 / 33

Residual entropy per molecule: S 0 = ln W 1 where W = (W 1 ) N is the total number of configurations, which fulfill the ice rule. Ising-like model (Linus Pauling): Hydrogen can take two positions on the bond W 0 = 2 2N. Without correlations: 6/16 probability of correct hydrogen positions at a molecule and (1935) W Pauling = ( 6 16 ) N 4 N W Pauling 1 = 3 2. Onsager and Dupuis showed that this is a lower bound. Onsager s student Nagle devoted his Ph.D. thesis to improve Pauling s estimate by a series expansion method and (1966): W Nagle 1 = 1.50684 (15). Experimentalists (1936): W meas 1 = 1.507 (20) (reduced error bars). Notes: The residual entropy of ice was experimentally discovered by Giauque and Ashley before the hydrogen bond picture was fully developed (1933). H-bond clusters are important in water at room temperature. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 21 / 33

MUCA simulation: W MUCA 1 = 1.50738 (16). 1.516 1.514 1.512 Data and Fit MUCA W 1 1.51 2-state H-bond model 1.508 Q=0.47 1.506 0 Nagle 10-3 1/N 2 10-3 3 10-3 Theoretical prediction with an accurary better than one per mille! Experimental efforts to confirm the prediction!? Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 22 / 33

Multicanonical Simulations of Peptides 1993 Hansmann and Okamoto: Predictions of peptide conformation by multicanonical algorithm (Met-Enkephalin). 1994 Hao and Scheraga: Monte Carlo simulations of a first-order transition for protein folding using entropic sampling (lattice protein). Entropic sampling is simply another name for the multicanonical method (Berg, Hansmann, and Okamoto 1995). Broad or flat histogram, density of states methods are other names in use. Still others names are presumably in the making... Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 23 / 33

Poly-alanine: (also animation) (Hansmann and Okamoto 1999) Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 24 / 33

How to get the Weights? 1. Overlapping constrained (microcanonical) MC simulations. Problems: Tedious and ergodicity of constrained simulations likely to break down in a rugged free energy landscapes. 2. Finite Size Scaling (FSS) Estimates. Best when it works! Problem: There may be no FSS theory. 3. Recursions. In general most convenient. Problem: May deteriorate quickly with increasing system size. Example: Multicanonical Recursion (Berg 1996). Iterates microcanonical temperature b(e). Animation for the 2D 10-state Potts model on an 80 80 lattice (100 iterations of 100 sweeps each). Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 25 / 33

Wang-Landau Recursion (Wang and Landau 2001) Updates are performed with estimators g(e) of the density of states: [ ] g(e1 ) p(e 1 E 2 ) = min g(e 2 ), 1. Each time an energy level is visited, the estimator is updated multiplicatively: g(e) g(e) f. Initially g(e) = 1 and f = f 0 = e 1. Once the desired energy range is adequately covered, the factor f is refined f 1 = f, f n+1 = f n+1 until a value sufficiently close to 1. is reached. Means: The system keeps on cycling with frozen weights. Switch to the usual MUCA production run as soon as possible! (To the contrary, Wang-Landau advertise to keep on iterating forever.) Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 26 / 33

MUCA Performance Slowing down in units of sweeps (L D updates): 1. Optimum: L D perfect random walk in the energy. Compare to exp(+f s L D 1 ) canonical slowing down for first order phase transitions. 2. 10-state Potts model (transition range): Effective L2.65 (2) observed (Berg and Neuhaus 1992). Expectation for large L: Subleading exponential (Neuhaus and Hager 2003). 3. EAI spin glass: L 4.4 (3) observed (Berg and Celik 1992). Exponential expected for large L. 4. 2D Ising model (entire energy range): L 2.8 improved to L 2 ln(l) by optimizing cycling times (Trebst, Huse, and Troyer 2004). Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 27 / 33

Second order phase transitions and cluster algorithms 45 (Berg and Janke 2006) rwght C 80 S 80 4 40 3.5 S 80 35 3 C 80 30 2.5 25 0.221 0.222 0.223 0.224 β L 3, L = 80 3 Ising model at β c : Desired reweighting range (entire axis) versus actual canonical reweighting range (rwght). Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 28 / 33

Conventional Wang-Landau/MUCA simulations lack the efficiency of cluster algorithms (Swendsen and Wang 1987, Wolff 1989). Combination is possible using bonds instead of energy (MUBO). 100000 10000 MUCA τ int (a) MUBO τ int (b) MUBO τ int sweeps 1000 100 20 40 80 L For 3D Ising: τ MUCA int L 2.22 (11) and τ MUBO int = L 1.05 (5). Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 29 / 33

Replica Exchange Method (Parallel Tempering) 1988 Swendsen and Wang: (Too) General replica exchange method. 1990 Frantz, Freemann, and Doll: Jump-walking feeds replica from a high into a low temperature simulation. Does not fulfill balance. 1991 Geyer: Multiple Markov chains (later called replica exchange). 1992 Lyubartsev, Martsinovski, Shevkanov, and Vorontsov- Velyaminov: Expanded ensembles (no exchange of replica). 1992 Marinari and Parisi: Simulated tempering, which is a special case of the Russian method (coined the tempering notation). 1996 Hukusima and Nemoto: Replica Exchange, often called parallel tempering (when temperatures are exchanged). 1997 Hansmann: First application to biomolecules (Met-Enkephalin). Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 30 / 33

Parallel Tempering Algorithm For β 1 < β 2 <... < β n consider the joint partition function { n N (2π m i k B T k ) 3/2 [ ] } Z = d 3 xi k exp β k U( r 1 k,..., r N k N! ) k=1 i=1 of a molecular system, where the momenta are integrated out. Swaps between (normally neighbouring) temperatures are proposed with uniform probability and accepted with the Metropolis probability P acpt = min { 1, exp [ +(β k β l ) ( U( r k 1,..., r k N ) U( r l 1,..., r l N ) )]} so that balance holds. Refreshes low temperature simulations through high temperature excursions. Refinements: Other variables than temperatures can be exchanged as well. Generalized ensembles can be exchanged,... Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 31 / 33

Temperature Exchange Typical time series. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 32 / 33

Energy Histograms Overlap of energy histograms between adjacent replicas allows for acceptance of temperature swaps. Bernd A. Berg (FSU) Generalized Ensembles November 6, 2008 33 / 33