The Cost of Symmetry: Universality and Hardness for Permutation-Invariant Neural Networks
Dashiell Bhattacharyya
Abstract
Permutation-invariant machine learning architectures, such as DeepSets, Set Transformers, Graph Neural Networks, and $k$-GNNs, are each highly used and studied individually. We unify them into a single complexity-theoretic framework: noisy symmetric circuits. Each architecture falls into our hierarchy at a level $k$, parameterized by the order of interactions it captures. Within this framework, we characterize the representational parameter overhead of imposing symmetry. At level $1$, where DeepSets operate, every symmetric function on boolean input computable by a neural network has an equivalent stacked DeepSet, at the cost of an additive blowup nearly linear in the input size; for an explicit function the resulting size is optimal up to polylogarithmic factors. This same function strictly separates level $1$ from level $2$ in parameter count. At level $2$, where Set Transformers and GNNs operate, an additive blowup nearly linear in the input size suffices for WL-invariant functions. These results show that symmetric compilation is \textit{low-cost} for the invariant targets covered by our theorems. Synthetic experiments illustrate the framework.
Successful Page Load