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

Denghui Lu, Alexander Maeder, Alexandros Nikolaos Ziogas, Mathieu Luisier, Manasa KaniselvanarXiv 2026

This paper presents FlashSO(2), a framework designed to solve a major bottleneck in computational materials science: the high cost of maintaining physical "equivariance" in machine learning models. By using a clever mathematical trick called integer emulation, the authors allow these models to run on lightning-fast integer hardware without sacrificing the precision required for scientific accuracy.

TL;DR

FlashSO(2) uses integer emulation (the Ozaki scheme) to accelerate rotationally equivariant materials models on modern GPUs, achieving up to 40x throughput gains at the layer level. It enables training nearly 4x faster and reduces memory usage by up to 81%, allowing researchers to simulate significantly larger atomic systems than previously possible.

What Problem Does This Paper Address?

In materials science, models like Interatomic Potentials (MLIPs) and Machine-Learned Hamiltonians (MLHs) must be equivariant. This means if you rotate a molecule, the model’s predictions (like forces or electronic structures) must rotate accordingly.

To achieve this, researchers use SO(2)-equivariant layers. However, these layers are computationally expensive and typically require high-precision (FP32) math. While modern GPUs have specialized Matrix Multiplication Units (MMUs) that are incredibly fast for low-precision formats (like FP8 or INT8), using these "native" low-precision formats usually breaks equivariance, leading to physical errors that make the models useless for fine-grained scientific discovery. As a result, these models have been stuck in the "slow lane" of FP32 hardware.

Methods

The authors introduce FlashSO(2), which bridges the gap between high-precision needs and low-precision hardware through three main innovations:

  1. Integer Ozaki Emulation: Instead of rounding numbers to a lower precision, the Ozaki scheme splits a high-precision (FP32) number into multiple low-precision (INT8) "slices." These slices are multiplied on fast integer hardware and then reassembled. This allows the model to achieve near-FP32 accuracy while using the GPU's fastest units.
  2. Block Scaling: The activations in these models can vary by orders of magnitude. Standard emulation uses one scale per row, which can "drown out" small but important values. FlashSO(2) uses block scaling (applying scales to small groups of 128 entries), which preserves precision across a wider dynamic range.
  3. Kernel Fusion: The authors co-designed the software to "fuse" multiple operations—rotations, convolutions, and activations—into single GPU kernels. This minimizes the time spent moving data between the GPU's memory and its processors.
The Ozaki scheme splits FP32 matrices into INT8 slices to be processed by fast integer hardware.

Datasets

The authors evaluated FlashSO(2) using several prominent benchmarks:

  • $\nabla^2$DFT (nablaDFT-2K subset): Used to train and evaluate the MALOQ Hamiltonian model.
  • fcc-Cu supercells: Used for benchmarking molecular dynamics (MD) inference speeds with the UMA-Medium model.
  • OMol_CSH_58k / OMol25: Referenced as the target for scaling to larger, more complex electronic structure datasets.

Key Insights and Ideas

  • Equivariance is Fragile: The authors demonstrate that even "high-end" low-precision formats like TF32 fail to maintain the required equivariance tolerance ($10^{-4}$). Emulation is the only way to get the speed of low precision with the reliability of high precision.
  • Memory is the Real Bottleneck: Beyond raw speed, the memory required to store activations for large atomic graphs is a massive hurdle. By storing data as INT8 slices, FlashSO(2) effectively doubles or triples the size of the system a single GPU can handle.
  • The "MiniMem" Mode: The authors implemented a custom activation checkpointing mode that recomputes parts of the model during the backward pass. This trades a bit of speed for a massive (81%) reduction in peak memory.
Equivariance analysis shows that Emu2 (2-slice emulation) stays within the required tolerance (dashed ring), while native formats like BF16 and TF32 fail.

Key Results

  • Throughput: At the individual layer level, FlashSO(2) reached 40x the throughput of the reference implementation for Hamiltonian models and 7x for interatomic potentials.
  • Training Speed: The MALOQ model trained 3.9x faster than the FP32 version while using 58% less memory.
  • Inference & MD: For molecular dynamics simulations, the UMA-M model ran 3.3x faster.
  • Scaling Up: Using the "MiniMem" mode, the authors performed inference on a system with 25,600 atoms (410,000 edges) on a single GPU. The standard FP32 implementation crashed due to memory exhaustion at only 5,300 atoms.
Training and memory benchmarks show FlashSO(2) (Emu2) consistently outperforming FP32 across different input sizes.

Limitations and Future Work

  • Architecture Specificity: This work specifically targets SO(2)-equivariant layers. While these are increasingly popular, older "SO(3)" architectures (like MACE or NequIP) rely on sparse tensor contractions that are not yet covered by this specific emulation framework.
  • Hardware Dependency: The massive gains are most prominent on newer NVIDIA architectures (Hopper/Blackwell) that have highly optimized INT8 MMUs.
  • Future Directions: The authors suggest that the memory savings could finally allow researchers to increase the "cutoff radius" ($r_{cut}$) in models, which is essential for capturing long-range physical interactions but was previously too memory-intensive to implement.

Summary updated

BibTeX
@misc{lu2026accelerating,
  author = {Denghui Lu and Alexander Maeder and Alexandros Nikolaos Ziogas and Mathieu Luisier and Manasa Kaniselvan},
  title = {{Accelerating SO(2)-Equivariant Materials Models through Low-Precision Emulation}},
  year = {2026},
  eprint = {2610.35164},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.35164},
}
Figure