Towards Understanding and Reducing Graph Structural Noise for GNNs

Mingze Dong, Yuval KlugerICML 2023

Graph Neural Networks (GNNs) are the go-to tools for relational data, but they suffer from a classic "garbage in, garbage out" problem. If the graph structure—the very connections the model relies on to pass messages—is noisy or poorly defined, performance tanks. While the community has developed plenty of metrics for node features, we have lacked a robust way to measure "structural noise."

In their work Towards Understanding and Reducing Graph Structural Noise for GNNs, Mingze Dong and Yuval Kluger introduce two major tools to solve this: ESNR, a metric to quantify structural noise, and GPS, a self-supervised rewiring framework to fix it.

The Problem: Heterophily and Structural Noise

Most GNNs operate via message passing, where nodes aggregate information from their neighbors. This assumes that an edge represents a meaningful, homophilic relationship (i.e., connected nodes are similar). However, real-world graphs are often "noisy": they contain spurious edges (noise) or miss important ones (missing signal).

Two specific issues often plague GNNs:

  1. Heterophily: When connected nodes have different labels or features, standard message passing can actually make node representations less distinguishable, leading to over-smoothing or confusion.
  2. Structural Noise: Random or irrelevant connections dilute the "signal" of the graph.

Until now, there was no task-independent way to measure this noise level or a universal method to "clean" the graph prior to training the GNN.

Methods

1. ESNR (Edge Signal-to-Noise Ratio)

To measure noise, the authors look at the spectrum (eigenvalues) of the graph's adjacency matrix. They use a technique called biwhitening (via the Sinkhorn-Knopp algorithm) to normalize the matrix.

ESNR Computation Pipeline

According to Random Matrix Theory, the eigenvalues of a purely noisy matrix follow a specific distribution known as the Marchenko-Pastur (MP) law. Any eigenvalues that "poke out" beyond the edge of this theoretical distribution represent actual, meaningful signal.

Eigenvalue Distributions and MP Density

ESNR calculates the ratio of this "outlier" signal to the total spectrum. This provides researchers with a "thermometer" to check how healthy a graph's structure is before they even start training. The authors found a striking concordance between ESNR and GNN accuracy: if ESNR drops (e.g., through random edge dropout), GNN performance drops predictably.

2. GPS (Graph Propensity Score)

Inspired by causal inference, the authors treat edge existence as a "treatment." They propose a self-supervised link prediction task to estimate the Graph Propensity Score—the likelihood that an edge should exist given the node features.

The process works as follows:

  • Split: Randomly hide a subset of edges.
  • Predict: Use a GNN to predict the hidden edges based on node features and the remaining structure.
  • Rewire: Replace the original noisy graph with a "rewired" version using the highest-probability predicted edges.
  • Ensemble: Optionally blend the rewired graph with the original to ensure no vital structural information is lost.

Unlike previous denoising methods that only look at graph topology, GPS uses node features. This allows it to work effectively on heterophilic graphs, where the structure might look random but the features contain the hidden logic of the connections.

Datasets and Key Results

The authors validated their work across a massive battery of 16 datasets, categorized by their homophily:

  • Homophilic (Standard): Cora, Citeseer, Pubmed.
  • Heterophilic (Challenging): Cornell, Texas, Wisconsin (WebKB), Chameleon, Squirrel (Wikipedia), Actor.
  • Large-scale/Other: WikiCS, Amazon-ratings, etc.

The most dramatic results appeared on heterophilic datasets, where standard GNNs usually struggle. In highly noisy datasets, GPS acts as a filter, "pruning" away the noisy edges that would otherwise confuse the message-passing mechanism:

  • Cornell: Accuracy jumped from 43.5% (Baseline) to 74.6% (GPS).
  • Texas: Accuracy increased from 66.2% to 80.0%.
  • Wisconsin: Accuracy rose from 52.9% to 78.8%.

On standard homophilic datasets (like Cora), GPS maintained competitive performance, proving it doesn't "break" graphs that are already clean. Furthermore, the ESNR metric correctly identified that Cora has much higher structural signal than the WebKB datasets, explaining why GNNs work so much better on the former out-of-the-box.

Limitations and Future Work

While ESNR and GPS offer significant steps forward, some limitations remain:

  • Complex Architectures: The relationship between ESNR and GNNs was tested primarily on standard GCNs. How ESNR interacts with more complex attention-based models (like GAT) or Transformers remains an open question.
  • High-SNR Graphs: On graphs that already have a very high Signal-to-Noise Ratio, GPS provides only marginal gains.
  • Computational Cost: Full computation of edge likelihoods for rewiring can be expensive on massive graphs, though the authors suggest using negative sampling and k-NN thresholding to scale the method.

Ultimately, combining GPS with other rewiring methods (such as those addressing "over-squashing") could lead to a powerful, universal graph pre-processor for future relational learning tasks.

Summary updated

BibTeX
@inproceedings{dong2023towards,
  author = {Mingze Dong and Yuval Kluger},
  title = {{Towards Understanding and Reducing Graph Structural Noise for GNNs}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=b54HXDODzM},
}
Figure