GCondenser: Benchmarking Graph Condensation

Yilun Liu, Ruihong Qiu, Zi Huang

TL;DR

GCondenser is the first comprehensive, large-scale benchmark designed to bring order to the "Wild West" of graph condensation. By providing a standardized pipeline and evaluating methods across dimensions like efficiency, transferability, and continual learning, it reveals that simpler, "edge-free" condensed graphs often rival complex structural models in performance.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are powerful, but training them on massive real-world graphs is computationally expensive and slow. Graph Condensation (GC) aims to solve this by "distilling" a giant graph into a tiny synthetic version (often less than 1% of the original size) that allows a GNN to achieve nearly the same accuracy.

However, the field has lacked a unified way to measure success. Different researchers use different datasets, initialization strategies, and evaluation metrics. This makes it nearly impossible to tell which GC method is actually best for a specific use case—whether that's accelerating architecture search or enabling "continual learning" where a model learns from a stream of data without forgetting the past.

Methods

The authors propose a standardized GC paradigm consisting of four stages: Initialisation, Condensation, Validation, and Evaluation.

They categorize and implement the three main families of GC algorithms:

  1. Gradient Matching: Aligns the gradients of the GNN weights when trained on real vs. synthetic data (e.g., GCond, DosCond).
  2. Distribution Matching: Ensures the synthetic nodes have a similar feature distribution to the real nodes in an embedding space (e.g., GCDM, DM).
  3. Trajectory Matching: Aligns the entire training "path" or dynamics of a model (e.g., SFGC).

A key technical contribution is the formal introduction of a Validator step. While often ignored in previous papers, GCondenser uses a validator (like a GNTK or a separate GNN) to select the best synthetic graph during training, much like a validation set is used in standard machine learning.

Datasets

The benchmark utilizes seven diverse datasets, split into two settings:

  • Transductive (Standard): CiteSeer, Cora, PubMed, ogbn-arxiv, and ogbn-products.
  • Inductive (Generalization to unseen nodes): Flickr and Reddit.

These range from small-scale networks (thousands of nodes) to large-scale OGB datasets (millions of nodes), providing a rigorous test of scalability.

Key Insights and Ideas

  • Edges are Optional: One of the most surprising "aha moments" is that edge-free variants (condensed graphs consisting only of nodes with no explicit links) often perform as well as, or even better than, graphs with complex synthetic structures. This suggests that high-quality node features can capture most of the necessary information for GNN training.
  • Initialization is a Bottleneck: How you start matters. The paper finds that maintaining the original label distribution (proportional) is significantly better than a balanced distribution, especially for imbalanced real-world datasets like Arxiv.
  • The Backbone Trade-off: Simple backbones like SGC (Simplified Graph Convolution) are faster for condensation, but more expressive backbones like GCN produce better synthetic graphs for trajectory matching methods.
  • Scalability Walls: Some sophisticated methods, like Eigenbasis matching (GDEM), completely fail (Out of Time) on larger datasets like Arxiv or Products due to the computational cost of eigendecomposition.

Key Results

  • Top Performer: SFGC (Trajectory Matching) generally achieves the highest accuracy on large datasets with very small budgets, though it requires significant offline time to pre-compute "expert trajectories."
  • Best All-Rounder: DM (Distribution Matching) is surprisingly effective. Despite being one of the simplest methods, it is highly efficient and performs robustly across various GNN architectures.
  • Efficiency: Methods that ignore graph structure (structure-free) are significantly faster and require less memory, making them more practical for real-world deployment.
  • Continual Learning: In the "Continual Graph Learning" task, distribution-matching methods (like DM) proved most adaptable, helping models retain knowledge better than traditional sampling methods as new data arrived.

Limitations and Future Work

The authors acknowledge that while GCondenser covers a wide range, it currently focuses primarily on node classification. Future versions of the benchmark aim to include:

  1. Task Diversity: Expanding to link prediction and graph-level classification.
  2. Extreme Scale: Moving toward even larger datasets like Papers100M to further test the limits of condensation.
  3. New Methods: As an open-source project, the benchmark is designed to be a "living" document where new GC algorithms can be easily integrated and compared against the established baselines.

Summary updated

BibTeX
@inproceedings{liu2025gcondenser,
  author = {Yilun Liu and Ruihong Qiu and Zi Huang},
  title = {{GCondenser: Benchmarking Graph Condensation}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761654},
}
Figure