English

Cluster-guided Contrastive Class-imbalanced Graph Classification

Machine Learning 2024-12-31 v2 Artificial Intelligence Information Retrieval Social and Information Networks

Abstract

This paper studies the problem of class-imbalanced graph classification, which aims at effectively classifying the graph categories in scenarios with imbalanced class distributions. While graph neural networks (GNNs) have achieved remarkable success, their modeling ability on imbalanced graph-structured data remains suboptimal, which typically leads to predictions biased towards the majority classes. On the other hand, existing class-imbalanced learning methods in vision may overlook the rich graph semantic substructures of the majority classes and excessively emphasize learning from the minority classes. To address these challenges, we propose a simple yet powerful approach called C3^3GNN that integrates the idea of clustering into contrastive learning to enhance class-imbalanced graph classification. Technically, C3^3GNN clusters graphs from each majority class into multiple subclasses, with sizes comparable to the minority class, mitigating class imbalance. It also employs the Mixup technique to generate synthetic samples, enriching the semantic diversity of each subclass. Furthermore, supervised contrastive learning is used to hierarchically learn effective graph representations, enabling the model to thoroughly explore semantic substructures in majority classes while avoiding excessive focus on minority classes. Extensive experiments on real-world graph benchmark datasets verify the superior performance of our proposed method against competitive baselines.

Keywords

Cite

@article{arxiv.2412.12984,
  title  = {Cluster-guided Contrastive Class-imbalanced Graph Classification},
  author = {Wei Ju and Zhengyang Mao and Siyu Yi and Yifang Qin and Yiyang Gu and Zhiping Xiao and Jianhao Shen and Ziyue Qiao and Ming Zhang},
  journal= {arXiv preprint arXiv:2412.12984},
  year   = {2024}
}

Comments

Accepted by Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence (AAAI-25)

R2 v1 2026-06-28T20:38:59.203Z