Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Filippo Maria Bianchi, Carlo Abate, Ivan Marisca• 2025

Related benchmarks

TaskDatasetResultRank
Graph ClassificationNCI1--
460
Node Classificationamazon-ratings--
138
Node ClusteringCora--
115
Node ClusteringCiteseer--
110
Node Classificationquestions--
87
Graph ClassificationMolHIV--
82
Graph ClassificationREDDIT-B--
71
Graph RegressionPeptides-struct--
51
Node Classificationtolokers--
47
Node ClassificationMinesweeper--
46
Showing 10 of 24 rows

Other info

Follow for update