跳到主要导航 跳到搜索 跳到主要内容

Enhancing Graph Transformers with Hierarchical Distance Structural Encoding

  • Yuankai Luo
  • , Hongkang Li
  • , Lei Shi*
  • , Xiao Ming Wu*
  • *此作品的通讯作者
  • Beihang University
  • Hong Kong Polytechnic University
  • Rensselaer Polytechnic Institute

科研成果: 期刊稿件会议文章同行评审

摘要

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 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.

源语言英语
期刊Advances in Neural Information Processing Systems
37
出版状态已出版 - 2024
活动38th Conference on Neural Information Processing Systems, NeurIPS 2024 - Vancouver, 加拿大
期限: 9 12月 202415 12月 2024

指纹

探究 'Enhancing Graph Transformers with Hierarchical Distance Structural Encoding' 的科研主题。它们共同构成独一无二的指纹。

引用此