Geometry of Linear Neural Networks: Equivariance and Invariance under Permutation Groups
Kathlén Kohn, Anna-Laura Sattelberger, Vahid Shahverdi
TL;DR
The paper addresses the geometry of the function space of linear neural networks under permutation symmetries by modeling it as determinantal varieties and studying invariant and equivariant subvarieties. It provides a complete algebraic description of invariant maps for arbitrary permutation groups and of equivariant maps for cyclic groups, showing these spaces decompose into direct products of determinantal varieties and have rich irreducible structures. Key contributions include a weight-sharing encoder design that parameterizes invariant functions, a multi-component (often many) decomposition for equivariant functions with per-component autoencoder parameterizations, and a concrete link between squared-error loss and Euclidean distance minimization via Eckart–Young, including the notion of squared-error degree. The results yield principled constraints for designing invariant or equivariant linear networks, yield insights for potential nonlinear extensions, and offer practical demonstrations on MNIST, with implications for reducing training cost and informing graph-based symmetry-aware models.
Abstract
The set of functions parameterized by a linear fully-connected neural network is a determinantal variety. We investigate the subvariety of functions that are equivariant or invariant under the action of a permutation group. Examples of such group actions are translations or $90^\circ$ rotations on images. We describe such equivariant or invariant subvarieties as direct products of determinantal varieties, from which we deduce their dimension, degree, Euclidean distance degree, and their singularities. We fully characterize invariance for arbitrary permutation groups, and equivariance for cyclic groups. We draw conclusions for the parameterization and the design of equivariant and invariant linear networks in terms of sparsity and weight-sharing properties. We prove that all invariant linear functions can be parameterized by a single linear autoencoder with a weight-sharing property imposed by the cycle decomposition of the considered permutation. The space of rank-bounded equivariant functions has several irreducible components, so it can not be parameterized by a single network-but each irreducible component can. Finally, we show that minimizing the squared-error loss on our invariant or equivariant networks reduces to minimizing the Euclidean distance from determinantal varieties via the Eckart-Young theorem.
