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

Polynormer: Polynomial-Expressive Graph Transformer in Linear Time

About

Graph transformers (GTs) have emerged as a promising architecture that is theoretically more expressive than message-passing graph neural networks (GNNs). However, typical GT models have at least quadratic complexity and thus cannot scale to large graphs. While there are several linear GTs recently proposed, they still lag behind GNN counterparts on several popular graph datasets, which poses a critical concern on their practical expressivity. To balance the trade-off between expressivity and scalability of GTs, we propose Polynormer, a polynomial-expressive GT model with linear complexity. Polynormer is built upon a novel base model that learns a high-degree polynomial on input features. To enable the base model permutation equivariant, we integrate it with graph topology and node features separately, resulting in local and global equivariant attention models. Consequently, Polynormer adopts a linear local-to-global attention scheme to learn high-degree equivariant polynomials whose coefficients are controlled by attention scores. Polynormer has been evaluated on $13$ homophilic and heterophilic datasets, including large graphs with millions of nodes. Our extensive experiment results show that Polynormer outperforms state-of-the-art GNN and GT baselines on most datasets, even without the use of nonlinear activation functions.

Chenhui Deng, Zichao Yue, Zhiru Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora
Accuracy83.43
1215
Node ClassificationPubmed
Accuracy90.44
819
Node ClassificationChameleon
Accuracy41.97
640
Node ClassificationSquirrel
Accuracy41.97
591
Node ClassificationPubmed
Accuracy87.34
396
Node ClassificationCiteseer
Accuracy76.77
393
Node ClassificationPhoto
Mean Accuracy96.46
343
Node ClassificationwikiCS
Accuracy80.26
317
Node ClassificationRoman-Empire
Accuracy92.66
206
Node ClassificationAmazon Photo
Accuracy96.57
191
Showing 10 of 73 rows
...

Other info

Code

Follow for update