Scaling Weisfeiler-Leman Expressiveness Analysis to Massive Graphs with GPUs

Filippo Biondi, Mirco Tribastone, Max Tschaikowski
7/1/2026
cs.DCcs.LG

No confident code implementation found for this paper.

Abstract

The stable coloring of the Weisfeiler-Leman (1-WL) test is a cornerstone of Graph Neural Networks because it provides an upper bound to the expressive power of message-passing architectures. Unfortunately, computing it presents two fundamental bottlenecks.

Show full abstract

First, classic algorithms are inherently sequential and cannot exploit modern massively parallel hardware. Second, these are \emph{global} algorithms, i.e., they require availability in memory of the full graph, severely limiting applicability to real-world instances. We leverage a linear-algebraic interpretation of 1-WL stable coloring and introduce two key contributions: (i)~a randomized refinement algorithm with tight probabilistic guarantees and (ii)~a correctness-preserving batching scheme that decomposes the graph into independently processable subgraphs while provably returning a stable coloring of the original graph. This approach maps directly to GPU-efficient primitives. In numerical experiments, our CUDA implementation delivers speedups up to two orders of magnitude over classical CPU-based partition refinement and, for the first time, successfully computes stable colorings on web-scale graphs with over 30 billion edges, where CPU baselines time out or fail.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{biondi2026scaling,
  title  = {Scaling Weisfeiler-Leman Expressiveness Analysis to Massive Graphs with GPUs},
  author = {Filippo Biondi and Mirco Tribastone and Max Tschaikowski},
  year   = {2026},
  eprint = {2607.02603},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.02603v1}
}

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

Discussion