Lune

LICS2023Top-tier venue

The Iteration Number of the Weisfeiler-Leman Algorithm

Martin Grohe, Moritz Lichter, Daniel Neuen

Abstract

We prove new upper and lower bounds on the number of iterations the k-dimensional Weisfeiler-Leman algorithm (k-WL) requires until stabilization. For k ≥ 3, we show that k-WL stabilizes after at most O(knk−1log n) iterations (where n denotes the number of vertices of the input structures), obtaining the first improvement over the trivial upper bound of nk− 1 and extending a previous upper bound of O(n log n) for k = 2 [Lichter et al., LICS 2019].We complement our upper bounds by constructing k-ary relational structures on which k-WL requires at least nΩ(k)iterations to stabilize. This improves over a previous lower bound of nΩ(k/logk)[Berkholz, Nordström, LICS 2016].We also investigate tradeoffs between the dimension and the iteration number of WL, and show that d-WL, where d=⌈3(k+1)2⌉d = \left\lceil {\frac{{3(k + 1)}}{2}} \right\rceil , can simulate the k-WL algorithm using only O(k2• n⌊k/2⌋+1log n) many iterations, but still requires at least nΩ(k)iterations for any d (that is sufficiently smaller than n).The number of iterations required by k-WL to distinguish two structures corresponds to the quantifier rank of a sentence distinguishing them in the (k + 1)-variable fragment Ck+1{{\mathcal{C}}_k}_{ + 1} of first-order logic with counting quantifiers. Hence, our results also imply new upper and lower bounds on the quantifier rank required in the logic Ck+1{{\mathcal{C}}_k}_{ + 1}, as well as tradeoffs between variable number and quantifier rank.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman Refinements cites Truly Supercritical Trade-Offs for Resolution, Cutting Planes, Monotone Circuits, and Weisfeiler-Leman
  • Truly Supercritical Trade-Offs for Resolution, Cutting Planes, Monotone Circuits, and Weisfeiler-Leman cites Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman Refinements
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Fine-grained Expressivity of Graph Neural NetworksJan Böker, Ron Levie, Ningyuan Huang, Soledad Villar et al.NeurIPS 2023 · 34 citations
  2. Bridging Theory and Practice in Link Representation with Graph Neural NetworksVeronica Lachi, Francesco Ferrini, Antonio Longa, Bruno Lepri et al.NeurIPS 2025 · 5 citations
  3. Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman RefinementsMartin Grohe, Moritz Lichter, Daniel Neuen, Pascal SchweitzerFOCS 2023 · 4 citations
  4. Truly Supercritical Trade-Offs for Resolution, Cutting Planes, Monotone Circuits, and Weisfeiler-LemanSusanna F. de Rezende, Noah Fleming, Duri Andrea Janett, Jakob Nordström et al.STOC 2025 · 1 citation
  5. Simulating Logspace-Recursion with Logarithmic Quantifier DepthSteffen van Bergerem, Martin Grohe, Sandra Kiefer, Luca OeljeklausLICS 2023 · 1 citation

Builds on1

  1. Isomorphism Testing for Graphs Excluding Small Topological SubgraphsDaniel NeuenSODA 2022 · 7 citations

Related papers

  1. Bounding the Weisfeiler-Leman Dimension via a Depth Analysis of I/R-TreesSandra Kiefer, Daniel NeuenLICS 2024 · 1 citation
  2. From Quantifier Depth to Quantifier Number: Separating Structures with k VariablesHarry Vinall-SmeethLICS 2024
  3. Three Iterations of (d - 1)-WL Test Distinguish Non Isometric Clouds of d-dimensional PointsValentino Delle Rose, Alexander Kozachinskiy, Cristobal Rojas, Mircea Petrache et al.NeurIPS 2023 · 14 citations
  4. Multi-Structural Games and Number of QuantifiersRonald Fagin, Jonathan Lenchner, Kenneth W. Regan, Nikhil VyasLICS 2021 · 5 citations
  5. On the Power of the Weisfeiler-Leman Test for Graph Motif ParametersMatthias Lanzinger, Pablo BarcelóICLR 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines