English

BN-Pool: Bayesian Nonparametric Pooling for Graphs

Machine Learning 2026-04-02 v2 Probability

Abstract

We introduce BN-Pool, the first clustering-based pooling method for Graph Neural Networks that adaptively determines the number of supernodes in a coarsened graph. BN-Pool leverages a generative model based on a Bayesian nonparametric framework for partitioning graph nodes into an unbounded number of clusters. During training, the node-to-cluster assignments are learned by combining the supervised loss of the downstream task with an unsupervised auxiliary term, which encourages the reconstruction of the original graph topology while penalizing unnecessary proliferation of clusters. By automatically discovering the optimal coarsening level for each graph, BN-Pool preserves the performance of soft-clustering pooling methods while avoiding their typical redundancy by learning compact pooled graphs. The code is available at https://github.com/NGMLGroup/Bayesian-Nonparametric-Graph-Pooling.

Keywords

Cite

@article{arxiv.2501.09821,
  title  = {BN-Pool: Bayesian Nonparametric Pooling for Graphs},
  author = {Daniele Castellana and Filippo Maria Bianchi},
  journal= {arXiv preprint arXiv:2501.09821},
  year   = {2026}
}
R2 v1 2026-06-28T21:08:45.404Z