English

Weisfeiler-Leman at the margin: When more expressivity matters

Machine Learning 2024-05-29 v2 Discrete Mathematics Neural and Evolutionary Computing Machine Learning

Abstract

The Weisfeiler-Leman algorithm (11-WL) is a well-studied heuristic for the graph isomorphism problem. Recently, the algorithm has played a prominent role in understanding the expressive power of message-passing graph neural networks (MPNNs) and being effective as a graph kernel. Despite its success, 11-WL faces challenges in distinguishing non-isomorphic graphs, leading to the development of more expressive MPNN and kernel architectures. However, the relationship between enhanced expressivity and improved generalization performance remains unclear. Here, we show that an architecture's expressivity offers limited insights into its generalization performance when viewed through graph isomorphism. Moreover, we focus on augmenting 11-WL and MPNNs with subgraph information and employ classical margin theory to investigate the conditions under which an architecture's increased expressivity aligns with improved generalization performance. In addition, we show that gradient flow pushes the MPNN's weights toward the maximum margin solution. Further, we introduce variations of expressive 11-WL-based kernel and MPNN architectures with provable generalization properties. Our empirical study confirms the validity of our theoretical findings.

Keywords

Cite

@article{arxiv.2402.07568,
  title  = {Weisfeiler-Leman at the margin: When more expressivity matters},
  author = {Billy J. Franks and Christopher Morris and Ameya Velingker and Floris Geerts},
  journal= {arXiv preprint arXiv:2402.07568},
  year   = {2024}
}

Comments

Accepted at ICML 2024. arXiv admin note: text overlap with arXiv:2301.11039

R2 v1 2026-06-28T14:45:52.260Z