Lov'asz Meets Weisfeiler and Leman
Not on the map. Why?
Abstract (arXiv)
In this paper, we relate a beautiful theory by Lov'asz 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).
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 2; 2023: 7; 2024: 5; 2025: 4; 2026: 1.
26 papers.
Sort:
- 2021Weisfeiler and Leman go Machine Learning: The Story so farcited by 121
- 2021The Logic of Graph Neural Networkscited by 84
- 2021Graph Neural Networks with Local Graph Parameterscited by 51
- 2023Equivariant Polynomials for Graph Neural Networkscited by 38
- 2022SpeqNets: Sparsity-aware Permutation-equivariant Graph Networkscited by 37
- 2023WL meet VCcited by 30
- 2023Fine-grained Expressivity of Graph Neural Networkscited by 25
- 2021The Power of the Weisfeiler-Leman Algorithm for Machine Learning with Graphscited by 19
- 2024Towards Bridging Generalization and Expressivity of Graph Neural Networkscited by 12
- 2023Expectation-Complete Graph Representations with Homomorphismscited by 10
- 2021A Generalized Weisfeiler-Lehman Graph Kernelcited by 9
- 2021On the approximation capability of GNNs in node classification/regression taskscited by 9
14 more
- 2022Weisfeiler and Leman Go Walking: Random Walk Kernels Revisitedcited by 8
- 2023On the Power of the Weisfeiler-Leman Test for Graph Motif Parameterscited by 6
- 2025Homomorphism Expressivity of Spectral Invariant Graph Neural Networkscited by 4
- 2025Graph Representational Learning: When Does More Expressivity Hurt Generalization?cited by 4
- 2023Structural Node Embeddings with Homomorphism Countscited by 3
- 2024Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learningcited by 2
- 2024The Role of Fibration Symmetries in Geometric Deep Learningcited by 2
- 2021Scaling up graph homomorphism for classification via samplingcited by 0
- 2023Local Fragments, Global Gains: Subgraph Counting using Graph Neural Networkscited by 0
- 2024Generalization of Graph Neural Networks through the Lens of Homomorphismcited by 0
- 2024Fine-Grained Expressive Power of Weisfeiler-Leman: A Homomorphism Counting Perspectivecited by 0
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregationcited by 0
- 2025Message Passing on the Edge: Towards Scalable and Expressive GNNscited by 0
- 2026The WidthWall: A Strict Expressivity Hierarchy for Hypergraph Neural Networkscited by 0
- 2026The WidthWall: A Strict Expressivity Hierarchy for Hypergraph Neural Networks13 May 2026
- 2025Message Passing on the Edge: Towards Scalable and Expressive GNNs15 Oct 2025
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregation7 Jun 2025
- 2025Graph Representational Learning: When Does More Expressivity Hurt Generalization?16 May 2025
- 2025Homomorphism Expressivity of Spectral Invariant Graph Neural Networks1 Mar 2025
- 2024Towards Bridging Generalization and Expressivity of Graph Neural Networks14 Oct 2024
- 2024Fine-Grained Expressive Power of Weisfeiler-Leman: A Homomorphism Counting Perspective4 Oct 2024
- 2024The Role of Fibration Symmetries in Geometric Deep Learning28 Aug 2024
- 2024Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning20 Mar 2024
- 2024Generalization of Graph Neural Networks through the Lens of Homomorphism10 Mar 2024
- 2023On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters29 Sep 2023
- 2023Structural Node Embeddings with Homomorphism Counts29 Aug 2023
14 more
- 2023Expectation-Complete Graph Representations with Homomorphisms9 Jun 2023
- 2023Fine-grained Expressivity of Graph Neural Networks6 Jun 2023
- 2023Local Fragments, Global Gains: Subgraph Counting using Graph Neural Networks31 May 2023
- 2023Equivariant Polynomials for Graph Neural Networks22 Feb 2023
- 2023WL meet VC26 Jan 2023
- 2022Weisfeiler and Leman Go Walking: Random Walk Kernels Revisited22 May 2022
- 2022SpeqNets: Sparsity-aware Permutation-equivariant Graph Networks25 Mar 2022
- 2021Weisfeiler and Leman go Machine Learning: The Story so far18 Dec 2021
- 2021On the approximation capability of GNNs in node classification/regression tasks16 Jun 2021
- 2021Graph Neural Networks with Local Graph Parameters12 Jun 2021
- 2021The Power of the Weisfeiler-Leman Algorithm for Machine Learning with Graphs12 May 2021
- 2021The Logic of Graph Neural Networks29 Apr 2021
- 2021Scaling up graph homomorphism for classification via sampling8 Apr 2021
- 2021A Generalized Weisfeiler-Lehman Graph Kernel20 Jan 2021
- 2021Weisfeiler and Leman go Machine Learning: The Story so farcited by 121
- 2021The Logic of Graph Neural Networkscited by 84
- 2021Graph Neural Networks with Local Graph Parameterscited by 51
- 2023Equivariant Polynomials for Graph Neural Networkscited by 38
- 2022SpeqNets: Sparsity-aware Permutation-equivariant Graph Networkscited by 37
- 2023WL meet VCcited by 30
- 2023Fine-grained Expressivity of Graph Neural Networkscited by 25
- 2021The Power of the Weisfeiler-Leman Algorithm for Machine Learning with Graphscited by 19
- 2024Towards Bridging Generalization and Expressivity of Graph Neural Networkscited by 12
- 2023Expectation-Complete Graph Representations with Homomorphismscited by 10
- 2021A Generalized Weisfeiler-Lehman Graph Kernelcited by 9
- 2021On the approximation capability of GNNs in node classification/regression taskscited by 9
12 most cited of 26 All 26 (JSON)
- 2026The WidthWall: A Strict Expressivity Hierarchy for Hypergraph Neural Networks13 May 2026
- 2025Message Passing on the Edge: Towards Scalable and Expressive GNNs15 Oct 2025
- 2025Caterpillar GNN: Replacing Message Passing with Efficient Aggregation7 Jun 2025
- 2025Graph Representational Learning: When Does More Expressivity Hurt Generalization?16 May 2025
- 2025Homomorphism Expressivity of Spectral Invariant Graph Neural Networks1 Mar 2025
- 2024Towards Bridging Generalization and Expressivity of Graph Neural Networks14 Oct 2024
- 2024Fine-Grained Expressive Power of Weisfeiler-Leman: A Homomorphism Counting Perspective4 Oct 2024
- 2024The Role of Fibration Symmetries in Geometric Deep Learning28 Aug 2024
- 2024Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning20 Mar 2024
- 2024Generalization of Graph Neural Networks through the Lens of Homomorphism10 Mar 2024
- 2023On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters29 Sep 2023
- 2023Structural Node Embeddings with Homomorphism Counts29 Aug 2023
12 newest of 26 All 26 (JSON)