Fast computation of permutation equivariant layers with the partition algebra

03/10/2023
by   Charles Godfrey, et al.
4

Linear neural network layers that are either equivariant or invariant to permutations of their inputs form core building blocks of modern deep learning architectures. Examples include the layers of DeepSets, as well as linear layers occurring in attention blocks of transformers and some graph neural networks. The space of permutation equivariant linear layers can be identified as the invariant subspace of a certain symmetric group representation, and recent work parameterized this space by exhibiting a basis whose vectors are sums over orbits of standard basis elements with respect to the symmetric group action. A parameterization opens up the possibility of learning the weights of permutation equivariant linear layers via gradient descent. The space of permutation equivariant linear layers is a generalization of the partition algebra, an object first discovered in statistical physics with deep connections to the representation theory of the symmetric group, and the basis described above generalizes the so-called orbit basis of the partition algebra. We exhibit an alternative basis, generalizing the diagram basis of the partition algebra, with computational benefits stemming from the fact that the tensors making up the basis are low rank in the sense that they naturally factorize into Kronecker products. Just as multiplication by a rank one matrix is far less expensive than multiplication by an arbitrary matrix, multiplication with these low rank tensors is far less expensive than multiplication with elements of the orbit basis. Finally, we describe an algorithm implementing multiplication with these basis elements.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/16/2022

Connecting Permutation Equivariant Neural Networks and Partition Diagrams

We show how the Schur-Weyl duality that exists between the partition alg...
research
04/03/2020

Tensor Rank and Complexity

These lecture notes are intended as an introduction to several notions o...
research
12/04/2019

Computing syzygies in finite dimension using fast linear algebra

We consider the computation of syzygies of multivariate polynomials in a...
research
11/07/2022

Non-existence of a short algorithm for multiplication of 3×3 matrices with group S_4× S_3

One of prospective ways to find new fast algorithms of matrix multiplica...
research
02/20/2020

On Learning Sets of Symmetric Elements

Learning from unordered sets is a fundamental learning setup, which is a...
research
02/03/2023

Coinductive guide to inductive transformer heads

We argue that all building blocks of transformer models can be expressed...
research
05/18/2023

Clifford Group Equivariant Neural Networks

We introduce Clifford Group Equivariant Neural Networks: a novel approac...

Please sign up or login with your details

Forgot password? Click here to reset