Structure-Aware Transformer for Graph Representation Learning
Dexiong Chen, Leslie O'Bray, Karsten M. Borgwardt
摘要
The Transformer architecture has gained growing attention in graph representation learning recently, as it naturally overcomes several limitations of graph neural networks (GNNs) by avoiding their strict structural inductive biases and instead only encoding the graph structure via positional encoding. Here, we show that the node representations generated by the Transformer with positional encoding do not necessarily capture structural similarity between them. To address this issue, we propose the Structure-Aware Transformer, a class of simple and flexible graph Transformers built upon a new self-attention mechanism. This new self-attention incorporates structural information into the original self-attention by extracting a subgraph representation rooted at each node before computing the attention. We propose several methods for automatically generating the subgraph representation and show theoretically that the resulting representations are at least as expressive as the subgraph representations. Empirically, our method achieves state-of-the-art performance on five graph prediction benchmarks. Our structure-aware framework can leverage any existing GNN to extract the subgraph representation, and we show that it systematically improves performance relative to the base GNN model, successfully combining the advantages of GNNs and Transformers. Our code is available at https: //github.com/BorgwardtLab/SAT .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 112 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Strategies for Pre-training Graph Neural Networks
- Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Do Transformers Really Perform Badly for Graph Representation?
- Open Graph Benchmark: Datasets for Machine Learning on Graphs 引用了 DeepGCNs: Can GCNs Go As Deep As CNNs?
- Open Graph Benchmark: Datasets for Machine Learning on Graphs 引用了 Strategies for Pre-training Graph Neural Networks
- Simplifying and Empowering Transformers for Large-Graph Representations 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Simplifying and Empowering Transformers for Large-Graph Representations 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Simplifying and Empowering Transformers for Large-Graph Representations 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 Strategies for Pre-training Graph Neural Networks
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 Do Transformers Really Perform Badly for Graph Representation?
- A Generalization of ViT/MLP-Mixer to Graphs 引用了 Exphormer: Sparse Transformers for Graphs
- 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? 引用了 Strategies for Pre-training Graph Neural Networks
- Do Transformers Really Perform Badly for Graph Representation? 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Graph Inductive Biases in Transformers without Message Passing 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Graph Inductive Biases in Transformers without Message Passing 引用了 Strategies for Pre-training Graph Neural Networks
- Graph Inductive Biases in Transformers without Message Passing 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Graph Inductive Biases in Transformers without Message Passing 引用了 Do Transformers Really Perform Badly for Graph Representation?
- Exphormer: Sparse Transformers for Graphs 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Exphormer: Sparse Transformers for Graphs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
引用它的顶会 Paper112
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu 等NeurIPS 2022 · 1,216 次引用
- Simplifying and Empowering Transformers for Large-Graph RepresentationsQitian Wu, Wentao Zhao, Chenxiao Yang, Hengrui Zhang 等NeurIPS 2023 · 318 次引用
- Exphormer: Sparse Transformers for GraphsHamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J. Sutherland 等ICML 2023 · 219 次引用
- Graph Inductive Biases in Transformers without Message PassingLiheng Ma, Chen Lin, Derek Lim, Adriana Romero-Soriano 等ICML 2023 · 185 次引用
- A Generalization of ViT/MLP-Mixer to GraphsXiaoxin He, Bryan Hooi, Thomas Laurent, Adam Perold 等ICML 2023 · 135 次引用
它引用的 Paper22
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik 等ICLR 2020 · 1,744 次引用
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng 等NeurIPS 2021 · 1,632 次引用
- DeepGCNs: Can GCNs Go As Deep As CNNs?Guohao Li, Matthias Müller, Ali K. Thabet, Bernard GhanemICCV 2019 · 1,586 次引用
相关 Paper
- Are More Layers Beneficial to Graph Transformers?Haiteng Zhao, Shuming Ma, Dongdong Zhang, Zhi-Hong Deng 等ICLR 2023 · 5 次引用
- Graph Positional and Structural EncoderSemih Cantürk, Renming Liu, Olivier Lapointe-Gagné, Vincent Létourneau 等ICML 2024 · 33 次引用
- Graph External Attention Enhanced TransformerJianqing Liang, Min Chen, Jiye LiangICML 2024 · 11 次引用
- Subgraphormer: Unifying Subgraph GNNs and Graph Transformers via Graph ProductsGuy Bar-Shalom, Beatrice Bevilacqua, Haggai MaronICML 2024 · 13 次引用
- Transformers over Directed Acyclic GraphsYuankai Luo, Veronika Thost, Lei ShiNeurIPS 2023 · 43 次引用
