Weisfeiler-Leman on graphs of small twin-width
Irene Heinrich, Moritz Lichter, Klara Pakhomenko, Simon Raßmann
TL;DR
This work clarifies how the Weisfeiler-Leman hierarchy interacts with small twin-width, showing that fixed-dimension WL cannot handle twin-width 4 graphs due to CFI-based constructions, while 3-WL suffices for twin-width 1 graphs via canonical 1-contraction sequences and modular decomposition. It further resolves a conjecture by proving that stable graphs of twin-width 2 have bounded rank-width, yielding FP+C-definable canonization and fixed-dimension WL recognizability on this class. The combined approach uses subdivision tricks, canonical contraction sequences, modular decomposition, and well-linkedness to connect local contraction behavior to global width parameters. These results delineate tractable regimes for isomorphism testing and definability in relation to twin-width and suggest avenues for extending similar techniques to related width measures.
Abstract
Twin-width is a graph parameter introduced in the context of first-order model checking, and has since become a central parameter in algorithmic graph theory. While many algorithmic problems become easier on arbitrary classes of bounded twin-width, graph isomorphism on graphs of twin-width 4 and above is as hard as the general isomorphism problem. For each positive number $k$, the $k$-dimensional Weisfeiler-Leman algorithm is an iterative color refinement algorithm that encodes structural similarities and serves as a fundamental tool for distinguishing non-isomorphic graphs. We show that the graph isomorphism problem for graphs of twin-width 1 can be solved by the purely combinatorial 3-dimensional Weisfeiler-Leman algorithm, while there is no fixed $k$ such that the $k$-dimensional Weisfeiler-Leman algorithm solves the graph isomorphism problem for graphs of twin-width 4. Moreover, we prove the conjecture of Bergougnoux, Gajarský, Guspiel, Hlinený, Pokrývka, and Sokolowski that stable graphs of twin-width 2 have bounded rank-width. This in particular implies that isomorphism of these graphs can be decided by a fixed dimension of the Weisfeiler-Leman algorithm.
