Rotation-Invariant Vector Normalization for Molecular Force Learning

Bum Jun Kim, Hyeyun JeongNeurIPS 2026

TL;DR

If you rotate a molecule in empty space, its total energy doesn't change, and the forces acting on its atoms simply rotate right along with it. Standard neural network normalization layers break this fundamental law of physics when applied naively to 3D vectors, and existing workarounds can get terribly noisy during training. This paper introduces GroupRMS, a lightweight normalization technique that strictly obeys 3D rotational symmetry while pooling statistics across groups of channels—quieting down gradient noise and dramatically improving how neural networks learn molecular forces.

What Problem Does This Paper Address?

When simulating molecules with machine learning, neural networks typically predict a single number—the molecule's potential energy—and then take the calculus derivative of that energy with respect to atomic positions to get the 3D force vectors pushing on each atom.

To make this physically valid, architectures use equivariant neural networks, which process two types of internal features: scalars (which stay constant under 3D rotations, or $SO(3)$ invariance) and 3D vectors (which must rotate cleanly alongside the molecule, or $SO(3)$ equivariance).

Deep learning relies heavily on normalization layers (like BatchNorm or LayerNorm) to keep activations well-behaved. However, standard normalization subtracts a learned shift (mean) and divides by a coordinate-specific scale (standard deviation). If you subtract a fixed shift from a 3D vector, or stretch its $x, y,$ and $z$ components differently, you warp its direction and shatter rotational symmetry!

Standard component-wise RMS breaks rotational symmetry on real molecular forces, whereas invariant ChannelRMS stays at numerical zero.

Even if you ditch the shift and scale vectors safely using their overall lengths, estimating that scale for every individual channel is surprisingly brittle. Because force training requires differentiating through the energy gradient, it relies on second derivatives. In small-batch regimes, noisy scale estimates get amplified by these higher-order derivatives, destabilizing optimization.

Methods

First, the authors formalize a clean rule for equivariant vector normalization: skip centering altogether, compute scale statistics strictly from rotation-invariant squared vector lengths ($\|v\|_2^2$), and divide the $x$, $y$, and $z$ coordinates by the exact same scalar denominator.

While existing methods often apply this per-channel (ChannelRMS), the authors propose GroupRMS. Much like Group Normalization in computer vision, GroupRMS partitions the $C_v$ vector channels into $G$ equal groups (defaulting to 8 groups of 16 channels) and computes a single shared root-mean-square (RMS) denominator across all channels in a group—computed either per-molecule (graph-wise) or across the minibatch. Each channel still retains its own learnable scalar gain afterward.

Because scalar and vector features live side-by-side in these networks, the authors pair GroupRMS with standard scalar normalizers (like GraphNorm or GroupNorm) to create plug-and-play scalar-vector blocks (e.g., GraphNorm-GroupRMS and GroupNorm-GroupRMS), optionally blending the normalized output with the raw input via learnable residual gates.

Datasets

No new datasets are introduced; instead, the authors test their blocks across an extensive suite of established chemistry benchmarks spanning different scales and regimes:

  • MD22, MD17, and revised MD17 (rMD17): Molecular dynamics trajectories ranging from small organic molecules (aspirin, ethanol) to large supramolecular structures and peptides (up to 87+ atoms).
  • ISO17: Conformational and isomer transfer trajectories.
  • QM9: Static electronic-property prediction (evaluated under molecule-size out-of-distribution splits).
  • Open Catalyst 2020 (OC20 2M): Large-scale catalyst-adsorbate relaxations.

Key Insights and Ideas

  • Pooling channels tames second-derivative noise: Why does grouping channels help so much? By averaging squared norms across $q$ channels, GroupRMS increases the effective sample size of the scale estimator. Even accounting for correlations between learned channels, a group width of 16 cuts the RMS denominator's coefficient of variation by 73% in held-out activations, smoothing out the rugged optimization landscape caused by force backpropagation.
  • Isolating the "sharing" magic: Switching from BatchNorm to GroupNorm changes several things at once (like ditching running evaluation statistics). By locking the scalar branch and disabling gates, the authors prove that solely sharing the vector denominator across channel groups improves force accuracy in 40 out of 40 paired training runs across eight molecular systems.
  • Plug-and-play upgrades for major codebases: You don't need to rebuild models from scratch. Dropping GroupRMS directly into public implementations of MACE and PaiNN consistently boosts their accuracy while adding virtually zero parameter overhead (just 256 parameters in MACE).

Key Results

  • MD22 Core Benchmarks: On a paired three-trajectory subset using a PaiNN-lite backbone, GroupNorm-GroupRMS slashes average force Mean Absolute Error (MAE) from 0.1190 to 0.0383 eV/Å and energy MAE from 0.0675 to 0.0424 eV compared to the equivariant BatchNorm-VectorRMS baseline.
  • Catalyst Scale (OC20 2M): GraphNorm-GroupRMS lowers force MAE from 0.9120 to 0.6646 eV/Å and energy MAE from 11.4575 to 7.7454 eV.
  • Public MACE Integration: Adding GroupRMS to official MACE improves force MAE in 22 out of 24 paired runs (a 6.34% improvement over native MACE, e.g., dropping Aspirin 1k error from 1.9481 to 1.8058 kcal/mol/Å).
  • Simulation Stability & Overhead: In 300 K molecular dynamics rollouts of aspirin, GroupNorm-GroupRMS cuts unphysical energy drift by 68.5% at the cost of a modest 7.6%–8.5% increase in training and evaluation latency.

Limitations and Future Work

  • Global vs. Local Frames: The mathematical guarantees and designs here apply to global $SO(3)$ rotations acting uniformly across the whole molecule. Extending grouped vector normalization to local-frame, gauge-equivariant architectures is left for future work.
  • Batch Coupling: Variants that rely on batch-global statistics (like GroupNorm-GroupRMS) couple unrelated molecules that happen to share a minibatch during evaluation; strict independence between co-batched molecules requires sticking to the purely graph-wise variants (GraphNorm-GroupRMS).

Summary updated

Abstract

Rotating a molecule should leave its energy unchanged while rotating each force vector by the same rotation, as required in $SO(3)$-equivariant molecular learning. However, conventional normalization layers in neural networks are designed for scalar activations; when applied to vector channels through component-wise centering or scaling, they can break this symmetry. We study normalization modules for equivariant molecular networks under force supervision, where invariant scalar channels and covariant vector channels require different geometric treatment. We formalize an $SO(3)$-equivariance-preserving recipe that computes vector scale statistics from rotation-invariant squared norms and applies the resulting rescaling identically across Cartesian coordinates, which preserves $SO(3)$-equivariance without vector shifts. Building on this recipe, we introduce grouped vector RMS (GroupRMS), which shares vector RMS estimates across channel groups to reduce estimator variance and stabilize vector scaling in small-batch training. The proposed variant is lightweight and compatible with standard scalar normalization branches. We instantiate these ideas in practical scalar-vector normalization blocks for PaiNN-style backbones and evaluate them across several molecular benchmarks. On the paired three-trajectory subset, the strongest GroupRMS-family variant, GroupNorm-GroupRMS, improves average force MAE from 0.1190 to 0.0383 and average energy MAE from 0.0675 to 0.0424 relative to BatchNorm-VectorRMS. With the scalar branch fixed, GroupRMS improves its per-channel counterpart in all 40 paired runs across eight molecular systems. In public implementations, GroupRMS improves the matched ChannelRMS insertion in PaiNN and the native MACE baseline. These results support grouped scale estimation as an effective tool for robust molecular force learning.
BibTeX
@inproceedings{kim2026rotation,
  author = {Bum Jun Kim and Hyeyun Jeong},
  title = {{Rotation-Invariant Vector Normalization for Molecular Force Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=m5GgaGufcw},
}
Figure