快速、模块化且可微的机器学习增强分子模拟框架
Fast, Modular, and Differentiable Framework for Machine Learning-Enhanced Molecular Simulations
AI总结:
DIMOS是一种快速、模块化且可微的分子模拟框架,通过结合经典和机器学习方法,实现高效且灵活的分子动力学和蒙特卡洛模拟。
摘要:
我们提出了一种端到端可微分子模拟框架(DIMOS),用于分子动力学和蒙特卡洛模拟。DIMOS能够轻松整合基于机器学习的原子间势能,并实现包括高效粒子网格Ewald方法在内的经典力场。得益于其模块化特性,经典方法和基于机器学习的方法可以轻松结合成混合描述(ML/MM)。通过支持关键分子动力学功能,如高效的邻居列表和用于更大时间步长的约束算法,该框架在手调优化模拟引擎和PyTorch实现的灵活性之间迈出了重要一步。我们展示了由于线性而非二次缩放,DIMOS能够相对于另一个完全可微的模拟框架在经典力场模拟中获得高达170倍的速度提升。可微性的优势通过基于Hamiltonian Monte Carlo(HMC)的马尔可夫链蒙特卡洛模拟中的端到端优化提案分布得到验证。使用这些优化的模拟参数,与随意选择的模拟参数相比,观察到3倍的加速。代码可在https://github.com/nec-research/DIMOS上获得。
英文摘要:
We present an end-to-end differentiable molecular simulation framework (DIMOS) for molecular dynamics and Monte Carlo simulations. DIMOS easily integrates machine-learning-based interatomic potentials and implements classical force fields including an efficient implementation of particle-mesh Ewald. Thanks to its modularity, both classical and machine-learning-based approaches can be easily combined into a hybrid description of the system (ML/MM). By supporting key molecular dynamics features such as efficient neighborlists and constraint algorithms for larger time steps, the framework makes steps in bridging the gap between hand-optimized simulation engines and the flexibility of a \verb|PyTorch| implementation. We show that due to improved linear instead of quadratic scaling as function of system size DIMOS is able to obtain speed-up factors of up to $170\times$ for classical force field simulations against another fully differentiable simulation framework. The advantage of differentiability is demonstrated by an end-to-end optimization of the proposal distribution in a Markov Chain Monte Carlo simulation based on Hamiltonian Monte Carlo (HMC). Using these optimized simulation parameters a $3\times$ acceleration is observed in comparison to ad-hoc chosen simulation parameters. The code is available at https://github.com/nec-research/DIMOS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。