[Paper Review] On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters
This paper provides a precise characterization of the Weisfeiler-Leman (WL) dimension for labeled graph motif parameters, unifying subgraph and induced subgraph counting problems. It establishes that the WL-dimension of a pattern $P$ is determined by the maximum treewidth of its homomorphic images in the spasm, and presents a polynomial-time algorithm to compute this dimension, resolving an open problem in the field.
Seminal research in the field of graph neural networks (GNNs) has revealed a direct correspondence between the expressive capabilities of GNNs and the $k$-dimensional Weisfeiler-Leman ($k$WL) test, a widely-recognized method for verifying graph isomorphism. This connection has reignited interest in comprehending the specific graph properties effectively distinguishable by the $k$WL test. A central focus of research in this field revolves around determining the least dimensionality $k$, for which $k$WL can discern graphs with different number of occurrences of a pattern graph $P$. We refer to such a least $k$ as the WL-dimension of this pattern counting problem. This inquiry traditionally delves into two distinct counting problems related to patterns: subgraph counting and induced subgraph counting. Intriguingly, despite their initial appearance as separate challenges with seemingly divergent approaches, both of these problems are interconnected components of a more comprehensive problem: "graph motif parameters". In this paper, we provide a precise characterization of the WL-dimension of labeled graph motif parameters. As specific instances of this result, we obtain characterizations of the WL-dimension of the subgraph counting and induced subgraph counting problem for every labeled pattern $P$. We additionally demonstrate that in cases where the $k$WL test distinguishes between graphs with varying occurrences of a pattern $P$, the exact number of occurrences of $P$ can be computed uniformly using only local information of the last layer of a corresponding GNN. We finally delve into the challenge of recognizing the WL-dimension of various graph parameters. We give a polynomial time algorithm for determining the WL-dimension of the subgraph counting problem for given pattern $P$, answering an open question from previous work.
Motivation & Objective
- To characterize the WL-dimension of labeled graph motif parameters, unifying subgraph and induced subgraph counting problems.
- To resolve an open problem concerning the WL-dimension of induced subgraph counting for labeled patterns.
- To provide a polynomial-time algorithm for computing the WL-dimension of subgraph counting for any given pattern $P$.
- To demonstrate that the exact number of pattern occurrences can be computed using only local information from the final GNN layer when $k$-WL distinguishes graphs.
- To extend results from graph motif parameters to determine the WL-dimension of induced subgraph counting and $k$-graphlet counting.
Proposed method
- The paper introduces the concept of the 'spasm' of a graph, defined as the set of all loop-free quotients of the graph.
- It defines the WL-dimension of a pattern $P$ as the smallest $k$ such that $k$-WL can distinguish graphs with different numbers of $P$-copies.
- The key technical insight is that the WL-dimension of $P$ equals the maximum treewidth among all homomorphic images of $P$ in its spasm.
- It uses Courcelle’s Theorem to decide whether a graph has a minor from a finite set of forbidden minors, enabling fixed-parameter tractable and linear-time algorithms for fixed $k$.
- The method extends to labeled graphs by adding constraints to ensure vertex and edge label consistency in quotients, using second-order logic formulas.
- It leverages Robertson-Seymour’s theory of graph minors and well-quasi-orderings to prove finiteness of forbidden minor sets for bounded treewidth.
Experimental results
Research questions
- RQ1What is the WL-dimension of a labeled graph motif parameter, and how does it relate to the structure of the pattern $P$?
- RQ2Can the WL-dimension of induced subgraph counting be characterized in the same way as subgraph counting?
- RQ3Is there a polynomial-time algorithm to compute the WL-dimension of subgraph counting for any given pattern $P$?
- RQ4Can the exact number of $P$-copies be computed using only local information from the final layer of a GNN when $k$-WL distinguishes graphs?
- RQ5How can deep results from graph motif parameters be used to determine the WL-dimension of induced subgraph counting and $k$-graphlet counting?
Key findings
- The WL-dimension of a labeled pattern $P$ is equal to the maximum treewidth among all homomorphic images of $P$ in its spasm.
- The paper resolves an open problem by showing that the WL-dimension of induced subgraph counting is also characterized by the maximum treewidth in the spasm of $P$.
- A polynomial-time algorithm is provided to compute the WL-dimension of subgraph counting for any given pattern $P$, answering an open question from prior work.
- The exact number of $P$-copies in a graph can be computed uniformly using only local information from the final layer of a GNN when $k$-WL distinguishes graphs with different counts.
- The method extends to labeled graphs by incorporating label-consistency constraints into the minor-embedding formulas, preserving correctness and decidability.
- The WL-dimension of $k$-graphlet counting and induced subgraph counting can be determined using the proposed characterization and results from graph motif parameter theory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.