Is uniform expressivity too restrictive? Towards efficient expressivity of graph neural networks

Sammy Khalife, Josué Tonelli-Cueto
10/2/2024
cs.LGcs.CCcs.LO

No confident code implementation found for this paper.

Abstract

Uniform expressivity guarantees that a Graph Neural Network (GNN) can express a query without the parameters depending on the size of the input graphs. This property is desirable in applications in order to have number of trainable parameters that is independent of the size of the input graphs. Uniform expressivity of the two variable guarded fragment (GC2) of first order logic is a well-celebrated result for Rectified Linear Unit (ReLU) GNNs [Barcelo & al., 2020]. In this article, we prove that uniform expressivity of GC2 queries is not possible for GNNs with a wide class of Pfaffian activation functions (including the sigmoid and tanh), answering a question formulated by [Grohe, 2021]. We also show that despite these limitations, many of those GNNs can still efficiently express GC2 queries in a way that the number of parameters remains logarithmic on the maximal degree of the input graphs. Furthermore, we demonstrate that a log-log dependency on the degree is achievable for a certain choice of activation function. This shows that uniform expressivity can be successfully relaxed by covering large graphs appearing in practical applications. Our experiments illustrates that our theoretical estimates hold in practice.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{khalife2024uniform,
  title  = {Is uniform expressivity too restrictive? Towards efficient expressivity of graph neural networks},
  author = {Sammy Khalife and Josué Tonelli-Cueto},
  year   = {2024},
  eprint = {2410.01910},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.01910v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.01910.svg)](https://codeofpaper.com/paper/2410.01910)

Discussion