Gangan Abhijeet Sadashiv, Cubuk Ekin Dogus, Schoenholz Samuel S, Bauchy Mathieu, Krishnan N M Anoop
Department of Civil and Environmental Engineering, University of California, Los Angeles, Los Angeles, California 90095, United States.
Google DeepMind, Mountain View, California 94043, United States.
J Chem Theory Comput. 2025 Jun 24;21(12):5867-5879. doi: 10.1021/acs.jctc.4c01784. Epub 2025 Jun 5.
The accuracy of atomistic simulations depends on the precision of the force fields. Traditional numerical methods often struggle to optimize the empirical force-field parameters for reproducing the target properties. Recent approaches rely on training these force fields based on forces and energies from first-principle simulations. However, it is unclear whether these approaches will enable the capture of complex material responses such as vibrational or elastic properties. To this extent, we introduce a framework employing inner loop simulations and outer loop optimization that exploits automatic differentiation for both property prediction and force-field optimization by computing gradients of the simulation analytically. We demonstrate the approach by optimizing classical potentials such as Stillinger-Weber and EDIP for silicon and BKS for SiO to reproduce properties like the elastic constants, vibrational density of states, and phonon dispersion. We also demonstrate how a machine-learned potential can be fine-tuned using automatic differentiation to reproduce any target property such as radial distribution functions. Interestingly, the resulting force field exhibits improved accuracy and generalizability to unseen temperatures compared to those fine-tuned on energies and forces. Finally, we demonstrate the extension of the approach to optimize the force fields toward multiple target properties. Altogether, differentiable simulations, through the analytical computation of their gradients, offer a powerful tool for both theoretical exploration and practical applications toward understanding physical systems and materials.
原子模拟的准确性取决于力场的精度。传统数值方法在优化经验力场参数以重现目标性质方面常常面临困难。最近的方法依赖于基于第一性原理模拟的力和能量来训练这些力场。然而,这些方法是否能够捕捉复杂的材料响应,如振动或弹性性质,尚不清楚。在此范围内,我们引入了一个框架,该框架采用内循环模拟和外循环优化,通过解析计算模拟的梯度,利用自动微分进行性质预测和力场优化。我们通过优化经典势(如用于硅的斯廷林格 - 韦伯势和EDIP势以及用于SiO的BKS势)来演示该方法,以重现诸如弹性常数、振动态密度和声子色散等性质。我们还展示了如何使用自动微分对机器学习势进行微调,以重现任何目标性质,如径向分布函数。有趣的是,与基于能量和力进行微调的力场相比,所得力场在未见过的温度下表现出更高的准确性和泛化性。最后,我们展示了该方法扩展到针对多个目标性质优化力场的情况。总之,可微模拟通过对其梯度进行解析计算,为理解物理系统和材料的理论探索和实际应用提供了一个强大的工具。