PathGrad:用路径概率梯度让分子力场对齐实验动力学数据
Path-probability gradients for optimizing force fields against dynamical observables
做分子模拟或机器学习力场的开发者值得看这篇。它绕开了混沌轨迹求导不稳定的坑,用路径概率做梯度,实验扩散系数直接当训练信号。和只用 DFT 数据训练的常规做法相比,连剪切黏度这种没放进目标的量都能一起变准。
一篇方法论文提出 PathGrad,用于解决机器学习力场难以用实验动力学观测量做微调的问题。核心思路是不对混沌分子轨迹直接求导(这会产生不稳定梯度),而是对 Langevin 路径概率求导,梯度估计器从热噪声和力导数在线累积,方差随轨迹长度增加保持稳定。
作者用有限差分计算验证了该梯度估计器,并据此对熔融铜和水势能模型做微调:水的案例中,联合优化扩散系数和氧-氧径向分布函数后,未纳入优化目标的剪切黏度和旋转弛豫预测也随之改善;仅在单一温度对齐还能改善多个动力学观测量的表观活化能,使温度依赖关系更接近实验。
此外,优化后的势能相对独立的更高精度量子化学参考表现出更小的力误差,说明实验对齐能提升势能面的整体保真度,超出拟合目标本身。PathGrad 为把实验观测直接纳入力场优化提供了通用框架。
Path-probability gradients for optimizing force fields against dynamical observables
Machine learning force fields inherit the errors of the electronic-structure methods used to generate their training data, and refining them against experimental measurements provides a direct route beyond this limit. However, such refinement remains difficult for dynamical observables because differentiating chaotic molecular trajectories yields unstable gradients. Here, we introduce PathGrad, which differentiates Langevin path probabilities instead of the trajectories themselves. The resulting gradient estimator is accumulated on the fly from thermal noise and force derivatives, and its variance remains stable as the trajectory length increases. We validated the gradient estimator against finite-difference calculations and used it to fine-tune molten-copper and water potentials against experimental diffusion coefficients together with structural constraints. For water, jointly optimizing diffusion and the oxygen-oxygen radial distribution function also improves the predictions of shear viscosity and rotational relaxation, neither of which is included in the optimization objective. Alignment at a single temperature also improves the apparent activation energies of multiple dynamical observables, bringing their temperature dependences closer to experiments. Moreover, the optimized potential exhibits smaller force errors relative to an independent, higher-level quantum-chemical reference, indicating that alignment with experiments improves the fidelity of the potential energy surface beyond the fitted targets. PathGrad thus establishes a general framework for incorporating experimental observables directly into force field optimizations.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include PathGrad, molecular dynamics, Langevin, gradient estimation.
Source attribution: curated from arXiv cs.AI (@Zhongyao Wang, Lun Song, Yakun Zeng, Xingao Gong, Rui Shi, Mao Su).