Equivariant Spherical Transformer for Efficient Molecular Modeling

Junyi An, Xinyu Lu, Yun-Fei Shi, Peijia Lin, Qianwei Tang, Li-Cheng Xu, Chao Qu, Fenglei Cao, Yuan Qi · Submission to ICLR 2026 · Rejected

TL;DR

The Equivariant Spherical Transformer (EST) breaks through the expressiveness ceiling of standard equivariant molecular neural networks by shifting operations from rigid Clebsch-Gordan tensor products to the spherical spatial Fourier domain. By combining attention across orientations on the sphere with an approximately uniform Fibonacci lattice sampling strategy and hybrid Mixture-of-Experts, EST delivers higher expressiveness and state-of-the-art accuracy on molecular benchmarks while maintaining computational efficiency and near-perfect $\mathrm{SE}(3)$-equivariance.

What Problem Does This Paper Address?

In computational chemistry and drug discovery, 3D molecular structures must obey strict physical symmetries: molecular energy is invariant to 3D rotation and translation ($\mathrm{SE}(3)$ invariance), while atomic forces rotate with the molecule ($\mathrm{SE}(3)$ equivariance).

State-of-the-art equivariant graph neural networks (GNNs) typically enforce this symmetry using spherical harmonics and Clebsch-Gordan (CG) tensor products. However, CG tensor products have major bottlenecks:

  1. Limited Non-Linearity: Tensor products are bilinear operations, and non-linear activations cannot be applied directly across higher-degree representations without breaking equivariance.
  2. Degree Bottlenecks: A network restricted to maximum harmonic degree $L$ mathematically cannot distinguish certain $n$-fold symmetric geometric configurations when $n > L$.
  3. High Complexity: Stacking high-degree tensor products scales as $\mathcal{O}(L^6)$, making deeper models computationally prohibitive.

Previous methods attempted to map representations to the spatial sphere via spherical Fourier transforms, but they only used point-wise neural networks that treated each orientation independently—avoiding cross-orientation interactions because non-linear mixing across arbitrary sampling points threatens rotational equivariance.

Methods

EST turns the spherical spatial domain into a sequence-to-sequence learning problem using a plug-and-play Transformer module:

  • Spherical Attention Across Orientations: Steerable feature vectors are projected via a truncated spherical Fourier transform (FT) onto $S$ points on the unit sphere. EST flattens these sampled points into a sequence and runs multi-head attention across all orientation pairs, allowing implicit degree mixing.
  • Fibonacci Lattice (FL) Sampling & Dynamics Optimization: Because strict continuous equivariance requires rotational closure ($\mathbf{R}\vec{p}_i \in \mathcal{P}$ for any $\mathbf{R} \in \mathrm{SO}(3)$), finite sampling grids risk breaking equivariance. Conventional latitude-longitude grids (e.g., in e3nn) create severe pole clustering. EST uses a Fibonacci lattice refined by simulated inter-point repulsive forces to ensure near-uniform spatial distribution.
  • Relative Orientation Embeddings: To prevent permutation collapse across orientations while preserving $\mathrm{SO}(3)$-equivariance, the query and key vectors are concatenated with their orientation vectors $\vec{p}$, introducing an invariant inner product term $\vec{p}_i^T \vec{p}_j$.
  • Hybrid Mixture of Experts (MoE): The feedforward layers combine steerable experts (acting strictly degree-wise in harmonic space for guaranteed equivariance) and spherical experts (acting point-wise in spatial space for non-linear capacity), gated dynamically by the invariant ($l=0$) representation.

Datasets

The authors evaluated EST on existing standard molecular benchmarks (no new datasets were introduced):

  • OC20 (Open Catalyst 2020): Evaluated on S2EF (Structure to Energy and Forces) and IS2RE (Initial Structure to Relaxed Energy), testing scaling on over 130 million surface-adsorbate structures.
  • QM9: 134k small equilibrium organic molecules evaluated across 12 quantum chemical properties.
  • Mptrj: Materials Project molecular dynamics trajectories predicting energies, forces, and stresses.
  • Synthetic $n$-fold Symmetry Dataset: A diagnostic benchmark to evaluate mathematical expressiveness in distinguishing rotated geometric configurations.

Key Insights and Ideas

  • Spatial attention subsumes tensor products: Mathematically, the product of two spherical harmonics expands directly into Clebsch-Gordan combinations. By allowing attention across spherical points, EST approximates and surpasses the representational capacity of CG tensor products without being bound to degree $L$.
  • Sampling uniformity directly dictates equivariance: Rotational equivariance errors in spatial representations do not stem from non-linearities per se, but from anisotropic sampling grids. Fibonacci sampling drops untrained equivariance error from $\sim 10^{-1}$ (in e3nn) down to $\sim 10^{-4}$.
  • Plug-and-play update modules: Instead of replacing the entire architecture, plugging EST specifically into the node update block allows models to leverage stable, established message passing while giving the aggregated features significantly richer non-linear capacity.

Key Results

  • OC20 S2EF: An 8-layer model incorporating EST update blocks (45M parameters) matched or outperformed a massive 20-layer EquiformerV2 (153M parameters) and EScAIP-Small (83M parameters), achieving 229 meV energy MAE and 15.0 meV/Å force MAE.
  • OC20 IS2RE: A compact 6-layer EST model (32.5M parameters) achieved state-of-the-art performance on In-Domain, Out-of-Domain Catalysts, and OOD-Both splits, rivaling the 16-layer SCN (>100M parameters).
  • Expressiveness Proof: On synthetic $n$-fold symmetric structures, standard tensor product models fail when $n > L$. A degree-1 ($L=1$) EST successfully distinguished symmetries up to 100-fold.
  • QM9 & Mptrj: Plugging EST into Equiformer improved predictions across 11 of 12 properties on QM9 with only a $\sim 21\%$ latency increase. On Mptrj, EquiformerV2-S + EST surpassed the larger EquiformerV2-L + DeNS baseline on forces (28.87 vs. 30.48 meV/Å) and stress.

Limitations and Future Work

  • Approximate vs. Exact Equivariance: Because continuous spheres cannot be finitely discretized with full $\mathrm{SO}(3)$ closure, EST is approximately equivariant (residual errors around $10^{-5}$ after training), rather than strictly equivariant by construction.
  • Error Accumulation on Small Datasets: On smaller benchmarks like QM9, where models are sensitive to label noise and overfitting, stacking many spatial attention layers can accumulate discrete sampling errors.
  • Future Directions: Developing advanced spherical sampling schemes with provably higher rotational symmetry to further minimize discrete equivariance loss.

Summary updated

BibTeX
@inproceedings{an2026equivariant,
  author = {Junyi An and Xinyu Lu and Yun-Fei Shi and Peijia Lin and Qianwei Tang and Li-Cheng Xu and Chao Qu and Fenglei Cao and Yuan Qi},
  title = {{Equivariant Spherical Transformer for Efficient Molecular Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5i7KqZASE3},
}
Figure