Gradual Weisfeiler-Leman: Slow and Steady Wins the Race

Franka Bause, Nils M. Kriege
9/19/2022
cs.LGcs.DS

Official code: frareba/GradualWeisfeilerLeman (0 stars, Java, last commit 2022-11-29).

Abstract

The classical Weisfeiler-Leman algorithm aka color refinement is fundamental for graph learning with kernels and neural networks. Originally developed for graph isomorphism testing, the algorithm iteratively refines vertex colors.

Show full abstract

On many datasets, the stable coloring is reached after a few iterations and the optimal number of iterations for machine learning tasks is typically even lower. This suggests that the colors diverge too fast, defining a similarity that is too coarse. We generalize the concept of color refinement and propose a framework for gradual neighborhood refinement, which allows a slower convergence to the stable coloring and thus provides a more fine-grained refinement hierarchy and vertex similarity. We assign new colors by clustering vertex neighborhoods, replacing the original injective color assignment function. Our approach is used to derive new variants of existing graph kernels and to approximate the graph edit distance via optimal assignments regarding vertex similarity. We show that in both tasks, our method outperforms the original color refinement with only a moderate increase in running time advancing the state of the art.

View on arXivView PDF

Code Implementations(1)

Source code for the paper: F. Bause and N.M. Kriege, Gradual Weisfeiler-Leman: Slow and Steady Wins the Race. Proceedings of the First Learning on Graphs Conference (LoG 2022), PMLR 198, Virtual Event, December 9–12, 2022. https://arxiv.org/abs/2209.09048

00Java, ShellNov 28, 20224 years ago

Similar Papers

Cite this paper

@article{bause2022gradual,
  title  = {Gradual Weisfeiler-Leman: Slow and Steady Wins the Race},
  author = {Franka Bause and Nils M. Kriege},
  year   = {2022},
  eprint = {2209.09048},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09048}
}

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/2209.09048.svg)](https://codeofpaper.com/paper/2209.09048)

Discussion