Learning Hierarchical Graph Neural Networks for Image Clustering

Yifan Xing, Tong He, Tianjun Xiao, Yongxin Wang, Yuanjun Xiong +4 more
7/3/2021
cs.CVcs.LG

Official code: dmlc/dgl (14,285 stars, Apache-2.0, last commit 2025-07-31).

Abstract

We propose a hierarchical graph neural network (GNN) model that learns how to cluster a set of images into an unknown number of identities using a training set of images annotated with labels belonging to a disjoint set of identities. Our hierarchical GNN uses a novel approach to merge connected components predicted at each level of the hierarchy to form a new graph at the next level. Unlike fully unsupervised hierarchical clustering, the choice of grouping and complexity criteria stems naturally from supervision in the training set. The resulting method, Hi-LANDER, achieves an average of 54% improvement in F-score and 8% increase in Normalized Mutual Information (NMI) relative to current GNN-based clustering algorithms. Additionally, state-of-the-art GNN-based methods rely on separate models to predict linkage probabilities and node densities as intermediate steps of the clustering process. In contrast, our unified framework achieves a seven-fold decrease in computational cost. We release our training and inference code at https://github.com/dmlc/dgl/tree/master/examples/pytorch/hilander.

View on arXivView PDF

Code Implementations(1)

dmlc/dglOfficial100%
Apache-2.0

Python package built to ease deep learning on graph, on top of existing DL frameworks.

14,2853,057C, C++Apr 20, 20181 years agoApache-2.0
deep-learninggraph-neural-networks

Cite this paper

@article{xing2021learning,
  title  = {Learning Hierarchical Graph Neural Networks for Image Clustering},
  author = {Yifan Xing and Tong He and Tianjun Xiao and Yongxin Wang and Yuanjun Xiong and Wei Xia and David Wipf and Zheng Zhang and Stefano Soatto},
  year   = {2021},
  eprint = {2107.01319},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.01319}
}

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

Discussion