Generalizing Weisfeiler-Lehman Kernels to Subgraphs

Dongkwan Kim, Alice Oh
2/12/2026

No official code found. Best implementation: dongkwan-kim/WLKS (4 stars, last commit 2025-03-11).

Abstract

Subgraph representation learning has been effective in solving various real-world problems. However, current graph neural networks (GNNs) produce suboptimal results for subgraph-level tasks due to their inability to capture complex interactions within and between subgraphs. To provide a more expressive and efficient alternative, we propose WLKS, a Weisfeiler-Lehman (WL) kernel generalized for subgraphs by applying the WL algorithm on induced $k$-hop neighborhoods. We combine kernels across different $k$-hop levels to capture richer structural information that is not fully encoded in existing models. Our approach can balance expressiveness and efficiency by eliminating the need for neighborhood sampling. In experiments on eight real-world and synthetic benchmarks, WLKS significantly outperforms leading approaches on five datasets while reducing training time, ranging from 0.01x to 0.25x compared to the state-of-the-art.

View on arXivView PDF

Code Implementations(1)

dongkwan-kim/WLKSCommunity68%

[ICLR 2025] Generalizing Weisfeiler-Lehman Kernels to Subgraphs

40Nov 30, 20241 years ago

Similar Papers

Cite this paper

@article{kim2026generalizing,
  title  = {Generalizing Weisfeiler-Lehman Kernels to Subgraphs},
  author = {Dongkwan Kim and Alice Oh},
  year   = {2026},
  eprint = {2412.02181},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.02181},
  journal = {ICLR 2024 2024}
}

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

Discussion