An Empirical Evaluation of Rewiring Approaches in Graph Neural Networks

Alessio Micheli, Domenico TortorellaarXiv 2023 · DOI

TL;DR

Graph rewiring is often proposed to fix "over-squashing" in Graph Neural Networks (GNNs), but its benefits are frequently overstated. By using training-free GNNs to isolate message-passing from training dynamics, this study finds that most rewiring methods provide little to no practical accuracy gain and can even degrade performance.

What Problem Does This Paper Address?

GNNs typically rely on a message-passing paradigm, where nodes aggregate information from their immediate neighbors. To capture long-range dependencies, models must be deep. However, deep GNNs face two major hurdles: over-smoothing (node representations become indistinguishable) and over-squashing.

Over-squashing occurs when the information from an exponentially growing receptive field must be compressed into a fixed-size vector, often due to "bottlenecks" in the graph topology (like bridges between communities). While many "rewiring" techniques—which add or remove edges to improve information flow—have been proposed, it's hard to tell if they actually work. Their success is usually measured using fully trained models, where the benefits of better topology are entangled with training issues like vanishing gradients. This paper seeks to decouple these effects to see if rewiring actually improves message-passing itself.

Methods

The authors propose a novel evaluation framework using training-free GNNs. By removing the complexities of backpropagation and weight updates, they can isolate how graph topology affects the forward pass of message-passing.

They utilize two specific architectures:

  1. Simplified Graph Convolution (SGC): A model that removes non-linearities and learnable parameters, reducing GNN layers to pure neighborhood aggregation.
  2. Graph Echo State Networks (GESN): Based on the reservoir computing paradigm, these use randomly initialized, fixed recurrent weights. Only a simple linear readout layer is trained (using efficient ridge regression).
Figure 2: The two different model architectures of SGC [16] and GESN [4].

They systematically test several major rewiring categories:

  • Diffusion processes: (Heat kernel, PageRank) which aggregate information beyond the 1-hop neighborhood.
  • Curvature-based (Local bottlenecks): SDRF, which adds edges to increase "graph curvature" and eliminate tree-like bottlenecks.
  • Spectral-based (Global bottlenecks): GRLEF, which flips edges to increase the "spectral gap," a proxy for global connectivity.
  • Expander Propagation (EGP): Interleaving standard message-passing with propagation on a highly-connected expander graph.
  • Effective Resistance: DiffWire, which re-weights edges based on their importance as "bridges."

Datasets

The study evaluates these methods across 12 real-world benchmarks:

  • Node Classification: Homophilous graphs (Cora, CiteSeer, PubMed) and low-homophily/heterophilous graphs (Film, TwitchDE, Tolokers).
  • Graph Classification: Molecular datasets (NCI-1, NCI-109) and social interaction networks (Reddit-B, Reddit-5K, Reddit-12K, Collab).

Key Insights and Ideas

  • Rewiring is rarely a "silver bullet": In most classification tasks, rewiring the graph did not significantly outperform the baseline (the original graph). In several cases, it actually hurt performance.
  • The "Greedy" Trap: Methods like SDRF and GRLEF, which use local greedy heuristics to improve curvature or spectral gaps, often fail to improve these metrics globally. In fact, SDRF sometimes made the graph more negatively curved (worse bottlenecks) than the original.
  • Diffusion is the exception: Diffusion-based methods (Heat and PageRank) were the only ones to show consistent, albeit modest, improvements. The authors suggest this might be due to a "denoising" effect rather than just fixing bottlenecks.
  • Training might be the real bottleneck: The fact that training-free models (especially GESN) perform so well suggests that the difficulties GNNs face might be more related to training stability and optimization than to the inherent limitations of graph topology.

Key Results

  • Accuracy: On node classification with SGC, most rewiring methods showed no significant gain. Only Heat and PageRank diffusion showed significant improvements on PubMed and Film.
  • Curvature Failure: Analysis of the Cora dataset showed that SDRF actually increased the number of negatively curved edges, failing its primary objective.
Figure 3: Effects of SDRF and GRLEF on graph curvature Ric for Cora.
  • Spectral Gap: While GRLEF succeeded in increasing the spectral gap (improving global connectivity) on some datasets like TwitchDE and Tolokers, this did not translate into better classification accuracy.
Figure 4: Effects of SDRF and GRLEF on spectral gaps λ1.
  • Computational Cost: Rewiring is expensive. Methods like SDRF and matrix-inversion-based diffusion (Heat/PageRank) add significant pre-processing overhead, which may not be justified given the minimal accuracy gains.

Limitations and Future Work

The authors acknowledge several limitations:

  • Scope of Rewiring: They focused on explicit pre-processing rewiring, excluding "implicit" methods like graph attention mechanisms.
  • Graph Types: The study was limited to undirected and unweighted graphs.
  • Task Type: The evaluation focused solely on classification. The impact of rewiring on other tasks like graph clustering or partitioning remains an open question.
  • Future Direction: The results suggest that future research should perhaps focus more on improving GNN training dynamics and architectural inductive biases rather than just altering the input graph structure.

Summary updated

BibTeX
@misc{micheli2023empirical,
  author = {Alessio Micheli and Domenico Tortorella},
  title = {{An Empirical Evaluation of Rewiring Approaches in Graph Neural Networks}},
  year = {2023},
  eprint = {2305.19717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.19717},
}
Figure