The expressive power of pooling in Graph Neural Networks

Filippo Maria Bianchi, Veronica Lachi

Introduction

In the study of Graph Neural Networks (GNNs), "expressive power" typically refers to the model's capacity to distinguish between non-isomorphic graphs—structures that are topologically distinct. While the theoretical foundations of message-passing (MP) layers are well-established, often through the lens of the Weisfeiler-Lehman (WL) isomorphism test, pooling layers have remained relatively under-theorized.

Pooling is critical for hierarchical GNNs, allowing them to coarsen graphs into abstract representations to learn global properties. However, a poorly designed pooling operator can inadvertently discard vital structural information. This paper introduces the first formal theoretical framework to analyze how pooling affects GNN expressiveness, deriving specific conditions under which information is preserved or lost.

The Select-Reduce-Connect (SRC) Framework

To analyze pooling systematically, the authors decompose the process into three distinct steps known as the Select-Reduce-Connect (SRC) framework:

  1. Selection (SEL): Nodes are grouped or clustered into "supernodes."
  2. Reduction (RED): The features of nodes within each cluster are aggregated to form the feature vector of the corresponding supernode.
  3. Connection (CON): The connectivity (edges) between these supernodes is established to form the coarsened graph.

Theoretical Conditions for Expressiveness

The central contribution of this work is Theorem 1, which identifies three sufficient conditions for a pooling operator to preserve the expressive power of a GNN:

  • Condition 1 (Expressive MP): The preceding message-passing layers must be sufficiently expressive to generate distinct feature multisets for different graphs.
  • Condition 2 (No Information Loss): Every node in the original graph must contribute to at least one supernode. Mathematically, the cluster assignment matrix must be right-stochastic.
  • Condition 3 (Linear Reduction): The reduction function must be a linear combination of input features (e.g., $X_P = S^T X^L$).

Categorizing Pooling Methods: Dense vs. Sparse

Using these conditions, the authors categorize existing pooling techniques. Dense pooling methods, such as DiffPool and MinCutPool, typically satisfy these conditions because they assign every node to clusters with varying weights.

In contrast, many popular Sparse pooling methods (e.g., Top-$k$, SAGPool, ASAPool) fail Condition 2. These methods rank nodes and explicitly discard those deemed "least important." The authors prove that this "subgraph selection" approach is inherently lossy, as it can map structurally different graphs to identical coarsened representations, thereby limiting the model's ability to solve complex structural tasks. Interestingly, the authors show that even a random dense pooling assignment (Rand-dense) can be more expressive than a sophisticated but sparse learned method like Top-$k$.

Experimental Evaluation

To validate these theoretical findings, the authors introduced EXPWL1, a synthetic benchmark designed as a "litmus test" for expressiveness. EXPWL1 contains 3,000 graphs consisting of pairs that are non-isomorphic but distinguishable by the 1-WL test.

Key Results

  • Expressiveness on EXPWL1: Expressive pooling operators (DiffPool, MinCutPool, Graclus, $k$-MIS) achieved near 100% accuracy. Non-expressive sparse methods like Top-$k$ and PanPool struggled significantly, with accuracies falling to the 63-67% range.
  • Real-World Performance: On standard benchmarks like NCI1 and PROTEINS, expressive methods consistently outperformed non-expressive ones. On the "COLORS-3" dataset, expressive methods reached ~80-88% accuracy, while non-expressive methods dropped to ~40-57%.
  • Efficiency Paradox: The study found that "sparse" does not always equate to "fast." Certain expressive sparse methods, such as $k$-MIS, were found to be more computationally efficient than their non-expressive counterparts while maintaining superior accuracy.

Conclusion and Future Work

The research highlights that the "Connect" function is secondary to expressiveness; while it affects subsequent MP layers, it does not determine the information-preserving nature of the pooling step itself. While the conditions provided are sufficient, they are not strictly necessary—some non-expressive operators may still perform well if the discarded information is irrelevant to the specific task. Future work remains to extend this theory to continuous feature spaces and higher-order GNNs (e.g., $k$-WL) to further bridge the gap between theoretical expressiveness and practical performance.

Summary updated

BibTeX
@inproceedings{bianchi2023expressive,
  author = {Filippo Maria Bianchi and Veronica Lachi},
  title = {{The expressive power of pooling in Graph Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=zqyVjCjhYD},
}
Figure