mlsanityData to 14 Oct 2026

Aligning Transformers with Weisfeiler-Leman

arXiv 2406.03148 ↗First posted 5 Jun 2024cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Graph neural network architectures aligned with the k-dimensional Weisfeiler--Leman (k-WL) hierarchy offer theoretically well-understood expressive power. However, these architectures often fail to deliver state-of-the-art predictive performance on real-world graphs, limiting their practical utility. While recent works aligning graph transformer architectures with the k-WL hierarchy have shown promising empirical results, employing transformers for higher orders of k remains challenging due to a prohibitive runtime and memory complexity of self-attention as well as impractical architectural assumptions, such as an infeasible number of attention heads. Here, we advance the alignment of transformers with the k-WL hierarchy, showing stronger expressivity results for each k, making them more feasible in practice. In addition, we develop a theoretical framework that allows the study of established positional encodings such as Laplacian PEs and SPE. We evaluate our transformers on the large-scale PCQM4Mv2 dataset, showing competitive predictive performance with the state-of-the-art and demonstrating strong downstream performance when fine-tuning them on small-scale molecular datasets. Our code is available at https://github.com/luis-mueller/wl-transformers.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 32 of its 55 references that are in the map. First posted on arXiv 5 Jun 2024.

Builds on

32 of 55 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  6. 2018How Powerful are Graph Neural Networks?cited by 4,393
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  9. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  10. 2020Rethinking Attention with Performerscited by 1,601
  11. 2018Pitfalls of Graph Neural Network Evaluationcited by 1,007
  12. 2019Strategies for Pre-training Graph Neural Networkscited by 971
20 more
  1. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  2. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  3. 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 329
  4. 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
  5. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  6. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
  7. 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
  8. 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
  9. 2021Weisfeiler and Leman go Machine Learning: The Story so farcited by 122
  10. 2023Rethinking the Expressive Power of GNNs via Graph Biconnectivitycited by 119
  11. 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
  12. 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 85
  13. 2023Attending to Graph Transformerscited by 83
  14. 2022Expressiveness and Approximation Properties of Graph Neural Networkscited by 64
  15. 2023Towards Foundational Models for Molecular Learning on Large-Scale Multi-Task Datasetscited by 39
  16. 2023Equivariant Polynomials for Graph Neural Networkscited by 38
  17. 2022SpeqNets: Sparsity-aware Permutation-equivariant Graph Networkscited by 37
  18. 2023An Empirical Study of Realized GNN Expressivenesscited by 33
  19. 2022MolE: a molecular foundation model for drug discoverycited by 12
  20. 2023Diffusing Graph Attentioncited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 5.

8 papers.