Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Weisfeiler and Leman Go Walking: Random Walk Kernels Revisited

About

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. 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.

Nils M. Kriege• 2022

Related benchmarks

TaskDatasetResultRank
Graph ClassificationPROTEINS
Accuracy74.8
742
Graph ClassificationMUTAG
Accuracy87.1
697
Graph ClassificationNCI1
Accuracy85.5
460
Graph ClassificationCOLLAB
Accuracy79.4
329
Graph ClassificationENZYMES
Accuracy55.2
305
Graph ClassificationNCI109
Accuracy86.3
223
Graph ClassificationPTC FM
Accuracy63.4
59
Graph ClassificationIMDB-BIN
Accuracy71.6
35
Showing 8 of 8 rows

Other info

Code

Follow for update