Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman Refinements

Martin Grohe, Moritz Lichter, Daniel Neuen, Pascal Schweitzer

Abstract

The Weisfeiler-Leman ($k$-WL) algorithm is a fundamental tool in algebraic graph theory and a primary heuristic for the Graph Isomorphism problem. While the algorithm's dimension $k$ determines its expressive power, the iteration number—the number of rounds required to reach a stable coloring—determines its computational efficiency. Historically, finding tight lower bounds for the iteration number on graphs has proven difficult, with the best-known bound remaining linear ($\Omega(n)$) for over two decades. This paper introduces a novel "compression" technique for the Cai-Fürer-Immerman (CFI) construction, establishing the first super-linear lower bound of $\Omega(n^{k/2})$ for the iteration number of $k$-WL on graphs.

Introduction

The $k$-dimensional Weisfeiler-Leman algorithm works by iteratively refining the coloring of $k$-tuples of vertices. In each round, the color of a tuple is updated based on the colors of its neighbors in the graph's configuration. The process continues until the partition of tuples into color classes stabilizes.

Two parameters are central to the study of $k$-WL: the dimension $k$, which relates to the algorithm's ability to distinguish non-isomorphic structures, and the iteration number, which tracks the speed of convergence. While the iteration number is trivially upper-bounded by $n^k$, finding lower bounds for simple binary relations (graphs) has been an open challenge. Since 2001, researchers have known that $k$-WL can require $\Omega(n)$ iterations, but whether this could be pushed to a super-linear scale remained unknown until now.

Methodology: Compressing the CFI Construction

The authors achieve their results by modifying the classic Cai-Fürer-Immerman (CFI) construction. In a standard CFI construction, a base graph (often a grid) is transformed into two non-isomorphic graphs by replacing each vertex with a specific "gadget." To distinguish these graphs, the $k$-WL algorithm must effectively solve a system of linear equations distributed across these gadgets.

The Compression Technique

The core innovation of this work is the concept of gadget reuse. In traditional constructions, every vertex in the base graph corresponds to a unique gadget, leading to a large number of total vertices ($n$). The authors propose a "compression" where multiple base vertices share the same gadget.

To implement this without allowing the algorithm to find a shortcut to the solution, the authors utilize a cylindrical grid as the base structure. Gadgets are reused according to periodic patterns across the grid. By ensuring that the periods of these patterns are "as coprime as possible"—specifically, requiring that every prime-power dividing a period appears in at least two different periods—the authors prevent the algorithm from exploiting global dependencies prematurely.

Game-Theoretic Analysis

The proof of the lower bound is framed through a Cops and Robber game, which is known to be dual to the $k$-WL algorithm. In this game, the "Cops" attempt to identify a "twist" (an isomorphism discrepancy) that the "Robber" moves through the graph. The compression technique forces the Cops to traverse the graph for a significantly higher number of rounds to corner the Robber, directly translating to a higher iteration count for the $k$-WL algorithm.

Key Results and Insights

This research yields several significant theoretical results:

  1. Super-Linear Lower Bound: The paper proves that the iteration number of $k$-WL on graphs with $n$ vertices is at least $\Omega(n^{k/2})$. This is the first result to break the linear barrier for graphs.
  2. Superiority over Relational Structures: Interestingly, this new bound for graphs (binary relations) even exceeds the best-known lower bounds for more complex $k$-ary relational structures, where edges can connect $k$ vertices simultaneously.
  3. Flexibility of Dimension: The bound holds even when the dimension $k$ is not a constant but grows with $n$, specifically for $k = O(n^{1/2-\epsilon})$.
  4. Logical Depth: In the context of finite model theory, $k$-WL is closely linked to the $k+1$-variable fragment of first-order logic with counting quantifiers. This result implies a corresponding lower bound on the quantifier depth required to distinguish non-isomorphic graphs in this logic.

Discussion and Future Work

While the $\Omega(n^{k/2})$ bound represents a major advancement, a gap remains between this result and the known upper bound of $O(n^{k-1} \log n)$. Whether the lower bound can be further improved toward $n^k$ remains an open question. Additionally, while these results demonstrate that $k$-WL can be forced into slow convergence on specifically engineered "hard" graphs, the algorithm remains highly efficient for the vast majority of practical, real-world graph isomorphism instances.

By demonstrating that simple binary edges are sufficient to create complex, slow-to-stabilize structures, this work deepens our understanding of the limits of iterative refinement heuristics in graph theory.

Summary updated

BibTeX
@article{grohe2023compressing,
  author = {Martin Grohe and Moritz Lichter and Daniel Neuen and Pascal Schweitzer},
  title = {{Compressing CFI Graphs and Lower Bounds for the Weisfeiler-Leman Refinements}},
  journal = {J. ACM},
  year = {2023},
}
Figure