Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
Pan Li, Yanbang Wang, Hongwei Wang, Jure Leskovec

TL;DR
This paper introduces Distance Encoding (DE), a novel method that enhances GNNs' ability to distinguish complex graph structures by capturing distances between node sets and graph nodes, leading to more powerful and scalable graph representations.
Contribution
The paper proposes and analyzes Distance Encoding (DE), a new feature for GNNs that improves their expressive power and computational efficiency for graph representation learning.
Findings
DE outperforms standard GNNs by up to 15% in accuracy and AUROC.
DE can distinguish node sets in almost all regular graphs where traditional GNNs fail.
Using DE as features or message controllers enhances GNN performance on multiple tasks.
Abstract
Learning representations of sets of nodes in a graph is crucial for applications ranging from node-role discovery to link prediction and molecule classification. Graph Neural Networks (GNNs) have achieved great success in graph representation learning. However, expressive power of GNNs is limited by the 1-Weisfeiler-Lehman (WL) test and thus GNNs generate identical representations for graph substructures that may in fact be very different. More powerful GNNs, proposed recently by mimicking higher-order-WL tests, only focus on representing entire graphs and they are computationally inefficient as they cannot utilize sparsity of the underlying graph. Here we propose and mathematically analyze a general class of structure-related features, termed Distance Encoding (DE). DE assists GNNs in representing any set of nodes, while providing strictly more expressive power than the 1-WL test. DE…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsAdvanced Graph Neural Networks · Multimodal Machine Learning Applications · Topic Modeling
