Weisfeiler and Lehman Go Paths: Learning Topological Features via Path Complexes
Quang Truong, Peter Chin
TL;DR
The paper tackles the expressivity gap of $1$-WL GNNs by introducing a path-centric topological framework. It lifts graphs to path complexes and defines the Path Weisfeiler-Lehman (PWL) test, enabling color refinement on elementary paths, with a neural realization called Path Complex Networks (PCN) through Path Isomorphism Networks (PIN). The authors prove PWL is at least as powerful as SWL and not less than CWL($k$-IC), and not less than $3$-WL, while empirically achieving strong results on TUDataset, ZINC, OGBG-MOLHIV, and SRGs. This approach, which avoids reliance on clique or cycle substructures, demonstrates strong generalization and scalability benefits, offering a versatile, topology-aware alternative for graph representation learning.
Abstract
Graph Neural Networks (GNNs), despite achieving remarkable performance across different tasks, are theoretically bounded by the 1-Weisfeiler-Lehman test, resulting in limitations in terms of graph expressivity. Even though prior works on topological higher-order GNNs overcome that boundary, these models often depend on assumptions about sub-structures of graphs. Specifically, topological GNNs leverage the prevalence of cliques, cycles, and rings to enhance the message-passing procedure. Our study presents a novel perspective by focusing on simple paths within graphs during the topological message-passing process, thus liberating the model from restrictive inductive biases. We prove that by lifting graphs to path complexes, our model can generalize the existing works on topology while inheriting several theoretical results on simplicial complexes and regular cell complexes. Without making prior assumptions about graph sub-structures, our method outperforms earlier works in other topological domains and achieves state-of-the-art results on various benchmarks.
