TOPICS
Search

Weisfeiler-Leman Algorithm


The k-dimensional Weisfeiler-Leman algorithm is an iterative graph coloring algorithm that assigns colors to k-tuples of vertices of a finite graph. For k>=2, the initial color of a tuple records the equality and adjacency relations among its coordinates. At each subsequent round, the new color records the old color together with the multiset, over all vertices v, of the ordered k-tuples of colors obtained by replacing each coordinate in turn by v. The process stops when no color class splits (Immerman and Sengupta 2019). The one-dimensional Weisfeiler-Leman algorithm is color refinement.

To compare graphs G and H, the algorithm is applied to their disjoint union. It distinguishes the graphs if the multisets of stable colors on the k-tuples from G and H are different. Since the coloring is invariant under graph isomorphism, graphs distinguished by the algorithm cannot be isomorphic. The least k for which the algorithm distinguishes G from every nonisomorphic graph is the Weisfeiler-Leman dimension of G (Grohe 2017).

The algorithm is named for Boris Weisfeiler and Andrei Leman (1968), who introduced the original method while reducing a finite multigraph to canonical form. Their procedure repeatedly refines colors on ordered pairs of vertices by counting two-step walks with specified color sequences. This pair refinement is the classical two-dimensional Weisfeiler-Leman algorithm. The modern k-dimensional algorithm extends it from ordered pairs to tuples of k vertices (Grohe 2017). At stabilization, the adjacency matrices of the color classes span an associative algebra A(G). This is the "algebra which appears therein" in the paper's title. Its relation to the automorphism group of G was central to the authors' study.

The stable coloring produced by the two-dimensional algorithm determines a coherent configuration.


See also

Coherent Configuration, Color Refinement, Graph Isomorphism, Schurian Graph, Weisfeiler-Leman Dimension

Explore with Wolfram|Alpha

References

Grohe, M. Descriptive Complexity, Canonisation and Definable Graph Structure Theory. Cambridge, England: Cambridge University Press, 2017.Immerman, N. and Sengupta, R. "The k-Dimensional Weisfeiler-Leman Algorithm." 22 Jul 2019. https://arxiv.org/abs/1907.09582.Weisfeiler, B. and Leman, A. "The Reduction of a Graph to Canonical Form and the Algebra Which Appears Therein." Nauchno-Technicheskaya Informatsia 2, 12-16, 1968. https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf.

Cite this as:

Weisstein, Eric W. "Weisfeiler-Leman Algorithm." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Weisfeiler-LemanAlgorithm.html

Subject classifications