UGSL: A Unified Framework for Benchmarking Graph Structure Learning

Bahare Fatemi, Sami Abu-El-Haija, Anton Tsitsulin, Mehran Kazemi, Dustin Zelle, Neslihan Bulut, Jonathan Halcrow, Bryan Perozzi

TL;DR

UGSL (Unified Graph Structure Learning) is a new benchmarking framework that unifies over ten existing Graph Structure Learning methods and 4,000 distinct architectures into a single modular design. By conducting the first massive, controlled comparison across six diverse datasets, the authors demystify what actually makes a GSL model successful, revealing that optimal configurations are highly dataset-dependent and heavily reliant on unsupervised auxiliary losses.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are incredibly powerful, but they possess a glaring Achilles' heel: they depend entirely on the quality of the input graph structure. If a graph is noisy, incomplete, or completely missing, a standard GNN's performance can plummet—sometimes performing worse than a simple multilayer perceptron (MLP) that ignores graph structure altogether.

To solve this, researchers developed Graph Structure Learning (GSL), a paradigm where the graph network jointly learns both the optimal graph structure (edges) and the GNN parameters. However, the GSL subfield has grown in a fragmented way. Every new paper introduces a unique experimental setup, distinct downstream evaluation tasks, and custom datasets. This lack of standardization has made it virtually impossible to know which GSL techniques actually drive performance.

Methods

The authors introduce UGSL, a unified framework that breaks down any GSL model into a single pipeline composed of four sequential, trainable modules per layer:

  1. EdgeScorer: Computes a dense similarity score for every pair of nodes. Common implementations include Full Parameterization (FP), Attentive (ATT), and Multilayer Perceptron (MLP).
  2. Sparsifier: Prunes the dense matrix to keep only the most important edges, reducing memory and computational overhead (e.g., via $k$-Nearest Neighbors ($k\text{NN}$), dilated $k\text{NN}$, or Bernoulli relaxation).
  3. Processor: Refines the sparsified graph, typically by enforcing symmetry or applying non-linear activations.
  4. Encoder: A standard GNN layer (like GCN or GIN) that generates updated node embeddings using the newly learned graph structure.
Figure 1: Overview of the ℓ-th GSL layer, f(ℓ,θℓ).

Beyond the architecture, the framework incorporates various regularizers (like smoothness and closeness penalties) and auxiliary unsupervised loss functions (such as contrastive learning and denoising autoencoders) to guide the graph generation process.

Datasets

The framework was evaluated across six datasets spanning different domains:

  • Citation Networks: Cora, Citeseer, and Pubmed (where the original graph structure was intentionally stripped to test graph learning from scratch).
  • Co-purchase Network: Amazon Photos.
  • Image Classification: Imagenet-20 (a 20-class subset using Vision Transformer features, with no initial graph structure).
  • Text Classification: Stackoverflow (20,000 question titles embedded via BERT, with no initial graph structure).

Key Insights and Ideas

  • No "One Size Fits All" Architecture: The most significant takeaway is that no single GSL design dominates. The best-performing components vary wildly depending on the dataset's intrinsic features and node types.
  • The Power of Dilated $k\text{NN}$: Among sparsification techniques, dilated $k\text{NN}$ consistently outperformed standard $k\text{NN}$. By skipping immediate neighbors to sample from a wider radius, dilation expands a node's receptive field and improves local smoothness.
  • Unsupervised Losses are Crucial: Incorporating unsupervised auxiliary tasks—specifically contrastive loss—provided the largest performance boosts. This helps mitigate "supervision starvation," where the sparse labels in semi-supervised tasks don't provide enough signal to learn both node features and graph structures simultaneously.
  • Per-Layer Graphs are Overkill: Dynamically learning a brand-new adjacency matrix at every single layer of a deep GNN actually degrades performance. The added model complexity outweighs the benefits; sharing a single learned graph across layers is more effective.

Key Results

Through a massive random search of over 30,000 trials per dataset, UGSL discovered novel combinations of components that significantly outperformed standard baselines.

Table 2: Results comparing different components used in UGSL.

As shown in the benchmarking results, the optimized UGSL models achieved substantial accuracy gains over the base models:

  • Cora: Test accuracy jumped from 65.30% (base) to 72.30% (best discovered model).
  • Pubmed: Accuracy increased from 69.60% to 76.00%.
  • Amazon Photos: Accuracy rose from 79.87% to 89.84%.

The best models consistently combined components from entirely different literature lineages, proving the value of a unified search space.

Limitations and Future Work

The primary limitation of current GSL methods—including UGSL—is scalability. Because the EdgeScorer module must initially evaluate pairs of nodes, it scales quadratically ($O(N^2)$) with the number of nodes, making it intractable for massive, real-world web graphs.

The authors point to several promising future directions:

  1. Scalable GSL: Integrating non-differentiable Approximate Nearest Neighbor (ANN) heuristics or kernelization tricks (like Nodeformer) into the UGSL pipeline to achieve linear scaling ($O(N)$).
  2. Better Graph Statistics: Current topological metrics (like diameter or clustering coefficients) correlate poorly with downstream GNN accuracy. New metrics are needed to predict whether a learned graph will actually benefit a GNN.
  3. Beyond Node Classification: Extending the benchmark to link prediction and graph-level classification tasks.

Summary updated

BibTeX
@inproceedings{fatemi2023ugsl,
  author = {Bahare Fatemi and Sami Abu-El-Haija and Anton Tsitsulin and Mehran Kazemi and Dustin Zelle and Neslihan Bulut and Jonathan Halcrow and Bryan Perozzi},
  title = {{UGSL: A Unified Framework for Benchmarking Graph Structure Learning}},
  booktitle = {TAGML @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=9klGkD6fAG},
}
Figure