Spectral Clustering with Graph Neural Networks for Graph Pooling

Filippo Maria Bianchi, Daniele Grattarola, Cesare Alippi
6/30/2019
cs.LGstat.ML

Official code: FilippoMB/Spectral-Clustering-with-Graph-Neural-Networks-for-Graph-Pooling (278 stars, MIT, last commit 2025-03-15). 1 more implementation below.

Abstract

Spectral clustering (SC) is a popular clustering technique to find strongly connected communities on a graph. SC can be used in Graph Neural Networks (GNNs) to implement pooling operations that aggregate nodes belonging to the same cluster. However, the eigendecomposition of the Laplacian is expensive and, since clustering results are graph-specific, pooling methods based on SC must perform a new optimization for each new sample. In this paper, we propose a graph clustering approach that addresses these limitations of SC. We formulate a continuous relaxation of the normalized minCUT problem and train a GNN to compute cluster assignments that minimize this objective. Our GNN-based implementation is differentiable, does not require to compute the spectral decomposition, and learns a clustering function that can be quickly evaluated on out-of-sample graphs. From the proposed clustering method, we design a graph pooling operator that overcomes some important limitations of state-of-the-art graph pooling techniques and achieves the best performance in several supervised and unsupervised tasks.

View on arXivView PDF

Code Implementations(2)

MIT

Reproduces the results of MinCutPool as presented in the 2020 ICML paper "Spectral Clustering with Graph Neural Networks for Graph Pooling".

27854PythonJun 5, 20201 years agoMIT
graph-neural-networksgraph-poolingspectral-clusteringunsupervised-learning
MIT

Dataset for testing graph classification algorithms, such as Graph Kernels and Graph Neural Networks.

518Python, Jupyter NotebookJun 20, 20191 years agoMIT
datasetgraph-classificationgraph-datasetgraph-kernelsgraph-neural-networks

Similar Papers

Cite this paper

@article{bianchi2019spectral,
  title  = {Spectral Clustering with Graph Neural Networks for Graph Pooling},
  author = {Filippo Maria Bianchi and Daniele Grattarola and Cesare Alippi},
  year   = {2019},
  eprint = {1907.00481},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.00481}
}

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/1907.00481.svg)](https://codeofpaper.com/paper/1907.00481)

Discussion