arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08674cs.LGcond-mat.mtrl-sciphysics.chem-phq-bio.BM
收藏

理解与缓解机器学习力场的分布偏移

Understanding and Mitigating Distribution Shifts For Machine Learning Force Fields

UC Berkeley(加州大学伯克利分校);LBNL(劳伦斯伯克利国家实验室)

Tobias Kreiman, Aditi S. Krishnapriyan

AI总结:

针对机器学习力场(MLFFs)在训练分布外的泛化挑战,本文通过诊断实验揭示了分布偏移导致的过拟合问题,并提出两种低成本、无需参考标签的测试时优化策略,显著降低了分布外系统的误差,为评估下一代MLFFs泛化能力建立了基准。

摘要:

机器学习力场(MLFFs)是昂贵的从头算量子力学分子模拟的一种有前景的替代方案。鉴于感兴趣的化学空间具有多样性以及生成新数据的成本,理解MLFFs如何在其训练分布之外进行泛化非常重要。为了表征和更好地理解MLFFs中的分布偏移,我们在化学数据集上进行了诊断实验,揭示了常见的偏移,这些偏移构成了重大挑战,即使对于在广泛数据上训练的大型基础模型也是如此。基于这些观察,我们假设当前的监督训练方法对MLFFs的正则化不足,导致过拟合并学习到分布外系统的较差表示。然后,我们提出了两种新方法,作为缓解MLFFs分布偏移的初步步骤。我们的方法专注于测试时优化策略,该策略产生最小的计算成本,并且不使用昂贵的从头算参考标签。第一种策略基于谱图理论,修改测试图的边以与训练期间看到的图结构对齐。我们的第二种策略通过使用辅助目标(例如廉价的物理先验)采取梯度步骤,在测试时改进分布外系统的表示。我们的测试时优化策略显著降低了分布外系统的误差,表明MLFFs有能力并且可以朝着建模多样化化学空间的方向发展,但并未被有效地训练以这样做。我们的实验为评估下一代MLFFs的泛化能力建立了明确的基准。我们的代码可在https://tkreiman.github.io/projects/mlff_distribution_shifts/获取。

英文摘要:

Machine Learning Force Fields (MLFFs) are a promising alternative to expensive ab initio quantum mechanical molecular simulations. Given the diversity of chemical spaces that are of interest and the cost of generating new data, it is important to understand how MLFFs generalize beyond their training distributions. In order to characterize and better understand distribution shifts in MLFFs, we conduct diagnostic experiments on chemical datasets, revealing common shifts that pose significant challenges, even for large foundation models trained on extensive data. Based on these observations, we hypothesize that current supervised training methods inadequately regularize MLFFs, resulting in overfitting and learning poor representations of out-of-distribution systems. We then propose two new methods as initial steps for mitigating distribution shifts for MLFFs. Our methods focus on test-time refinement strategies that incur minimal computational cost and do not use expensive ab initio reference labels. The first strategy, based on spectral graph theory, modifies the edges of test graphs to align with graph structures seen during training. Our second strategy improves representations for out-of-distribution systems at test-time by taking gradient steps using an auxiliary objective, such as a cheap physical prior. Our test-time refinement strategies significantly reduce errors on out-of-distribution systems, suggesting that MLFFs are capable of and can move towards modeling diverse chemical spaces, but are not being effectively trained to do so. Our experiments establish clear benchmarks for evaluating the generalization capabilities of the next generation of MLFFs. Our code is available at https://tkreiman.github.io/projects/mlff_distribution_shifts/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑