Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networks

Haorui Wang, Haoteng Yin, Muhan Zhang, Pan Li
3/1/2022
cs.LGcs.SI
gnn

Official code: Graph-COM/PEG (42 stars, Python, MIT, last commit 2023-06-04).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Graph-COM/PEGOfficial100%
MIT
427Python, Jupyter NotebookOct 5, 20213 years agoMIT

Similar Papers

Cite this paper

@article{wang2022equivariant,
  title  = {Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networks},
  author = {Haorui Wang and Haoteng Yin and Muhan Zhang and Pan Li},
  year   = {2022},
  eprint = {2203.00199},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.00199}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.00199.svg)](https://codeofpaper.com/paper/2203.00199)

Discussion