Are GNNs doomed by the topology of their input graph?
Amine Mohamed Aboussalah, Abdessalam Ed-dib
TL;DR
This work examines how the topology of the input graph constrains GNN learning, introducing $k$-hop similarity to connect local neighborhood structure with global learning dynamics. It proposes a weight-consistency conjecture: for a $k$-layer GNN, training on $k$-hop similar graphs yields approximately equivalent learned functions, and it develops efficient methods to generate such graphs. Through SBMs-based experiments, it provides strong evidence of function-level consistency across $k$-hop similar graphs and leverages this to offer a topological explanation for oversmoothing: deep message passing effectively turns large components into complete graphs, causing indistinguishable node representations within components. The findings illuminate the role of local topology in GNN expressiveness and suggest scalable perturbation strategies and broader validations on real data.
Abstract
Graph Neural Networks (GNNs) have demonstrated remarkable success in learning from graph-structured data. However, the influence of the input graph's topology on GNN behavior remains poorly understood. In this work, we explore whether GNNs are inherently limited by the structure of their input graphs, focusing on how local topological features interact with the message-passing scheme to produce global phenomena such as oversmoothing or expressive representations. We introduce the concept of $k$-hop similarity and investigate whether locally similar neighborhoods lead to consistent node representations. This interaction can result in either effective learning or inevitable oversmoothing, depending on the inherent properties of the graph. Our empirical experiments validate these insights, highlighting the practical implications of graph topology on GNN performance.
