Molecular dynamics (MD) simulation is a widely used technique to simulate molecular systems, most commonly at the all-atom resolution where equations of motion are integrated with timesteps on the order of femtoseconds ($1\textrm{fs}=10^{-15}\textrm{s}$). MD is often used to compute equilibrium properties, which requires sampling from an equilibrium distribution such as the Boltzmann distribution. However, many important processes, such as binding and folding, occur over timescales of milliseconds or beyond, and cannot be efficiently sampled with conventional MD. Furthermore, new MD simulations need to be performed for each molecular system studied. We present Timewarp, an enhanced sampling method which uses a normalising flow as a proposal distribution in a Markov chain Monte Carlo method targeting the Boltzmann distribution. The flow is trained offline on MD trajectories and learns to make large steps in time, simulating the molecular dynamics of $10^{5} - 10^{6}\:\textrm{fs}$. Crucially, Timewarp is transferable between molecular systems: once trained, we show that it generalises to unseen small peptides (2-4 amino acids) at all-atom resolution, exploring their metastable states and providing wall-clock acceleration of sampling compared to standard MD. Our method constitutes an important step towards general, transferable algorithms for accelerating MD.
翻译:分子动力学(MD)模拟是一种广泛用于模拟分子系统的技术,通常在全原子分辨率下进行,其中运动方程以飞秒($1\textrm{fs}=10^{-15}\textrm{s}$)量级的时间步长积分。MD常用于计算平衡性质,这需要从玻尔兹曼分布等平衡分布中进行采样。然而,许多重要过程(例如结合和折叠)发生在毫秒或更长时间尺度上,无法通过传统MD有效采样。此外,针对每个待研究的分子系统,都需要进行新的MD模拟。我们提出Timewarp,一种增强采样方法,该方法利用归一化流作为以玻尔兹曼分布为目标的马尔可夫链蒙特卡洛方法中的提议分布。该流在MD轨迹上进行离线训练,并学习进行大步长时间步进,模拟$10^{5} - 10^{6}\:\textrm{fs}$的分子动力学。关键的是,Timewarp在不同分子系统之间具有可迁移性:一旦训练完成,我们证明它能泛化到未见过的全原子分辨率小肽(2-4个氨基酸),探索其亚稳态,并与标准MD相比提供更快的实时采样加速。我们的方法为开发通用、可迁移的MD加速算法迈出了重要一步。