G-RepsNet: A Fast and General Construction of Equivariant Networks for Arbitrary Matrix Groups (2402.15413v1)
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. (2021) 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 intuition for our design is that using tensor representations in the hidden layers of a neural network along with simple inexpensive tensor operations can lead to expressive universal equivariant networks. 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 (Cohen & Welling, 2016a) and E(2)-CNNs (Weiler & Cesa, 2019). To further illustrate the generality of our approach, we show that G-RepsNet is competitive to G-FNO (Helwig et al., 2023) and EGNN (Satorras et al., 2021) on N-body predictions and solving PDEs, respectively, while being efficient.
- Efficient equivariant transfer learning from pretrained models. In Thirty-seventh Conference on Neural Information Processing Systems, 2023a.
- Equi-tuning: Group equivariant fine-tuning of pretrained models. In Proceedings of the AAAI Conference on Artificial Intelligence, 2023b.
- Lorentz group equivariant neural network for particle physics. In International Conference on Machine Learning, pp. 992–1002. PMLR, 2020.
- Geometric and physical quantities improve e (3) equivariant message passing. In International Conference on Learning Representations, 2022.
- Group equivariant convolutional networks. In International Conference on Machine Learning, pp. 2990–2999. PMLR, 2016a.
- Steerable cnns. In International Conference on Learning Representations, 2016b.
- Vector neurons: A general framework for so (3)-equivariant networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 12200–12209, 2021.
- A practical method for constructing equivariant multilayer perceptrons for arbitrary matrix groups. In International Conference on Machine Learning, pp. 3318–3328. PMLR, 2021.
- Se (3)-transformers: 3d roto-translation equivariant attention networks. Advances in Neural Information Processing Systems, 33:1970–1981, 2020.
- Neural message passing for quantum chemistry. In International Conference on Machine Learning, pp. 1263–1272. PMLR, 2017.
- Group equivariant fourier neural operators for partial differential equations. In International Conference on Machine Learning, 2023.
- Multilayer feedforward networks are universal approximators. Neural networks, 2(5):359–366, 1989.
- Highly accurate protein structure prediction with alphafold. Nature, 596(7873):583–589, 2021.
- Equivariance with learned canonicalization functions. In International Conference on Machine Learning, pp. 15546–15566. PMLR, 2023.
- Learning probabilistic symmetrization for architecture agnostic equivariance. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=phnN1eu5AX.
- Equivariant flows: sampling configurations for multi-body systems with symmetric energies. arXiv preprint arXiv:1910.00753, 2019.
- On the generalization of equivariance and convolution in neural networks to the action of compact groups. In International Conference on Machine Learning, pp. 2747–2755. PMLR, 2018.
- Covariant compositional networks for learning graphs. arXiv preprint arXiv:1801.02144, 2018.
- Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4):541–551, 1989.
- Fourier neural operator for parametric partial differential equations. In International Conference on Learning Representations, 2021.
- Robust perception through equivariance. In International Conference on Machine Learning, 2023.
- Equivariant adaptation of large pretrained models. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
- Frame averaging for invariant and equivariant network design. In International Conference on Learning Representations, 2021.
- Equivariance through parameter-sharing. In International Conference on Machine Learning, pp. 2892–2901. PMLR, 2017.
- E (n) equivariant graph neural networks. In International Conference on Machine Learning, pp. 9323–9332. PMLR, 2021.
- Tensor field networks: Rotation-and translation-equivariant neural networks for 3d point clouds. arXiv preprint arXiv:1802.08219, 2018.
- Mdp homomorphic networks: Group symmetries in reinforcement learning. Advances in Neural Information Processing Systems, 33:4199–4210, 2020.
- Scalars are universal: Equivariant machine learning, structured like classical physics. Advances in Neural Information Processing Systems, 34:28848–28863, 2021.
- General E (2)-equivariant steerable cnns. Advances in neural information processing systems, 32, 2019.
- Weyl, H. The classical groups: their invariants and representations, volume 45. Princeton university press, 1946.
- Harmonic networks: Deep translation and rotation equivariance. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5028–5037, 2017.
- Yarotsky, D. Universal approximations of invariant maps by neural networks. Constructive Approximation, 55(1):407–474, 2022.
- Deep sets. Advances in neural information processing systems, 30, 2017.