Papers › Polynormer: Polynomial-Expressive Graph Transformer in Linear Time

Polynormer: Polynomial-Expressive Graph Transformer in Linear Time

2 Mar 2024arXiv:2403.01232archive 2025-07-28

Chenhui Deng, Zichao Yue, Zhiru Zhang

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.01232")

Code

Syntology Ran 5 of 8 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cornell-zhang/polynormer officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report
cornell-zhang/Polynormer mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 5 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
3unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from cornell-zhang/polynormer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

GlobalAttn cornell-zhang/polynormer/model.py official repository ran BSD-3-Clause (permissive) · ea1ddecdfaa27927 · report
Polynormer cornell-zhang/polynormer/model.py official repository ran BSD-3-Clause (permissive) · 62ffb90034b7235d · report
eval_acc cornell-zhang/Polynormer/data_utils.py official repository ran BSD-3-Clause (permissive) · 319c36c17da75fed · report
load_fixed_splits cornell-zhang/Polynormer/data_utils.py official repository ran BSD-3-Clause (permissive) · 5b7702a29f6dafaf · report
load_model cornell-zhang/Polynormer/logger.py official repository ran BSD-3-Clause (permissive) · 635fdf41b8d70789 · report
eval_f1 cornell-zhang/Polynormer/data_utils.py official repository unverified BSD-3-Clause (permissive) · 39f7b3a8e45be81b · report
load_hetero_dataset cornell-zhang/Polynormer/dataset.py official repository unverified BSD-3-Clause (permissive) · 2ca80bf081304f24 · report
load_wikics_dataset cornell-zhang/Polynormer/dataset.py official repository unverified BSD-3-Clause (permissive) · a411b546b0451f0e · report

Tasks

Node Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Node Classification amazon-ratings Polynormer Accuracy (%) 54.81 ± 0.49 #3 of 4 Archive leaderboard report
Node Classification minesweeper Polynormer AUCROC 97.46±0.36 #4 of 4 Archive leaderboard report
Node Classification pokec Polynormer Accuracy 86.10±0.05 #3 of 7 Archive leaderboard report
Node Classification questions Polynormer AUCROC 78.92±0.89 #3 of 3 Archive leaderboard report
Node Classification roman-empire Polynormer Accuracy (% ) 92.55±0.37 #1 of 7 Archive leaderboard report
Node Classification tolokers Polynormer AUCROC 85.91±0.74 #1 of 4 Archive leaderboard report
Node Property Prediction ogbn-arxiv Polynormer Ext. data No #44 of 86 Archive leaderboard report
Node Property Prediction ogbn-arxiv Polynormer Number of params 1806160 #44 of 86 Archive leaderboard report
Node Property Prediction ogbn-arxiv Polynormer Test Accuracy 0.7346 ± 0.0016 #44 of 86 Archive leaderboard report
Node Property Prediction ogbn-arxiv Polynormer Validation Accuracy 0.7459 ± 0.0010 #44 of 86 Archive leaderboard report
Node Property Prediction ogbn-products Polynormer Ext. data No #27 of 64 Archive leaderboard report
Node Property Prediction ogbn-products Polynormer Number of params 2383654 #27 of 64 Archive leaderboard report
Node Property Prediction ogbn-products Polynormer Test Accuracy 0.8382 ± 0.0011 #27 of 64 Archive leaderboard report
Node Property Prediction ogbn-products Polynormer Validation Accuracy 0.9239 ± 0.0005 #27 of 64 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Graph Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections