Let a group act on spaces and through representations and . A map is
- invariant if for all , ;
- equivariant if for all , .
Invariance is the special case of equivariance with the trivial output representation.
Closure properties.
- Compositions of equivariant maps are equivariant: . So a network built from equivariant layers is equivariant.
- Equivariant linear maps form a vector space (0 and the identity are equivariant), which is closed under limits.
- Pointwise nonlinearities are equivariant for permutation representations, for example for acting on pixel positions.
Why build it in. If the target map is known to be equivariant (see Symmetries of the EIT Problem), restricting a network to equivariant functions reduces the number of free parameters, improves sample efficiency and generalisation, and guarantees consistent behaviour under the symmetry. Equivariant functions can be obtained by averaging (see Reynolds Operator) or by constraining the layers (see Equivariant Convolutions). Order matters: making features invariant too early discards orientation information that later layers may need. Typical architectures therefore use equivariant layers first and an invariant pooling at the end.
References
- T. Cohen, M. Welling (2016). Group Equivariant Convolutional Networks. ICML 2016. arXiv:1602.07576
- M. M. Bronstein, J. Bruna, T. Cohen, P. Veličković (2021). Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges. arXiv:2104.13478
- M. Weiler, P. Forré, E. Verlinde, M. Welling (2023). Equivariant and Coordinate Independent Convolutional Networks. maurice-weiler.gitlab.io/cnn_book