Mitigating Degree Biases in Message Passing Mechanism by Utilizing Community Structures

Van Thuy Hoang, O-Joun Lee
12/28/2023
cs.LGcs.AIcs.SI

Official code: NSLab-CUK/Community-aware-Graph-Transformer (15 stars, MIT, last commit 2025-08-27).

Abstract

This study utilizes community structures to address node degree biases in message-passing (MP) via learnable graph augmentations and novel graph transformers. Recent augmentation-based methods showed that MP neural networks often perform poorly on low-degree nodes, leading to degree biases due to a lack of messages reaching low-degree nodes. Despite their success, most methods use heuristic or uniform random augmentations, which are non-differentiable and may not always generate valuable edges for learning representations. In this paper, we propose Community-aware Graph Transformers, namely CGT, to learn degree-unbiased representations based on learnable augmentations and graph transformers by extracting within community structures. We first design a learnable graph augmentation to generate more within-community edges connecting low-degree nodes through edge perturbation. Second, we propose an improved self-attention to learn underlying proximity and the roles of nodes within the community. Third, we propose a self-supervised learning task that could learn the representations to preserve the global graph structure and regularize the graph augmentations. Extensive experiments on various benchmark datasets showed CGT outperforms state-of-the-art baselines and significantly improves the node degree biases. The source code is available at https://github.com/NSLab-CUK/Community-aware-Graph-Transformer.

View on arXivView PDF

Code Implementations(1)

MIT

Community-aware Graph Transformer (CGT) is a novel Graph Transformer model that utilizes community structures to address node degree biases in message-passing mechanism and developed by NS Lab @ CUK based on pure PyTorch backend.

152PythonDec 12, 20231 years agoMIT
degree-biasdegree-fairnessgraph-algorithmsgraph-neural-networksgraph-representation-learning+7 more

Similar Papers

Cite this paper

@article{hoang2023mitigating,
  title  = {Mitigating Degree Biases in Message Passing Mechanism by Utilizing Community Structures},
  author = {Van Thuy Hoang and O-Joun Lee},
  year   = {2023},
  eprint = {2312.16788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.16788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.16788.svg)](https://codeofpaper.com/paper/2312.16788)

Discussion