Lune

ICML2024Top-tier venue

Aligning Transformers with Weisfeiler-Leman

Luis Müller, Christopher Morris

2024Year
7Citations
4Top-tier citations

Abstract

Graph neural network architectures aligned with the kk-dimensional Weisfeiler--Leman (kk-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 kk-WL hierarchy have shown promising empirical results, employing transformers for higher orders of kk 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 kk-WL hierarchy, showing stronger expressivity results for each kk, 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.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext ff8ecd11-d7ea-44f0-8ae3-4d11a14a4ea7

Cited by top-tier papers4

Ask how each one uses it

Builds on19

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines