# Invariant Layers for Graphs with Nodes of Different Types

**Authors:** Dmitry Rybin, Ruoyu Sun, Zhi-Quan Luo

arXiv: 2302.13551 · 2023-02-28

## TL;DR

This paper characterizes linear layers invariant to permutations that preserve node types in heterogeneous graphs, enabling more effective learning of node interactions and providing tighter bounds on tensor sizes for function approximation.

## Contribution

It fully characterizes invariant linear layers for node-type-preserving permutations and extends Bell number generalizations, improving graph neural network design and tensor size bounds.

## Key findings

- Invariant layers improve learning of node interactions.
- Tensor size bounds are tightened from n(n-1)/2 to n.
- For image data, tensor generator size is bounded by 2d - 1.

## Abstract

Neural networks that satisfy invariance with respect to input permutations have been widely studied in machine learning literature. However, in many applications, only a subset of all input permutations is of interest. For heterogeneous graph data, one can focus on permutations that preserve node types. We fully characterize linear layers invariant to such permutations. We verify experimentally that implementing these layers in graph neural network architectures allows learning important node interactions more effectively than existing techniques. We show that the dimension of space of these layers is given by a generalization of Bell numbers, extending the work (Maron et al., 2019). We further narrow the invariant network design space by addressing a question about the sizes of tensor layers necessary for function approximation on graph data. Our findings suggest that function approximation on a graph with $n$ nodes can be done with tensors of sizes $\leq n$, which is tighter than the best-known bound $\leq n(n-1)/2$. For $d \times d$ image data with translation symmetry, our methods give a tight upper bound $2d - 1$ (instead of $d^{4}$) on sizes of invariant tensor generators via a surprising connection to Davenport constants.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2302.13551/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/2302.13551/full.md

## References

32 references — full list in the complete paper: https://tomesphere.com/paper/2302.13551/full.md

---
Source: https://tomesphere.com/paper/2302.13551