Skip to main content
QUICK REVIEW

[Paper Review] Lovász Meets Weisfeiler and Leman

Holger Dell, Martin Grohe|arXiv (Cornell University)|Jan 1, 2018
Graph Theory and AlgorithmsComputer Science8 references12 citations
TL;DR

This paper establishes a deep equivalence between the color refinement algorithm (1-dimensional Weisfeiler-Leman), fractional isomorphisms via linear programming, and homomorphism counts from trees. It proves that two graphs are indistinguishable by color refinement if and only if they have the same number of homomorphisms from every tree, and extends this to k-dimensional Weisfeiler-Leman and homomorphisms from graphs of tree width k via the k-th level of the Sherali-Adams relaxation. The key contribution is a quasi-linear time algorithm to decide whether two graphs differ in their tree homomorphism counts.

ABSTRACT

In this paper, we relate a beautiful theory by Lovász with a popular heuristic algorithm for the graph isomorphism problem, namely the color refinement algorithm and its k-dimensional generalization known as the Weisfeiler-Leman algorithm. We prove that two graphs G and H are indistinguishable by the color refinement algorithm if and only if, for all trees T, the number Hom(T,G) of homomorphisms from T to G equals the corresponding number Hom(T,H) for H. There is a natural system of linear equations whose nonnegative integer solutions correspond to the isomorphisms between two graphs. The nonnegative real solutions to this system are called fractional isomorphisms, and two graphs are fractionally isomorphic if and only if the color refinement algorithm cannot distinguish them (Tinhofer 1986, 1991). We show that, if we drop the nonnegativity constraints, that is, if we look for arbitrary real solutions, then a solution to the linear system exists if and only if, for all t, the two graphs have the same number of length-t walks. We lift the results for trees to an equivalence between numbers of homomorphisms from graphs of tree width k, the k-dimensional Weisfeiler-Leman algorithm, and the level-k Sherali-Adams relaxation of our linear program. We also obtain a partial result for graphs of bounded path width and solutions to our system where we drop the nonnegativity constraints. A consequence of our results is a quasi-linear time algorithm to decide whether, for two given graphs G and H, there is a tree T with Hom(T,G) = Hom(T,H).

Motivation & Objective

  • To establish a precise connection between the color refinement algorithm (1-WL) and homomorphism counts from trees.
  • To characterize when two graphs are fractionally isomorphic using homomorphism counts from trees.
  • To extend the equivalence to k-dimensional Weisfeiler-Leman and graphs of bounded tree width via the k-th level of the Sherali-Adams relaxation.
  • To develop a quasi-linear time algorithm for deciding whether two graphs differ in their tree homomorphism counts.

Proposed method

  • Prove that two graphs G and H are indistinguishable by color refinement if and only if Hom(T, G) = Hom(T, H) for all trees T.
  • Use the system Fiso(G, H) of linear equations to define fractional isomorphisms, showing that nonnegative real solutions exist iff color refinement fails to distinguish G and H.
  • Lift the equivalence from trees to graphs of tree width k by relating homomorphism counts to the k-th level of the Sherali-Adams relaxation of Fiso(G, H).
  • Introduce a conditional bag-wise isomorphic homomorphism count bIso((F, P), G | u1...uk v1...vk) for path decompositions P of width k.
  • Use induction on path decomposition length to show that if Lk+1_iso(G, H) has a real solution, then bIso((F, P), G) = bIso((F, P), H) for all F with path decomposition P of width k.
  • Prove that for graphs of pathwidth at most k, Hom(F, G) = Hom(F, H) holds if Lk+1_iso(G, H) has a real solution.

Experimental results

Research questions

  • RQ1When do two graphs have the same number of homomorphisms from every tree, and how is this related to the color refinement algorithm?
  • RQ2What is the precise relationship between fractional isomorphisms and homomorphism counts from trees?
  • RQ3How does the k-dimensional Weisfeiler-Leman algorithm relate to the k-th level of the Sherali-Adams relaxation of the isomorphism linear program?
  • RQ4Can the equivalence between homomorphism counts and Weisfeiler-Leman refinement be extended to graphs of bounded tree width or path width?
  • RQ5Is there a computationally efficient way to decide whether two graphs differ in their tree homomorphism counts?

Key findings

  • Two graphs G and H are indistinguishable by the color refinement algorithm if and only if Hom(T, G) = Hom(T, H) for all trees T.
  • Fractional isomorphisms between G and H exist if and only if color refinement cannot distinguish them, and this is equivalent to Hom(T, G) = Hom(T, H) for all trees T.
  • For graphs of tree width k, the k-dimensional Weisfeiler-Leman algorithm cannot distinguish G and H if and only if Hom(F, G) = Hom(F, H) for all graphs F of tree width at most k.
  • The system Lk+1_iso(G, H) has a real solution if and only if Hom(F, G) = Hom(F, H) for all graphs F of pathwidth at most k.
  • A quasi-linear time algorithm exists to decide whether there exists a tree T such that Hom(T, G) ≠ Hom(T, H), by checking the color refinement outcome.
  • For graphs of pathwidth at most k, the existence of a real solution to Lk+1_iso(G, H) implies that bIso((F, P), G) = bIso((F, P), H) for all F with path decomposition P of width k.

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.