arXiv:2611.18391cs.DMNov 2026

Manuscript Offprint

arXiv:2611.18391

Color Refinement Distinguishes Connected Rooted Outerplanar Graphs

Louann Coste, M{ó}nika Csik{ó}s, Laurent Viennot

Abstract

Color refinement, also known as the 11-dimensional Weisfeiler-Leman algorithm (11-WL), is a classical near-linear-time heuristic for graph isomorphism, which also captures the expressive power of message-passing graph neural networks. A long line of work asks on which graph classes 11-WL, or its higher-dimensional variant kk-WL, identifies every graph; the least such kk is the WL-dimension of the class. Planar graphs have WL-dimension at most 33 (Kiefer, Ponomarenko and Schweitzer, 2019), and whether 22-WL already distinguishes all planar graphs is a central open problem. We bring new insight on this question for outerplanar graphs, whose WL-dimension is 22. We show that color refinement, i.e. 1-WL, distinguishes connected rooted outerplanar graphs: two non-isomorphic such graphs receive different stable colorings once a single vertex, the root, is individualized. The root is necessary, as there are non-isomorphic 22-connected outerplanar graphs that color refinement does not distinguish. Our result extends to pseudo-rooted graphs, in which the stable coloring merely contains a singleton color class, and to non-connected graphs whose components all contain such a class. Consequently, the (1,1)(1,1)-WL test of Rattan and Seppelt (2023) distinguishes all outerplanar graphs. We proceed by inversion: we reconstruct a connected rooted outerplanar graph, up to isomorphism, from its color graph, the weighted quotient of the graph by its stable color classes, together with its root color. The reconstruction runs in time linear in the output size and is canonical, which yields a near-linear-time canonization algorithm for these graphs. Our main tool is a dichotomy lemma, formalized in Rocq: in a rooted outerplanar graph with an equitable coloring, every block either receives pairwise distinct colors or admits a color-preserving mirror symmetry fixing its vertex closest to the root.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.