GraphSMOTE: Imbalanced Node Classification on Graphs with Graph Neural Networks

Tianxiang Zhao, Xiang Zhang, Suhang Wang
3/16/2021
524 citations
cs.LG
gnn

Official code: TianxiangZhao/GraphSmote (181 stars, Python, last commit 2023-09-14).

Abstract

Node classification is an important research topic in graph learning. Graph neural networks (GNNs) have achieved state-of-the-art performance of node classification.

Show full abstract

However, existing GNNs address the problem where node samples for different classes are balanced; while for many real-world scenarios, some classes may have much fewer instances than others. Directly training a GNN classifier in this case would under-represent samples from those minority classes and result in sub-optimal performance. Therefore, it is very important to develop GNNs for imbalanced node classification. However, the work on this is rather limited. Hence, we seek to extend previous imbalanced learning techniques for i.i.d data to the imbalanced node classification task to facilitate GNN classifiers. In particular, we choose to adopt synthetic minority over-sampling algorithms, as they are found to be the most effective and stable. This task is non-trivial, as previous synthetic minority over-sampling algorithms fail to provide relation information for newly synthesized samples, which is vital for learning on graphs. Moreover, node attributes are high-dimensional. Directly over-sampling in the original input domain could generates out-of-domain samples, which may impair the accuracy of the classifier. We propose a novel framework, GraphSMOTE, in which an embedding space is constructed to encode the similarity among the nodes. New samples are synthesize in this space to assure genuineness. In addition, an edge generator is trained simultaneously to model the relation information, and provide it for those new samples. This framework is general and can be easily extended into different variations. The proposed framework is evaluated using three different datasets, and it outperforms all baselines with a large margin.

View on arXivView PDF

Code Implementations(1)

Pytorch implementation of paper 'GraphSMOTE: Imbalanced Node Classification on Graphs with Graph Neural Networks' to appear on WSDM2021

18137PythonDec 9, 20203 years ago

Similar Papers

Cite this paper

@article{zhao2021graphsmote,
  title  = {GraphSMOTE: Imbalanced Node Classification on Graphs with Graph Neural Networks},
  author = {Tianxiang Zhao and Xiang Zhang and Suhang Wang},
  year   = {2021},
  eprint = {2103.08826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.08826}
}

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

Discussion