All models

DMoNPooling

Unsupervised graph pooling that learns soft clusters by maximizing modularity, with a regularizer against collapse.

Graphs and geometry · 62 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (12 KB)

Open in a new tab

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

Parameters
1K
Operations
62
Framework
PyTorch
Recurrent
No
Published
Journal of Machine Learning Research (arXiv 2020)
Cited by
193 (as of 18 October 2026)
Authors
Anton Tsitsulin, John Palowitch, Bryan Perozzi, Emmanuel Müller
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m557
Graph hash
bb462de38520964d3431f4061fd348c5f1ed2d8a7bc68c82f87ec08ead5281ea
Skeleton hash
ddbaade12b1b3800f94fba0f373eb30782e0af4ba6dd2e8a5910c0448e0c3ec4
Architecture hash
c504468fb61af56fa8b5187a9d79e44f8fa7e6954cab12cac401a6471fb899c0
Diagram SHA-256
c3d93e14c0365fd9961104ecffdbfb380ae3dba15fae912384fcad6e817008ab
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

DMoN, short for Deep Modularity Networks, is an unsupervised pooling method for graph neural networks designed to recover the cluster structure of real-world graphs. The paper starts from an awkward finding: graph clustering shares its goal with node pooling, yet current GNN pooling methods often fail to recover clusters where k-means on learned representations works well. DMoN answers with a clustering module that optimizes cluster assignments in an end-to-end differentiable way.

Soft cluster assignments come from a softmax over the output of a graph convolutional network, which keeps the assignment differentiable. The objective is a spectral relaxation of modularity, which measures how far the intra-cluster edges exceed what a random graph with the same degrees would produce. Modularity's null model matters: in a fully random graph with given degrees, two nodes connect with probability proportional to the product of their degrees. Without constraints, both min-cut and modularity objectives have a trivial local optimum that assigns every node to one cluster, so DMoN adds a collapse regularization term to prevent it. Decomposing the trace term into a sparse matrix product and a rank-one degree correction brings the cost per update down from quadratic in the number of nodes to linear.

The GCN used inside DMoN differs from the classic one in two ways: self-loops are replaced by a trainable skip connection, and ReLU is swapped for SeLU for better convergence. On real-world data, DMoN's clusters correlate strongly with ground-truth labels, with over 40% improvement over other pooling methods across different metrics. The authors also argue that MinCutPool, a close relative, does not actually optimize its spectral objective and merely orthogonalizes its features. The work appeared in the Journal of Machine Learning Research, volume 24.

Key idea. DMoN turns the modularity clustering objective into a differentiable, unsupervised pooling loss with collapse regularization, letting a GNN learn soft cluster assignments end to end.

  • DMoN
  • Deep Modularity Networks
  • DMoNPooling
  • graph clustering
  • modularity pooling
  • graph pooling
  • unsupervised GNN clustering
  • MinCutPool
  • DiffPool
  • Tsitsulin
  • PyTorch Geometric

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tsitsulin2023graphclusteringgraphneural,
      title={Graph Clustering with Graph Neural Networks}, 
      author={Anton Tsitsulin and John Palowitch and Bryan Perozzi and Emmanuel Müller},
      year={2023},
      eprint={2006.16904},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2006.16904}, 
}