Papers › Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networks

Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networks

1 Mar 2022ICLR 2022 4arXiv:2203.00199archive 2025-07-28

Haorui Wang, Haoteng Yin, Muhan Zhang, Pan Li

Graph neural networks (GNN) have shown great advantages in many graph-based learning tasks but often fail to predict accurately for a task-based on sets of nodes such as link/motif prediction and so on. Many works have recently proposed to address this problem by using random node features or node distance features. However, they suffer from either slow convergence, inaccurate prediction, or high complexity. In this work, we revisit GNNs that allow using positional features of nodes given by positional encoding (PE) techniques such as Laplacian Eigenmap, Deepwalk, etc. GNNs with PE often get criticized because they are not generalizable to unseen graphs (inductive) or stable. Here, we study these issues in a principled way and propose a provable solution, a class of GNN layers termed PEG with rigorous mathematical analysis. PEG uses separate channels to update the original node features and positional features. PEG imposes permutation equivariance w.r.t. the original node features and imposes O(p) (orthogonal group) equivariance w.r.t. the positional features simultaneously, where p is the dimension of used positional features. Extensive link prediction experiments over 8 real-world networks demonstrate the advantages of PEG in generalization and scalability.

PaperPDFConference PDFCodeCode 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="2203.00199")

Code

Syntology Ran 6 of 17 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 2 ran · fixture could not drive it; 1 ran with no contract checked.

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

graph-com/peg officialmentioned in papermentioned on GitHubpytorchMIT 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

17 samples harvested; 6 ran; 2 honoured the contract we drafted; 11 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.

2ran · honoured contract
1ran · violated contract
2ran · fixture could not drive it
1ran
11unverified

Licence: 0 of the 17 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 graph-com/peg. “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.

alias_sample graph-com/peg/Graph_embedding/alias.py official repository ran MIT (permissive) · 5a75781caceb9236 · report
cost graph-com/peg/Graph_embedding/models/struc2vec.py official repository ran · honoured contract fingerprinted MIT (permissive) · a6eedf26f48f5c81 · report
cost_max graph-com/peg/Graph_embedding/models/struc2vec.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 5eb1d5a79598bd42 · report
cost_min graph-com/peg/Graph_embedding/models/struc2vec.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · a1ff0654e5599f61 · report
parse_index_file graph-com/peg/utils.py official repository ran · honoured contract MIT (permissive) · c1d6392f89c5e495 · report
sample_mask graph-com/peg/utils.py official repository ran · violated contract fingerprinted MIT (permissive) · b32fd748b4bbe3bf · report
create_alias_table graph-com/peg/Graph_embedding/alias.py official repository unverified MIT (permissive) · 224a71670140505b · report
create_model graph-com/peg/Graph_embedding/models/line.py official repository unverified MIT (permissive) · 5a9ac6dd51d8b1f9 · report
create_model graph-com/peg/Graph_embedding/models/sdne.py official repository unverified MIT (permissive) · af7d837b0dda7c1b · report
l_1st graph-com/peg/Graph_embedding/models/sdne.py official repository unverified MIT (permissive) · 815d0f1c14d3864b · report
l_2nd graph-com/peg/Graph_embedding/models/sdne.py official repository unverified MIT (permissive) · 3f71c0839d0bd13f · report
line_loss graph-com/peg/Graph_embedding/models/line.py official repository unverified MIT (permissive) · 7727998a95f239e7 · report
load_data_citation graph-com/peg/utils.py official repository unverified MIT (permissive) · c398ee2319ebe0b4 · report
partition_dict graph-com/peg/Graph_embedding/utils.py official repository unverified MIT (permissive) · 692e690385a18390 · report
partition_list graph-com/peg/Graph_embedding/utils.py official repository unverified MIT (permissive) · c69743db3e867e4f · report
preprocess_nxgraph graph-com/peg/Graph_embedding/utils.py official repository unverified MIT (permissive) · f4a5415424bc8143 · report
read_node_label graph-com/peg/Graph_embedding/classify.py official repository unverified MIT (permissive) · 513a08782a76482f · report

Tasks

Link PredictionPrediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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