Skip to main content
QUICK REVIEW

[Paper Review] Deep clustering with concrete k-means

Boyan Gao, Yongxin Yang|arXiv (Cornell University)|Oct 17, 2019
Domain Adaptation and Few-Shot LearningComputer Science11 references5 citations
TL;DR

This paper proposes Concrete $k$-means (CKM), a novel end-to-end deep clustering framework that jointly optimizes deep feature representations and $k$-means cluster centroids by differentiating through hard cluster assignments using the Gumbel-Softmax reparameterization trick. CKM achieves state-of-the-art performance on standard benchmarks while enabling interpretable hard assignments and full backpropagation compatibility, outperforming prior methods in both clustering quality and training efficiency.

ABSTRACT

We address the problem of simultaneously learning a k-means clustering and deep feature representation from unlabelled data, which is of interest due to the potential of deep k-means to outperform traditional two-step feature extraction and shallow-clustering strategies. We achieve this by developing a gradient-estimator for the non-differentiable k-means objective via the Gumbel-Softmax reparameterisation trick. In contrast to previous attempts at deep clustering, our concrete k-means model can be optimised with respect to the canonical k-means objective and is easily trained end-to-end without resorting to alternating optimisation. We demonstrate the efficacy of our method on standard clustering benchmarks.

Motivation & Objective

  • To address the challenge of joint learning of deep feature representations and $k$-means clustering in an end-to-end differentiable manner.
  • To overcome the non-differentiability of hard cluster assignments in the standard $k$-means objective, which hinders backpropagation in deep networks.
  • To develop a method that maintains the interpretability of hard assignments while enabling full end-to-end training with standard deep learning optimizers.
  • To provide a competitive alternative to existing deep clustering methods that rely on surrogate losses or alternating optimization.
  • To demonstrate that the proposed method can solve both deep clustering and shallow $k$-means problems effectively.

Proposed method

  • The method uses the Gumbel-Softmax reparameterization trick to differentially approximate discrete cluster assignments, enabling gradient flow through the hard assignment step.
  • It formulates a differentiable objective that directly optimizes the canonical $k$-means loss function, avoiding surrogate losses used in prior work.
  • The model jointly trains a deep neural network for representation learning and a set of learnable cluster centroids in the latent space.
  • Cluster assignments are computed via a concrete distribution, which allows differentiable sampling and soft-to-hard temperature scheduling during training.
  • The framework supports end-to-end backpropagation, allowing integration of clustering as a module in larger deep learning architectures.
  • The method is trained using standard deep learning optimizers and does not require alternating optimization or heuristic surrogate objectives.

Experimental results

Research questions

  • RQ1Can we differentiate through the discrete cluster assignment in the $k$-means objective to enable end-to-end training of deep neural networks and cluster centroids?
  • RQ2Does the proposed method achieve competitive clustering performance compared to state-of-the-art deep clustering approaches?
  • RQ3Can the method maintain hard cluster assignments for interpretability while still being fully differentiable and trainable via backpropagation?
  • RQ4Is the proposed framework effective for both deep clustering and standard shallow $k$-means problems?
  • RQ5How does the method compare in training efficiency and convergence speed to alternating optimization or surrogate loss-based approaches?

Key findings

  • On MNIST, CKM achieves a normalized mutual information (NMI) of 81.4±1.8, adjusted rand index (ARI) of 77.7±1.1, and accuracy (ACC) of 85.4±2.1, outperforming DEC and DCN.
  • On USPS, CKM achieves NMI of 70.7±0.2, ARI of 61.3±0.2, and ACC of 72.1±0.4, matching or slightly exceeding DCN and DEC.
  • On 20Newsgroups, CKM achieves NMI of 46.5±1.4, ARI of 34.1±1.6, and ACC of 47.3±2.3, performing comparably to state-of-the-art methods.
  • CKM is the only method among the compared approaches to combine hard cluster assignments with end-to-end differentiable training, enabling interpretability and modular integration in deep networks.
  • CKM trains significantly faster than DCN, with 11 seconds per epoch on MNIST compared to DCN’s 36 seconds, and is comparable in speed to DEC.
  • The method also provides a competitive solver for shallow $k$-means, achieving performance comparable to $k$-means++ on standard benchmarks.

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.