SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.12732 · 2024

Benchmarking Positional Encodings for GNNs and Graph Transformers

arXiv · PDF · Open in the Atlas

Code that ran

3 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.12732.json · badge: /api/ran/2411.12732.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ETH-DISCO/Benchmarking-PEs canonical (classifier label)
classifier basis: census
3 ran · 4 no recorded run
FunctionStatusWhere it lives
get_activation Ran
ran; our contract draft was wrong, not the code
ETH-DISCO/Benchmarking-PEs/grit/layer/Exphormer.py
pointer only (licence: NONE) · get_code("b888018e8acd3f1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_final_pretrained_ckpt Ran
ran; our contract draft was wrong, not the code
ETH-DISCO/Benchmarking-PEs/grit/finetuning.py
pointer only (licence: NONE) · get_code("1bb331bf70a78136")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

init_model_from_pretrained Ran
ran; our contract draft was wrong, not the code
ETH-DISCO/Benchmarking-PEs/grit/finetuning.py
pointer only (licence: NONE) · get_code("9e4db46ba20af98e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_chunking_to_forward Not yet run
unverified (harvested, no recorded run)
ETH-DISCO/Benchmarking-PEs/grit/layer/bigbird_layer.py
pointer only (licence: NONE); the stored copy get_code serves, from sunjss/over-aggregating, is pointer only (licence: NONE) · get_code("ae56bcfaae96da3c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

full_attention_conv Not yet run
unverified (harvested, no recorded run)
ETH-DISCO/Benchmarking-PEs/grit/layer/difformer_layer.py
pointer only (licence: NONE) · get_code("086cc22e87a696a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

gcn_conv Not yet run
unverified (harvested, no recorded run)
ETH-DISCO/Benchmarking-PEs/grit/layer/difformer_layer.py
pointer only (licence: NONE) · get_code("ec224788496e1539")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_pretrained_model_cfg Not yet run
unverified (harvested, no recorded run)
ETH-DISCO/Benchmarking-PEs/grit/finetuning.py
pointer only (licence: NONE) · get_code("91c1f5bb90bbe0f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ETH-DISCO/Benchmarking-PEs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 4 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_final_pretrained_ckpt 27 other papers
24 dated earlier, 3 later
2302.04181 (2023-02)
Attending to Graph Transformers
2302.08647 (2023-02)
Multiresolution Graph Transformers and Wavelet Positional Encoding for Learning Hierarchical Structures
2305.08018 (2023-05)
DRew: Dynamically Rewired Message Passing with Delay
and 24 more not named here
apply_chunking_to_forward 21 other papers
19 dated earlier, 2 later
2002.01685 (2020-02)
Parsing as Pretraining
2210.09545 (2022-10)
Fine-mixing: Mitigating Backdoors in Fine-tuned Language Models
2302.04181 (2023-02)
Attending to Graph Transformers
and 18 more not named here
init_model_from_pretrained 6 other papers
4 dated earlier, 2 later
2305.12322 (2023-05)
Learning Large Graph Property Prediction via Graph Segment Training
2305.17589 (2023-05)
Graph Inductive Biases in Transformers without Message Passing
2306.07812 (2023-06)
Automated 3D Pre-Training for Molecular Property Prediction
and 3 more not named here
load_pretrained_model_cfg 6 other papers
6 dated earlier
2305.17589 (2023-05)
Graph Inductive Biases in Transformers without Message Passing
2306.07812 (2023-06)
Automated 3D Pre-Training for Molecular Property Prediction
2310.19285 (2023-10)
Facilitating Graph Neural Networks with Random Walk on Simplicial Complexes
and 3 more not named here
get_activation 5 other papers
4 dated earlier, 1 later
2303.06147 (2023-03)
Exphormer: Sparse Transformers for Graphs
2310.19285 (2023-10)
Facilitating Graph Neural Networks with Random Walk on Simplicial Complexes
2402.02518 (2024-02)
Unifying Generation and Prediction on Graphs with Latent Graph Diffusion
and 2 more not named here
full_attention_conv 1 other paper
1 dated earlier
2409.09111 (2024-09)
Transformers from Diffusion: A Unified Framework for Neural Message Passing

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Positional Encodings (PEs) are essential for injecting structural information into Graph Neural Networks (GNNs), particularly Graph Transformers, yet their empirical impact remains insufficiently understood. We introduce a unified benchmarking framework that decouples PEs from architectural choices, enabling a fair comparison across 8 GNN and Transformer models, 9 PEs, and 10 synthetic and real-world datasets. Across more than 500 model-PE-dataset configurations, we find that commonly used expressiveness proxies, including Weisfeiler-Lehman distinguishability, do not reliably predict downstream performance. In particular, highly expressive PEs frequently fail to improve, and can even degrade performance on real-world tasks. At the same time, we identify several simple and previously overlooked model-PE combinations that match or outperform recent state-of-the-art methods. Our results demonstrate the strong task-dependence of PEs and underscore the need for empirical validation beyond theoretical expressiveness. To support reproducible research, we release an open-source benchmarking framework for evaluating PEs for graph learning tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2411.12732")
get_code_for_paper("2411.12732")
have("2411.12732")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.12732.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.12732.svg)](https://syntology.ai/paper/2411.12732)

Connect an agent — have() is free.