arXiv:2610.06409cs.LGOct 2026

Manuscript Offprint

arXiv:2610.06409

FlashCart: Fast Cartesian Tensor Products for Equivariant Interatomic Potentials

Viktor Zaverkin, Payman Goodarzi, Sergey V. Sukhomlinov, Davit Hovhannisyan, Roland Aydin, Martin H. Müser, Mathias Niepert

ABSTRACT

Machine-learned interatomic potentials extend atomistic simulations beyond the length- and timescales accessible to electronic-structure methods. However, the computational cost of equivariant architectures limits the local correlations they can represent in practice and therefore their achievable accuracy. Here we introduce FlashCart, which makes higher-order correlations affordable by combining generated GPU kernels with an architecture that recursively builds equivariant features and compresses them to a fixed width at each step. We express tensor products in independent Cartesian components and symbolically simplify them and their derivatives, producing fused kernels that often outperform optimized spherical counterparts. We then show that increasing correlation order improves accuracy more efficiently than increasing width, depth, or tensor rank. On SPICE-MACE-OFF, FlashCart models advance the measured accuracy–efficiency frontier: a model with 5.6 million parameters achieves lower energy and force errors and 10×10\times faster inference than a transformer with 189 million parameters.

1 INTRODUCTION

Machine-learned interatomic potentials (MLIPs) enable molecular and materials simulations at length- and timescales inaccessible to electronic-structure methods, but their practical application depends on the cost of repeated energy and force evaluations. Equivariant models such as NequIP [1] and MACE [2] describe each atom's neighborhood using features that transform under rotations as scalars, vectors, or higher-rank tensors and are coupled through equivariant products [3–9]. These products can also be applied repeatedly to capture increasingly complex relationships among neighboring atoms, building higher-order correlations as in the atomic cluster expansion [10]. Higher orders can improve accuracy but increase evaluation cost. Methods like the Point Edge Transformer (PET) instead relax explicit rotational constraints [11], with recent models achieving state-of-the-art accuracy–efficiency tradeoffs [12, 13]. Making higher-order correlations affordable offers a complementary route to improved accuracy–efficiency tradeoffs while retaining explicit equivariance.

Higher-order correlations can be built by successively combining the same input features in different ways, called coupling paths. Retaining all these paths increases the number of intermediate features, so compressing them between successive correlation orders controls this growth [14]. The cost of individual products can also be reduced by fusing operations in GPU kernels to limit intermediate storage and memory traffic, as shown for spherical tensors [15–18]. Cartesian approaches provide an alternative to spherical tensor representations [8, 9], with Ref. 9 identifying dedicated GPU kernels as a promising direction. Such kernels can use the 2l+12l + 1 independent components of a rank-l irreducible Cartesian tensor, matching the dimension of its spherical counterpart [19]. Writing the products in these components gives polynomial expressions that can be simplified and differentiated symbolically before compilation. Further details on related work are provided in Appendix A.

Preprint. Under review.

Figure

Figure 1: Accuracy–efficiency tradeoff evaluated on SPICE-MACE-OFF. (a,c) Normalized error as a function of evaluation time and peak GPU memory, with FlashCart models on the measured accuracy–efficiency frontier. Local evaluation costs in (a,c) use a 1000-atom diamond cell. (b,d) Evaluation time and peak GPU memory per atom as a function of system size, reaching a plateau at smaller system sizes for larger FlashCart models. †\daggerAll timings use an NVIDIA RTX PRO 6000 Blackwell (96 GB), except for eSEN literature values measured on an NVIDIA A100 (80 GB) [23].

We introduce FlashCart, a symbolic Cartesian tensor framework that combines generated GPU kernels with a recursive equivariant architecture. Specifically, (i) we express tensor products and their derivatives in independent Cartesian components and automatically generate fused GPU kernels for node-local products and neighbor aggregation (Sections 3 and 4). These kernels often outperform optimized spherical counterparts in our benchmarks. (ii) We build higher-order correlations through repeated products, mixing paths and channels back to fixed width at each step (Section 5). Each additional order requires one product and one linear map, so the correlation cost grows linearly at fixed width and maximum tensor rank. (iii) On SPICE-MACE-OFF [20, 21], we show that increasing correlation order improves accuracy more efficiently than increasing width, depth, or tensor rank. The resulting FlashCart models lie on the measured accuracy–efficiency frontier (Figure 1), while results on MAD [22] support their use as competitive general-purpose interatomic potentials.

References (57)