# Torch Geometric Pool: the PyTorch library for pooling in Graph Neural Networks

Source: [Torch Geometric Pool: the PyTorch library for pooling in Graph Neural Networks](<https://www.sota2.com/research/paper/6940e77d456146936284f6d5>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-04-22T05:23:53.566Z

Authors: Carlo Abate, Ivan Marisca, Filippo Maria Bianchi

Published: 2025-12-14T11:15:09.000Z

## Abstract

Torch Geometric Pool (tgp) is a pooling library built on top of PyTorch Geometric. Graph pooling methods differ in how they assign nodes to supernodes, how they handle batches, what they return after pooling, and whether they expose auxiliary losses. These differences make it hard to compare methods or reuse the same model code across them. tgp addresses this problem with a common software interface based on the Select-Reduce-Connect-Lift (SRCL) decomposition. The library provides 20 hierarchical poolers, standardized output objects, standalone readout modules, support for dense poolers in batched and unbatched mode, and workflows for caching and pre-coarsening. It is released under the MIT license on GitHub and PyPI, with comprehensive documentation, tutorials, and examples.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Graph Classification on NCI1](<https://www.sota2.com/research/sota/graph-classification-on-nci1.md>): Graph Classification; NCI1; Accuracy: not recorded.

- [Node Classification on amazon-ratings](<https://www.sota2.com/research/sota/node-classification-on-amazon-ratings.md>): Node Classification; amazon-ratings; Accuracy: not recorded.

- [Node Clustering on Cora](<https://www.sota2.com/research/sota/node-clustering-on-cora.md>): Node Clustering; Cora; NMI: not recorded.

- [Graph Classification on REDDIT-B](<https://www.sota2.com/research/sota/graph-classification-on-reddit-b.md>): Graph Classification; REDDIT-B; Accuracy: not recorded.

- [Node Classification on questions](<https://www.sota2.com/research/sota/node-classification-on-questions.md>): Node Classification; questions; ROC AUC: not recorded.

- [Graph Regression on Peptides-struct](<https://www.sota2.com/research/sota/graph-regression-on-peptides-struct.md>): Graph Regression; Peptides-struct; MAE: not recorded.

- [Node Clustering on Citeseer](<https://www.sota2.com/research/sota/node-clustering-on-citeseer.md>): Node Clustering; Citeseer; NMI: not recorded.

- [Graph Classification on Peptides-Func](<https://www.sota2.com/research/sota/graph-classification-on-peptides-func.md>): Graph Classification; Peptides func; AP: not recorded.

- [Node Classification on Minesweeper (ROC AUC)](<https://www.sota2.com/research/sota/node-classification-on-minesweeper-roc-auc.md>): Node Classification; Minesweeper; ROC AUC: not recorded.

- [Graph Classification on MolHIV](<https://www.sota2.com/research/sota/graph-classification-on-molhiv.md>): Graph Classification; MolHIV; ROC AUC: not recorded.

- [Node Classification on tolokers](<https://www.sota2.com/research/sota/node-classification-on-tolokers.md>): Node Classification; tolokers; ROC AUC: not recorded.

- [Clustering on DBLP](<https://www.sota2.com/research/sota/clustering-on-dblp.md>): Clustering; DBLP; Accuracy: not recorded.

- [Node Clustering on DBLP](<https://www.sota2.com/research/sota/node-clustering-on-dblp.md>): Node Clustering; DBLP; NMI: not recorded.

- [Graph Classification on Multipartite](<https://www.sota2.com/research/sota/graph-classification-on-multipartite.md>): Graph Classification; Multipartite; Accuracy: not recorded.

- [Graph Classification on GCB-H](<https://www.sota2.com/research/sota/graph-classification-on-gcb-h.md>): Graph Classification; GCB-H; Accuracy: not recorded.

- [Node-level classification on ROMAN EMP.](<https://www.sota2.com/research/sota/node-level-classification-on-roman-emp.md>): Node-level classification; ROMAN EMP.; Accuracy: not recorded.

- [Graph Classification on EXPWL1](<https://www.sota2.com/research/sota/graph-classification-on-expwl1.md>): Graph Classification; EXPWL1; Accuracy: not recorded.

- [Node Clustering on Community](<https://www.sota2.com/research/sota/node-clustering-on-community.md>): Node Clustering; Community; Clustering Accuracy: not recorded.

- [Node Clustering on PubMed (Clustering accuracy)](<https://www.sota2.com/research/sota/node-clustering-on-pubmed-clustering-accuracy.md>): Node Clustering; Pubmed; Clustering Accuracy: not recorded.

- [Node Clustering on Community (macro-F1)](<https://www.sota2.com/research/sota/node-clustering-on-community-macro-f1.md>): Node Clustering; Community; Macro F1 Score: not recorded.

- [Node Clustering on DBLP (macro-F1)](<https://www.sota2.com/research/sota/node-clustering-on-dblp-macro-f1.md>): Node Clustering; DBLP; macro-F1: not recorded.

- [Node Clustering on PubMed (macro-F1)](<https://www.sota2.com/research/sota/node-clustering-on-pubmed-macro-f1.md>): Node Clustering; Pubmed; Macro F1 Score: not recorded.

- [Unsupervised Node Clustering on Community](<https://www.sota2.com/research/sota/unsupervised-node-clustering-on-community.md>): Unsupervised node clustering; Community; NMI: not recorded.

- [Unsupervised Node Clustering on PubMed (NMI)](<https://www.sota2.com/research/sota/unsupervised-node-clustering-on-pubmed-nmi.md>): Unsupervised node clustering; Pubmed; NMI: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2512.12642>)

[PDF](<https://arxiv.org/pdf/2512.12642.pdf>)
