Abstract
In graph neural networks (GNNs), pooling operators compute local summaries of input graphs to capture their global properties, and they are fundamental for building deep GNNs that learn hierarchical representations. In this work, we propose the Node Decimation Pooling (NDP), a pooling operator for GNNs that generates coarser graphs while preserving the overall graph topology. During training, the GNN learns new node representations and fits them to a pyramid of coarsened graphs, which is computed offline in a pre-processing stage. NDP consists of three steps. First, a node decimation procedure selects the nodes belonging to one side of the partition identified by a spectral algorithm that approximates the MAXCUT solution. Afterwards, the selected nodes are connected with Kron reduction to form the coarsened graph. Finally, since the resulting graph is very dense, we apply a sparsification procedure that prunes the adjacency matrix of the coarsened graph to reduce the computational cost in the GNN. Notably, we show that it is possible to remove many edges without significantly altering the graph structure. Experimental results show that NDP is more efficient compared to state-of-the-art graph pooling operators while reaching, at the same time, competitive performance on a significant variety of graph classification tasks.
Introduction
Pooling is a cornerstone of deep learning, enabling models to capture hierarchical features by moving from local details to global summaries. While max-pooling is straightforward on regular grids like images, it is notoriously difficult for graphs due to their irregular structure. Existing graph pooling methods typically fall into two categories: topological methods, which use graph structure alone but can be unstable, and feature-based methods, which learn pooling assignments during training but are computationally expensive and prone to degenerate solutions. Node Decimation Pooling (NDP) bridges this gap by providing an efficient, unsupervised pooling operator that strictly preserves graph topology.
The Node Decimation Pooling (NDP) Method
NDP operates in three distinct steps, typically performed offline as a pre-processing stage before GNN training begins:
- Node Decimation via MAXCUT: Unlike traditional clustering that uses min-cut to find isolated communities, NDP uses a spectral approximation of MAXCUT to select a subset of nodes that "covers" the graph structure. By partitioning nodes based on the largest eigenvector of the graph Laplacian, it discards redundant nodes while ensuring the remaining nodes are spread across the entire structure.
- Link Construction via Kron Reduction: Simply removing nodes leaves a graph disconnected. NDP uses Kron reduction (the Schur complement of the Laplacian matrix) to reconnect the remaining nodes. This ensures that if a path existed between two nodes in the original graph, they remain connected in the coarsened version, preserving the "resistance distance" of the network.
- Graph Sparsification: Kron reduction can lead to very dense graphs, which increases the computational cost of message-passing. NDP applies a sparsification procedure to prune edges with low weights. Theoretical analysis confirms that this pruning preserves the graph's fundamental structural "fingerprint" (its spectrum).
Hierarchical GNN Architecture
The pre-computed coarsened graphs form a "pyramid" used during GNN training. This allows the network to learn hierarchical representations at multiple scales without the overhead of computing clusters dynamically during every epoch. By forcing the GNN to follow a mathematically sound coarsening pyramid, NDP provides a strong inductive bias that prevents overfitting, especially on smaller datasets.
Experimental Evaluation and Key Results
The authors evaluated NDP across a wide range of benchmarks, including bioinformatics (Proteins, Enzymes), social networks (COLLAB, Reddit), and graph signal tasks (MNIST, IMDB).
- Superior Efficiency: Because the pooling structure is pre-computed, NDP is significantly faster to train. For example, on the NCI1 dataset, NDP was nearly 20x faster per epoch than feature-based methods like DiffPool.
- Competitive Accuracy: NDP consistently outperformed other topological methods and matched or exceeded the performance of complex feature-based models across most datasets.
- Robustness on Signal Tasks: On tasks where node features are sparse and structure is the primary source of information (e.g., MNIST as a graph), feature-based methods often fail completely. In contrast, NDP achieved near-state-of-the-art performance, demonstrating the strength of its topological preservation.
Conclusion
Node Decimation Pooling offers a mathematically grounded approach to graph pooling that balances efficiency and performance. By leveraging spectral properties and pre-computation, it enables deep GNNs to learn hierarchical representations with significantly lower computational overhead than existing end-to-end methods. While currently focused on static undirected topologies, its ability to preserve spectral integrity while aggressively sparsifying graphs makes it a robust choice for large-scale graph classification tasks.
Summary updated