Abstract
Given large datasets and sufficient compute, is it beneficial to design neural architectures for the structure and symmetries of each problem? Or is it more efficient to learn them from data? We study empirically how equivariant and non-equivariant networks scale with compute and training samples. Focusing on a benchmark problem of rigid-body interactions and on general-purpose transformer architectures, we perform a series of experiments, varying the model size, training steps, and dataset size. We find evidence for three conclusions. First, equivariance improves data efficiency, but training non-equivariant models with data augmentation can close this gap given sufficient epochs. Second, scaling with compute follows a power law, with equivariant models outperforming non-equivariant ones at each tested compute budget. Finally, the optimal allocation of a compute budget onto model size and training duration differs between equivariant and non-equivariant models.
Introduction
In the era of "The Bitter Lesson," the prevailing sentiment in AI research is that specialized architectures eventually lose to general-purpose models, like Transformers, when scaled with enough data and compute. This is particularly relevant for geometric problems—such as protein folding or physics simulations—where the laws of nature are inherently equivariant (i.e., the output should transform predictably with the input).
This paper investigates a fundamental question: Is it better to hard-code these symmetries into the architecture, or is it more efficient to let a general model learn them from data? While inductive biases are often thought to matter only in low-data regimes, this study explores whether equivariance provides a persistent scaling advantage.
Methodology
The researchers compared two primary architectures:
- Baseline: A standard, non-equivariant Transformer.
- Equivariant: The Geometric Algebra Transformer (GATr), which utilizes 16-dimensional multivectors to represent geometric primitives (positions, rotations, translations) directly.
Both models were evaluated on a rigid-body modeling task using a recreation of the MOVi-B dataset. The task requires predicting the future positions of 3D mesh vertices for multiple interacting objects under gravity and collision forces. The dataset consists of 400,000 trajectories, with scenes containing 3 to 10 objects.
To ensure a fair comparison, both models used a hierarchical attention mechanism and enforced object rigidity. The team then performed a "Chinchilla-style" scaling analysis, fitting power laws to the test loss as a function of model parameters ($N$) and training tokens ($D$), spanning compute budgets from $10^{16}$ to $10^{19}$ nominal FLOPs.
Scaling Analysis and Key Results
The most significant finding is that equivariant models maintain a consistent performance lead across all tested scales.
Equivariance as a Compute Multiplier
Equivariant models follow a similar power-law slope to the baseline but with a significantly lower prefactor. For the same computational budget, the equivariant GATr model achieved a test loss approximately 2 times lower than the baseline Transformer. This suggests that equivariance acts as a compute multiplier: for every FLOP spent, the model gains more predictive power.
The Role of Data Augmentation
Non-equivariant models can learn symmetries through data augmentation, which significantly improves their data efficiency. However, even with augmentation, the equivariant model remains more efficient. While the gap narrows at larger dataset sizes, the equivariant architecture still provides a superior baseline performance.
Optimal Scaling Recipes
The study reveals that the "optimal" way to allocate a compute budget differs between the two architectures. For standard Transformers, it is generally better to scale the number of training tokens more aggressively than the model size. In contrast, equivariant models benefit more from increasing model size. Because equivariant models perform more operations per parameter (processing complex geometric multivectors), the compute-optimal equivariant model is typically smaller in parameter count than its baseline counterpart for the same budget.
Discussion and Limitations
While the results strongly favor equivariant architectures, several practical considerations remain:
- Nominal vs. Real-world FLOPs: The study uses theoretical "nominal FLOPs." Standard Transformers are highly optimized for modern hardware, whereas equivariant kernels often lack similar low-level optimization, potentially leading to slower "wall-clock" training times.
- Task Specificity: These findings are based on rigid-body physics. Further research is needed to determine if these scaling laws hold for other domains like fluid dynamics or quantum chemistry.
- Extreme Scale: While $10^{19}$ FLOPs is substantial, it is still several orders of magnitude below the scale of the largest LLMs ($10^{25}$ FLOPs). Whether the equivariant advantage persists at that extreme frontier remains an open question.
In conclusion, equivariance is not just a tool for low-data regimes; it provides a fundamental efficiency gain that persists even as compute and data are scaled significantly.
Summary updated