ReViT: Rotational-equivariant Vision Transformers for Neural PDE Solvers
Abstract
Lay Summary
Many natural phenomena, like air flowing over a wing, magnetic fields in plasmas, water swirling in a channel, obey a simple rule of physics: if you rotate the entire situation, the behavior rotates along with it. Foundation models are increasingly used as fast surrogates for traditional physics simulators, but the standard Transformer architectures behind today's most powerful models do not enforce this rotational consistency. As a consequence, their predictions can change in unphysical ways when the input is rotated, leading to unphysical artifacts and reduced accuracy. We introduce ReViT, a Vision Transformer architecture that guarantees rotational equivariance on regular grids by construction. The key idea is to combine the permutation equivariance inherent to self-attention with rotational invariance obtained through local canonicalization: we re-express the data in each local patch within a coordinate frame that the physics itself picks out, so the model sees the same underlying scene regardless of orientation. We further extend this guarantee across multiple scales of detail, allowing the model to capture both fine and coarse features. Across a range of 2D/3D physics benchmarks, including turbulent flows and magnetized plasmas, ReViT substantially outperforms leading alternatives, reducing prediction error by up to 65\%, while remaining efficient enough to scale. By making physical symmetry a built-in property of the architecture, this work brings AI-based scientific simulation closer to being a trustworthy tool for research and engineering.