U2B: Scale-unbiased Representation Converter for Graph Classification with Imbalanced and Balanced Scale Distributions

Authors

  • Guanjun Wang University of Science and Technology of China
  • Jianhao Zhang Shanghai Jiao Tong University
  • Jiaming Ma University of Science and Technology of China
  • Sheng Huang University of Science and Technology of China
  • Pengkun Wang University of Science and Technology of China
  • Zhengyang Zhou University of Science and Technology of China
  • Binwu Wang University of Science and Technology of China
  • Yang Wang University of Science and Technology of China

DOI:

https://doi.org/10.1609/aaai.v40i31.39820

Abstract

Graph classification is a critical task in analyzing graph data, with applications across various domains. While graph neural networks (GNNs) have achieved remarkable results, their ability to generalize across graphs of varying scales remains a challenge. Conventional models often perform well on large-scale graphs but struggle with distributions that are skewed towards small scales. Conversely, models tailored to address scale imbalances frequently prioritize small-scale graphs, leading to diminished performance in more balanced scenarios. To overcome these limitations, we introduce a Unbalanced-Balanced Representation Converter (U2B), which exhibits no explicit bias toward graph scales. U2B employs a two-step workflow: a distillation phase to extract base features from both node-level and graph-level representations, followed by a refinement phase to generate unbiased representations for improved balance. In the distillation phase, a static constraint guides node-level adjustments, improving the representation of nodes in small graphs. Simultaneously, a dynamic constraint in the graph-level process mitigates biases toward features from large graphs. To ensure harmony between the representations, a consistency alignment loss is introduced, aligning node-level and graph-level features to create more cohesive and balanced graph representations. Extensive experiments on multiple datasets show that U2B achieves competitive performance.

Downloads

Published

2026-03-14

How to Cite

Wang, G., Zhang, J., Ma, J., Huang, S., Wang, P., Zhou, Z., … Wang, Y. (2026). U2B: Scale-unbiased Representation Converter for Graph Classification with Imbalanced and Balanced Scale Distributions. Proceedings of the AAAI Conference on Artificial Intelligence, 40(31), 26169–26177. https://doi.org/10.1609/aaai.v40i31.39820

Issue

Section

AAAI Technical Track on Machine Learning VIII