Lune

NeurIPS2024顶会

Enhancing Graph Transformers with Hierarchical Distance Structural Encoding

Yuankai Luo, Hongkang Li, Lei Shi, Xiao-Ming Wu

摘要

Graph transformers need strong inductive biases to derive meaningful attention scores. Yet, current methods often fall short in capturing longer ranges, hierarchical structures, or community structures, which are common in various graphs such as molecules, social networks, and citation networks. This paper presents a Hierarchical Distance Structural Encoding (HDSE) method to model node distances in a graph, focusing on its multi-level, hierarchical nature. We introduce a novel framework to seamlessly integrate HDSE into the attention mechanism of existing graph transformers, allowing for simultaneous application with other positional encodings. To apply graph transformers with HDSE to large-scale graphs, we further propose a high-level HDSE that effectively biases the linear transformers towards graph hierarchies. We theoretically prove the superiority of HDSE over shortest path distances in terms of expressivity and generalization. Empirically, we demonstrate that graph transformers with HDSE excel in graph classification, regression on 7 graph-level datasets, and node classification on 11 large-scale graphs, including those with up to a billion nodes.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Beyond Homophily in Graph Neural Networks: Current Limitations and Effective Designs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Beyond Homophily in Graph Neural Networks: Current Limitations and Effective Designs 引用了 Geom-GCN: Geometric Graph Convolutional Networks
  • What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding 引用了 Geom-GCN: Geometric Graph Convolutional Networks
  • What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding 引用了 Do Transformers Really Perform Badly for Graph Representation?
  • DualEqui: A Dual-Space Hierarchical Equivariant Network for Large Biomolecules 引用了 Do Transformers Really Perform Badly for Graph Representation?
  • Do Transformers Really Perform Badly for Graph Representation? 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Do Transformers Really Perform Badly for Graph Representation? 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. How Do Nonlinear Transformers Learn and Generalize in In-Context Learning?Hongkang Li, Meng Wang, Songtao Lu, Xiaodong Cui 等ICML 2024 · 37 次引用
  2. What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional EncodingHongkang Li, Meng Wang, Tengfei Ma, Sijia Liu 等ICML 2024 · 23 次引用
  3. Social Recommendation via Graph-Level Counterfactual AugmentationYinxuan Huang, Ke Liang, Yanyi Huang, Xiang Zeng 等AAAI 2025 · 8 次引用
  4. How Can Mamba Learn In Context with Outliers and Generalize Provably?Hongkang Li, Songtao Lu, Xiaodong Cui, Pin-Yu Chen 等ICML 2026 · 2 次引用
  5. DualEqui: A Dual-Space Hierarchical Equivariant Network for Large BiomoleculesJunjie Xu, Jiahao Zhang, Mangal Prakash, Xiang Zhang 等NeurIPS 2025 · 2 次引用

它引用的 Paper47

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
  3. Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng 等NeurIPS 2021 · 1,632 次引用
  4. Beyond Homophily in Graph Neural Networks: Current Limitations and Effective DesignsJiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann 等NeurIPS 2020 · 1,490 次引用
  5. Geom-GCN: Geometric Graph Convolutional NetworksHongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei 等ICLR 2020 · 1,445 次引用

相关 Paper

  1. Homomorphism Counts as Structural Encodings for Graph LearningLinus Bao, Emily Jin, Michael M. Bronstein, Ismail Ilkan Ceylan 等ICLR 2025
  2. Simple Path Structural Encoding for Graph TransformersLouis Airale, Antonio Longa, Mattia Rigon, Andrea Passerini 等ICML 2025
  3. Graph Positional and Structural EncoderSemih Cantürk, Renming Liu, Olivier Lapointe-Gagné, Vincent Létourneau 等ICML 2024 · 33 次引用
  4. Transformers over Directed Acyclic GraphsYuankai Luo, Veronika Thost, Lei ShiNeurIPS 2023 · 43 次引用
  5. Generalizable Insights for Graph Transformers in Theory and PracticeTimo Stoll, Luis Müller, Christopher MorrisNeurIPS 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖