The Iteration Number of the Weisfeiler-Leman Algorithm
Abstract
We prove new upper and lower bounds on the number of iterations the -dimensional Weisfeiler-Leman algorithm (-WL) requires until stabilization. For , we show that -WL stabilizes after at most iterations (where denotes the number of vertices of the input structures), obtaining the first improvement over the trivial upper bound of and extending a previous upper bound of for [Lichter et al., LICS 2019]. We complement our upper bounds by constructing -ary relational structures on which -WL requires at least iterations to stabilize. This improves over a previous lower bound of [Berkholz, Nordstr\"{o}m, LICS 2016]. We also investigate tradeoffs between the dimension and the iteration number of WL, and show that -WL, where , can simulate the -WL algorithm using only many iterations, but still requires at least iterations for any (that is sufficiently smaller than ). The number of iterations required by -WL to distinguish two structures corresponds to the quantifier rank of a sentence distinguishing them in the -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.
Keywords
Cite
@article{arxiv.2301.13317,
title = {The Iteration Number of the Weisfeiler-Leman Algorithm},
author = {Martin Grohe and Moritz Lichter and Daniel Neuen},
journal= {arXiv preprint arXiv:2301.13317},
year = {2025}
}
Comments
30 pages, 1 figure, full version of a paper accepted at LICS 2023; second version improves the presentation of the results