Path-accelerated molecular dynamics: Parallel-in-time integration using path integrals
Jorge L. Rosa-Ra\'ices, Bin Zhang, Thomas F. Miller III

TL;DR
The paper introduces path-accelerated molecular dynamics (PAMD), a parallel-in-time method leveraging path integrals to significantly speed up long-timescale MD simulations on parallel architectures.
Contribution
It presents a novel parallelization approach for MD using path integrals, enabling substantial reductions in simulation time compared to traditional methods.
Findings
Achieved over 1000x speedup in Brownian dynamics simulations.
Demonstrated effectiveness on harmonic oscillator and Lennard-Jones systems.
Method is generalizable to other stochastic equations of motion.
Abstract
Massively parallel computer architectures create new opportunities for the performance of long-timescale molecular dynamics (MD) simulations. Here, we introduce the path-accelerated molecular dynamics (PAMD) method that takes advantage of distributed computing to reduce the wall-clock time of MD simulation via parallelization with respect to MD timesteps. The marginal distribution for the time evolution of a system is expressed in terms of a path integral, enabling the use of path sampling techniques to numerically integrate MD trajectories. By parallelizing the evaluation of the path action with respect to time and by initializing the path configurations from a non-equilibrium distribution, the algorithm enables significant speedups in terms of the length of MD trajectories that can be integrated in a given amount of wall-clock time. The method is demonstrated for Brownian dynamics,…
| timestep for discretization of the sampled path | |
| number of timesteps in the sampled path | |
| number of processors for parallel-in-time force evaluations | |
| number of force evaluations per shifting event | |
| number of MC steps per shifting event | |
| number of timesteps shifted | |
| total number of levels in the sampled path | |
| finest sampled level of the path | |
| coarsest sampled level of the path |
| Euler | |||
| PAMD | |||
| Simulation | Simulation | Simulation | |
| Euler | ||
| PAMD | ||
| Simulation | Simulation | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Path-accelerated molecular dynamics: Parallel-in-time integration using path integrals
Jorge L. Rosa-Raíces
Division of Chemistry and Chemical Engineering, California Institute of Technology, Pasadena, CA, 91125
Bin Zhang
Department of Chemistry, Massachusetts Institute of Technology, Cambridge, MA, 02139
Thomas F. Miller III
Division of Chemistry and Chemical Engineering, California Institute of Technology, Pasadena, CA, 91125
Abstract
Massively parallel computer architectures create new opportunities for the performance of long-timescale molecular dynamics (MD) simulations. Here, we introduce the path-accelerated molecular dynamics (PAMD) method that takes advantage of distributed computing to reduce the wall-clock time of MD simulation via parallelization with respect to MD timesteps. The marginal distribution for the time evolution of a system is expressed in terms of a path integral, enabling the use of path sampling techniques to numerically integrate MD trajectories. By parallelizing the evaluation of the path action with respect to time and by initializing the path configurations from a non-equilibrium distribution, the algorithm enables significant speedups in terms of the length of MD trajectories that can be integrated in a given amount of wall-clock time. The method is demonstrated for Brownian dynamics, although it is generalizable to other stochastic equations of motion including open systems. We apply the method to two simple systems, a harmonic oscillator and a Lennard-Jones liquid, and we show that in comparison to the conventional Euler integration scheme for Brownian dynamics, the new method can reduce the wall-clock time for integrating trajectories of a given length by more than three orders of magnitude in the former system and more than two in the latter. This new method for parallelizing MD in the dimension of time can be trivially combined with algorithms for parallelizing the MD force evaluation to achieve further speedup.
I Introduction
Molecular dynamics (MD) Frenkel and Smit (2002); Allen and Tildesley (2017) is the central tool for simulating chemical, biological, and materials systems, with new algorithms and hardware expanding the range of accessible timescales and lengthscales Durrant and McCammon (2011); Dror et al. (2012); Voter, Montalenti, and Germann (2002). Faster processors have played an important role in this expansion, although the most dramatic improvements in recent years have come from the number of available processors, rather than the clock-speed of the individual cores Keyes (2007); Dongarra et al. (2011). In particular, highly multi-threaded computer architectures have been used to parallelize the MD force evaluation, greatly reducing the wall-clock time needed to perform an individual MD step Plimpton (1995); Phillips et al. (2005); Shaw et al. (2009); Salomon-Ferrer et al. (2013); Páll et al. (2015); Grossman et al. (2015). However, despite this progress in the parallelization of MD simulations with respect to the force evaluations (i.e., in space), less attention has been dedicated to the notion of parallelization with respect to the MD timesteps (i.e., in time).
The sequential nature of MD (i.e., the need to have access to a given timestep before the next timestep can be computed) would seem to discount the possibility of exploiting parallelization in time; nonetheless, methods for parallel-in-time integration are being developed and applied to MD simulation. Most approaches Lions, Maday, and Turinici (2001); Farhat and Chandesris (2003); Garrido et al. (2006); Emmett and Minion (2012) are based on a prediction-correction paradigm that combines fine (i.e., accurate and expensive) and coarse (i.e., inaccurate and inexpensive) solvers to iteratively refine approximations of a trajectory in a convergent and parallel-in-time fashion. A range of coarse solvers and iteration schemes have been employed to evaluate MD trajectories of molecular systems with parallelization in the time domain Baffico et al. (2002); Yanan, Srinivasan, and Chandra (2006); Speck et al. (2012); Bylaska, Weare, and Weare (2013); Blumers, Li, and Karniadakis (2019), leading to order-of-magnitude reductions in the wall-clock time-to-solution with respect to sequential integration at the fine level of accuracy. Schemes for approximate long-timescale integration via trajectory splicing are an alternative route to parallelization in time, yielding accurate time evolution for systems that exhibit strong timescale separation on well-characterized regions of the potential energy landscape Perez et al. (2016).
The current work takes a different approach to parallelizing MD in time. We demonstrate that by working with ensembles of trajectories in a path-integral framework, multiple processors can be employed to reduce the wall-clock time needed to evolve an MD trajectory of arbitrary length, without resorting to parallelization of the MD force evaluation. This method of parallelization for MD trajectories is independent of, and thus entirely complementary to, parallelization of the MD force evaluations, and it creates new opportunities to harness large numbers of available computer processors for the generation of long-timescale MD trajectories.
II Method
II.1 MD integration based on path distributions
In this work, we focus on the MD equation of motion governing Brownian (i.e., overdamped Langevin) dynamics under potential at temperature ,
[TABLE]
where the diffusion coefficient and the friction coefficient are related by the Einstein relation , and is the standard Wiener process. MD trajectories can be generated by discretizing Eq. 1 with various numerical integration schemes Brünger, Brooks, and Karplus (1984); Brańka and Heyes (1998); Ricci and Ciccotti (2003); Bussi and Parrinello (2007); Bou-Rabee (2014), such as the forward Euler algorithm Allen and Tildesley (2017)
[TABLE]
where is the discretization timestep, and a standard Gaussian random variate. The marginal distribution associated with time evolution of the system by according to Eq. 2 is Risken and Frank (1996)
[TABLE]
such that the likelihood of a MD trajectory of length that evolves the system along positions at times is
[TABLE]
where is the action associated with the MD trajectory. From Eq. 4, the position of the time-evolved system at time has a marginal distribution given by the path integral
[TABLE]
where . It is clear that this path-integral formulation of the ensemble of MD trajectories provides an equivalent description of the time evolution of the system as Eq. 2. Numerous studies have explored this path-integral formulation with variations of the underlying equation of motion and of the discretization of the action Pratt (1986); Olender and Elber (1996); Bolhuis et al. (2002); Miller III and Predescu (2007); Sivak, Chodera, and Crooks (2014).
Setting aside issues of efficiency until section II.2, we note that the path-integral formulation of the marginal distribution for the time-evolved system offers a simple MD integration scheme, illustrated in Fig. II.1. First, sampling from the distribution of paths of length , with likelihood given by Eq. 4, is performed using Monte Carlo (MC) or related methods (Fig. II.1A) Ceperley (1995); Stuart, Voss, and Wilberg (2004); Stoltz (2007); by drawing a realization from this distribution, we obtain a segment of MD trajectory from time [math] to time (illustrated by the heavy orange path in Fig. II.1A). Then, by shifting from to along the sampled path, we resolve a trajectory from to (represented by the heavy green path in Fig. II.1B) that is statistically equivalent to a realization from the Euler algorithm defined in Eq. 2. After shifting the tail of the path to , we restart the path sampling to extend the trajectory from time to time . Iteration of this scheme will lead to the numerical integration of a MD trajectory of arbitrary length in time.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Frenkel and Smit (2002) D. Frenkel and B. Smit, Understanding molecular simulation: From algorithms to applications (Academic Press, 2002).
- 2Allen and Tildesley (2017) M. P. Allen and D. J. Tildesley, Computer simulation of liquids (Clarendon Press, 2017).
- 3Durrant and Mc Cammon (2011) J. D. Durrant and J. A. Mc Cammon, “Molecular dynamics simulations and drug discovery,” BMC Biology 9 , 71 (2011).
- 4Dror et al. (2012) R. O. Dror, R. M. Dirks, J. P. Grossman, H. Xu, and D. E. Shaw, “Biomolecular simulation: A computational microscope for molecular biology,” Annual Review of Biophysics 41 , 429–452 (2012).
- 5Voter, Montalenti, and Germann (2002) A. F. Voter, F. Montalenti, and T. C. Germann, “Extending the time scale in atomistic simulation of materials,” Annual Review of Materials Research 32 , 321–346 (2002).
- 6Keyes (2007) D. Keyes, “Petaflops, seriously,” in High Performance Computing - Hi PC 2007 , edited by S. Aluru, M. Parashar, R. Badrinath, and V. K. Prasanna (Springer Berlin Heidelberg, Berlin, Heidelberg, 2007) pp. 2–3.
- 7Dongarra et al. (2011) J. Dongarra, P. Beckman, T. Moore, P. Aerts, G. Aloisio, J.-C. Andre, D. Barkai, J.-Y. Berthou, T. Boku, B. B, F. Cappello, B. Chapman, X. Chi, A. Choudhary, S. Dosanjh, T. Dunning, S. Fiore, A. Geist, B. Gropp, B. Harrison, M. Hereld, M. Heroux, A. Hoisie, K. Hotta, Z. Jin, Y. Ishikawa, F. Johnson, S. Kale, R. Kenway, D. Keyes, B. Kramer, J. Labarta, A. Lichnewsky, T. Lippert, B. Lucas, B. Maccabe, S. Matsuoka, P. Messina, P. Michielse, M. B., M. S. Mueller, W. E. Nag
- 8Plimpton (1995) S. Plimpton, “Fast parallel algorithms for short-range molecular-dynamics,” Journal of Computational Physics 117 , 1–19 (1995).
