Any-dimensional equivariant neural networks
Eitan Levin, Mateo Díaz
TL;DR
The paper addresses learning mappings defined on inputs of arbitrary dimension by leveraging representation stability to construct free, dimension-free equivariant neural networks that extend from a fixed training dimension to all dimensions. It shows that equivariant linear layers stabilize across dimensions, enabling finite parameterizations for groups such as permutation, orthogonal, and Lorentz-like actions. To mitigate poor cross-dimension generalization, it introduces a compatibility condition that enforces consistent extensions across dimensions and develops a computational recipe to train networks at a single level and extend them to higher or lower dimensions. Numerical experiments demonstrate improved cross-dimension generalization for compatible networks, and an open-source implementation is provided to facilitate adoption and further research.
Abstract
Traditional supervised learning aims to learn an unknown mapping by fitting a function to a set of input-output pairs with a fixed dimension. The fitted function is then defined on inputs of the same dimension. However, in many settings, the unknown mapping takes inputs in any dimension; examples include graph parameters defined on graphs of any size and physics quantities defined on an arbitrary number of particles. We leverage a newly-discovered phenomenon in algebraic topology, called representation stability, to define equivariant neural networks that can be trained with data in a fixed dimension and then extended to accept inputs in any dimension. Our approach is user-friendly, requiring only the network architecture and the groups for equivariance, and can be combined with any training procedure. We provide a simple open-source implementation of our methods and offer preliminary numerical experiments.
