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

Filippo Maria Bianchi, Carlo Abate, Ivan Marisca
12/14/2025
cs.LG

No official code found. Best implementation: tgp-team/torch-geometric-pool (61 stars, MIT, last commit 2026-04-21).

Abstract

We introduce Torch Geometric Pool (tgp), a library for hierarchical pooling in Graph Neural Networks. Built upon Pytorch Geometric, Torch Geometric Pool (tgp) provides a wide variety of pooling operators, unified under a consistent API and a modular design. The library emphasizes usability and extensibility, and includes features like precomputed pooling, which significantly accelerate training for a class of operators. In this paper, we present tgp's structure and present an extensive benchmark. The latter showcases the library's features and systematically compares the performance of the implemented graph-pooling methods in different downstream tasks. The results, showing that the choice of the optimal pooling operator depends on tasks and data at hand, support the need for a library that enables fast prototyping.

View on arXivView PDF

Code Implementations(1)

MIT

The library for pooling in Graph Neural Networks made for Pytorch Geometric

613PythonJun 7, 20256 months agoMIT

Similar Papers

Cite this paper

@article{bianchi2025torch,
  title  = {Torch Geometric Pool: the Pytorch library for pooling in Graph Neural Networks},
  author = {Filippo Maria Bianchi and Carlo Abate and Ivan Marisca},
  year   = {2025},
  eprint = {2512.12642},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.12642v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.12642.svg)](https://codeofpaper.com/paper/2512.12642)

Discussion