Lune

NeurIPS2023Top-tier venue

Tailoring Self-Attention for Graph via Rooted Subtrees

Siyuan Huang, Yunchong Song, Jiayue Zhou, Zhouhan Lin

Abstract

Attention mechanisms have made significant strides in graph learning, yet they still exhibit notable limitations: local attention faces challenges in capturing long-range information due to the inherent problems of the message-passing scheme, while global attention cannot reflect the hierarchical neighborhood structure and fails to capture fine-grained local information. In this paper, we propose a novel multi-hop graph attention mechanism, named Subtree Attention (STA), to address the aforementioned issues. STA seamlessly bridges the fully-attentional structure and the rooted subtree, with theoretical proof that STA approximates the global attention under extreme settings. By allowing direct computation of attention weights among multi-hop neighbors, STA mitigates the inherent problems in existing graph attention mechanisms. Further we devise an efficient form for STA by employing kernelized softmax, which yields a linear time complexity. Our resulting GNN architecture, the STAGNN, presents a simple yet performant STA-based graph neural network leveraging a hop-aware attention strategy. Comprehensive evaluations on ten node classification datasets demonstrate that STA-based models outperform existing graph transformers and mainstream GNNs. The code is available at https://github.com/LUMIA-Group/SubTree-Attention.

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.

2 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

  • Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention 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 papers2

  1. Less but More: Linear Adaptive Graph Learning Empowering Spatiotemporal ForecastingJiaming Ma, Binwu Wang, Guanjun Wang, Kuo Yang et al.NeurIPS 2025 · 23 citations
  2. Cluster-wise Graph Transformer with Dual-granularity Kernelized AttentionSiyuan Huang, Yunchong Song, Jiayue Zhou, Zhouhan LinNeurIPS 2024 · 15 citations

Builds on19

  1. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
  2. How Attentive are Graph Attention Networks?Shaked Brody, Uri Alon, Eran YahavICLR 2022 · 1,717 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. Beyond Homophily in Graph Neural Networks: Current Limitations and Effective DesignsJiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann et al.NeurIPS 2020 · 1,490 citations
  5. Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations

Related papers

  1. Are More Layers Beneficial to Graph Transformers?Haiteng Zhao, Shuming Ma, Dongdong Zhang, Zhi-Hong Deng et al.ICLR 2023 · 5 citations
  2. Towards Deep Attention in Graph Neural Networks: Problems and RemediesSoo Yong Lee, Fanchen Bu, Jaemin Yoo, Kijung ShinICML 2023 · 44 citations
  3. Improving Breadth-Wise Backpropagation in Graph Neural Networks Helps Learning Long-Range DependenciesDenis Lukovnikov, Asja FischerICML 2021 · 16 citations
  4. Recurrent Distance Filtering for Graph Representation LearningYuhui Ding, Antonio Orvieto, Bobby He, Thomas HofmannICML 2024 · 13 citations
  5. Structure-Aware Transformer for Graph Representation LearningDexiong Chen, Leslie O'Bray, Karsten M. BorgwardtICML 2022 · 349 citations
Dusk over the sea between two cliffs drawn in fine vertical lines