Skip to main content
QUICK REVIEW

[Paper Review] GraphMixup: Improving Class-Imbalanced Node Classification on Graphs by Self-supervised Context Prediction

Lirong Wu, Haitao Lin|arXiv (Cornell University)|Jun 21, 2021
Advanced Graph Neural NetworksComputer Science24 references13 citations
TL;DR

GraphMixup proposes a unified, end-to-end framework to improve class-imbalanced node classification on graphs by performing semantic-level feature mixup, context-aware edge mixup via self-supervised path prediction, and reinforcement learning-based adaptive upsampling. It achieves state-of-the-art performance across multiple real-world datasets with varying imbalance ratios.

ABSTRACT

Recent years have witnessed great success in handling node classification tasks with Graph Neural Networks (GNNs). However, most existing GNNs are based on the assumption that node samples for different classes are balanced, while for many real-world graphs, there exists the problem of class imbalance, i.e., some classes may have much fewer samples than others. In this case, directly training a GNN classifier with raw data would under-represent samples from those minority classes and result in sub-optimal performance. This paper presents GraphMixup, a novel mixup-based framework for improving class-imbalanced node classification on graphs. However, directly performing mixup in the input space or embedding space may produce out-of-domain samples due to the extreme sparsity of minority classes; hence we construct semantic relation spaces that allows the Feature Mixup to be performed at the semantic level. Moreover, we apply two context-based self-supervised techniques to capture both local and global information in the graph structure and then propose Edge Mixup specifically for graph data. Finally, we develop a \emph{Reinforcement Mixup} mechanism to adaptively determine how many samples are to be generated by mixup for those minority classes. Extensive experiments on three real-world datasets show that GraphMixup yields truly encouraging results for class-imbalanced node classification tasks.

Motivation & Objective

  • Address the challenge of class imbalance in graph neural networks, where minority classes are underrepresented and lead to suboptimal model performance.
  • Overcome limitations of existing mixup methods in graph settings, such as generating out-of-domain samples due to feature sparsity in minority classes.
  • Develop a self-supervised framework that captures both local and global structural information to guide realistic edge generation for synthetic nodes.
  • Replace heuristic upsampling ratios with a learnable, adaptive mechanism to optimize the number of synthetic samples per minority class.
  • Achieve consistent performance gains across diverse imbalance ratios without relying on manual hyperparameter tuning.

Proposed method

  • Construct disentangled semantic relation spaces to perform feature mixup at the semantic level, reducing out-of-domain sample generation from sparse minority classes.
  • Design two context-based self-supervised tasks—Local-Path Prediction and Glocal-Path Prediction—to capture local and global structural dependencies for edge generation.
  • Train an edge predictor using these self-supervised tasks to predict connections between synthetic nodes and existing nodes, enabling realistic edge mixup.
  • Integrate a reinforcement learning agent that dynamically determines the optimal upsampling scale for each minority class based on performance feedback.
  • Combine semantic feature mixup, edge mixup, and adaptive upsampling within a unified, end-to-end training framework for joint optimization.
  • Use bottleneck encoders (e.g., GCN, GAT, SAGE) with a specialized SEM module to disentangle semantic features, validated via correlation analysis.

Experimental results

Research questions

  • RQ1Can semantic-level feature mixup mitigate the generation of out-of-domain samples in highly sparse minority classes on graphs?
  • RQ2How can local and global structural information be effectively captured to guide realistic edge prediction for synthetic nodes?
  • RQ3Does a reinforcement learning-based mechanism for adaptive upsampling outperform heuristic or fixed-scale approaches in class-imbalanced node classification?
  • RQ4To what extent do self-supervised context prediction tasks improve model generalization and robustness on imbalanced graph data?
  • RQ5Can the proposed framework consistently outperform existing state-of-the-art methods across a wide range of imbalance ratios?

Key findings

  • GraphMixup achieves the highest performance across all three real-world datasets (Cora, PubMed, Reddit) under varying imbalance ratios, outperforming baselines including GraphSMOTE and SMOTE.
  • The variant with the SEM bottleneck encoder and full GraphMixup components (GraphMixup$_C$) achieves an F1-macro score of 0.942 on Cora, surpassing the next best method (GraphSMOTE) by 0.012.
  • The reinforcement learning mechanism converges to an optimal upsampling scale of 0.8 (with initial value 0.5), matching the best performance observed in ablation studies with fixed scales.
  • Ablation studies confirm that both Local-Path and Glocal-Path Prediction tasks are essential, with their joint use yielding the highest ROC-AUC scores and best overall performance.
  • The correlation analysis shows that the SEM module produces four distinct diagonal blocks in the feature correlation map, confirming effective disentanglement of semantic features.
  • Removing the reinforcement mechanism (GraphMixup-Fix) leads to performance degradation when the upsampling scale exceeds 0.8, confirming the necessity of adaptive scaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.