Distinguished In Uniform: Self-Attention Vs. Virtual Nodes
Eran Rosenbluth, Jan Tönshoff, Martin Ritzert, Berke Kisin, Martin Grohe
摘要
Graph Transformers (GTs) such as SAN and GPS are graph processing models that combine Message-Passing GNNs (MPGNNs) with global Self-Attention. They were shown to be universal function approximators, with two reservations: 1. The initial node features must be augmented with certain positional encodings. 2. The approximation is non-uniform: Graphs of different sizes may require a different approximating network. We first clarify that this form of universality is not unique to GTs: Using the same positional encodings, also pure MPGNNs and even 2-layer MLPs are non-uniform universal approximators. We then consider uniform expressivity: The target function is to be approximated by a single network for graphs of all sizes. There, we compare GTs to the more efficient MPGNN + Virtual Node architecture. The essential difference between the two model definitions is in their global computation method -- Self-Attention Vs Virtual Node. We prove that none of the models is a uniform-universal approximator, before proving our main result: Neither model's uniform expressivity subsumes the other's. We demonstrate the theory with experiments on synthetic data. We further augment our study with real-world datasets, observing mixed results which indicate no clear ranking in practice as well.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Strategies for Pre-training Graph Neural Networks
- Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Rethinking Graph Transformers with Spectral Attention
- Open Graph Benchmark: Datasets for Machine Learning on Graphs 引用了 Strategies for Pre-training Graph Neural Networks
- Learning Long Range Dependencies on Graphs via Random Walks 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Learning Long Range Dependencies on Graphs via Random Walks 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Learning Long Range Dependencies on Graphs via Random Walks 引用了 Strategies for Pre-training Graph Neural Networks
- Learning Long Range Dependencies on Graphs via Random Walks 引用了 Rethinking Graph Transformers with Spectral Attention
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs 引用了 Rethinking Graph Transformers with Spectral Attention
- Expressive Power of Graph Transformers via Logic 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Expressive Power of Graph Transformers via Logic 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Expressive Power of Graph Transformers via Logic 引用了 Rethinking Graph Transformers with Spectral Attention
- Rethinking Graph Transformers with Spectral Attention 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Probabilistic Graph Rewiring via Virtual Nodes 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
- Probabilistic Graph Rewiring via Virtual Nodes 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
引用它的顶会 Paper10
- Probabilistic Graph Rewiring via Virtual NodesChendi Qian, Andrei Manolache, Christopher Morris, Mathias NiepertNeurIPS 2024 · 24 次引用
- Deeper with Riemannian Geometry: Overcoming Oversmoothing and Oversquashing for Graph Foundation ModelsLi Sun, Zhenhao Huang, Ming Zhang, Philip S. YuNeurIPS 2025 · 10 次引用
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNsJeongwhan Choi, Seungjun Park, Sumin Park, Sung-Bae Cho 等AAAI 2026 · 2 次引用
- Learning Long Range Dependencies on Graphs via Random WalksDexiong Chen, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2025
- Expressive Power of Graph Transformers via LogicVeeti Ahvonen, Maurice Funk, Damian Heiman, Antti Kuusisto 等AAAI 2026
它引用的 Paper15
- 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 次引用
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu 等NeurIPS 2022 · 1,216 次引用
- Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau 等NeurIPS 2021 · 854 次引用
相关 Paper
- Understanding Virtual Nodes: Oversquashing and Node HeterogeneityJoshua Southern, Francesco Di Giovanni, Michael M. Bronstein, Johannes F. LutzeyerICLR 2025
- Exphormer: Sparse Transformers for GraphsHamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J. Sutherland 等ICML 2023 · 219 次引用
- Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet ExcellenceYuankai Luo, Lei Shi, Xiao-Ming WuICML 2025
- DUALFormer: Dual Graph TransformerJiaming Zhuo, Yuwei Liu, Yintong Lu, Ziyi Ma 等ICLR 2025
- What functions can Graph Neural Networks compute on random graphs? The role of Positional EncodingNicolas Keriven, Samuel VaiterNeurIPS 2023 · 24 次引用
