NodeImport: Imbalanced Node Classification with Node Importance Assessment

Nan Chen, Zemin Liu, Bryan Hooi, Bingsheng He, Jun Hu, Jia Chen · DOI

TL;DR

This paper introduces NODEIMPORT, a novel framework for tackling class imbalance in node classification on graphs. It achieves this by developing a theoretically derived metric to dynamically assess node importance, allowing for the intelligent selection of valuable labeled, unlabeled, and synthetic nodes to improve model performance on imbalanced datasets.

What Problem Does This Paper Address?

In many real-world applications, graph data exhibits class imbalance, meaning some classes have significantly more labeled nodes than others. This imbalance poses a major challenge for Graph Neural Networks (GNNs), which tend to become biased towards the majority classes, leading to poor performance on minority classes. Existing solutions often rely on simple heuristics like class size for node selection or data augmentation techniques that can be inflexible or computationally expensive. This paper aims to provide a more effective and flexible approach to class-imbalanced node classification by focusing on a principled way to identify and utilize "important" nodes.

Methods

The core of NODEIMPORT is a novel node importance metric derived from Bayesian probability theory and a first-order Taylor expansion. This metric quantifies how much a specific node contributes to improving the model's performance on a balanced "meta-set" of data. The key innovation lies in transforming a computationally intensive bi-level optimization problem into a tractable formula.

The framework then uses this metric to:

  • Filter valuable labeled nodes: Selects labeled nodes that genuinely improve performance on the meta-set.
  • Incorporate unlabeled nodes: Assigns pseudo-labels to unlabeled nodes and then uses the importance metric to select the most valuable ones.
  • Utilize synthetic nodes: Generates synthetic nodes using a MixUp-like approach and then filters them based on their importance.

A crucial component is the meta-set construction, which uses the Partitioning Around Medoids (PAM) algorithm to select representative samples from each class, ensuring a balanced and high-quality meta-set for importance assessment. The framework decouples node generation from filtering, allowing compatibility with various existing techniques.

Datasets

The authors evaluated NODEIMPORT on five benchmark datasets:

  • Citation Networks: Cora, CiteSeer, and PubMed.
  • Amazon Co-purchase Networks: Amazon-Photo and Amazon-Computers.

These datasets were configured with an imbalance ratio (IR) of 50 and a long-tailed distribution for training.

Key Insights and Ideas

  • Importance is dynamic and meta-set driven: The paper argues that a node's importance isn't static but depends on its contribution to performance on a balanced, representative dataset (the meta-set). This moves beyond simple class-size heuristics.
  • Theoretical derivation simplifies computation: Deriving a closed-form importance metric significantly reduces the computational burden compared to previous meta-set approaches, making it practical for graph-based learning.
  • Flexibility in node sourcing: The framework's ability to incorporate labeled, unlabeled, and synthetic nodes, and its independence from specific generation methods, makes it highly adaptable.
  • Meta-set quality matters: The careful construction of a balanced meta-set using PAM is shown to be critical for effective importance assessment.
  • Addressing imbalance benefits all classes: The results suggest that effectively mitigating class imbalance not only helps minority classes but also refines decision boundaries for majority classes.

Key Results

NODEIMPORT consistently outperformed state-of-the-art baselines across various GNN architectures (GCN, GAT, GraphSAGE) and datasets, achieving significant improvements in balanced accuracy and Macro F1 scores, especially under high imbalance ratios. For instance, on the Cora dataset with IR=50, NODEIMPORT achieved a Macro F1 score of 83.31% with GraphSAGE, outperforming many other methods. The paper also demonstrated that the framework maintains competitive performance in terms of execution time and GPU memory usage, indicating its efficiency.

Limitations and Future Work

  • Meta-set size sensitivity: While the framework is robust, the performance can be sensitive to the size of the meta-set, with moderate sizes generally yielding optimal results.
  • Large-scale dataset challenges: For extremely large datasets like ogbn-arxiv, node synthesis can lead to memory limitations, requiring careful consideration or adaptation of the framework.
  • Further investigation on ogbn-arxiv: The paper suggests that the ogbn-arxiv dataset, with its long-tailed distribution and varying class compositions, warrants further investigation for class-imbalanced node classification.
  • Hyperparameter tuning: While the framework shows stable performance around default hyperparameter values (e.g., $\beta, \gamma \approx 1.0$), further exploration of optimal hyperparameter settings for diverse graph structures and imbalance scenarios could be beneficial.

Summary updated

BibTeX
@inproceedings{chen2025nodeimport,
  author = {Nan Chen and Zemin Liu and Bryan Hooi and Bingsheng He and Jun Hu and Jia Chen},
  title = {{NodeImport: Imbalanced Node Classification with Node Importance Assessment}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3690624.3709215},
}
Figure