Online Deep Clustering for Unsupervised Representation Learning

Xiaohang Zhan, Jiahao Xie, Ziwei Liu, Yew Soon Ong, Chen Change Loy
6/18/2020
cs.CVcs.LG

Official code: open-mmlab/mmselfsup (3,306 stars, Python, Apache-2.0, PyTorch, last commit 2023-06-25).

Abstract

Joint clustering and feature learning methods have shown remarkable performance in unsupervised representation learning. However, the training schedule alternating between feature clustering and network parameters update leads to unstable learning of visual representations.

Show full abstract

To overcome this challenge, we propose Online Deep Clustering (ODC) that performs clustering and network update simultaneously rather than alternatingly. Our key insight is that the cluster centroids should evolve steadily in keeping the classifier stably updated. Specifically, we design and maintain two dynamic memory modules, i.e., samples memory to store samples labels and features, and centroids memory for centroids evolution. We break down the abrupt global clustering into steady memory update and batch-wise label re-assignment. The process is integrated into network update iterations. In this way, labels and the network evolve shoulder-to-shoulder rather than alternatingly. Extensive experiments demonstrate that ODC stabilizes the training process and boosts the performance effectively. Code: https://github.com/open-mmlab/OpenSelfSup.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

OpenMMLab Self-Supervised Learning Toolbox and Benchmark

3,306438Python, ShellJun 12, 20203 years agoApache-2.0
beitmaemasked-image-modelingmocopytorch+4 more

Similar Papers

Cite this paper

@article{zhan2020online,
  title  = {Online Deep Clustering for Unsupervised Representation Learning},
  author = {Xiaohang Zhan and Jiahao Xie and Ziwei Liu and Yew Soon Ong and Chen Change Loy},
  year   = {2020},
  eprint = {2006.10645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10645}
}

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

Discussion