Table of Contents
Fetching ...

Provably Powerful Graph Networks

Haggai Maron, Heli Ben-Hamu, Hadar Serviansky, Yaron Lipman

TL;DR

The paper investigates the expressiveness limits of graph neural networks through the lens of the Weisfeiler-Lehman hierarchy. It proves that k-order invariant networks are as powerful as k-WL, establishing a theoretical baseline that aligns neural architecture with graph isomorphism tests, albeit at high computational cost for larger k. To achieve practical, scalable power, it introduces a simple 2nd-order GNN block augmented with matrix multiplication that attains 3-WL expressiveness, offering a scalable path beyond standard message passing. Empirically, the proposed approaches deliver competitive or state-of-the-art performance on graph classification and QM9 regression tasks, while providing a clear framework for analyzing and extending GNN expressiveness through invariant/equivariant design and multiset encoding. The work lays groundwork for future high-expressiveness GNNs that balance theoretical guarantees with practical efficiency.

Abstract

Recently, the Weisfeiler-Lehman (WL) graph isomorphism test was used to measure the expressive power of graph neural networks (GNN). It was shown that the popular message passing GNN cannot distinguish between graphs that are indistinguishable by the 1-WL test (Morris et al. 2018; Xu et al. 2019). Unfortunately, many simple instances of graphs are indistinguishable by the 1-WL test. In search for more expressive graph learning models we build upon the recent k-order invariant and equivariant graph neural networks (Maron et al. 2019a,b) and present two results: First, we show that such k-order networks can distinguish between non-isomorphic graphs as good as the k-WL tests, which are provably stronger than the 1-WL test for k>2. This makes these models strictly stronger than message passing models. Unfortunately, the higher expressiveness of these models comes with a computational cost of processing high order tensors. Second, setting our goal at building a provably stronger, simple and scalable model we show that a reduced 2-order network containing just scaled identity operator, augmented with a single quadratic operation (matrix multiplication) has a provable 3-WL expressive power. Differently put, we suggest a simple model that interleaves applications of standard Multilayer-Perceptron (MLP) applied to the feature dimension and matrix multiplication. We validate this model by presenting state of the art results on popular graph classification and regression tasks. To the best of our knowledge, this is the first practical invariant/equivariant model with guaranteed 3-WL expressiveness, strictly stronger than message passing models.

Provably Powerful Graph Networks

TL;DR

The paper investigates the expressiveness limits of graph neural networks through the lens of the Weisfeiler-Lehman hierarchy. It proves that k-order invariant networks are as powerful as k-WL, establishing a theoretical baseline that aligns neural architecture with graph isomorphism tests, albeit at high computational cost for larger k. To achieve practical, scalable power, it introduces a simple 2nd-order GNN block augmented with matrix multiplication that attains 3-WL expressiveness, offering a scalable path beyond standard message passing. Empirically, the proposed approaches deliver competitive or state-of-the-art performance on graph classification and QM9 regression tasks, while providing a clear framework for analyzing and extending GNN expressiveness through invariant/equivariant design and multiset encoding. The work lays groundwork for future high-expressiveness GNNs that balance theoretical guarantees with practical efficiency.

Abstract

Recently, the Weisfeiler-Lehman (WL) graph isomorphism test was used to measure the expressive power of graph neural networks (GNN). It was shown that the popular message passing GNN cannot distinguish between graphs that are indistinguishable by the 1-WL test (Morris et al. 2018; Xu et al. 2019). Unfortunately, many simple instances of graphs are indistinguishable by the 1-WL test. In search for more expressive graph learning models we build upon the recent k-order invariant and equivariant graph neural networks (Maron et al. 2019a,b) and present two results: First, we show that such k-order networks can distinguish between non-isomorphic graphs as good as the k-WL tests, which are provably stronger than the 1-WL test for k>2. This makes these models strictly stronger than message passing models. Unfortunately, the higher expressiveness of these models comes with a computational cost of processing high order tensors. Second, setting our goal at building a provably stronger, simple and scalable model we show that a reduced 2-order network containing just scaled identity operator, augmented with a single quadratic operation (matrix multiplication) has a provable 3-WL expressive power. Differently put, we suggest a simple model that interleaves applications of standard Multilayer-Perceptron (MLP) applied to the feature dimension and matrix multiplication. We validate this model by presenting state of the art results on popular graph classification and regression tasks. To the best of our knowledge, this is the first practical invariant/equivariant model with guaranteed 3-WL expressiveness, strictly stronger than message passing models.

Paper Structure

This paper contains 35 sections, 4 theorems, 27 equations, 4 figures, 2 tables.

Key Result

Proposition 1

For arbitrary ${\bm{X}},{\bm{X}}' \in \mathbb R^{n\times a}$: $\exists g\in S_n$ so that ${\bm{X}}'=g\cdot {\bm{X}}$ if and only if $u({\bm{X}})=u({\bm{X}}')$.

Figures (4)

  • Figure 1: Two graphs not distinguished by $1$-WL.
  • Figure 2: Block structure.
  • Figure :
  • Figure :

Theorems & Definitions (8)

  • Proposition 1
  • Theorem 1
  • Lemma 1
  • proof
  • Theorem 2
  • proof
  • proof
  • proof