Skip to main content
QUICK REVIEW

[Paper Review] Counting Substructures with Higher-Order Graph Neural Networks: Possibility and Impossibility Results

Behrooz Tahmasebi, Lim, Derek|arXiv (Cornell University)|Dec 6, 2020
Advanced Graph Neural NetworksComputer Science58 references6 citations
TL;DR

This paper introduces Recursive Neighborhood Pooling (RNP), a novel GNN architecture that counts substructures of size $k$ by recursively pooling representations of local neighborhoods, overcoming the subgraph counting limitations of standard MPNNs. It proves RNP can count any substructure of size $k$ with significantly reduced computational cost compared to existing higher-order GNNs, while establishing tight information-theoretic and time complexity lower bounds.

ABSTRACT

While message passing Graph Neural Networks (GNNs) have become increasingly popular architectures for learning with graphs, recent works have revealed important shortcomings in their expressive power. In response, several higher-order GNNs have been proposed that substantially increase the expressive power, albeit at a large computational cost. Motivated by this gap, we explore alternative strategies and lower bounds. In particular, we analyze a new recursive pooling technique of local neighborhoods that allows different tradeoffs of computational cost and expressive power. First, we prove that this model can count subgraphs of size $k$, and thereby overcomes a known limitation of low-order GNNs. Second, we show how recursive pooling can exploit sparsity to reduce the computational complexity compared to the existing higher-order GNNs. More generally, we provide a (near) matching information-theoretic lower bound for counting subgraphs with graph representations that pool over representations of derived (sub-)graphs. We also discuss lower bounds on time complexity.

Motivation & Objective

  • To address the limitation of message-passing GNNs in counting substructures, especially induced subgraphs with three or more vertices.
  • To develop a computationally efficient alternative to existing higher-order GNNs that are too expensive due to $\Theta(n^k)$ complexity.
  • To analyze the expressive power and computational complexity trade-offs of pooling-based subgraph counting in GNNs.
  • To establish information-theoretic and time complexity lower bounds for any GNN architecture that counts substructures.
  • To demonstrate that recursive pooling of local neighborhoods can achieve subgraph counting without relying on node identifiers or full isomorphism checks.

Proposed method

  • Proposes Recursive Neighborhood Pooling (RNP), a technique that applies $k$ recursive pooling operations on local node neighborhoods to build expressive representations.
  • Uses a multi-set function to aggregate representations of subgraphs derived from local neighborhoods, enabling injective encoding of structural patterns.
  • Employs a recursive message-passing mechanism over $k$-tuples of nodes, where each level pools representations from increasingly larger subgraphs.
  • Introduces an augmented feature representation at each recursion level to preserve structural information, with learnable MLPs for transformation.
  • Applies sum-pooling over node representations followed by a final MLP to produce a graph-level output for downstream tasks.
  • Designs a hierarchical aggregation strategy that adapts to graph sparsity, reducing computational cost compared to full $k$-tuple GNNs.

Experimental results

Research questions

  • RQ1Can a GNN architecture count all substructures of size $k$ using a recursive pooling mechanism on local neighborhoods, without relying on node IDs or full isomorphism checks?
  • RQ2What is the computational complexity of such a recursive pooling approach, and how does it compare to existing higher-order GNNs?
  • RQ3What are the information-theoretic and time complexity lower bounds for any GNN that counts substructures?
  • RQ4How does sparsity in the input graph affect the efficiency of recursive pooling for subgraph counting?
  • RQ5Is the proposed RNP method close to optimal in terms of the number of subgraphs that must be encoded for accurate counting?

Key findings

  • RNP can count any induced subgraph of size $k$ using only $k$ recursive pooling operations on local neighborhoods, overcoming a fundamental limitation of standard MPNNs.
  • The computational complexity of RNP is significantly lower than existing higher-order GNNs, scaling with the number of relevant subgraphs rather than $\Theta(n^k)$, especially when the graph is sparse.
  • The paper establishes a near-matching information-theoretic lower bound on the number of subgraphs that must be encoded to count substructures, showing RNP is close to optimal in terms of encoding efficiency.
  • A time complexity lower bound is derived, indicating that any GNN capable of counting substructures must process at least a certain number of subgraph representations, and RNP meets this bound closely.
  • Empirical evaluations on Erdős-Rényi and random regular graphs confirm that RNP-GNN outperforms baselines in subgraph counting tasks with reduced parameter and computation costs.
  • The method achieves strong performance on the EXP dataset, distinguishing 1-WL equivalent but 3-WL-distinguishable graphs, demonstrating its expressive power beyond standard MPNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.