Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Exphormer: Sparse Transformers for Graphs

About

Graph transformers have emerged as a promising architecture for a variety of graph learning and representation tasks. Despite their successes, though, it remains challenging to scale graph transformers to large graphs while maintaining accuracy competitive with message-passing networks. In this paper, we introduce Exphormer, a framework for building powerful and scalable graph transformers. Exphormer consists of a sparse attention mechanism based on two mechanisms: virtual global nodes and expander graphs, whose mathematical characteristics, such as spectral expansion, pseduorandomness, and sparsity, yield graph transformers with complexity only linear in the size of the graph, while allowing us to prove desirable theoretical properties of the resulting transformer models. We show that incorporating Exphormer into the recently-proposed GraphGPS framework produces models with competitive empirical results on a wide variety of graph datasets, including state-of-the-art results on three datasets. We also show that Exphormer can scale to datasets on larger graphs than shown in previous graph transformer architectures. Code can be found at \url{https://github.com/hamed1375/Exphormer}.

Hamed Shirzad, Ameya Velingker, Balaji Venkatachalam, Danica J. Sutherland, Ali Kemal Sinop• 2023

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora
Accuracy83.29
1225
Node ClassificationCiteseer (test)
Accuracy0.6834
1013
Node ClassificationPubmed
Accuracy89.06
902
Node ClassificationPubMed (test)
Accuracy86.97
628
Node ClassificationPubmed
Accuracy79.67
627
Node ClassificationCora
Accuracy83.29
609
Node ClassificationActor
Accuracy39.01
598
Node Classificationogbn-arxiv (test)
Accuracy72.44
542
Node ClassificationCiteseer
Accuracy71.85
541
Node ClassificationPubmed
Accuracy89.52
501
Showing 10 of 197 rows
...

Other info

Code

Follow for update