NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Effectiveness of Curvature-Based Rewiring and the Role of Hyperparameters in GNNs Revisited

Floriano Tori, Vincent Holst, Vincent Ginis

TL;DR

This paper takes a critical second look at "curvature-based rewiring," a popular technique used to prevent information loss (oversquashing) in Graph Neural Networks (GNNs). The authors reveal that the theoretical conditions justifying this rewiring are rarely met in real-world datasets and suggest that many reported performance gains are actually "lucky" outliers from hyperparameter tuning rather than fundamental improvements.

What Problem Does This Paper Address?

Graph Neural Networks typically rely on message passing, where nodes update their state by aggregating information from their neighbors. However, the topology of the graph can create "bottlenecks"—parts of the graph where too much information is forced through too few edges. This leads to oversquashing, where the signal from distant nodes is lost or compressed beyond recognition.

To fix this, researchers developed graph rewiring. The idea is to change the graph's structure before training—adding edges to bypass bottlenecks and removing edges that don't help—to create a better "computational graph." A leading method uses discrete curvature (like Ricci curvature) to identify these bottlenecks. While this works beautifully on synthetic, toy datasets, this paper asks a difficult question: Does it actually work on real-world benchmarks, or have we been fooled by hyperparameter optimization?

Methods

The authors evaluate several flavors of curvature-based rewiring, primarily focusing on the Stochastic Discrete Ricci Flow (SDRF) algorithm. They test various mathematical definitions of curvature, including:

  • Balanced Forman Curvature (BFc): The standard measure for identifying tree-like (bottleneck) structures.
  • Jost and Liu Curvature (JLc) and Augmented Forman Curvature (AF): Alternative measures that account for triangles and four-cycles in different ways.

Crucially, the authors don't just report a single "best" accuracy. Instead, they perform massive hyperparameter sweeps (800 iterations per dataset) and analyze the distribution of the results. This allows them to see if rewiring actually shifts the "average" performance or if it just creates a wider spread of results where a researcher might get lucky and find a high-performing outlier.

Datasets

The study uses a wide array of standard GNN benchmarks:

  • Node Classification: Texas, Cornell, Wisconsin (WebKB); Chameleon and Squirrel (Wikipedia); Actor; and the classic citation networks Cora, Citeseer, and Pubmed.
  • Graph Classification: MUTAG and PROTEINS.

They specifically used the largest connected components of these graphs to ensure a fair comparison across different rewiring strategies.

Key Insights and Results

  • The Theory-Practice Gap: There is a rigorous mathematical theorem that defines when an edge is a bottleneck. The authors checked the edges selected for rewiring in real-world graphs and found they almost never satisfy these theoretical conditions.
Percentage of rewired edges satisfying theoretical bottleneck conditions across datasets.
  • Condition Check: As shown in the table above, in 8 out of 11 datasets, zero rewired edges satisfied the strict theoretical condition (Cond. 2) for oversquashing. Even with a "softer" version of the condition (Cond. 2b), most datasets saw only a small fraction of edges qualifying as bottlenecks.
  • The "Lucky Outlier" Hypothesis: When looking at the full distribution of training runs, rewiring rarely improved the median accuracy. However, it often increased the variance. This means that if you run enough experiments (sweeping hyperparameters), you are more likely to find a "State-of-the-Art" (SOTA) result by chance, even if the method isn't consistently better.
Performance comparison of different rewiring methods versus no rewiring across multiple datasets.
  • Performance Distribution: When comparing "No Rewiring" (None) to various curvature methods, the performance distributions heavily overlap. The baseline accuracy without rewiring is often highly competitive or superior, while rewiring methods introduce high variance. Even when looking only at the top 10% of hyperparameter runs, the gains from rewiring were inconsistent and often accompanied by high standard deviations, reinforcing the idea that these gains are fragile.
  • Homophily and Noise: In citation networks (like Cora), nodes usually share labels with their immediate neighbors (high homophily). In these cases, rewiring to allow long-range communication actually introduces noise, which can hurt performance rather than help it.
  • Computational Efficiency: The authors found that simpler, less computationally expensive curvature measures (like those ignoring four-cycles) performed just as well (or poorly) as the more complex ones, suggesting the extra math isn't buying much in practice.

Limitations and Future Work

The authors acknowledge they primarily tested the SDRF algorithm. While it is the most prominent curvature-based method, other newer algorithms (like FoSR or BORF) might behave differently.

They suggest two main paths forward:

  1. Theorem-Aware Rewiring: Instead of rewiring the "most negative" edges, algorithms should only rewire edges that actually meet the theoretical criteria for oversquashing.
  2. Better Benchmarks: The community needs real-world datasets that are proven to suffer from bottlenecks. If our current benchmarks don't have the problem we're trying to solve, we can't accurately measure the solution.

In short, the paper serves as a cautionary tale for the GNN community: before we claim a new architectural "win," we must ensure we aren't just looking at a lucky roll of the hyperparameter dice.

Summary updated

BibTeX
@inproceedings{tori2025effectiveness,
  author = {Floriano Tori and Vincent Holst and Vincent Ginis},
  title = {{The Effectiveness of Curvature-Based Rewiring and the Role of Hyperparameters in GNNs Revisited}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=EcrdmRT99M},
}
Figure