14
9

Connecting Permutation Equivariant Neural Networks and Partition Diagrams

Abstract

We show how the Schur-Weyl duality that exists between the partition algebra and the symmetric group results in a stronger theoretical foundation for characterising all of the possible permutation equivariant neural networks whose layers are some tensor power of the permutation representation MnM_n of the symmetric group SnS_n. In doing so, we unify two separate bodies of literature, and we correct some of the major results that are now widely quoted by the machine learning community. In particular, we find a basis of matrices for the learnable, linear, permutation equivariant layer functions between such tensor power spaces in the standard basis of MnM_n by using an elegant graphical representation of a basis of set partitions for the partition algebra and its related vector spaces. Also, we show how we can calculate the number of weights that must appear in these layer functions by looking at certain paths through the McKay quiver for MnM_n. Finally, we describe how our approach generalises to the construction of neural networks that are equivariant to local symmetries.

View on arXiv
Comments on this paper