Geometry of Linear Neural Networks: Equivariance and Invariance under Permutation Groups

Kathlén Kohn, Anna-Laura Sattelberger, Vahid Shahverdi
9/24/2023
cs.LGmath.AG

Official code: vahidshahverdi/Equivariant (0 stars, last commit 2024-11-06).

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.

View on arXivView PDF

Code Implementations(1)

Constructing equivariant linear autoencdoer

00Jupyter NotebookJan 25, 20241 years ago

Similar Papers

Cite this paper

@article{kohn2023geometry,
  title  = {Geometry of Linear Neural Networks: Equivariance and Invariance under Permutation Groups},
  author = {Kathlén Kohn and Anna-Laura Sattelberger and Vahid Shahverdi},
  year   = {2023},
  eprint = {2309.13736},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13736v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.13736.svg)](https://codeofpaper.com/paper/2309.13736)

Discussion