Graphtester: Exploring Theoretical Boundaries of GNNs on Graph Datasets

Eren Akbiyik, Florian Grötschla, Beni Egressy, Roger Wattenhofer
6/30/2023
cs.LGcs.AI

Official code: meakbiyik/graphtester (5 stars, MIT, last commit 2024-04-01).

Abstract

Graph Neural Networks (GNNs) have emerged as a powerful tool for learning from graph-structured data. However, even state-of-the-art architectures have limitations on what structures they can distinguish, imposing theoretical limits on what the networks can achieve on different datasets. In this paper, we provide a new tool called Graphtester for a comprehensive analysis of the theoretical capabilities of GNNs for various datasets, tasks, and scores. We use Graphtester to analyze over 40 different graph datasets, determining upper bounds on the performance of various GNNs based on the number of layers. Further, we show that the tool can also be used for Graph Transformers using positional node encodings, thereby expanding its scope. Finally, we demonstrate that features generated by Graphtester can be used for practical applications such as Graph Transformers, and provide a synthetic dataset to benchmark node and edge features, such as positional encodings. The package is freely available at the following URL: https://github.com/meakbiyik/graphtester.

View on arXivView PDF

Code Implementations(1)

MIT

Test graph isomorphism with 1-WL for different graph classes and labelings

51Shell, PythonApr 20, 20222 years agoMIT
gnngraphgraph-isomorphismgraph-transformerpython+2 more

Similar Papers

Cite this paper

@article{akbiyik2023graphtester,
  title  = {Graphtester: Exploring Theoretical Boundaries of GNNs on Graph Datasets},
  author = {Eren Akbiyik and Florian Grötschla and Beni Egressy and Roger Wattenhofer},
  year   = {2023},
  eprint = {2306.17482},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17482v1}
}

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/2306.17482.svg)](https://codeofpaper.com/paper/2306.17482)

Discussion