A generalized Weisfeiler-Lehman graph kernel
Open Access
- 27 April 2022
- journal article
- research article
- Published by Springer Nature in Machine Learning
- Vol. 111 (7) , 2601-2629
Abstract
After more than one decade, Weisfeiler-Lehman graph kernels are still among the most prevalent graph kernels due to their remarkable predictive performance and time complexity. They are based on a fast iterative partitioning of vertices, originally designed for deciding graph isomorphism with one-sided error. The Weisfeiler-Lehman graph kernels retain this idea and compare such labels with respect to equality. This binary valued comparison is, however, arguably too rigid for defining suitable graph kernels for certain graph classes. To overcome this limitation, we propose a generalization of Weisfeiler-Lehman graph kernels which takes into account a more natural and finer grade of similarity between Weisfeiler-Lehman labels than equality. We show that the proposed similarity can be calculated efficiently by means of the Wasserstein distance between certain vectors representing Weisfeiler-Lehman labels. This and other facts give rise to the natural choice of partitioning the vertices with the Wasserstein k-means algorithm. We empirically demonstrate on the Weisfeiler-Lehman subtree kernel, which is one of the most prominent Weisfeiler-Lehman graph kernels, that our generalization significantly outperforms this and other state-of-the-art graph kernels in terms of predictive performance on datasets which contain structurally more complex graphs beyond the typically considered molecular graphs.Keywords
All Related Versions
Funding Information
- Competence center for machine learning ML2R
- Rheinische Friedrich-Wilhelms-Universität Bonn
This publication has 11 references indexed in Scilit:
- Weisfeiler and Leman Go Neural: Higher-Order Graph Neural NetworksProceedings of the AAAI Conference on Artificial Intelligence, 2019
- DDGK: Learning Graph Representations for Deep Divergence Graph Kernels2019
- Dynamic clustering of histogram data based on adaptive squared Wasserstein distancesExpert Systems with Applications, 2014
- A Tree-Based Kernel for Graphs2012
- Shortest-Path Kernels on Graphs2005
- A survey on tree edit distance and related problemsTheoretical Computer Science, 2005
- Optimal cluster preserving embedding of nonmetric proximity dataIEEE Transactions on Pattern Analysis and Machine Intelligence, 2003
- On Graph Kernels: Hardness Results and Efficient Alternatives2003
- Stochastic Blockmodels for Directed GraphsJournal of the American Statistical Association, 1987
- Least squares quantization in PCMIEEE Transactions on Information Theory, 1982