Beyond Numerical Hessians: Higher-Order Derivatives for Machine Learning Interatomic Potentials via Automatic Differentiation

The development of machine learning interatomic potentials (MLIPs) has revolutionized computational chemistry by enhancing the accuracy of empirical force fields while retaining a large computational speed-up compared to first-principles calculations. Despite these advancements, the calculation of Hessian matrices for large systems remains challenging, in particular because analytical second-order derivatives are often not implemented. This necessitates the use of computationally expensive finite-difference methods, which can furthermore display low precision in some cases. Automatic differentiation (AD) offers a promising alternative to reduce this computational effort and makes the calculation of Hessian matrices more efficient and accurate. Here, we present the implementation of AD-based second-order derivatives for the popular MACE equivariant graph neural network architecture. The benefits of this method are showcased via a high-throughput prediction of heat capacities of porous materials with the MACE-MP-0 foundation model. This is essential for precisely describing gas adsorption in these systems and was previously possible only with bespoke ML models or expensive first-principles calculations. We find that the availability of foundation models and accurate analytical Hessian matrices offers comparable accuracy to bespoke ML models in a zero-shot manner and additionally allows for the investigation of finite-size and rounding errors in the first-principles data.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Theory and Computation
Published
2025-04-25
DOI
https://doi.org/10.1021/acs.jctc.4c01790
Citations
3
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
1.55
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Beyond Numerical Hessians: Higher-Order Derivatives for Machine Learning Interatomic Potentials via Automatic Differentiation

Karsten Reuter, Johannes T. Margraf, Nils Gönnheimer
3 citations
Journal of Chemical Theory and Computation
Machine Learning in Materials Science
1.55
article

Beyond Numerical Hessians: Higher-Order Derivatives for Machine Learning Interatomic Potentials via Automatic Differentiation

Karsten Reuter, Johannes T. Margraf, Nils Gönnheimer
article en
3 citations

Abstract

The development of machine learning interatomic potentials (MLIPs) has revolutionized computational chemistry by enhancing the accuracy of empirical force fields while retaining a large computational speed-up compared to first-principles calculations. Despite these advancements, the calculation of Hessian matrices for large systems remains challenging, in particular because analytical second-order derivatives are often not implemented. This necessitates the use of computationally expensive finite-difference methods, which can furthermore display low precision in some cases. Automatic differentiation (AD) offers a promising alternative to reduce this computational effort and makes the calculation of Hessian matrices more efficient and accurate. Here, we present the implementation of AD-based second-order derivatives for the popular MACE equivariant graph neural network architecture. The benefits of this method are showcased via a high-throughput prediction of heat capacities of porous materials with the MACE-MP-0 foundation model. This is essential for precisely describing gas adsorption in these systems and was previously possible only with bespoke ML models or expensive first-principles calculations. We find that the availability of foundation models and accurate analytical Hessian matrices offers comparable accuracy to bespoke ML models in a zero-shot manner and additionally allows for the investigation of finite-size and rounding errors in the first-principles data.

Journal of Chemical Theory and ComputationVol. 21(9)
Fritz Haber Institute of the Max Planck Society (DE), University of Bayreuth (DE)
Openalex Percentile: Top 18%
Machine Learning in Materials Science
1.55
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.