What Do GNNs Actually Learn? Towards Understanding their Representations

04/21/2023
by   Giannis Nikolentzos, et al.
0

In recent years, graph neural networks (GNNs) have achieved great success in the field of graph representation learning. Although prior work has shed light into the expressiveness of those models (whether they can distinguish pairs of non-isomorphic graphs), it is still not clear what structural information is encoded into the node representations that are learned by those models. In this paper, we investigate which properties of graphs are captured purely by these models, when no node attributes are available. Specifically, we study four popular GNN models, and we show that two of them embed all nodes into the same feature vector, while the other two models generate representations that are related to the number of walks over the input graph. Strikingly, structurally dissimilar nodes can have similar representations at some layer k>1, if they have the same number of walks of length k. We empirically verify our theoretical findings on real datasets.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/06/2022

Geodesic Graph Neural Network for Efficient Graph Representation Learning

Recently, Graph Neural Networks (GNNs) have been applied to graph learni...
research
10/15/2021

Graph Neural Networks with Learnable Structural and Positional Representations

Graph neural networks (GNNs) have become the standard learning architect...
research
06/09/2023

Path Neural Networks: Expressive and Accurate Graph Neural Networks

Graph neural networks (GNNs) have recently become the standard approach ...
research
08/31/2020

Distance Encoding – Design Provably More Powerful Graph Neural Networks for Structural Representation Learning

Learning structural representations of node sets from graph-structured d...
research
11/18/2019

GraLSP: Graph Neural Networks with Local Structural Patterns

It is not until recently that graph neural networks (GNNs) are adopted t...
research
07/07/2023

Exploring the Potential of Large Language Models (LLMs) in Learning on Graphs

Learning on Graphs has attracted immense attention due to its wide real-...
research
04/06/2022

Graph Neural Networks Designed for Different Graph Types: A Survey

Graphs are ubiquitous in nature and can therefore serve as models for ma...

Please sign up or login with your details

Forgot password? Click here to reset