Weisfeiler and Leman Go Walking: Random Walk Kernels Revisited

Nils M. Kriege
5/22/2022
cs.LGcs.DSstat.ML

Official code: nlskrg/node_centric_walk_kernels (1 star, Java, last commit 2022-10-19).

Abstract

Random walk kernels have been introduced in seminal work on graph learning and were later largely superseded by kernels based on the Weisfeiler-Leman test for graph isomorphism. We give a unified view on both classes of graph kernels.

Show full abstract

We study walk-based node refinement methods and formally relate them to several widely-used techniques, including Morgan's algorithm for molecule canonization and the Weisfeiler-Leman test. We define corresponding walk-based kernels on nodes that allow fine-grained parameterized neighborhood comparison, reach Weisfeiler-Leman expressiveness, and are computed using the kernel trick. From this we show that classical random walk kernels with only minor modifications regarding definition and computation are as expressive as the widely-used Weisfeiler-Leman subtree kernel but support non-strict neighborhood comparison. We verify experimentally that walk-based kernels reach or even surpass the accuracy of Weisfeiler-Leman kernels in real-world classification tasks.

View on arXivView PDF

Code Implementations(1)

10Java, ShellOct 10, 20224 years ago

Similar Papers

Cite this paper

@article{kriege2022weisfeiler,
  title  = {Weisfeiler and Leman Go Walking: Random Walk Kernels Revisited},
  author = {Nils M. Kriege},
  year   = {2022},
  eprint = {2205.10914},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10914}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.10914.svg)](https://codeofpaper.com/paper/2205.10914)

Discussion