Overview
Weisfeiler-Lehman refinement assigns new colors from each vertex's current color and the multiset of neighbor colors, repeating until the coloring stabilizes or a fixed number of rounds is reached.
Refines graph vertex colors by repeatedly encoding each vertex's neighborhood color multiset.
Compact metadata for implementation and discovery.
Weisfeiler-Lehman refinement assigns new colors from each vertex's current color and the multiset of neighbor colors, repeating until the coloring stabilizes or a fixed number of rounds is reached.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O((V + E) log V)
Worst
O(V^2 + E)
Space
O(V + E)
Show iteratively refining vertex colors from neighbor color multisets on a small graph isomorphism screening example.
Weisfeiler-Lehman refinement is a strong local-structure filter, but indistinguishable color histograms do not prove isomorphism in all cases.
What each reference supports for this entry.
Algorithm catalog support for Weisfeiler-Lehman Refinement's problem context, known alternatives, and practical selection tradeoffs.
Open sourceGraph theory reference for Weisfeiler-Lehman Refinement's structural graph concepts and traversal, coloring, or connectivity context.
Good next jumps from the relationship graph, ranked for useful discovery.
WL refinement can screen or partition graphs before exact mapping search.
Both use graph structure to distinguish graphs, but canonical labeling aims to produce a canonical representation.