mlsanityData to 7 Oct 2026

What Are Good Positional Encodings for Directed Graphs?

arXiv 2407.20912 ↗First posted 30 Jul 2024cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Positional encodings (PEs) are essential for building powerful and expressive graph neural networks and graph transformers, as they effectively capture the relative spatial relationships between nodes. Although extensive research has been devoted to PEs in undirected graphs, PEs for directed graphs remain relatively unexplored. This work seeks to address this gap. We first introduce the notion of Walk Profile, a generalization of walk-counting sequences for directed graphs. A walk profile encompasses numerous structural features crucial for directed graph-relevant applications, such as program analysis and circuit performance prediction. We identify the limitations of existing PE methods in representing walk profiles and propose a novel Multi-q Magnetic Laplacian PE, which extends the Magnetic Laplacian eigenvector-based PE by incorporating multiple potential factors. The new PE can provably express walk profiles. Furthermore, we generalize prior basis-invariant neural networks to enable the stable use of the new PE in the complex domain. Our numerical experiments validate the expressiveness of the proposed PEs and demonstrate their effectiveness in solving sorting network satisfiability and performing well on general circuit benchmarks. Our code is available at https://github.com/Graph-COM/Multi-q-Maglap.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 43 of its 70 references that are in the map. First posted on arXiv 30 Jul 2024.

Builds on

43 of 70 references.

References · 43

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2018How Powerful are Graph Neural Networks?cited by 4,355
  5. 2016Geometric deep learning: going beyond Euclidean datacited by 1,042
  6. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  7. 2020Benchmarking Graph Neural Networkscited by 672
  8. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  9. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  10. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 326
  11. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  12. 2020A Comprehensive Survey of Neural Architecture Search: Challenges and Solutionscited by 253
31 more
  1. 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
  2. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
  3. 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
  4. 2020Directional Graph Networkscited by 132
  5. 2019Neural Predictor for Neural Architecture Searchcited by 116
  6. 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
  7. 2021MagNet: A Neural Network for Directed Graphscited by 104
  8. 2019D-VAE: A Variational Autoencoder for Directed Acyclic Graphscited by 98
  9. 2022Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networkscited by 94
  10. 2020GCN-RL Circuit Designer: Transferable Transistor Sizing with Graph Neural Networks and Reinforcement Learningcited by 89
  11. 2020Directed Graph Convolutional Networkcited by 73
  12. 2021Directed Acyclic Graph Neural Networkscited by 70
  13. 2018MotifNet: a motif-based Graph Convolutional Network for directed graphscited by 63
  14. 2023CktGNN: Circuit Graph Neural Network for Electronic Design Automationcited by 55
  15. 2023Transformers Meet Directed Graphscited by 39
  16. 2019Spectral-based Graph Convolutional Network for Directed Graphscited by 38
  17. 2022MSGNN: A Spectral Graph Neural Network Based on a Novel Magnetic Signed Laplaciancited by 28
  18. 2016Magnetic Eigenmaps for the Visualization of Directed Networkscited by 25
  19. 2022High-Level Synthesis Performance Prediction using GNNs: Benchmarking, Modeling, and Advancingcited by 25
  20. 2022SigMaNet: One Laplacian to Rule Them Allcited by 23
  21. 2022Transformers over Directed Acyclic Graphscited by 23
  22. 2016Magnetic eigenmaps for community detection in directed networkscited by 22
  23. 2022Directed Graph Auto-Encoderscited by 22
  24. 2022PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphscited by 20
  25. 2023HoloNets: Spectral Convolutions do extend to Directed Graphscited by 20
  26. 2024Comparing Graph Transformers via Positional Encodingscited by 20
  27. 2019edGNN: a Simple and Powerful GNN for Directed Labeled Graphscited by 17
  28. 2023TpuGraphs: A Performance Prediction Dataset on Large Tensor Computational Graphscited by 16
  29. 2023Expressive Sign Equivariant Networks for Spectral Geometric Learningcited by 15
  30. 2024Graph as Point Setcited by 4
  31. 2020Deep Data Flow Analysiscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 2.

7 papers.