A Short Tutorial on The Weisfeiler-Lehman Test And Its Variants

01/18/2022
by   Ningyuan Huang, et al.
0

Graph neural networks are designed to learn functions on graphs. Typically, the relevant target functions are invariant with respect to actions by permutations. Therefore the design of some graph neural network architectures has been inspired by graph-isomorphism algorithms. The classical Weisfeiler-Lehman algorithm (WL) – a graph-isomorphism test based on color refinement – became relevant to the study of graph neural networks. The WL test can be generalized to a hierarchy of higher-order tests, known as k-WL. This hierarchy has been used to characterize the expressive power of graph neural networks, and to inspire the design of graph neural network architectures. A few variants of the WL hierarchy appear in the literature. The goal of this short note is pedagogical and practical: We explain the differences between the WL and folklore-WL formulations, with pointers to existing discussions in the literature. We illuminate the differences between the formulations by visualizing an example.

READ FULL TEXT
research
02/16/2021

Chickenpox Cases in Hungary: a Benchmark Dataset for Spatiotemporal Signal Processing with Graph Neural Networks

Recurrent graph convolutional neural networks are highly effective machi...
research
06/03/2019

Factor Graph Neural Network

Most of the successful deep neural network architectures are structured,...
research
01/30/2020

Improving the Robustness of Graphs through Reinforcement Learning and Graph Neural Networks

Graphs can be used to represent and reason about real world systems. A v...
research
03/25/2022

SpeqNets: Sparsity-aware Permutation-equivariant Graph Networks

While (message-passing) graph neural networks have clear limitations in ...
research
01/24/2020

Theoretically Expressive and Edge-aware Graph Learning

We propose a new Graph Neural Network that combines recent advancements ...
research
11/28/2022

Confidence-Aware Graph Neural Networks for Learning Reliability Assessment Commitments

Reliability Assessment Commitment (RAC) Optimization is increasingly imp...
research
02/27/2023

Invariant Layers for Graphs with Nodes of Different Types

Neural networks that satisfy invariance with respect to input permutatio...

Please sign up or login with your details

Forgot password? Click here to reset