[Paper Review] Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
This paper proposes a sparse, local variant of the k-dimensional Weisfeiler-Leman algorithm, called δ-k-LWL, which improves scalability and generalization in graph representation learning by restricting neighborhood exploration to a subset of neighbors based on vertex degrees. The method achieves state-of-the-art performance in graph classification and shows strong results in large-scale molecular regression, outperforming dense k-WL-based methods in speed and generalization while maintaining higher expressive power than the original k-WL algorithm.
Graph kernels based on the $1$-dimensional Weisfeiler-Leman algorithm and corresponding neural architectures recently emerged as powerful tools for (supervised) learning with graphs. However, due to the purely local nature of the algorithms, they might miss essential patterns in the given data and can only handle binary relations. The $k$-dimensional Weisfeiler-Leman algorithm addresses this by considering $k$-tuples, defined over the set of vertices, and defines a suitable notion of adjacency between these vertex tuples. Hence, it accounts for the higher-order interactions between vertices. However, it does not scale and may suffer from overfitting when used in a machine learning setting. Hence, it remains an important open problem to design WL-based graph learning methods that are simultaneously expressive, scalable, and non-overfitting. Here, we propose local variants and corresponding neural architectures, which consider a subset of the original neighborhood, making them more scalable, and less prone to overfitting. The expressive power of (one of) our algorithms is strictly higher than the original algorithm, in terms of ability to distinguish non-isomorphic graphs. Our experimental study confirms that the local algorithms, both kernel and neural architectures, lead to vastly reduced computation times, and prevent overfitting. The kernel version establishes a new state-of-the-art for graph classification on a wide range of benchmark datasets, while the neural version shows promising performance on large-scale molecular regression tasks.
Motivation & Objective
- To address the scalability and overfitting issues of the k-dimensional Weisfeiler-Leman (k-WL) algorithm in graph learning.
- To develop a local variant of k-WL that considers only a subset of neighbors per k-tuple, improving computational efficiency.
- To maintain or exceed the expressive power of k-WL in distinguishing non-isomorphic graphs.
- To design a neural architecture, δ-k-LGNN, with equivalent expressive power to δ-k-LWL and better generalization than dense k-WL-based GNNs.
- To empirically validate the method on benchmark graph classification and large-scale molecular regression tasks.
Proposed method
- Proposes δ-k-LWL, a local variant of k-WL that restricts neighborhood exploration to a subset of neighbors based on vertex degrees, reducing computational cost.
- Defines a local adjacency relation between k-tuples based on the degrees of constituent vertices, enabling sparse computation.
- Introduces an enhanced version, δ-k-LWL+, which adds a label function (#) on the final iteration to prevent overfitting.
- Develops δ-k-LGNN, a higher-order GNN architecture with the same expressive power as δ-k-LWL, using local neighborhood aggregation.
- Connects δ-k-LWL to generalization theory in GNNs, showing improved generalization over dense k-WL-based models.
- Employs a hierarchical construction of non-isomorphic graph pairs to demonstrate the increased expressive power of δ-k-LWL over k-WL.
Experimental results
Research questions
- RQ1Can a local variant of k-WL achieve higher expressive power than the original k-WL in distinguishing non-isomorphic graphs?
- RQ2Does restricting neighborhood size based on vertex degree improve scalability and reduce overfitting in graph learning?
- RQ3Can a neural architecture based on local k-WL achieve comparable expressive power to k-WL while generalizing better?
- RQ4How does the proposed method compare to state-of-the-art graph kernels and GNNs in terms of accuracy, speed, and generalization?
- RQ5Can the local k-WL approach scale to large-scale molecular regression tasks while maintaining high performance?
Key findings
- The δ-k-LWL algorithm is strictly more expressive than the original k-WL, capable of distinguishing non-isomorphic graphs that k-WL cannot.
- The kernel version of δ-k-LWL achieves a new state-of-the-art on a wide range of small- and medium-scale graph classification benchmarks.
- The δ-k-LWL kernel reduces computation time by several orders of magnitude compared to the global k-WL and WLOA methods.
- The neural architecture δ-k-LGNN prevents overfitting and shows promising performance on large-scale molecular regression tasks like Zinc and Alchemy.
- Training and inference times for δ-k-LGNN are significantly faster than dense k-WL-based GNNs, with speedups of several times on large datasets.
- The method generalizes better than dense k-WL-based models, as evidenced by reduced overfitting and consistent performance across multiple datasets.
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.