Topology-Aware Graph Pooling Networks

Hongyang Gao, Yi Liu, Shuiwang Ji

Introduction

Pooling operations are fundamental to deep learning architectures, yet their application to graph-structured data remains a significant challenge. Unlike images, which possess a fixed grid-like spatial locality, graphs exhibit arbitrary structures. Existing graph pooling methods generally fall into two categories: node clustering and node sampling. Node clustering (e.g., DIFFPOOL) often results in dense, computationally expensive graphs prone to overfitting. Conversely, node sampling methods (e.g., top-$k$ pooling) are efficient but frequently ignore the underlying graph topology, leading to coarsened graphs that may lose critical structural information or dissolve into isolated nodes.

This paper introduces the Topology-Aware Pooling (TAP) layer, a novel node-sampling approach designed to preserve structural integrity. By integrating local neighborhood similarity, global importance, and a connectivity bias, TAP ensures that sampled nodes represent the graph's topology effectively, achieving state-of-the-art performance across various benchmarks.

Methodology

The TAP layer employs a multi-stage voting process to select the most representative nodes while maintaining graph connectivity.

The TAPNet architecture pipeline, showing sequential GCN and TAP layers followed by a global readout and MLP.

The TAP Layer Components

  1. Local Voting: To capture local feature distributions, TAP calculates the dot-product similarity between a node's features and those of its immediate neighbors. A high average similarity indicates the node is a strong representative of its local neighborhood.
  2. Global Voting: The network aggregates neighborhood information into a local sub-graph representation, which is then projected to a scalar using a learnable global vector. This assesses the sub-graph's relative importance to the entire graph structure.
  3. Graph Connectivity Term (GCT): To prevent the "isolated node" problem common in sampling, a bias term based on node degree is added to the final ranking score. This ensures that highly connected nodes are prioritized, keeping the coarsened graph structurally intact.
  4. Auxiliary Link Prediction: During training, the model performs a secondary task of predicting original edges using the local similarity scores. This multi-task learning setup serves as a regularizer, improving the stability and accuracy of the learned representations.

Experiments and Results

The proposed TAPNet was evaluated on standard graph classification benchmarks, including social network datasets (COLLAB, IMDB, REDDIT) and bioinformatics datasets (PTC, MUTAG). Node features for social networks were generated using one-hot encodings of node degrees.

Performance comparison of TAPNet against state-of-the-art baselines across multiple social network datasets.

As shown in the results table, TAPNet consistently outperforms established baselines such as WL, DIFFPOOL, and GIN. Notable improvements include a +4.8% accuracy increase on IMDB-BINARY and a +4.3% increase on COLLAB compared to the previous best-performing models. Ablation studies confirmed the necessity of each component; for instance, removing the TAP layer entirely resulted in a ~3.6% drop in accuracy on the REDDIT-BINARY dataset.

Discussion and Conclusion

TAPNet demonstrates that topology should not be an afterthought in graph pooling. By explicitly incorporating edge connections into the scoring phase, the model preserves structural integrity with minimal parameter overhead—adding TAP layers only increased the total parameter count by approximately 2.29% in tests.

A key limitation identified is the sensitivity to the hyperparameter $\lambda$, which weights the graph connectivity term. If $\lambda$ is too high, the degree bias can overwhelm feature-based scores, leading to performance degradation. Optimal results were generally found at $\lambda = 0.1$. Future work may involve extending this topology-aware sampling to dynamic or heterogeneous graph structures.

Summary updated

BibTeX
@article{gao2021topology,
  author = {Hongyang Gao and Yi Liu and Shuiwang Ji},
  title = {{Topology-Aware Graph Pooling Networks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2021.3062794},
}
Figure