Truncated automatic sparse differentiation for machine learning interatomic potentials
Marcel F. Langer, Adrian Hill, Michele Ceriotti
Key points
From the paper's conclusion- Suggesting a solution for computing higher-order derivatives, most notably the Hessian, for machine learning interatomic potentials (MLIPs) using automatic sparse differentiation (ASD).
- Explaining how to compute the sparsity pattern for MLIP derivatives and demonstrating that, for multiple foundation MLIPs, ASD computes full Hessians of large porous materials exactly, but with modest speedups at best.
- Proposing truncated ASD, discarding small, but nonzero, Hessian entries between distant atoms, which yields order-of-magnitude speedups with negligible impact on predicted observables.
Abstract
Machine learning interatomic potentials (MLIPs) learn the mapping from atomic positions to potential energy. The forces, the negative gradient of this energy, drive molecular dynamics and are readily obtained using automatic differentiation. Higher-order derivatives, most notably the Hessian, describe collective motion and allow the direct prediction of experimental observables, but are considered computationally inaccessible for large systems. We suggest a solution: in physical systems, interactions decay with distance, and most MLIPs build on this locality through message passing up to a finite receptive field. This implies both sparsity of higher-order derivatives and their decay with distance. This structure can be exploited using automatic sparse differentiation (ASD). We explain how to compute the sparsity pattern for MLIP derivatives and demonstrate that, for multiple foundation MLIPs, ASD computes full Hessians of large porous materials exactly, but with modest speedups at best. The larger gains come from truncated ASD: discarding small, but nonzero, Hessian entries between distant atoms yields order-of-magnitude speedups with negligible impact on predicted observables.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Suggesting a solution for computing higher-order derivatives, most notably the Hessian, for machine learning interatomic potentials (MLIPs) using automatic sparse differentiation (ASD).
- Explaining how to compute the sparsity pattern for MLIP derivatives and demonstrating that, for multiple foundation MLIPs, ASD computes full Hessians of large porous materials exactly, but with modest speedups at best.
- Proposing truncated ASD, discarding small, but nonzero, Hessian entries between distant atoms, which yields order-of-magnitude speedups with negligible impact on predicted observables.
Readers' thoughts
No reader thoughts yet.
Related papers
- Efficient Machine Learning Interatomic PotentialsarXiv · 2026
- Recovering from Averages: An Inverse Problem Perspective on Machine-Learning Interatomic PotentialsarXiv · 2026
- Architecture-agnostic knowledge distillation for machine-learning interatomic potentials.Neural networks : the official journal of the International Neural Network Society · 2026
- BranchIP: Learning Adaptive Equivariant Computation for Interatomic PotentialsarXiv · 2026
- Maximizing efficiency of dataset compression for machine learning potentials with information theoryThe Journal of Chemical Physics · 2026
- Efficient and accurate spatial mixing of machine learned interatomic potentials for materials sciencenpj Computational Materials · 2026