TMLR 2025

BN-Pool: Bayesian Nonparametric Pooling for Graphs

Daniele Castellana, Filippo Maria Bianchi

Main figure for BN-Pool: Bayesian Nonparametric Pooling for Graphs

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.

Benchmark Results

Tested on 1 dataset Non-standard metric on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

Heterogeneous Graph Benchmarks

DBLP

Global leaderboard →

Default metric is Micro-F1. The paper reports 0 values on Micro-F1 , 5 values on ACC and 5 values on COS .

Sorted by ACC. Highlighted rows are from other papers.

#ModelMicro-F1 ↑ defaultACC ↑COS ↑Paper
1
DANE-O
0.7721
—
—
2
DANE
0.7664
—
—
3
SELENE
0.7574
—
—
4
BN-Pool
—
0.7520 ± 0.0070
0.5850 ± 0.0070
Micro-F1 —
COS 0.5850 ± 0.0070
This paper
11
MinCut
—
0.6920 ± 0.0340
0.5250 ± 0.0390
Micro-F1 —
COS 0.5250 ± 0.0390
This paper
12
jbgnn
—
0.6860 ± 0.0180
0.5300 ± 0.0440
Micro-F1 —
COS 0.5300 ± 0.0440
This paper
14
DMoN
—
0.6370 ± 0.0320
0.4540 ± 0.0130
Micro-F1 —
COS 0.4540 ± 0.0130
This paper
19
DiffPool
—
0.4950 ± 0.0490
0.5740 ± 0.0000
Micro-F1 —
COS 0.5740 ± 0.0000
This paper
20
SAGE
0.4868
—
—
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)