Lune

ICML2023顶会

Transformers Meet Directed Graphs

Simon Geisler, Yujia Li, Daniel J. Mankowitz, Ali Taylan Cemgil, Stephan Günnemann, Cosmin Paduraru

摘要

Transformers were originally proposed as a sequence-to-sequence model for text but have become vital for a wide range of modalities, including images, audio, video, and undirected graphs. However, transformers for directed graphs are a surprisingly underexplored topic, despite their applicability to ubiquitous domains, including source code and logic circuits. In this work, we propose two direction- and structure-aware positional encodings for directed graphs: (1) the eigenvectors of the Magnetic Laplacian - a direction-aware generalization of the combinatorial Laplacian; (2) directional random walk encodings. Empirically, we show that the extra directionality information is useful in various downstream tasks, including correctness testing of sorting networks and source code understanding. Together with a data-flow-centric graph construction, our model outperforms the prior state of the art on the Open Graph Benchmark Code2 relatively by 14.7%.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Reformer: The Efficient Transformer
  • Recipe for a General, Powerful, Scalable Graph Transformer 引用了 Rethinking Graph Transformers with Spectral Attention
  • Comparing Graph Transformers via Positional Encodings 引用了 Rethinking Graph Transformers with Spectral Attention
  • Toward Effective Digraph Representation Learning: A Magnetic Adaptive Propagation based Approach 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Toward Effective Digraph Representation Learning: A Magnetic Adaptive Propagation based Approach 引用了 HoloNets: Spectral Convolutions do extend to Directed Graphs
  • Toward Effective Digraph Representation Learning: A Magnetic Adaptive Propagation based Approach 引用了 Transformers over Directed Acyclic Graphs
  • On the Connection Between MPNN and Graph Transformer 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
  • On the Connection Between MPNN and Graph Transformer 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • On the Connection Between MPNN and Graph Transformer 引用了 Rethinking Graph Transformers with Spectral Attention
  • HoloNets: Spectral Convolutions do extend to Directed Graphs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Rethinking Graph Transformers with Spectral Attention 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Transformers over Directed Acyclic Graphs 引用了 Recipe for a General, Powerful, Scalable Graph Transformer
  • Transformers over Directed Acyclic Graphs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Transformers over Directed Acyclic Graphs 引用了 Rethinking Graph Transformers with Spectral Attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. On the Connection Between MPNN and Graph TransformerChen Cai, Truong Son Hy, Rose Yu, Yusu WangICML 2023 · 82 次引用
  2. Transformers over Directed Acyclic GraphsYuankai Luo, Veronika Thost, Lei ShiNeurIPS 2023 · 43 次引用
  3. Comparing Graph Transformers via Positional EncodingsMitchell Black, Zhengchao Wan, Gal Mishne, Amir Nayyeri 等ICML 2024 · 27 次引用
  4. HoloNets: Spectral Convolutions do extend to Directed GraphsChristian Koke, Daniel CremersICLR 2024 · 25 次引用
  5. Toward Effective Digraph Representation Learning: A Magnetic Adaptive Propagation based ApproachXunkai Li, Daohan Su, Zhengyu Wu, Guang Zeng 等WWW 2025 · 4 次引用

它引用的 Paper19

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
  2. Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
  3. CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
  4. Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu 等NeurIPS 2022 · 1,216 次引用
  5. Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau 等NeurIPS 2021 · 854 次引用

相关 Paper

  1. What Are Good Positional Encodings for Directed Graphs?Yinan Huang, Haoyu Peter Wang, Pan LiICLR 2025
  2. Homomorphism Counts as Structural Encodings for Graph LearningLinus Bao, Emily Jin, Michael M. Bronstein, Ismail Ilkan Ceylan 等ICLR 2025
  3. MagNet: A Neural Network for Directed GraphsXitong Zhang, Yixuan He, Nathan Brugnone, Michael Perlmutter 等NeurIPS 2021 · 223 次引用
  4. On the Stability of Expressive Positional Encodings for GraphsYinan Huang, William Lu, Joshua Robinson, Yu Yang 等ICLR 2024 · 32 次引用
  5. Rotary Position Encodings for GraphsIsaac Reid, Arijit Sehanobish, Cederik Höfs, Bruno Mlodozeniec 等ICML 2026
黄昏的海面,两侧是细线勾勒的悬崖