MinCutPool
A differentiable graph pooling layer that learns minCUT-style clusters without any eigendecomposition.
Graphs and geometry · 176 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 6.5K
- Operations
- 176
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2020
- Cited by
- 287 (as of 18 October 2026)
- Authors
- Filippo Maria Bianchi, Daniele Grattarola, Cesare Alippi
- Source
- torch-geometric 2.8.0
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1770
- Graph hash
- 0da91d3565a6c7d3bb383a255bd866b6829250e5902a5ef224b0d01ae6577ba1
- Skeleton hash
- 0dd4fcb9d6fe52eeb4986f8526acdf88ab168be8a950566e07042630a0fc6601
- Architecture hash
- 2a310721f4a730648847d9b952853ae3635f31786a0c25104c8fc3cf6fb67020
- Diagram SHA-256
- 8e2152ef4e9a8ea3be461ca5fa72e9d3a43ee09224f0467650fc08d6998b0134
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
MinCutPool is a graph pooling operator: it lets a graph neural network coarsen a graph by aggregating the nodes that belong to the same cluster. The starting point is spectral clustering, a popular clustering technique to find strongly connected communities on a graph. Spectral clustering has two practical problems: the eigendecomposition of the Laplacian is expensive, and because clustering results are graph-specific, pooling methods based on it must perform a new optimization for each new sample. The paper's answer is to formulate a continuous relaxation of the normalized minCUT problem and train a GNN to compute cluster assignments that minimize this objective.
The resulting GNN-based implementation is differentiable, does not require computing the spectral decomposition, and learns a clustering function that can be quickly evaluated on out-of-sample graphs. The captured member is the graph classifier built around this operator in Pytorch Geometric, the example the authors' README points to for the graph classification task. The official Tensorflow implementation of the MinCutPool layer is in Spektral, while the PyTorch implementation is in Pytorch Geometric. Beyond classification, the authors' repository also uses the layer to cluster the nodes of a citation network, with cora, citeseer and pubmed as the selectable datasets.
Key idea. A continuous relaxation of the normalized minCUT problem, so that a GNN can be trained to compute the cluster assignments that minimize this objective and pool the graph.
- MinCutPool
- minCUT pooling
- dense_mincut_pool
- Spectral Clustering with Graph Neural Networks for Graph Pooling
- graph pooling
- graph classification
- PyTorch Geometric
- Spektral
- graph-pooling
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{bianchi2020spectralclusteringgraphneural,
title={Spectral Clustering with Graph Neural Networks for Graph Pooling},
author={Filippo Maria Bianchi and Daniele Grattarola and Cesare Alippi},
year={2020},
eprint={1907.00481},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1907.00481},
}