Edge-Based WL and Message Passing
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.
BibTeX
@misc{barcelo2026edge,
author = {Pablo Barcelo and Fabian Jogl and Alexander Kozachinskiy and Matthias Lanzinger and Stefan Neumann and Cristobal Rojas},
title = {{Edge-Based WL and Message Passing}},
year = {2026},
url = {https://openreview.net/forum?id=VBuMFKGkNU},
howpublished = {OpenReview},
note = {Submitted to ICLR 2026},
}Ask Althea to put this paper to the test.