Subgraph generation applied in GraphSAGE deal with imbalanced node classification

Kai Huang, Chen Chen · Research Square · 2023

Abstract In graph neural network applications,GraphSAGE applies inductive learning and has been widely applied in important research topics such as node classification.The subgraph of nodes directly affects the classification performance for GraphSAGE due to it applies aggregation function to obtain embedding from the neighbors' feature.In many practical applications, the uneven class distribution of nodes makes it difficult for graph neural network to fully learn the topology and attribute of the minority, which limits the classification performance.Aiming at the problem of imbalanced node classification in GraphSAGE,we propose a new graph over-sampling algorithm called Subgraph Generation by Conditional Generative Adversarial Network (SG-CGAN).SG-CGAN learns the hidden layer expression of different nodes through GraphSAGEand trains conditional generative adversarial network(CGAN) through the nodes' hidden vector and related subgraph.Meanwhile, the hidden synthetic data is generated as input of CGAN to generate subgraphs of the minority,and retrain the GraphSAGE by adding the synthetic subgraphs.Experiments based on five graph datasets show that SG-CGAN can help GraphSAGE effectively improve ACC, macro-F1 and micro-F1,verifying the effectiveness of SG-CGAN generated data.

Read the paper · More papers on PaperTik