English

Generalizing Weisfeiler-Lehman Kernels to Subgraphs

Machine Learning 2025-11-12 v3 Artificial Intelligence Social and Information Networks

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 kk-hop neighborhoods. We combine kernels across different kk-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.

Keywords

Cite

@article{arxiv.2412.02181,
  title  = {Generalizing Weisfeiler-Lehman Kernels to Subgraphs},
  author = {Dongkwan Kim and Alice Oh},
  journal= {arXiv preprint arXiv:2412.02181},
  year   = {2025}
}

Comments

ICLR 2025 Camera Ready (15 pages), with minor typos fixed

R2 v1 2026-06-28T20:20:50.908Z