Skip to main content
QUICK REVIEW

[Paper Review] Online Deep Clustering for Unsupervised Representation Learning

Xiaohang Zhan, Jiahao Xie|arXiv (Cornell University)|Jun 18, 2020
Video Surveillance and Tracking MethodsComputer Science62 references7 citations
TL;DR

This paper proposes Online Deep Clustering (ODC), a novel unsupervised representation learning method that integrates clustering and deep network training into a continuous, end-to-end process, avoiding the unstable alternating updates of prior methods. By maintaining dynamic memory for samples and cluster centroids and updating labels and features iteratively, ODC achieves significantly more stable training and superior performance on benchmark datasets, including improved accuracy when used as a fine-tuning method.

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. 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.

Motivation & Objective

  • To address the instability in deep clustering training caused by alternating updates between feature clustering and network parameter updates.
  • To develop a joint clustering and representation learning framework that mimics the uninterrupted training of supervised learning.
  • To improve the stability and performance of unsupervised representation learning without manual annotations.
  • To enable effective fine-tuning of self-supervised models using the proposed online clustering mechanism.

Proposed method

  • ODC integrates label re-assignment and centroid updates into every network training iteration, replacing the batch-wise, epoch-level clustering of prior methods.
  • It maintains two dynamic memory modules: samples memory to store features and pseudo-labels, and centroids memory to track evolving cluster centers.
  • Label re-assignment is performed online using features from the current forward pass, eliminating the need for separate feature extraction.
  • Centroids are updated incrementally using a moving average strategy to ensure smooth evolution and prevent abrupt shifts.
  • The method enables continuous, uninterrupted training similar to supervised learning, with both labels and network parameters evolving in tandem.
  • The framework is compatible with standard CNNs and can be applied as a fine-tuning stage after pre-training with other self-supervised methods.

Experimental results

Research questions

  • RQ1Can online, iterative label re-assignment during training stabilize the learning of deep representations in unsupervised clustering?
  • RQ2How does integrating clustering into network update iterations affect convergence and performance compared to alternating training?
  • RQ3To what extent can ODC improve the representation quality of models pre-trained with other self-supervised methods?
  • RQ4Does ODC generalize well to long-tailed data distributions commonly found in real-world datasets?
  • RQ5Can ODC discover meaningful, semantically coherent clusters beyond the original ImageNet class labels?

Key findings

  • ODC achieves a final training loss of approximately 2.0, significantly lower than the 2.9 loss observed in Deep Clustering (DC), demonstrating superior training stability.
  • The label-switching ratio in ODC decreases over time and converges to a low value, indicating stable and consistent cluster assignments during training.
  • ODC maintains strong performance even on highly long-tailed ImageNet variants, with no significant performance drop when the largest class contains 64 times more samples than the smallest.
  • ODC discovers novel semantic clusters such as 'hand', 'feet', 'animal in cage', and 'person leads dog with a rope', which are not present in ImageNet’s original annotations.
  • When used as a fine-tuning method, ODC substantially improves the performance of models pre-trained with other self-supervised approaches.
  • The method is robust to hyperparameter choices such as the minimal cluster size threshold, showing consistent performance across a reasonable range of values.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.