On Making -Invariant Networks Optimal
Organizations: CAI-3: Information Sciences Los Alamos National Laboratory · Machine Learning in Molecular Dynamics Max Planck Institute for Polymer Research · T-5: Applied Mathematics and Plasma Physics Los Alamos National Laboratory
Abstract
Respecting a-priori known symmetries of underlying data is a key principle in designing efficient neural architectures. Convolutional neural networks are a canonical example, encoding translation equivariance. Extending this inductive bias to richer symmetry groups such as in the most effective way possible is an ongoing architectural and computational challenge. Building on classical invariant theory, we derive invariant feature maps that are provably optimal: minimal and information-preserving with respect to the symmetry group. Our construction is designed to integrate seamlessly into standard architectures, requiring no modification to nonlinearities or normalization layers. As a concrete implementation, we introduce a plug-and-play module for convolutional neural networks that enforces invariance, capturing both translations and rotations within standard architectures. The resulting models are both efficient and expressive. Experiments show competitive or improved accuracy compared to state-of-the-art equivariant methods at significantly lower computational cost. Finally, we provide a theoretical and empirical analysis of the relationship between equivariance and invariance, offering insight into their roles in controlling robustness and flexibility.
Figures & tables
| Dataset | Ours | E2-CNNs | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Dataset | Reso. | Cls | Size | Acc | Prm. | Acc | Prm. | ||
| MNIST RotTest | 10 | 50k | 119k | 362k | |||||
| rot MNIST | 10 | 12/50k | 119k | 362k | |||||
| RESISC45 | 45 | 31.5k | 230k | 365k | |||||
| EuroSAT rgb | 10 | 27k | 149k | 363k | |||||
| DTD ∗ | 47 | 5k | 336k | 469k | |||||
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | |||||
|---|---|---|---|---|---|
| Histology | |||||
| MNIST | |||||
| Satellite |
| Architecture | Accuracy | # Params |
|---|---|---|
| E2CNN | 362 K | |
| Mom/Inv CNN | 362 K | |
| Equivariant Branch | 363 K |
| Variant | Test Accuracy | Val Accuracy |
|---|---|---|
| Monomials | ||
| Legendre polynomials | 98.97 | |
| B-splines | 99.74 |
| Ring Count | Test Accuracy | Train Accuracy | Val Accuracy |
|---|---|---|---|
| 4 | 99.93 | 99.87 | |
| 7 | 99.98 | ||
| 3 | 99.89 | 99.80 | |
| 6 | 99.96 | 99.89 | |
| 5 | 99.95 | 99.83 | |
| 8 | 99.77 | 99.22 |
| Dataset | Ours | E2-CNNs | ResNet | H-Nets | ViT |
|---|---|---|---|---|---|
| MNIST RotTest | (119k) | (362k) | (373k) | (33k) | (853k) |
| rot MNIST | (119k) | (362k) | (373k) | (33k) | (853k) |
| RESISC45 | (230k) | (365k) | (377k) | (37k) | (928k) |
| EuroSAT rgb | (149k) | (363k) | (377k) | (45k) | (924k) |
| DTD ∗ | (336k) | (469k) | (377k) | (36k) | (928k) |
| NFFA | (227k) | (363k) | (11M) | – | (875k) |
| Parameter | Optimal | ESCNN |
|---|---|---|
| Stem kernel size | 15 | 7 |
| Stage kernels | ||
| Stage depths / blocks | ||
| Classifier hidden size | 64 | 64 |
| Dropout | 0.2 | – |
| Maximum type | 3 (4 for DTD) | 3 (4 for DTD) |
| Dataset | Resolution | Batch | Optimal LR | ESCNN LR | Preprocess |
|---|---|---|---|---|---|
| RotMNIST | 16 / 32 | Upscaled to 64 | |||
| MNIST-rot-test | 64 | – | |||
| DTD | 16 | Circular Mask | |||
| EuroSAT | 32 | – | |||
| Galaxy Zoo | 64 | Circular Mask | |||
| RESISC45 | 8 | – |