arXiv:2610.10800math.COOct 2026

Manuscript Offprint

arXiv:2610.10800

Decomposition Profiles and Weisfeiler-Leman Dimension for Graphs of Bounded Rank Width

Antonios Kalampakas

Abstract

The Weisfeiler-Leman (WL) algorithm tests graph isomorphism by assigning colours to dd-tuples of vertices and iteratively refining the colouring according to neighbourhood configurations until it stabilizes. Increasing dd allows the test to detect finer structural differences between graphs, but the computational cost grows exponentially with dd. The central question is which dimension allows us to distinguish nonisomorphic graphs. We relate a sufficient such dimension to the structure of a graph GG through a rank decomposition over F2\mathbb{F}_2. The two parameters governing the bound are the maximum cut rank ww and the fork load ℓ\ell, which is the largest sum of the parent and two child cut ranks at a fork in the decomposition tree. We prove that WL in dimension max⁡{ℓ+1,2w+2}\max\{\ell+1, 2w+2\} distinguishes every finite nonempty vertex-coloured graph GG with such a decomposition from every graph not isomorphic to GG. Consequently, for k≥1k \geq 1, graphs of rank width at most kk can be distinguished from every nonisomorphic graph in dimension 3k+13k+1, graphs of linear rank width at most kk in dimension 2k+22k+2, and edgeless graphs in dimension one. Uncoloured Cai-Fürer-Immerman (CFI) constructions give linear lower bounds for both width parameters, so the upper bounds are tight up to constant factors.

Keywords: Weisfeiler-Leman algorithm, graph isomorphism, decomposition profiles, rank-width, linear rank-width, finite model theory, counting logic, bijective pebble game, Cai-Fürer-Immerman graphs.

1 Introduction

The Weisfeiler-Leman procedure is a central bridge between graph isomorphism, finite model theory, and structural graph theory. Its dimension measures how many vertices must be considered simultaneously to distinguish a graph from every nonisomorphic graph. The d-dimensional procedure has equivalent formulations through the (d+1)(d+1)-variable fragment of counting logic and the bijective (d+1)(d+1)-pebble game. Bounds on the required dimension therefore yield both combinatorial identification results and bounded-variable definability statements.

Rank width is particularly suited to this question. A rank decomposition controls every cut by the rank over F2F_2 of its bipartite adjacency matrix, although the corresponding interface need not be a small separator in the usual graph-theoretic sense. Oum and Seymour introduced rank width within a general decomposition framework for dense graphs [19]. Grohe and Schweitzer gave the first polynomial-time isomorphism test for every class of bounded rank width [6]. Grohe and Neuen later developed a source-guided method based on split pairs, colour refinement, and flips [5]. Their published result shows that (3k+4)(3k+4)-dimensional Weisfeiler-Leman identifies every graph of rank width at most kk. Corollary 3.12 in the full version of the SWAT paper by Levet, Rombach, and Sieger improves this unrestricted bound to 3k+33k+3 [17].

Our main result responds to the ranks displayed by the particular source decomposition. For a rooted rank decomposition D\mathcal{D}, let w(D)w(\mathcal{D}) be its maximum cut rank and let ℓ(D)\ell(\mathcal{D}) be the maximum, over its forks, of the sum of the parent and two child cut ranks. Writing dim⁡WL(G)\dim_{\mathrm{WL}}(G) for the least dimension that identifies GG, we prove

dim⁡WL(G)≤max⁡{ℓ(D)+1,2w(D)+2}.\dim_{\mathrm{W L}}(G)\leq\max\{\ell(\mathcal{D})+1,2w(\mathcal{D})+2\}.

Since ℓ(D)≤3w(D)\ell(\mathcal{D}) \leq 3w(\mathcal{D}), every graph of rank width at most kk is identified by (3k+1)(3k + 1)-dimensional Weisfeiler-Leman when k≥1k \geq 1. A linear layout gives a rooted-comb decomposition with a singleton child side at each fork, which yields the stronger (2k+2)(2k + 2)-dimensional bound for linear rank width at most kk. Rank-width-zero graphs are edgeless and are identified by one-dimensional Weisfeiler-Leman. Thus the general rank-width estimate improves the strongest previous unrestricted bound by two dimensions. Equivalently, individual graphs in the two classes are definable in counting logic with 3k+23k + 2 and 2k+32k + 3 variables, respectively. Only the source graph is equipped with a rank decomposition. The target graph remains arbitrary throughout the proof.

The proof refines the nice-triple geometry underlying the induction of Grohe and Neuen. The same three-interface containment appears in the pebble count of Levet, Rombach, and Sieger [17, Section 3.2]. At an internal node, let S be the parent split pair and let F and T be the split pairs for its two children. These pairs can be chosen so that their distinct entries lie in one common carrier P. If the three cut ranks are r,r1,r2r, r_{1}, r_{2}, then

∣P∣≤r+r1+r2.|P|\leq r+r_{1}+r_{2}.

Entries absent from a child interface lie outside the corresponding child side. This remoteness property turns the local rank sum into the global fork-load bound.

The main obstacle is synchronizing component information across the two graphs. Stable colourings formed from different individualized tuples cannot be compared by refinement alone. We use canonical common-round colour codes and attach to each relevant stable colour its component coordinate in the appropriate flipped graph. The resulting component palettes have the same meaning on both sides of the pebble game. Two palettes are preannounced in sequence. Each either exposes a response that violates the prescribed data or forces a nonisomorphic coloured component for the next child transition. A canonical forgetful map recovers information defined with a finer tuple from the palette on the selected remote component. This avoids simultaneous markers for both children.

At a fork tt, the carrier, current marker, and response use at most ℓD(t)+2\ell_{\mathcal{D}}(t)+2 pebbles. A marked split-pair palette or component formula uses at most 2w(D)+32w(\mathcal{D})+3 variables. The strict-child transition therefore iterates with

max⁡{ℓ(D)+2,2w(D)+3}\max\{\ell(\mathcal{D})+2,2w(\mathcal{D})+3\}

pebbles. Root, leaf, and finitary closure arguments then give the stated identification theorem.

The dependence on both width parameters is optimal up to constant factors. Let Drw(r)D_{\mathrm{rw}}(r) and Dlrw(r)D_{\mathrm{lrw}}(r) be the maximum Weisfeiler-Leman dimensions on graphs of rank width and linear rank width at most r. We apply the original Cai-Fürer-Immerman (CFI) construction [3] in the uncoloured form developed by Neuen [18]. A block-layout analysis on the split grids of Kiefer and Neuen [15, Section 6.2] gives

max⁡{2,⌊r2⌋−1}≤Dlrw(r)≤2r+2\max\left\{2,\left\lfloor\frac{r}{2}\right\rfloor-1\right\}\leq D_{\mathrm{lrw}}(r)\leq2r+2

for every r≥2r \geq 2. Factoring cuts through the endpoints of crossing base edges yields

max⁡{3,⌊r2⌋}≤Drw(r)≤3r+1\max\left\{3,\left\lfloor\frac{r}{2}\right\rfloor\right\}\leq D_{\mathrm{rw}}(r)\leq3r+1

for every r≥4r \geq 4. The lower construction uses the fact that the nn by nn square grid has tree width nn [2, Section 13.2]. The rook and Shrikhande graphs provide the constant-three calibration, including Dlrw(r)≥3D_{\mathrm{lrw}}(r) \geq 3 for r≥5r \geq 5. These estimates show that both extremal dimensions grow linearly.

The standard implementation of Weisfeiler-Leman consequently tests isomorphism on the rank-width-k class in time O(n3k+2log⁡n)O(n^{3k+2} \log n), improving the previous exponent by two. The broader lower-bound context includes oddomorphisms for homomorphism indistinguishability [20] and compressed CFI graphs designed for strong Weisfeiler-Leman lower bounds [7]. Our analysis instead tracks rank width and linear rank width closely enough to place the indistinguishable pairs inside the corresponding width-bounded classes.

The decomposition-sensitive estimate also yields structural information after optimization. Define

ℓ⋆(G)=min⁡Dℓ(D),d⋆(G)=min⁡Dmax⁡{ℓ(D)+1,2w(D)+2}.\ell^{\star}(G)=\min_{\mathcal{D}}\ell(\mathcal{D}),\qquad d^{\star}(G)=\min_{\mathcal{D}}\max\{\ell(\mathcal{D})+1,2w(\mathcal{D})+2\}.

We prove

2rw(G)≤ℓ⋆(G)≤3rw(G),2\mathrm{r w}(G)\leq\ell^{\star}(G)\leq3\mathrm{r w}(G),

and d⋆(G)d^\star(G) lies between ℓ⋆(G)+1\ell^\star(G) + 1 and ℓ⋆(G)+2\ell^\star(G) + 2. We call (ℓ⋆(G),d⋆(G))(\ell^\star(G), d^\star(G)) the optimized profile pair. Every connected graph GG on at least three vertices has, for each q≥1q \geq 1, a connected induced supergraph GqG_q with the same rank width and optimized profile pair, while

lrw(Gq)=max⁡{lrw(G),q}.\mathrm{l r w}(G_{q})=\max\{\mathrm{l r w}(G),q\}.

Using square grids as base graphs gives, for every r≥1r \geq 1 and q≥r+1q \geq r + 1, a connected graph with rank width r and linear rank width q such that

ℓ⋆(Gq)≤min⁡{3r,2r+3},2r+2≤d⋆(Gq)≤min⁡{3r+1,2r+4}.\ell^{\star}(G_{q})\leq\min\{3r,2r+3\},\qquad2r+2\leq d^{\star}(G_{q})\leq\min\{3r+1,2r+4\}.

Thus linear rank width can grow without changing the optimized profile.

Both optimized quantities obey exact maximum identities under disjoint union and nontrivial split composition. The corresponding identity for rank width is classical [9, Theorem 4.3]. Iteration over an atomic split decomposition gives a maximum formula for every nonempty graph. At rank width exactly two, the optimized profile pair is always (5,6)(5,6) or (6,7)(6,7), and both pairs occur at every exact linear rank width at least three. Hence global linear rank width does not determine the optimized profile pair, and decomposition optimization alone cannot lower the endpoint seven for graphs of rank width exactly two.

These structural results complement recent work on recognizability and counting monadic second-order logic (CMSO) definability at rank width at most two, and on sequential cable constructions for linear rank width [13, 14]. Those works do not study the optimized profile pair introduced here.

The theorem concerns identification after unrestricted Weisfeiler-Leman stabilization. It does not bound the number of refinement rounds or determine the optimal dimension. Levet, Rombach, and Sieger obtain a different tradeoff by using (6k+3)(6k+3)-dimensional Weisfeiler-Leman for O(log⁡n)O(\log n) rounds in a parallel canonization framework [16]. Our argument does not produce a canonical target decomposition, a bounded-depth description, or fixed-point definable canonization. In particular, for graphs of rank width at most two it gives a seven-dimensional upper bound without determining the exact dimension of the class.

Section 2 fixes the game, logic, rank-width, split-pair, and flip conventions. Section 3 proves the carrier bound and the remote synchronization tools. Section 4 interprets every auxiliary key in the ordinary graph vocabulary. Section 5 establishes the two-palette strict-child transition. Section 6 closes the source-guided induction and proves the main theorem. Section 7 develops optimized fork load, separation, split composition, and the rank-width-two classification. Section 8 gives the extremal dimension ranges, finite calibration, and algorithmic consequences. Section 9 records the remaining questions.

References (19)