EXGC: Bridging Efficiency and Explainability in Graph Condensation

Junfeng Fang, Xinglin Li, Yongduo Sui, Yuan Gao, Guibin Zhang, Kun Wang, Xiang Wang, Xiangnan He

Introduction

Training Graph Neural Networks (GNNs) on massive datasets, such as social networks or recommendation systems, presents significant computational and memory challenges. Graph Condensation (GCond) has emerged as a promising solution, aiming to synthesize a small, high-quality graph that preserves the essential information of the original large-scale dataset. Models trained on these condensed graphs can achieve performance comparable to those trained on full datasets but in a fraction of the time.

The Redundancy Problem

Despite its potential, current GCond methods face two primary hurdles: extreme inefficiency and high redundancy. As the size of the synthetic graph $N$ increases, the number of to-be-updated parameters (specifically node features) grows linearly, leading to slow convergence. Furthermore, many nodes in the synthetic graph often become "dead weight," contributing minimally to the learning process while still consuming resources.

Overview of graph condensation challenges: (a) performance on Reddit, (b) parameter scaling, and (c) the redundancy issue in current methods.

As illustrated in the figure above, existing methods often choose a size for the synthetic set $S$ that leads to significant redundancy (c). The goal of EXGC is to find the "optimal size" by identifying and focusing on the most informative components of the graph.

The EXGC Methodology

The authors propose EXGC (Efficient and eXplainable Graph Condensation) to address these limitations through two core innovations:

1. Mean-Field Graph Condensation (MGCond)

EXGC reframes the condensation process as an Expectation-Maximization (EM) problem. By applying a Mean-Field variational approximation, the complex task of updating all node features simultaneously is decomposed into smaller, independent subsets. This "divide and conquer" strategy significantly accelerates training, allowing for much faster convergence than traditional gradient-matching approaches.

2. Gradient Information Bottleneck (GDIB)

To eliminate redundancy, EXGC utilizes Information Bottleneck theory combined with post-hoc explainability techniques (such as GNNExplainer). This module, termed GDIB, ranks nodes by their importance in mimicking the gradients of the original graph. By focusing optimization efforts on the top "informative" nodes, EXGC ensures that computational energy is spent where it matters most.

Key Results and Insights

The effectiveness of EXGC was validated across eight diverse datasets, including Reddit, Ogbn-Arxiv, and various molecular and protein graphs.

  • Efficiency Gains: EXGC achieves massive speedups, reaching up to 11.3x faster training on the Citeseer dataset compared to standard GCond methods.
  • Extreme Compression: On the Reddit dataset, EXGC successfully condensed a graph of 153,932 nodes down to just 153 nodes (a 1000x reduction). Remarkably, models trained on this tiny subset retained over 91% accuracy, compared to 93.5% on the full graph.
  • The 80/20 Rule: A critical insight from the study is that training just the top 20% of synthetic node features accounts for approximately 93.7% of the total accuracy improvement. This confirms the high level of redundancy in previous methods and justifies the explainability-driven filtering approach.
  • Cross-Architecture Transferability: Synthetic graphs generated by EXGC are not overfitted to a specific model. A graph condensed using a GCN performs exceptionally well when used to train other architectures like GraphSAGE or SGC, indicating that EXGC captures fundamental structural and feature-based properties of the data.

Conclusion

EXGC represents a significant step forward in making graph condensation practical for real-world, large-scale applications. By bridging the gap between efficiency and explainability, it provides a framework that is both faster to train and more effective at capturing essential information. Future work will focus on automating the pruning of redundant nodes during the initialization phase to further streamline the condensation pipeline.

Summary updated

BibTeX
@inproceedings{fang2024exgc,
  author = {Junfeng Fang and Xinglin Li and Yongduo Sui and Yuan Gao and Guibin Zhang and Kun Wang and Xiang Wang and Xiangnan He},
  title = {{EXGC: Bridging Efficiency and Explainability in Graph Condensation}},
  booktitle = {The Web Conference},
  year = {2024},
}
Figure