Manuscript Offprint

arXiv:2610.35164

Accelerating SO(2)-Equivariant Materials Models through Low-Precision Emulation

Denghui Lu, Alexander Maeder, Alexandros Nikolaos Ziogas, Mathieu Luisier, Manasa Kaniselvan

ABSTRACT

Rotationally equivariant architectures improve the physical fidelity of machine-learned (ML) universal materials models based on graph neural networks (GNNs). However, their scalability is limited by the use of non-trivial, high-precision tensor operations during both training and inference. Adopting the reduced-precision formats of matrix multiplication units (MMUs), e.g., FP8 instead of FP32, provides massive increases in throughput, up to 30×30\times ( 60×60\times) on NVIDIA Hopper (Blackwell) GPUs, but may lead to drastic loss of accuracy. Here, we introduce tailored ‘emulated’ low-precision operations under the integer Ozaki scheme to accelerate the ‘SO(2)-equivariant’ processing layers of GNNs, which dominate the runtime of (1) many state-of-the-art ML interatomic potentials (MLIPs) and (2) most universal ML Hamiltonian (MLH) models. Our framework, FlashSO(2), outperforms TF32, the most accurate native low-precision MMU format, in throughput, accuracy, and memory footprint at once. At the SO(2) layer level, it reaches 40×40\times ( 7×7\times) the throughput of MALOQ’s (UMA’s) reference implementation, an MLH (MLIP) model, sustaining up to 236 (232) effective Tflop/s on an NVIDIA GH200, 3.5×3.5\times the FP32 peak. At the model level, FlashSO(2) helps train MALOQ 3.9×3.9\times faster than its pure-FP32 version while reducing peak memory by 58% at no loss in accuracy. In molecular dynamics simulations with UMA, the speedup factor is 3.3×3.3\times, and the peak memory is reduced by 51%. FlashSO(2) thus pushes the speed-accuracy Pareto frontier of equivariant materials models beyond the native low-precision formats and substantially lowers the resources required to exploit their scaling laws.

1 INTRODUCTION

Universal machine-learned (ML) models based on graph neural networks (GNNs) are revolutionizing computational materials science by bringing ab initio calculations of key properties such as energies, forces, or electronic structures to previously unfeasible atomic scales and elemental diversity. Beyond the standard ML interatomic potentials (MLIPs) (Wood et al., 2025; Fu et al., 2025; Batatia et al., 2022; Mazitov et al., 2025), which drive molecular dynamics (MD) engines, the underlying architectures have been adapted to effectively learn higher-rank matrix-valued properties including Hamiltonians (Kaniselvan et al., 2025; Li et al., 2025, 2026b; Kim et al., 2025; Zhong et al., 2023) and Hessians (Burger et al., 2025). Improvements in representation (Geiger & Smidt, 2022) and engineering of inductive biases (Batzner et al., 2022) have played a pivotal role in bringing ML materials models close to a suitable accuracy, at the level of density-functional theory (DFT), for downstream scientific applications across different fields.

Progress in universal materials models is now increasingly driven by aggressive scaling across both data volume and model capacity. Today’s largest atomic structure datasets consist of on the order of 100M structures (Fig. 1(a)). For a given set of structures, going from their simple scalar (energies) to their vector (forces) properties, up to high-rank operators (Hamiltonians, density matrices), increases the volume of training data available by several orders of magnitude. MLIP and ML Hamiltonian (MLH) prediction models are currently at typical scales of 110M parameters (Fig. 1(b)), and scaling laws indicate that their performance will continue to enhance with further increases in model size.

(a) Datasets: Size vs. Time

Figure

(b) Models: Size vs. Time

Figure 1: Historical trends in ML materials models and data scaling. (a) Training datasets by release year and size on disk. (b) MLIP (blue) and MLH (pink) models by release year and parameter count.

(Wood et al., 2025). Improvement along these axes thus presents the most direct avenue to further push their capabilities.

Increasing the number of learnable parameters and training on terabytes of DFT datasets pose significant computational challenges that can be addressed at the theory, algorithm, and/or hardware level. Initially, the scalability of the ML architectures was tackled through mathematical simplification of their tensor operations. Passaro & Zitnick (2023) introduced a rotationally-equivariant layer, analogous to full Clebsch–Gordan Tensor Products (CGTPs) (Geiger & Smidt, 2022). By reducing the computational complexity from O(lmax6)O(l_{max}^6) to O(lmax3)O(l_{max}^3), this innovation enabled scaling to higher maximum spherical degree ( lmaxl_{max}) and to a larger number of learnable parameters. These ‘SO(2)-equivariant layers’ were adopted in several MLIPs such as eSEN (Fu et al., 2025), EquiformerV2 (Liao et al., 2023), UMA (Wood et al., 2025), and DPA4 (Li et al., 2026a). The ability to process higher spherical embedding ranks also unlocks efficient treatment of material properties involving larger lmaxl_{max}, e.g., electronic structures. SO(2) layers thus currently power nearly all scalable MLH models, for example DeepH-pack (Li et al., 2026b), WANet (Li et al., 2025), HELM (Kaniselvan et al., 2025), and MALOQ (Kaniselvan et al., 2026).

SO(2) layers are typically executed in FP32 precision. Despite their reduced arithmetic complexity compared to CGTPs, they still account for more than 80% of each inference step (Fig. 6(a)), leaving the hardware level as the primary remaining lever to further improve scalability. On the other hand, mainstream machine learning and large language models (LLMs) rely on lower-precision operations, e.g., FP16, BF16, or FP8 (Jacob et al., 2017; Micikevicius et al., 2017), performed on matrix multiplication units (MMUs), e.g., tensor or matrix cores. On NVIDIA Hopper GPUs, these MMUs offer 7× (TF32) to 30× (FP8) the peak throughput of general-purpose FP32 units. LLMs can exploit them because their linear and attention layers tolerate the rounding errors of reduced precision (Micikevicius et al., 2022; DeepSeek-AI, 2024; Shah et al., 2024). Symmetry-constrained GNNs lack this robustness. Although some MLIP and MLH models pretrain in BF16 to save compute time, low precision formats remain unsuitable for fine-tuning and inference as they introduce random error under rotations. Notably, BF16 alone degrades UMA's accuracy by 20% to 50% (Wood et al., 2025). Symmetry-constrained ML materials models, therefore, spend most of their compute time in FP32 or even FP64 general-purpose units, and leave the MMUs idle.

Here, we address this gap through custom precision emulation, notably the Ozaki scheme (Ozaki et al., 2012), which reconstructs high-precision matrix products from exact low-precision ‘slice’ products. Specifically, we introduce FlashSO(2), a software-hardware co-designed implementation of the SO(2) layer with the integer Ozaki emulation (Ootomo et al., 2024), where the slice count obeys equivariant constraints, the scaling follows expected tensor value distributions, while slicing and reconstruction are fused with the surrounding kernels. As a result, the SO(2) layer can run on INT8 MMUs within a 10−410^{-4} equivariance tolerance, and FlashSO(2) simultaneously demonstrates better accuracy, higher throughput, and a smaller memory footprint than the native TF32 format. At the level of the SO(2) layer, it reaches 40×40\times the throughput of the reference implementation in the MALOQ MLH architecture ( lmax=8l_{max}=8) and 7×7\times in the UMA-Large (UMA-L) MLIP ( lmax=6l_{max}=6), sustaining 236 and 232 effective Tflop/s on an NVIDIA GH200 superchip, 3.5×3.5\times the FP32 peak. As the layer dominates each step, MALOQ trains 3.9×3.9\times faster end-to-end than FP32 at 58% lower peak memory. UMA-Medium (UMA-M) runs training (inference) steps 2.6×2.6\times ( 3.3×3.3\times) faster, at 41% (51%) lower peak memory. A memory-lean mode called ‘MiniMem’ further cuts peak memory by 81% and extends single-GPU inference from 5.3k atoms (85.2k edges) in FP32 to 25.6k (410k edges), all while accelerating training by 1.9×1.9\times compared to FP32.

References (33)