1
|
McNaughton B, Milošević MV, Perali A, Pilati S. Boosting Monte Carlo simulations of spin glasses using autoregressive neural networks. Phys Rev E 2020; 101:053312. [PMID: 32575304 DOI: 10.1103/physreve.101.053312] [Citation(s) in RCA: 9] [Impact Index Per Article: 2.3] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/16/2020] [Accepted: 05/12/2020] [Indexed: 11/07/2022]
Abstract
The autoregressive neural networks are emerging as a powerful computational tool to solve relevant problems in classical and quantum mechanics. One of their appealing functionalities is that, after they have learned a probability distribution from a dataset, they allow exact and efficient sampling of typical system configurations. Here we employ a neural autoregressive distribution estimator (NADE) to boost Markov chain Monte Carlo (MCMC) simulations of a paradigmatic classical model of spin-glass theory, namely, the two-dimensional Edwards-Anderson Hamiltonian. We show that a NADE can be trained to accurately mimic the Boltzmann distribution using unsupervised learning from system configurations generated using standard MCMC algorithms. The trained NADE is then employed as smart proposal distribution for the Metropolis-Hastings algorithm. This allows us to perform efficient MCMC simulations, which provide unbiased results even if the expectation value corresponding to the probability distribution learned by the NADE is not exact. Notably, we implement a sequential tempering procedure, whereby a NADE trained at a higher temperature is iteratively employed as proposal distribution in a MCMC simulation run at a slightly lower temperature. This allows one to efficiently simulate the spin-glass model even in the low-temperature regime, avoiding the divergent correlation times that plague MCMC simulations driven by local-update algorithms. Furthermore, we show that the NADE-driven simulations quickly sample ground-state configurations, paving the way to their future utilization to tackle binary optimization problems.
Collapse
Affiliation(s)
- B McNaughton
- School of Science and Technology, Physics Division, Università di Camerino, 62032 Camerino (MC), Italy.,Department of Physics, University of Antwerp, Groenenborgerlaan 171, B-2020 Antwerp, Belgium
| | - M V Milošević
- Department of Physics, University of Antwerp, Groenenborgerlaan 171, B-2020 Antwerp, Belgium.,NANOlab Center of Excellence, University of Antwerp, Belgium
| | - A Perali
- School of Pharmacy, Physics Unit, Università di Camerino, 62032 Camerino (MC), Italy
| | - S Pilati
- School of Science and Technology, Physics Division, Università di Camerino, 62032 Camerino (MC), Italy
| |
Collapse
|
2
|
Hahn DF, Hünenberger PH. Alchemical Free-Energy Calculations by Multiple-Replica λ-Dynamics: The Conveyor Belt Thermodynamic Integration Scheme. J Chem Theory Comput 2019; 15:2392-2419. [PMID: 30821973 DOI: 10.1021/acs.jctc.8b00782] [Citation(s) in RCA: 13] [Impact Index Per Article: 2.6] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 02/06/2023]
Abstract
A new method is proposed to calculate alchemical free-energy differences based on molecular dynamics (MD) simulations, called the conveyor belt thermodynamic integration (CBTI) scheme. As in thermodynamic integration (TI), K replicas of the system are simulated at different values of the alchemical coupling parameter λ. The number K is taken to be even, and the replicas are equally spaced on a forward-turn-backward-turn path, akin to a conveyor belt (CB) between the two physical end-states; and as in λ-dynamics (λD), the λ-values associated with the individual systems evolve in time along the simulation. However, they do so in a concerted fashion, determined by the evolution of a single dynamical variable Λ of period 2π controlling the advance of the entire CB. Thus, a change of Λ is always associated with K/2 equispaced replicas moving forward and K/2 equispaced replicas moving backward along λ. As a result, the effective free-energy profile of the replica system along Λ is periodic of period 2 πK-1, and the magnitude of its variations decreases rapidly upon increasing K, at least as K-1 in the limit of large K. When a sufficient number of replicas is used, these variations become small, which enables a complete and quasi-homogeneous coverage of the λ-range by the replica system, without application of any biasing potential. If desired, a memory-based biasing potential can still be added to further homogenize the sampling, the preoptimization of which is computationally inexpensive. The final free-energy profile along λ is calculated similarly to TI, by binning of the Hamiltonian λ-derivative as a function of λ considering all replicas simultaneously, followed by quadrature integration. The associated quadrature error can be kept very low owing to the continuous and quasi-homogeneous λ-sampling. The CBTI scheme can be viewed as a continuous/deterministic/dynamical analog of the Hamiltonian replica-exchange/permutation (HRE/HRP) schemes or as a correlated multiple-replica analog of the λD or λ-local elevation umbrella sampling (λ-LEUS) schemes. Compared to TI, it shares the advantage of the latter schemes in terms of enhanced orthogonal sampling, i.e. the availability of variable-λ paths to circumvent conformational barriers present at specific λ-values. Compared to HRE/HRP, it permits a deterministic and continuous sampling of the λ-range, is expected to be less sensitive to possible artifacts of the thermo- and barostating schemes, and bypasses the need to carefully preselect a λ-ladder and a swapping-attempt frequency. Compared to λ-LEUS, it eliminates (or drastically reduces) the dead time associated with the preoptimization of a biasing potential. The goal of this article is to provide the mathematical/physical formulation of the proposed CBTI scheme, along with an initial application of the method to the calculation of the hydration free energy of methanol.
Collapse
Affiliation(s)
- David F Hahn
- Laboratory of Physical Chemistry, Department of Chemistry and Applied Biosciences , ETH Zürich , Vladimir-Prelog-Weg 2 , 8093 Zürich , Switzerland
| | - Philippe H Hünenberger
- Laboratory of Physical Chemistry, Department of Chemistry and Applied Biosciences , ETH Zürich , Vladimir-Prelog-Weg 2 , 8093 Zürich , Switzerland
| |
Collapse
|
3
|
Kumar M, Kumar R, Weigel M, Banerjee V, Janke W, Puri S. Approximate ground states of the random-field Potts model from graph cuts. Phys Rev E 2018; 97:053307. [PMID: 29906939 DOI: 10.1103/physreve.97.053307] [Citation(s) in RCA: 4] [Impact Index Per Article: 0.7] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/31/2018] [Indexed: 11/07/2022]
Abstract
While the ground-state problem for the random-field Ising model is polynomial, and can be solved using a number of well-known algorithms for maximum flow or graph cut, the analog random-field Potts model corresponds to a multiterminal flow problem that is known to be NP-hard. Hence an efficient exact algorithm is very unlikely to exist. As we show here, it is nevertheless possible to use an embedding of binary degrees of freedom into the Potts spins in combination with graph-cut methods to solve the corresponding ground-state problem approximately in polynomial time. We benchmark this heuristic algorithm using a set of quasiexact ground states found for small systems from long parallel tempering runs. For a not-too-large number q of Potts states, the method based on graph cuts finds the same solutions in a fraction of the time. We employ the new technique to analyze the breakup length of the random-field Potts model in two dimensions.
Collapse
Affiliation(s)
- Manoj Kumar
- School of Physical Sciences, Jawaharlal Nehru University, New Delhi 110067, India.,Department of Physics, Indian Institute of Technology, Hauz Khas, New Delhi 110016, India
| | - Ravinder Kumar
- Applied Mathematics Research Centre, Coventry University, Coventry CV1 5FB, England.,Institut für Theoretische Physik, Universität Leipzig, Postfach 100 920, 04009 Leipzig, Germany.,Doctoral College for the Statistical Physics of Complex Systems, Leipzig-Lorraine-Lviv-Coventry (𝕃4)
| | - Martin Weigel
- Applied Mathematics Research Centre, Coventry University, Coventry CV1 5FB, England
| | - Varsha Banerjee
- Department of Physics, Indian Institute of Technology, Hauz Khas, New Delhi 110016, India
| | - Wolfhard Janke
- Institut für Theoretische Physik, Universität Leipzig, Postfach 100 920, 04009 Leipzig, Germany
| | - Sanjay Puri
- School of Physical Sciences, Jawaharlal Nehru University, New Delhi 110067, India
| |
Collapse
|
4
|
Chan CH, Brown G, Rikvold PA. Macroscopically constrained Wang-Landau method for systems with multiple order parameters and its application to drawing complex phase diagrams. Phys Rev E 2017; 95:053302. [PMID: 28618623 DOI: 10.1103/physreve.95.053302] [Citation(s) in RCA: 10] [Impact Index Per Article: 1.4] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/13/2016] [Indexed: 11/07/2022]
Abstract
A generalized approach to Wang-Landau simulations, macroscopically constrained Wang-Landau, is proposed to simulate the density of states of a system with multiple macroscopic order parameters. The method breaks a multidimensional random-walk process in phase space into many separate, one-dimensional random-walk processes in well-defined subspaces. Each of these random walks is constrained to a different set of values of the macroscopic order parameters. When the multivariable density of states is obtained for one set of values of fieldlike model parameters, the density of states for any other values of these parameters can be obtained by a simple transformation of the total system energy. All thermodynamic quantities of the system can then be rapidly calculated at any point in the phase diagram. We demonstrate how to use the multivariable density of states to draw the phase diagram, as well as order-parameter probability distributions at specific phase points, for a model spin-crossover material: an antiferromagnetic Ising model with ferromagnetic long-range interactions. The fieldlike parameters in this model are an effective magnetic field and the strength of the long-range interaction.
Collapse
Affiliation(s)
- C H Chan
- Department of Physics, Florida State University, Tallahassee, Florida 32306-4350, USA
| | - G Brown
- Department of Physics, Florida State University, Tallahassee, Florida 32306-4350, USA.,Division of Science and Math, Tallahassee Community College, Tallahassee, Florida 32304, USA
| | - P A Rikvold
- Department of Physics, Florida State University, Tallahassee, Florida 32306-4350, USA
| |
Collapse
|
5
|
Zhang BW, Dai W, Gallicchio E, He P, Xia J, Tan Z, Levy RM. Simulating Replica Exchange: Markov State Models, Proposal Schemes, and the Infinite Swapping Limit. J Phys Chem B 2016; 120:8289-301. [PMID: 27079355 DOI: 10.1021/acs.jpcb.6b02015] [Citation(s) in RCA: 29] [Impact Index Per Article: 3.6] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/18/2023]
Abstract
Replica exchange molecular dynamics is a multicanonical simulation technique commonly used to enhance the sampling of solvated biomolecules on rugged free energy landscapes. While replica exchange is relatively easy to implement, there are many unanswered questions about how to use this technique most efficiently, especially because it is frequently the case in practice that replica exchange simulations are not fully converged. A replica exchange cycle consists of a series of molecular dynamics steps of a set of replicas moving under different Hamiltonians or at different thermodynamic states followed by one or more replica exchange attempts to swap replicas among the different states. How the replica exchange cycle is constructed affects how rapidly the system equilibrates. We have constructed a Markov state model of replica exchange (MSMRE) using long molecular dynamics simulations of a host-guest binding system as an example, in order to study how different implementations of the replica exchange cycle can affect the sampling efficiency. We analyze how the number of replica exchange attempts per cycle, the number of MD steps per cycle, and the interaction between the two parameters affects the largest implied time scale of the MSMRE simulation. The infinite swapping limit is an important concept in replica exchange. We show how to estimate the infinite swapping limit from the diagonal elements of the exchange transition matrix constructed from MSMRE "simulations of simulations" as well as from relatively short runs of the actual replica exchange simulations.
Collapse
Affiliation(s)
- Bin W Zhang
- Center for Biophysics and Computational Biology, Department of Chemistry and Institute for Computational Molecular Science, Temple University , Philadelphia, Pennsylvania 19122, United States
| | - Wei Dai
- Department of Physics and Astronomy, Rutgers, the State University of New Jersey , Piscataway, New Jersey 08854, United States
| | - Emilio Gallicchio
- Department of Chemistry, Brooklyn College of the City University of New York , Brooklyn, New York 11210, United States
| | - Peng He
- Center for Biophysics and Computational Biology, Department of Chemistry and Institute for Computational Molecular Science, Temple University , Philadelphia, Pennsylvania 19122, United States
| | - Junchao Xia
- Center for Biophysics and Computational Biology, Department of Chemistry and Institute for Computational Molecular Science, Temple University , Philadelphia, Pennsylvania 19122, United States
| | - Zhiqiang Tan
- Department of Statistics, Rutgers, the State University of New Jersey , Piscataway, New Jersey 08854, United States
| | - Ronald M Levy
- Center for Biophysics and Computational Biology, Department of Chemistry and Institute for Computational Molecular Science, Temple University , Philadelphia, Pennsylvania 19122, United States
| |
Collapse
|