Manuscript Offprint

arXiv:2610.02013

BranchIP: Learning Adaptive Equivariant Computation for Interatomic Potentials

Laura Zichi, Gil Harari, Chuin Wei Tan, Marc L. Descoteaux, Albert Zhu, Menghang Wang, Yoel Zimmermann, H. T. Kung, Boris Kozinsky

ABSTRACT

Equivariant machine learning interatomic potentials (MLIPs) have revolutionized atomistic modeling, but accurate treatment of complex materials and molecular systems demands expensive models. This limits simulation length- and time-scales, with tensor products a key computational bottleneck. The recent emergence of foundation-scale MLIPs further exacerbates this challenge. We present Branch Interatomic Potential (BranchIP), a single-model framework for learned adaptive tensor product computation, trained with a novel distillation loss. In our experiments on two systems of physical interest, a heterogeneous catalysis system and a proton-conducting solid acid electrolyte, BranchIP accelerates MLIPs across model sizes by up to 2.4×2.4\times while reducing memory usage by up to 2.6×2.6\times. This is achieved while maintaining physical fidelity. Furthermore, the learned adaptive computation provides model interpretability by revealing which interactions demand deeper computation and showing how computational depth relates to chemical complexity and dynamics.

1 INTRODUCTION

Machine learning interatomic potentials (MLIPs) enable near first-principles modeling of diverse materials and molecules ranging from heterogeneous catalysts to biomolecular systems (Behler & Parrinello, 2007; Batzner et al., 2022; Batatia et al., 2022; Owen et al., 2024; Kozinsky et al., 2023). Practical applications, such as molecular dynamics (MD) simulations, require repeated evaluations of MLIPs, demanding both high predictive accuracy and fast inference (Frenkel & Smit, 1996). Like vision and language models, MLIPs benefit from deep neural network (NN) architectures that progressively refine feature representations through successive nonlinear layers. The resulting deep MLIPs are largely considered black boxes and their interpretability remains an open challenge (Kalita et al., 2025; Zhang et al., 2025; Creed et al., 2026).

The major breakthroughs in language and vision models from scaling dataset and model sizes (Kaplan et al., 2020; Hoffmann et al., 2022; Zhai et al., 2022) recently motivated analogous efforts for MLIPs, resulting in pretrained foundation models (FMs) that generalize across diverse chemistry domains (Chen & Ong, 2022; Park et al., 2024; Wood et al., 2026; Batatia et al., 2025; Kavanagh et al., 2026). However,

Figure

Figure 1: Overview of BranchIP. Routers placed before model layers terminate sufficiently refined features to reduce computation. Features represent local atomic interactions.

computational cost hinders the practical use of large-scale MLIPs. The dominant bottleneck is the tensor product (TP), an operation which combines features from neighboring atoms to build the many-body geometric information essential for high accuracy. Most acceleration efforts reduce the cost of individual TPs through efficient formulations or optimized implementations (Passaro & Zitnick, 2023; Luo et al., 2024; Lee et al., 2025; Bharadwaj et al., 2025). Recently, dynamic cutoffs have reduced the number of TPs by adapting the interaction graph (Han et al., 2026). This aligns with broader efforts in adaptive inference that combine potentials of different cost or fidelity (Birks et al., 2026; Wood et al., 2026; Immel et al., 2025). These methods exploit the heterogeneous chemical complexity of realistic atomistic systems; only a subset of atomic environments requires deeper and more expensive architectures for accurate modeling. Existing approaches typically train and evaluate several independent models, resulting in expensive and complex training schemes with exorbitant parameter counts. Furthermore, assigning atomic environments to different models relies on hand-crafted descriptors that require prior knowledge of system dynamics—the very dynamics atomistic modeling often seeks to discover.

To address these limitations, we introduce Branch Interatomic Potentials (BranchIPs), a single-model, learned adaptive computation framework for equivariant MLIPs inspired by early exits in deep NNs (Teerapittayanon et al., 2016) (Figure 1). As in classification, where early exits were first introduced, some inputs can be handled by shallower networks, while others require the full depth. Rather than applying the TP to every feature at every layer, BranchIP removes features from subsequent TPs once further refinement no longer improves accuracy. The routing patterns reveal the TP refinement, usually representative of the body-order of model representations, required for various atomic environments. This improves the interpretability of the hidden model layers.

We implement BranchIP in the state-of-the-art equivariant MLIP Allegro (Musaelian et al., 2023; Tan et al., 2026), termed Branchlegro. We demonstrate Branchlegro on two systems: a heterogeneous catalysis system comprising platinum surfaces with gaseous and adsorbed carbon monoxide (CO/Pt) (Owen et al., 2024) and proton transport in the superprotonic solid acid electrolyte CsH2PO4CsH_{2}PO_{4} (CDP), a system without an obvious chemically motivated spatial partition (Wang et al., 2025). For both systems, deriving chemical insight requires MD simulations over large length- and time-scales to sufficiently sample rare events, making computational efficiency essential.

Our main contributions are:

  1. We develop a single-model framework for feature-level adaptive TP computation in MLIPs.

  2. We introduce a fully learned dynamic router, trained with a novel distillation objective, that smoothly routes features through TP computation obeying exact energy conservation.

  3. We implement the method in Allegro and prove it retains a twice continuously differentiable potential energy surface (PES) as well as equivariance.

  4. We demonstrate the method on bespoke and foundation MLIPs for CO/Pt and CDP systems, accelerating inference and reducing memory usage with limited degradation in accuracy.

  5. The learned routing provides model interpretability, revealing which interactions require deeper equivariant computation and how this varies with chemistry and dynamics.

References (79)