Graph Condensation for Graph Neural Networks

Wei Jin, Lingxiao Zhao, Shichang Zhang, Yozen Liu, Jiliang Tang +1 more
10/14/2021
227 citations
cs.LGcs.AI
gnn

Official code: ChandlerBang/GCond (148 stars, Python, last commit 2025-10-10).

Abstract

Given the prevalence of large-scale graphs in real-world applications, the storage and time for training neural models have raised increasing concerns. To alleviate the concerns, we propose and study the problem of graph condensation for graph neural networks (GNNs).

Show full abstract

Specifically, we aim to condense the large, original graph into a small, synthetic and highly-informative graph, such that GNNs trained on the small graph and large graph have comparable performance. We approach the condensation problem by imitating the GNN training trajectory on the original graph through the optimization of a gradient matching loss and design a strategy to condense node futures and structural information simultaneously. Extensive experiments have demonstrated the effectiveness of the proposed framework in condensing different graph datasets into informative smaller graphs. In particular, we are able to approximate the original test accuracy by 95.3% on Reddit, 99.8% on Flickr and 99.0% on Citeseer, while reducing their graph size by more than 99.9%, and the condensed graphs can be used to train various GNN architectures.Code is released at https://github.com/ChandlerBang/GCond.

View on arXivView PDF

Code Implementations(1)

ChandlerBang/GCondOfficial100%

[ICLR'22][KDD'22][IJCAI'24][NeurIPS'25] Implementation of "Graph Condensation for Graph Neural Networks"

14823Python, ShellOct 15, 20211 years ago
data-efficient-learningdataset-distillationgraph-neural-networks

Similar Papers

Cite this paper

@article{jin2021graph,
  title  = {Graph Condensation for Graph Neural Networks},
  author = {Wei Jin and Lingxiao Zhao and Shichang Zhang and Yozen Liu and Jiliang Tang and Neil Shah},
  year   = {2021},
  eprint = {2110.07580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07580}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.07580.svg)](https://codeofpaper.com/paper/2110.07580)

Discussion