Skip to main content
QUICK REVIEW

[Paper Review] On the Combinatorial Power of the Weisfeiler-Lehman Algorithm

Martin Fürer|arXiv (Cornell University)|Apr 4, 2017
graph theory and CDMA systemsEngineering13 references7 citations
TL;DR

This paper investigates the combinatorial power of the Weisfeiler-Lehman algorithm, specifically WL[2], in distinguishing graph invariants. It demonstrates that WL[2] can determine the number of cycles up to length 6 and 4-cliques, but fails to detect 8-cycles and 4-cliques, showing that WL[2] is incomparable with these invariants despite its strong discriminatory power.

ABSTRACT

The classical Weisfeiler-Lehman method WL[2] uses edge colors to produce a powerful graph invariant. It is at least as powerful in its ability to distinguish non-isomorphic graphs as the most prominent algebraic graph invariants. It determines not only the spectrum of a graph, and the angles between standard basis vectors and the eigenspaces, but even the angles between projections of standard basis vectors into the eigenspaces. Here, we investigate the combinatorial power of WL[2]. For sufficiently large k, WL[k] determines all combinatorial properties of a graph. Many traditionally used combinatorial invariants are determined by WL[k] for small k. We focus on two fundamental invariants, the num- ber of cycles Cp of length p, and the number of cliques Kp of size p. We show that WL[2] determines the number of cycles of lengths up to 6, but not those of length 8. Also, WL[2] does not determine the number of 4-cliques.

Motivation & Objective

  • To analyze the combinatorial capabilities of the Weisfeiler-Lehman algorithm, particularly WL[2], in detecting fundamental graph invariants.
  • To determine whether WL[2] can uniquely identify the number of cycles of various lengths and cliques of specific sizes.
  • To investigate the limitations of WL[2] in distinguishing non-isomorphic graphs that share the same edge color distribution.
  • To clarify the relationship between WL[2] and classical combinatorial invariants such as cycle and clique counts.
  • To establish incomparability between WL[2] and certain invariants like 4-clique count and 8-cycle count via explicit counterexamples.

Proposed method

  • The study uses the CFI construction to generate non-isomorphic strongly regular graphs G and G̃ that are indistinguishable under WL[2] due to identical edge color multiplicities.
  • Cycle counting is performed via a brute-force algorithm that enumerates all cycles of length k starting from each vertex, leveraging vertex transitivity to compute total cycle counts.
  • The WL[2] coloring process is applied to edge-colored complete directed graphs, where colors are refined based on multisets of 2-hop neighbor color patterns.
  • For WL[k], the method extends coloring to k-tuples of vertices, using sift operations to generate color multisets from substitutions of a new vertex into each position.
  • The analysis compares cycle and clique counts between G and G̃ across various lengths, using computational enumeration to verify differences.
  • Theoretical arguments are supported by empirical data from a Cycle Count program, with results tabulated for cycle counts from length 1 to 16.

Experimental results

Research questions

  • RQ1Can WL[2] determine the number of cycles of length 8 in a graph?
  • RQ2Does WL[2] detect the number of 4-cliques in a graph?
  • RQ3Is WL[2] comparable to the invariant counting 4-cliques, or are they incomparable?
  • RQ4For which cycle lengths does WL[2] fail to distinguish the number of cycles between non-isomorphic graphs?
  • RQ5What is the relationship between WL[2] and the complexity of counting small subgraphs like cycles and cliques?

Key findings

  • WL[2] determines the number of cycles of length up to 6, as the counts in the CFI-generated graphs G and G̃ are identical for k ≤ 6.
  • WL[2] fails to determine the number of 8-cycles, as the cycle counts differ between G and G̃, with 11,952 cycles in G and 11,688 in G̃.
  • WL[2] does not determine the number of 4-cliques, as G contains 8 cliques while G̃ contains none, despite identical edge color distributions.
  • The 4-clique count is incomparable to WL[2], as there exist graphs where WL[2] distinguishes non-isomorphic graphs but the 4-clique count does not.
  • For k ≤ 7, cycle counting is in O(n^ω) time due to matrix multiplication techniques, but for k ≥ 8, the problem becomes #W-complete, indicating a complexity shift.
  • The CFI construction with a tetrahedron as the base graph produces a pair of non-isomorphic graphs that are indistinguishable under WL[2], yet differ in cycle and clique counts starting at length 8.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.