Message Passing on the Edge: Towards Scalable and Expressive GNNs

Pablo Barceló, Fabian Jogl, Alexander Kozachinskiy, Matthias Lanzinger, Stefan Neumann +1 more
10/15/2025
cs.LGcs.AI

No official code found. Best implementation: ocatias/EdgeBasedGNNs (0 stars, MIT, last commit 2026-01-27).

Abstract

We propose EB-1WL, an edge-based color-refinement test, and a corresponding GNN architecture, EB-GNN. Our architecture is inspired by a classic triangle counting algorithm by Chiba and Nishizeki, and explicitly uses triangles during message passing. We achieve the following results: (1)~EB-1WL is significantly more expressive than 1-WL. Further, we provide a complete logical characterization of EB-1WL based on first-order logic, and matching distinguishability results based on homomorphism counting. (2)~In an important distinction from previous proposals for more expressive GNN architectures, EB-1WL and EB-GNN require near-linear time and memory on practical graph learning tasks. (3)~Empirically, we show that EB-GNN is a highly-efficient general-purpose architecture: It substantially outperforms simple MPNNs, and remains competitive with task-specialized GNNs while being significantly more computationally efficient.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of "Message Passing on the Edge: Towards Scalable and Expressive GNNs".

01PythonOct 13, 20258 months agoMIT

Similar Papers

Cite this paper

@article{barcel2025message,
  title  = {Message Passing on the Edge: Towards Scalable and Expressive GNNs},
  author = {Pablo Barceló and Fabian Jogl and Alexander Kozachinskiy and Matthias Lanzinger and Stefan Neumann and Cristóbal Rojas},
  year   = {2025},
  eprint = {2510.13615},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.13615v1}
}

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

Discussion