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 , 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 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 , as well as tradeoffs between variable number and quantifier rank.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d46a4a47-673d-4133-9ad2-c9a1fd2d97e5Cited by top-tier papers8
- Fine-grained Expressivity of Graph Neural NetworksJan Böker, Ron Levie, Ningyuan Huang, Soledad Villar et al.NeurIPS 2023 · 34 citations
- Bridging Theory and Practice in Link Representation with Graph Neural NetworksVeronica Lachi, Francesco Ferrini, Antonio Longa, Bruno Lepri et al.NeurIPS 2025 · 5 citations
- Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman RefinementsMartin Grohe, Moritz Lichter, Daniel Neuen, Pascal SchweitzerFOCS 2023 · 4 citations
- 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
- Simulating Logspace-Recursion with Logarithmic Quantifier DepthSteffen van Bergerem, Martin Grohe, Sandra Kiefer, Luca OeljeklausLICS 2023 · 1 citation
Builds on1
Related papers
- Bounding the Weisfeiler-Leman Dimension via a Depth Analysis of I/R-TreesSandra Kiefer, Daniel NeuenLICS 2024 · 1 citation
- From Quantifier Depth to Quantifier Number: Separating Structures with k VariablesHarry Vinall-SmeethLICS 2024
- 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
- Multi-Structural Games and Number of QuantifiersRonald Fagin, Jonathan Lenchner, Kenneth W. Regan, Nikhil VyasLICS 2021 · 5 citations
- On the Power of the Weisfeiler-Leman Test for Graph Motif ParametersMatthias Lanzinger, Pablo BarcelóICLR 2024 · 11 citations
