Empowering GNNs via Edge-Aware Weisfeiler-Leman Algorithm
Meng Liu, Haiyang Yu, Shuiwang Ji
TL;DR
The paper addresses the limited expressiveness of standard $1$-WL-based GNNs by introducing NC-1-WL, which accounts for edges among a node's neighbors, yielding a theoretical expressiveness niche between $1$-WL and $3$-WL. Building on this, the authors propose NC-GNN, a differentiable neural framework whose one-layer design preserves the same expressive power as NC-1-WL under injectivity assumptions. They demonstrate both theoretical (injectivity-based) and empirical gains: NC-GNN outperforms GIN on multiple benchmarks with competitive efficiency, and can count 3-cycles and distinguish certain graph structures beyond 1-WL. The work positions NC-GNN as a scalable, powerful base model for graph learning, particularly suitable for social networks and large graphs.
Abstract
Message passing graph neural networks (GNNs) are known to have their expressiveness upper-bounded by 1-dimensional Weisfeiler-Leman (1-WL) algorithm. To achieve more powerful GNNs, existing attempts either require ad hoc features, or involve operations that incur high time and space complexities. In this work, we propose a general and provably powerful GNN framework that preserves the scalability of the message passing scheme. In particular, we first propose to empower 1-WL for graph isomorphism test by considering edges among neighbors, giving rise to NC-1-WL. The expressiveness of NC-1-WL is shown to be strictly above 1-WL and below 3-WL theoretically. Further, we propose the NC-GNN framework as a differentiable neural version of NC-1-WL. Our simple implementation of NC-GNN is provably as powerful as NC-1-WL. Experiments demonstrate that our NC-GNN performs effectively and efficiently on various benchmarks.
