Local Fragments, Global Gains: Subgraph Counting using Graph Neural Networks

📅 2023-05-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Subgraph counting on graph data faces an inherent trade-off between expressive power and computational efficiency. Method: This paper proposes the Localized Weisfeiler–Leman (Local k-WL) framework, introducing a novel subgraph fragmentation decomposition technique that enables exact counting of all induced subgraphs of size ≤4 using only 1-WL. The approach integrates a three-tier differentiable learning architecture, bridging combinatorial algorithms with end-to-end GNN training, and rigorously proves its expressive power lies strictly between k-WL and (k+1)-WL. Contribution/Results: Compared to standard k-WL, Local k-WL achieves significantly lower time and space complexity. Experiments on computational biology and social network datasets demonstrate superior performance in counting accuracy, generalization, and inference efficiency—establishing a new state-of-the-art for scalable, expressive subgraph counting.
📝 Abstract
Subgraph counting is a fundamental task for analyzing structural patterns in graph-structured data, with important applications in domains such as computational biology and social network analysis, where recurring motifs reveal functional and organizational properties. In this paper, we propose localized versions of the Weisfeiler-Leman (WL) algorithms to improve both expressivity and computational efficiency for this task. We introduce Local $k$-WL, which we prove to be more expressive than $k$-WL and at most as expressive as $(k+1)$-WL, and provide a characterization of patterns whose subgraph and induced subgraph counts are invariant under Local $k$-WL equivalence. To enhance scalability, we present two variants -- Layer $k$-WL and Recursive $k$-WL -- that achieve greater time and space efficiency compared to applying $k$-WL on the entire graph. Additionally, we propose a novel fragmentation technique that decomposes complex subgraphs into simpler subpatterns, enabling the exact count of all induced subgraphs of size at most $4$ using only $1$-WL, with extensions possible for larger patterns when $k>1$. Building on these ideas, we develop a three-stage differentiable learning framework that combines subpattern counts to compute counts of more complex motifs, bridging combinatorial algorithm design with machine learning approaches. We also compare the expressive power of Local $k$-WL with existing GNN hierarchies and demonstrate that, under bounded time complexity, our methods are more expressive than prior approaches.
Problem

Research questions and friction points this paper is trying to address.

Improving expressivity and efficiency for subgraph counting in graph analysis
Developing localized WL algorithms to count structural patterns in graphs
Creating scalable methods to identify motifs in computational biology and networks
Innovation

Methods, ideas, or system contributions that make the work stand out.

Local k-WL algorithm enhances graph expressivity
Fragmentation technique decomposes complex subgraphs
Differentiable learning framework combines subpattern counts
🔎 Similar Papers
No similar papers found.