Towards Sparsification of Graph Neural Networks

Hongwu Peng, Deniz Gurevin, Shaoyi Huang, Tong Geng, Weiwen Jiang +2 more
9/11/2022
cs.LG
gnnquantization-pruning

Official code: harveyp123/ICCD_SpTrn_SLR (9 stars, Python, MIT, last commit 2023-01-02).

Abstract

As real-world graphs expand in size, larger GNN models with billions of parameters are deployed. High parameter count in such models makes training and inference on graphs expensive and challenging.

Show full abstract

To reduce the computational and memory costs of GNNs, optimization methods such as pruning the redundant nodes and edges in input graphs have been commonly adopted. However, model compression, which directly targets the sparsification of model layers, has been mostly limited to traditional Deep Neural Networks (DNNs) used for tasks such as image classification and object detection. In this paper, we utilize two state-of-the-art model compression methods (1) train and prune and (2) sparse training for the sparsification of weight layers in GNNs. We evaluate and compare the efficiency of both methods in terms of accuracy, training sparsity, and training FLOPs on real-world graphs. Our experimental results show that on the ia-email, wiki-talk, and stackoverflow datasets for link prediction, sparse training with much lower training FLOPs achieves a comparable accuracy with the train and prune method. On the brain dataset for node classification, sparse training uses a lower number FLOPs (less than 1/7 FLOPs of train and prune method) and preserves a much better accuracy performance under extreme model sparsity.

View on arXivView PDF

Code Implementations(1)

MIT

Comparison between sparse training and SLR method on GNN dataset

92Python, ShellAug 21, 20223 years agoMIT

Similar Papers

Cite this paper

@article{peng2022towards,
  title  = {Towards Sparsification of Graph Neural Networks},
  author = {Hongwu Peng and Deniz Gurevin and Shaoyi Huang and Tong Geng and Weiwen Jiang and Omer Khan and Caiwen Ding},
  year   = {2022},
  eprint = {2209.04766},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04766}
}

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/2209.04766.svg)](https://codeofpaper.com/paper/2209.04766)

Discussion