[Paper Review] Towards a practical $k$-dimensional Weisfeiler-Leman algorithm
This paper introduces a local variant of the $k$-dimensional Weisfeiler-Leman algorithm that reduces computational overhead by restricting neighborhood exploration to a sparse, graph-dependent subset per iteration. Despite this optimization, the method preserves the original algorithm's ability to distinguish non-isomorphic graphs and achieves faster runtime and improved classification accuracy on benchmark graph datasets.
The $k$-dimensional Weisfeiler-Leman algorithm is a well-known heuristic for the graph isomorphism problem. Moreover, it recently emerged as a powerful tool for supervised graph classification. The algorithm iteratively partitions the set of $k$-tuples, defined over the set of vertices of a graph, by considering neighboring $k$-tuples. Here, we propose a ew{local} variant which considers a subset of the original neighborhood in each iteration step. The cardinality of this local neighborhood, unlike the original one, only depends on the sparsity of the graph. Surprisingly, we show that the local variant has at least the same power as the original algorithm in terms of distinguishing non-isomorphic graphs. In order to demonstrate the practical utility of our local variant, we apply it to supervised graph classification. Our experimental study shows that our local algorithm leads to improved running times and classification accuracies on established benchmark datasets.
Motivation & Objective
- To address the high computational cost of the standard $k$-dimensional Weisfeiler-Leman algorithm in graph analysis tasks.
- To develop a variant that maintains the distinguishing power of the original algorithm while reducing runtime through localized neighborhood exploration.
- To evaluate the practical performance of the proposed method on real-world graph classification benchmarks.
- To demonstrate that local neighborhood selection based on graph sparsity can preserve theoretical guarantees while improving efficiency.
Proposed method
- The algorithm introduces a local neighborhood selection strategy that limits the number of neighboring $k$-tuples considered in each iteration based on graph sparsity.
- Instead of processing all neighboring $k$-tuples, the method selects only a subset that is sufficient for maintaining the same distinguishing power as the original $k$-WL algorithm.
- The local neighborhood is defined using a sparsity-aware criterion, ensuring the cardinality scales with the graph's edge density rather than the full $k$-tuple neighborhood.
- The algorithm iteratively refines the partition of $k$-tuples using only these locally selected neighbors, maintaining consistency with the original $k$-WL refinement process.
- The method is integrated into a supervised graph classification pipeline to evaluate its empirical performance on standard benchmarks.
Experimental results
Research questions
- RQ1Can a localized variant of the $k$-dimensional Weisfeiler-Leman algorithm maintain the same distinguishing power as the original algorithm?
- RQ2Does reducing the neighborhood size based on graph sparsity lead to significant performance gains in runtime without sacrificing accuracy?
- RQ3How does the local $k$-WL algorithm compare to the standard $k$-WL in terms of classification accuracy on benchmark datasets?
- RQ4What is the impact of sparsity-aware neighborhood selection on the scalability of the algorithm for large graphs?
Key findings
- The local $k$-dimensional Weisfeiler-Leman algorithm achieves at least the same distinguishing power as the original algorithm, preserving its theoretical guarantees.
- The algorithm significantly reduces runtime due to the restricted neighborhood exploration, making it more scalable for large or sparse graphs.
- On established graph classification benchmarks, the local variant achieves higher classification accuracy compared to the standard $k$-WL algorithm.
- The performance improvement is attributed to reduced overfitting and more efficient feature propagation in the localized refinement process.
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.