SGS-GNN: A Supervised Graph Sparsification method for Graph Neural Networks

Siddhartha Shankar Das, Naheed Anjum Arafat, Muftiqur Rahman, S M Ferdous, Alex Pothen +1 more
2/14/2025
cs.LG

No official code found. Best implementation: anonymousauthors001/SGS-GNN (2 stars, last commit 2026-02-09).

Abstract

We propose SGS-GNN, a novel supervised graph sparsifier that learns the sampling probability distribution of edges and samples sparse subgraphs of a user-specified size to reduce the computational costs required by GNNs for inference tasks on large graphs. SGS-GNN employs regularizers in the loss function to enhance homophily in sparse subgraphs, boosting the accuracy of GNNs on heterophilic graphs, where a significant number of the neighbors of a node have dissimilar labels. SGS-GNN also supports conditional updates of the probability distribution learning module based on a prior, which helps narrow the search space for sparse graphs. SGS-GNN requires fewer epochs to obtain high accuracies since it learns the search space of subgraphs more effectively than methods using fixed distributions such as random sampling. Extensive experiments using 33 homophilic and heterophilic graphs demonstrate the following: (i) with only 20% of edges retained in the sparse subgraphs, SGS-GNN improves the F1-scores by a geometric mean of 4% relative to the original graph; on heterophilic graphs, the prediction accuracy is better up to 30%. (ii) SGS-GNN outperforms state-of-the-art methods with improvement in F1-scores of 4-7% in geometric mean with similar sparsities in the sampled subgraphs, and (iii) compared to sparsifiers that employ fixed distributions, SGS-GNN requires about half the number of epochs to converge.

View on arXivView PDF

Code Implementations(1)

SGS-GNN: A Supervised Graph Sparsification method for Graph Neural Networks

21Shell, PythonJan 29, 20258 months ago

Similar Papers

Cite this paper

@article{das2025sgsgnn,
  title  = {SGS-GNN: A Supervised Graph Sparsification method for Graph Neural Networks},
  author = {Siddhartha Shankar Das and Naheed Anjum Arafat and Muftiqur Rahman and S M Ferdous and Alex Pothen and Mahantesh M Halappanavar},
  year   = {2025},
  eprint = {2502.10208},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10208v1}
}

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

Discussion