P-Tensors: a General Formalism for Constructing Higher Order Message Passing Networks
Andrew Hands, Tianyi Sun, Risi Kondor
TL;DR
This work introduces $P$-tensors to unify higher-order permutation equivariant message passing with subgraph neural networks. It defines invariant subgraph selection and two-level equivariance, then derives the complete set of permutation-equivariant linear maps between $P$-tensors and proves that networks built from these maps are globally equivariant. The approach extends traditional MPNNs to operate over subgraphs, edges, and cycles, enabling richer interactions while preserving symmetry through $P$-tensor transformations. Empirically, the framework achieves state-of-the-art results on ZINC-12K and competitive performance on other molecular benchmarks, demonstrating that increased expressivity translates to practical gains. Overall, $P$-tensors offer a reusable, principled paradigm for designing expressive, symmetry-preserving higher-order GNNs and motivate a software library for such models.
Abstract
Several recent papers have proposed increasing the expressive power of graph neural networks by exploiting subgraphs or other topological structures. In parallel, researchers have investigated higher order permutation equivariant networks. In this paper we tie these two threads together by providing a general framework for higher order permutation equivariant message passing in subgraph neural networks. In this paper we introduce a new type of mathematical object called $P$-tensors, which provide a simple way to define the most general form of permutation equivariant message passing in both the above two categories of networks. We show that the P-Tensors paradigm can achieve state-of-the-art performance on benchmark molecular datasets.
