MARA: Continuous SE(3)-Equivariant Attention for Molecular Force Fields
Francesco Leonardi, Boris Bonev, Kaspar Riesen
TL;DR
MARA introduces a continuous spherical attention module that operates on angular and radial coordinates to approximate SE(3)-equivariance in molecular force fields. The module is pluggable into existing SE(3)-equivariant backbones (e.g., MACE) and uses a discretized attention-on-sphere mechanism with a radial scalar field to weight local environments by both direction and distance. Across benchmarks, MARA improves energy and force predictions and reduces tail-risk, while ablations show its effectiveness across angular resolutions and grid densities, complemented by interpretable attention maps. The approach enhances expressiveness, stability, and reliability of atomistic models and offers a flexible framework for integrating continuous geometric attention into SE(3)-equivariant MLFFs with modest computational overhead.
Abstract
Machine learning force fields (MLFFs) have become essential for accurate and efficient atomistic modeling. Despite their high accuracy, most existing approaches rely on fixed angular expansions, limiting flexibility in weighting local geometric interactions. We introduce Modular Angular-Radial Attention (MARA), a module that extends spherical attention -- originally developed for SO(3) tasks -- to the molecular domain and SE(3), providing an efficient approximation of equivariant interactions. MARA operates directly on the angular and radial coordinates of neighboring atoms, enabling flexible, geometrically informed, and modular weighting of local environments. Unlike existing attention mechanisms in SE(3)-equivariant architectures, MARA can be integrated in a plug-and-play manner into models such as MACE without architectural modifications. Across molecular benchmarks, MARA improves energy and force predictions, reduces high-error events, and enhances robustness. These results demonstrate that continuous spherical attention is an effective and generalizable geometric operator that increases the expressiveness, stability, and reliability of atomistic models.
