超越Adam:在原子基础模型微调中解耦优化器影响
Beyond Adam: Disentangling Optimizer Effects in the Fine-Tuning of Atomistic Foundation Models
AI总结:
本研究评估了七种优化器在原子基础模型微调中的性能,发现AdamW和ScheduleFree在曲率条件和力准确性方面表现最佳,同时证明二次优化可提升物理性质的保真度。
摘要:
原子基础模型通过提供具有广泛化学空间转移能力的通用机器学习互原子势,标志着计算材料科学的一个范式转变。尽管微调对于将这些预训练模型适应到特定目标系统至关重要,但优化算法对这一过程的影响仍然不够明确。在本工作中,我们对七种一阶优化器(包括Adam、AdamW、RAdam、SGD、LAMB、Ranger和ScheduleFree)进行了严格基准测试,以在分子、晶体和液体体系中微调基础模型。我们根据能量和力的准确性(包括分布内和分布外配置)以及对下游物理性质(如弹性模量、声子谱和界面动力学)的影响来评估这些算法。我们通过一种预条件框架来解释这些经验结果,该框架将每个优化器视为数据依赖的梯度线性变换。这种分析阐明了不同更新规则如何对有效损失Hessian施加特定的谱滤波器。在所有体系中,AdamW和ScheduleFree在曲率条件和力准确性方面表现优异,而随机梯度下降则表现出收敛缓慢和不稳定。此外,我们证明了一个短暂的二次优化阶段可以减少损失景观中的残余各向异性,并提高物理可观测量的保真度,而无需增加推理成本。这些发现为选择和设计优化器提供了概念洞察和实用指导,以确保通用互原子势的稳定和高效微调。
英文摘要:
Atomistic foundation models constitute a paradigm shift in computational materials science by providing universal machine-learned interatomic potentials with broad transferability across chemical spaces. Although fine-tuning is essential for adapting these pretrained models to specific target systems, the influence of the optimization algorithm on this process remains insufficiently characterized. In this work, we perform a rigorous benchmark of seven first-order optimizers, including Adam, AdamW, RAdam, SGD, LAMB, Ranger, and ScheduleFree, for the fine-tuning of foundation models across molecular, crystalline, and liquid regimes. We evaluate these algorithms based on energy and force accuracy for both in-distribution and out-of-distribution configurations, as well as their impact on downstream physical properties such as elastic moduli, phonon spectra, and interfacial dynamics. We interpret these empirical results through a preconditioning framework that views each optimizer as a data-dependent linear transformation of the gradient. This analysis clarifies how different update rules impose specific spectral filters on the effective loss Hessian. Across all regimes, AdamW and ScheduleFree achieve superior curvature conditioning and force accuracy, whereas stochastic gradient descent exhibits slow convergence and instability. Furthermore, we demonstrate that a brief second-order refinement stage reduces residual anisotropy in the loss landscape and enhances the fidelity of physical observables without increasing inference costs. These findings provide conceptual insight and practical guidance for selecting and designing optimizers to ensure the stable and efficient fine-tuning of universal interatomic potentials.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。