Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning

Raffaele Paolino, Sohir Maskey, Pascal Welke, Gitta Kutyniok
3/20/2024
cs.LG

Official code: RPaolino/loopy (12 stars, MIT, last commit 2024-08-07).

Abstract

We introduce $r$-loopy Weisfeiler-Leman ($r$-$\ell{}$WL), a novel hierarchy of graph isomorphism tests and a corresponding GNN framework, $r$-$\ell{}$MPNN, that can count cycles up to length $r + 2$. Most notably, we show that $r$-$\ell{}$WL can count homomorphisms of cactus graphs. This strictly extends classical 1-WL, which can only count homomorphisms of trees and, in fact, is incomparable to $k$-WL for any fixed $k$. We empirically validate the expressive and counting power of the proposed $r$-$\ell{}$MPNN on several synthetic datasets and present state-of-the-art predictive performance on various real-world datasets. The code is available at https://github.com/RPaolino/loopy

View on arXivView PDF

Code Implementations(1)

RPaolino/loopyOfficial100%
MIT
120Shell, PythonJan 30, 20242 years agoMIT

Similar Papers

Cite this paper

@article{paolino2024weisfeiler,
  title  = {Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning},
  author = {Raffaele Paolino and Sohir Maskey and Pascal Welke and Gitta Kutyniok},
  year   = {2024},
  eprint = {2403.13749},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2403.13749},
  url    = {http://arxiv.org/abs/2403.13749v2},
  journal = {NEURIPS 2024 2024}
}

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/2403.13749.svg)](https://codeofpaper.com/paper/2403.13749)

Discussion