Abstract
Group equivariance is a strong inductive bias useful in a wide range of deep learning tasks. However, constructing efficient equivariant networks for general groups and domains is difficult. Recent work by Finzi et al. directly solves the equivariance constraint for arbitrary matrix groups to obtain equivariant MLPs (EMLPs). But this method does not scale well and scaling is crucial in deep learning. Here, we introduce Group Representation Networks (G-RepsNets), a lightweight equivariant network for arbitrary matrix groups with features represented using tensor polynomials. The key insight in our design is that using tensor representations in the hidden layers of a neural network along with simple inexpensive tensor operations leads to scalable equivariant networks. Further, these networks are universal approximators of functions equivariant to orthogonal groups. We find G-RepsNet to be competitive to EMLP on several tasks with group symmetries such as $O(5)$, $O(1, 3)$, and $O(3)$ with scalars, vectors, and second-order tensors as data types. On image classification tasks, we find that G-RepsNet using second-order representations is competitive and often even outperforms sophisticated state-of-the-art equivariant models such as GCNNs and $E(2)$-CNNs. To further illustrate the generality of our approach, we show that G-RepsNet is competitive to G-FNO and EGNN on N-body predictions and solving PDEs respectively, while being efficient.
Introduction
Equivariance—the principle that a model’s internal representations should transform in sync with its input—is a foundational inductive bias in deep learning. It underpins the success of Convolutional Neural Networks (CNNs) for translation and models like AlphaFold2 for 3D rotational symmetry. However, designing models equivariant to arbitrary symmetries, such as the Lorentz group in physics, has traditionally required either bespoke architectures or computationally prohibitive general-purpose solvers.
Existing general-purpose frameworks like Equivariant MLPs (EMLPs) rely on solving large systems of linear constraints to calculate an equivariant basis. While mathematically elegant, this approach suffers from poor scalability, making it impractical for high-resolution data or large-scale training. G-RepsNet addresses this gap by utilizing tensor polynomials and inexpensive tensor operations to build a framework that is both mathematically general and computationally efficient.
Methodology
The core innovation of G-RepsNet is the replacement of standard scalar neurons with tensor representations of varying orders: $T_0$ (scalars), $T_1$ (vectors), and $T_2$ (matrices/second-order tensors).
Architecture and Tensor Processing
The G-RepsNet pipeline consists of three primary stages:
- Input Representation: Data is ingested as tensors (e.g., position vectors or pixel intensities).
- Tensor Conversion: The model transitions between tensor orders using lightweight operations such as Kronecker products (to increase order) or norms and averaging (to decrease order to invariant scalars).
- Neural Processing & Mixing: To maintain equivariance without sacrificing non-linear expressivity, G-RepsNet employs a "mixing" function. Invariant scalars ($T_0$) are processed through a standard MLP, and the resulting values are used to scale or "gate" the equivariant tensors ($T_i$).
This construction is proven to be a universal approximator for functions equivariant to orthogonal groups, ensuring that the model can theoretically learn any symmetry-respecting function within these groups.
Experimental Results
Efficiency and Scalability
G-RepsNet demonstrates significant performance gains over EMLP in both speed and convergence. In synthetic regression tasks involving $O(5)$ symmetries, G-RepsNet achieved a lower test loss while being approximately 230x faster to train per epoch than EMLP. This efficiency allows G-RepsNet to scale to datasets where previous general-purpose methods failed.
Image Classification and Physics Modeling
On the Rot90-CIFAR10 benchmark, G-RepsNet utilizing $T_2$ representations achieved 80.4% accuracy, significantly outperforming standard GCNNs (73.8%) and $E(2)$-CNNs (49.6% for $C_8$ equivariance). This suggests that higher-order tensor representations provide a more effective inductive bias for rotated image data.
In the domain of physical sciences, G-RepsNet was applied to N-body dynamics and fluid dynamics (Navier-Stokes PDEs). The G-RepsNet variant of the Fourier Neural Operator (G-RepsFNO) maintained superior accuracy while being significantly more parameter-efficient (468K parameters vs. 3.4M for G-FNO) and faster during inference.
Discussion and Conclusion
G-RepsNet provides a scalable path for equivariant deep learning across arbitrary matrix groups. By shifting the focus from complex constraint solvers to simple tensor algebra and mixing functions, the framework achieves state-of-the-art results in both computer vision and physical modeling. While current universality proofs are limited to orthogonal groups and high-order tensors can be memory-intensive, G-RepsNet proves that equivariance can be both physically principled and computationally lightweight enough for real-world engineering applications.
Summary updated