Learn Before
Concept

The WL Algorithm for Isomorphism Testing

The Weisfieler-Lehman (WL) algorithms are a family of algorithms that are one of the most successful frameworks for approximate isomorphism testing Steps of the WL algorithm:

  • Given two graphs G1 and G2, assign an initial label to each node (this is usually the node degree)
  • Iteratively assign a new label to each node in each graph by hashing the multi-set of the current labels within the node’s neighborhood, as well as the node’s current label
  • Repeat the previous step until the labels for all nodes in both graphs converge
  • Construct multisets summarizing all the node labels in each graph. If the multi-sets for both graphs are identical, graphs G1 and G2 are isomorphic

0

1

Updated 2022-07-31

Tags

Data Science