Smooth Dynamic Cutoffs for Machine Learning Interatomic Potentials
Kevin Han, Haolin Cong, Bowen Deng, Amir Barati Farimani
TL;DR
This work introduces a smooth dynamic cutoff for MLIPs that per-atomizes the neighborhood radius to target a desired average neighbor count $\mu$ within a hard cutoff $h$, thereby inducing graph sparsity while preserving the second-order differentiability required for stable molecular dynamics. The authors formulate a ranking-based neighbor selection with a Gaussian weight and a stable, differentiable cutoff $c_v$, and demonstrate stability across long MD runs. Implemented on four state-of-the-art models (MACE, Nequip, OrbV3, TensorNet) and evaluated on molecular (MD22) and materials (MatPES) datasets, the approach achieves up to $2.26\times$ memory savings and $2.04\times$ faster inference with only minor accuracy degradation. The method robustly handles density changes, offers clearer stability advantages over reducing fixed cutoffs, and can be combined with other acceleration strategies for even larger-scale simulations; all code is open-sourced. This scalable, differentiable sparsification enables MLIP-driven MD to tackle substantially larger systems in practical timeframes.
Abstract
Machine learning interatomic potentials (MLIPs) have proven to be wildly useful for molecular dynamics simulations, powering countless drug and materials discovery applications. However, MLIPs face two primary bottlenecks preventing them from reaching realistic simulation scales: inference time and memory consumption. In this work, we address both issues by challenging the long-held belief that the cutoff radius for the MLIP must be held to a fixed, constant value. For the first time, we introduce a dynamic cutoff formulation that still leads to stable, long timescale molecular dynamics simulation. In introducing the dynamic cutoff, we are able to induce sparsity onto the underlying atom graph by targeting a specific number of neighbors per atom, significantly reducing both memory consumption and inference time. We show the effectiveness of a dynamic cutoff by implementing it onto 4 state of the art MLIPs: MACE, Nequip, Orbv3, and TensorNet, leading to 2.26x less memory consumption and 2.04x faster inference time, depending on the model and atomic system. We also perform an extensive error analysis and find that the dynamic cutoff models exhibit minimal accuracy dropoff compared to their fixed cutoff counterparts on both materials and molecular datasets. All model implementations and training code will be fully open sourced.
