Color Refinement Distinguishes Connected Rooted Outerplanar Graphs
Louann Coste, M{ó}nika Csik{ó}s, Laurent Viennot
Abstract
Color refinement, also known as the 1-dimensional Weisfeiler-Leman algorithm (1-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 1-WL, or its higher-dimensional variant k-WL, identifies every graph; the least such k is the WL-dimension of the class. Planar graphs have WL-dimension at most 3 (Kiefer, Ponomarenko and Schweitzer, 2019), and whether 2-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 2. 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 2-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)-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.
Create a lesson
Related papers
Proper Conflict-Free Coloring of Cocomparability, Co-Bipartite, and Distance-Hereditary Graphs
Shared title terminology · Gautam K. Das, Kamal Santra
Proper Conflict-Free Coloring of Undirected Path, Chordal Bipartite, and Strongly Chordal Graphs
Shared title terminology · Gautam K. Das, Kamal Santra
Proper Conflict-Free Coloring on Structured Graph Classes: Bounds, Exact Algorithms, and Hardness
Shared title terminology · Kamal Santra
A Four-Connected Graph without a Legal System
Shared title terminology · Qiuyu Chen
Fault-tolerant Hamiltonian connectivity of Johnson graphs
Shared title terminology · Huazhong Lü, Jinhao Liu
Cohomological k-Equivalence Does Not Capture Graph Isomorphism
Shared title terminology · Asterios Gkantzounis