ParaFormer: A Generalized PageRank Graph Transformer for Graph Representation Learning

Chaohao Yuan, Zhenjie Song, Ercan Engin Kuruoglu, Kangfei Zhao, Yang Liu +3 more
12/16/2025
cs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yuan2025paraformer,
  title  = {ParaFormer: A Generalized PageRank Graph Transformer for Graph Representation Learning},
  author = {Chaohao Yuan and Zhenjie Song and Ercan Engin Kuruoglu and Kangfei Zhao and Yang Liu and Deli Zhao and Hong Cheng and Yu Rong},
  year   = {2025},
  eprint = {2512.14619},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.14619v1}
}

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/2512.14619.svg)](https://codeofpaper.com/paper/2512.14619)

Discussion