Lune

ICLR2023Top-tier venue

Are More Layers Beneficial to Graph Transformers?

Haiteng Zhao, Shuming Ma, Dongdong Zhang, Zhi-Hong Deng, Furu Wei

Abstract

Despite that going deep has proven successful in many neural architectures, the existing graph transformers are relatively shallow. In this work, we explore whether more layers are beneficial to graph transformers, and find that current graph transformers suffer from the bottleneck of improving performance by increasing depth. Our further analysis reveals the reason is that deep graph transformers are limited by the vanishing capacity of global attention, restricting the graph transformer from focusing on the critical substructure and obtaining expressive features. To this end, we propose a novel graph transformer model named DeepGraph that explicitly employs substructure tokens in the encoded representation, and applies local attention on related nodes to obtain substructure based attention encoding. Our model enhances the ability of the global attention to focus on substructures and promotes the expressiveness of the representations, addressing the limitation of self-attention as the graph transformer deepens. Experiments show that our method unblocks the depth limitation of graph transformers and results in state-of-the-art performance across various graph benchmarks with deeper models.

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.

9 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

  • Towards Deep Attention in Graph Neural Networks: Problems and Remedies cites Simple and Deep Graph Convolutional Networks
  • Open Graph Benchmark: Datasets for Machine Learning on Graphs cites DropEdge: Towards Deep Graph Convolutional Networks on Node Classification
  • Simple and Deep Graph Convolutional Networks cites DropEdge: Towards Deep Graph Convolutional Networks on Node Classification
  • Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models cites Simple and Deep Graph Convolutional Networks
  • Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Do Transformers Really Perform Badly for Graph Representation? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Do Transformers Really Perform Badly for Graph Representation? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Simple and Deep Graph Convolutional Networks
  • Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Do Transformers Really Perform Badly for Graph Representation?
  • GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learning 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 papers9

  1. GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot LearningHaiteng Zhao, Shengchao Liu, Chang Ma, Hannan Xu et al.NeurIPS 2023 · 97 citations
  2. Polynormer: Polynomial-Expressive Graph Transformer in Linear TimeChenhui Deng, Zichao Yue, Zhiru ZhangICLR 2024 · 81 citations
  3. Towards Deep Attention in Graph Neural Networks: Problems and RemediesSoo Yong Lee, Fanchen Bu, Jaemin Yoo, Kijung ShinICML 2023 · 44 citations
  4. Transformers Get Stable: An End-to-End Signal Propagation Theory for Language ModelsAkhil Kedia, Mohd Abbas Zaidi, Sushil Khyalia, Jungho Jung et al.ICML 2024 · 16 citations
  5. Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention DynamicsHugo Koubbi, Louis Hernandez, Matthieu BoussardICML 2026 · 7 citations

Builds on26

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  3. Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding et al.ICML 2020 · 1,910 citations
  4. Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
  5. DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 citations

Related papers

  1. Structure-Aware Transformer for Graph Representation LearningDexiong Chen, Leslie O'Bray, Karsten M. BorgwardtICML 2022 · 349 citations
  2. Tokenphormer: Structure-aware Multi-token Graph Transformer for Node ClassificationZijie Zhou, Zhaoqi Lu, Xuekai Wei, Rongqin Chen et al.AAAI 2025 · 5 citations
  3. Tailoring Self-Attention for Graph via Rooted SubtreesSiyuan Huang, Yunchong Song, Jiayue Zhou, Zhouhan LinNeurIPS 2023 · 12 citations
  4. Lipschitz normalization for self-attention layers with application to graph neural networksGeorge Dasoulas, Kevin Scaman, Aladin VirmauxICML 2021 · 55 citations
  5. Restricted Global-Aware Graph Filters Bridging GNNs and Transformer for Node ClassificationJingyuan Zhang, Xin Wang, Lei Yu, Zhirong Huang et al.NeurIPS 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines