Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ParaFormer: A Generalized PageRank Graph Transformer for Graph Representation Learning

About

Graph Transformers (GTs) have emerged as a promising graph learning tool, leveraging their all-pair connected property to effectively capture global information. To address the over-smoothing problem in deep GNNs, global attention was initially introduced, eliminating the necessity for using deep GNNs. However, through empirical and theoretical analysis, we verify that the introduced global attention exhibits severe over-smoothing, causing node representations to become indistinguishable due to its inherent low-pass filtering. This effect is even stronger than that observed in GNNs. To mitigate this, we propose PageRank Transformer (ParaFormer), which features a PageRank-enhanced attention module designed to mimic the behavior of deep Transformers. We theoretically and empirically demonstrate that ParaFormer mitigates over-smoothing by functioning as an adaptive-pass filter. Experiments show that ParaFormer achieves consistent performance improvements across both node classification and graph classification tasks on 11 datasets ranging from thousands to millions of nodes, validating its efficacy. The supplementary material, including code and appendix, can be found in https://github.com/chaohaoyuan/ParaFormer.

Chaohao Yuan, Zhenjie Song, Ercan Engin Kuruoglu, Kangfei Zhao, Yang Liu, Deli Zhao, Hong Cheng, Yu Rong• 2025

Related benchmarks

TaskDatasetResultRank
Node ClassificationOgbn-arxiv
Accuracy72.87
51
Node ClassificationCiteseer full-supervised
Accuracy0.805
51
Node ClassificationPubmed full-supervised
Accuracy90.3
48
Node ClassificationSquirrel (fixed)
Accuracy43
42
Node ClassificationChameleon (fixed)
Accuracy45.9
42
Node ClassificationFilm (fixed)
Accuracy38
33
Node ClassificationCora (full-supervised)
Accuracy89.4
32
Graph Classification20NEWS (test)
Accuracy67.2
29
Graph-level classificationSTL-10 (test)
Accuracy0.765
24
Node ClassificationDeezer (fixed)
Accuracy67.7
19
Showing 10 of 13 rows

Other info

Follow for update