Lune

ICLR2024Top-tier venue

VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connections

Dongqi Fu, Zhigang Hua, Yan Xie, Jin Fang, Si Zhang, Kaan Sancak, Hao Wu, Andrey Malevich, Jingrui He, Bo Long

Abstract

Graph transformer has been proven as an effective graph learning method for its adoption of attention mechanism that is capable of capturing expressive representations from complex topological and feature information of graphs. Graph transformer conventionally performs dense attention (or global attention) for every pair of nodes to learn node representation vectors, resulting in quadratic computational costs that are unaffordable for large-scale graph data. Therefore, mini-batch training for graph transformers is a promising direction, but limited samples in each mini-batch can not support effective dense attention to encode informative representations. Facing this bottleneck, (1) we start by assigning each node a token list that is sampled by personalized PageRank (PPR) and then apply standard multihead self-attention only on this list to compute its node representations. This PPR tokenization method decouples model training from complex graph topological information and makes heavy feature engineering offline and independent, such that mini-batch training of graph transformers is possible by loading each node's token list in batches. We further prove this PPR tokenization is viable as a graph convolution network with a fixed polynomial filter and jumping knowledge. However, only using personalized PageRank may limit information carried by a token list, which could not support different graph inductive biases for model training. To this end, (2) we rewire graphs by introducing multiple types of virtual connections through structure-and content-based super nodes that enable PPR tokenization to encode local and global contexts, long-range interaction, and heterophilous information into each node's token list, and then formalize our Virtual Connection Ranking based Graph Transformer (VCR-Graphormer). Overall, VCR-Graphormer needs O(m+klogk) complexity for graph tokenization as compared to O(n 3 ) of previous works. The code is provided 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

25 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Recipe for a General, Powerful, Scalable Graph Transformer cites Do Transformers Really Perform Badly for Graph Representation?
  • Open Graph Benchmark: Datasets for Machine Learning on Graphs cites GraphSAINT: Graph Sampling Based Inductive Learning Method
  • Class-Imbalanced Graph Learning without Class Rebalancing cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • SLOG: An Inductive Spectral Graph Neural Network Beyond Polynomial Filter cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • SLOG: An Inductive Spectral Graph Neural Network Beyond Polynomial Filter cites GraphSAINT: Graph Sampling Based Inductive Learning Method
  • Enhancing Graph Transformers with Hierarchical Distance Structural Encoding cites Recipe for a General, Powerful, Scalable Graph Transformer
  • Enhancing Graph Transformers with Hierarchical Distance Structural Encoding cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Enhancing Graph Transformers with Hierarchical Distance Structural Encoding cites Do Transformers Really Perform Badly for Graph Representation?
  • Do Transformers Really Perform Badly for Graph Representation? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Leveraging Contrastive Learning for Enhanced Node Representations in Tokenized Graph Transformers cites Recipe for a General, Powerful, Scalable Graph Transformer
  • Leveraging Contrastive Learning for Enhanced Node Representations in Tokenized Graph Transformers cites Do Transformers Really Perform Badly for Graph Representation?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. Class-Imbalanced Graph Learning without Class RebalancingZhining Liu, Ruizhong Qiu, Zhichen Zeng, Hyunsik Yoo et al.ICML 2024 · 35 citations
  2. Enhancing Graph Transformers with Hierarchical Distance Structural EncodingYuankai Luo, Hongkang Li, Lei Shi, Xiao-Ming WuNeurIPS 2024 · 26 citations
  3. BackTime: Backdoor Attacks on Multivariate Time Series ForecastingXiao Lin, Zhining Liu, Dongqi Fu, Ruizhong Qiu et al.NeurIPS 2024 · 25 citations
  4. SLOG: An Inductive Spectral Graph Neural Network Beyond Polynomial FilterHaobo Xu, Yuchen Yan, Dingsu Wang, Zhe Xu et al.ICML 2024 · 24 citations
  5. Leveraging Contrastive Learning for Enhanced Node Representations in Tokenized Graph TransformersJinsong Chen, Hanpeng Liu, John E. Hopcroft, Kun HeNeurIPS 2024 · 23 citations

Builds on36

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding et al.ICML 2020 · 1,910 citations
  3. Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
  4. Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
  5. GraphSAINT: Graph Sampling Based Inductive Learning MethodHanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan et al.ICLR 2020 · 1,155 citations

Related papers

  1. NAGphormer: A Tokenized Graph Transformer for Node Classification in Large GraphsJinsong Chen, Kaiyuan Gao, Gaichao Li, Kun HeICLR 2023 · 22 citations
  2. VecFormer: Towards Efficient and Generalizable Graph Transformer with Graph Token AttentionJingbo Zhou, Jun Xia, Siyuan Li, Yunfan Liu et al.WWW 2026
  3. HubGT: Fast Graph Transformer with Decoupled Hierarchy LabelingNingyi Liao, Zihao Yu, Siqiang Luo, Gao CongNeurIPS 2025 · 3 citations
  4. Tokenphormer: Structure-aware Multi-token Graph Transformer for Node ClassificationZijie Zhou, Zhaoqi Lu, Xuekai Wei, Rongqin Chen et al.AAAI 2025 · 5 citations
  5. Pure Transformers are Powerful Graph LearnersJinwoo Kim, Dat Nguyen, Seonwoo Min, Sungjun Cho et al.NeurIPS 2022 · 311 citations
Dusk over the sea between two cliffs drawn in fine vertical lines