Skip to main content
QUICK REVIEW

[Paper Review] Scalable Deep Unsupervised Clustering with Concrete GMVAEs

Mark Collier, Hector Urdiales|arXiv (Cornell University)|Sep 18, 2019
Gaussian Processes and Bayesian InferenceComputer Science11 references5 citations
TL;DR

This paper proposes the Concrete GMVAE, a scalable deep unsupervised clustering method that replaces discrete cluster assignments in the Gaussian Mixture VAE with a continuous relaxation using the Concrete (Gumbel-Softmax) distribution. By enabling differentiable sampling via the reparameterization trick, training time complexity is reduced from linear to constant in the number of clusters, achieving a 75-80% speedup on CIFAR-100 with 20 clusters while maintaining comparable clustering performance.

ABSTRACT

Discrete random variables are natural components of probabilistic clustering models. A number of VAE variants with discrete latent variables have been developed. Training such methods requires marginalizing over the discrete latent variables, causing training time complexity to be linear in the number clusters. By applying a continuous relaxation to the discrete variables in these methods we can achieve a reduction in the training time complexity to be constant in the number of clusters used. We demonstrate that in practice for one such method, the Gaussian Mixture VAE, the use of a continuous relaxation has no negative effect on the quality of the clustering but provides a substantial reduction in training time, reducing training time on CIFAR-100 with 20 clusters from 47 hours to less than 6 hours.

Motivation & Objective

  • To address the high training time complexity of standard GMVAE, which scales linearly with the number of clusters due to marginalization over discrete cluster assignments.
  • To enable end-to-end training of deep clustering models with large numbers of clusters, which is currently prohibitive due to computational cost.
  • To maintain clustering performance while drastically reducing training time through a continuous relaxation of discrete latent variables.
  • To demonstrate that a continuous relaxation of the cluster assignment variable does not degrade model quality in terms of log-likelihood or clustering capability.

Proposed method

  • Replaces the discrete categorical distribution $ q(\mathbf{y} \mid \mathbf{x}) $ in the GMVAE with a continuous Concrete distribution to enable differentiable sampling.
  • Applies the reparameterization trick to the Concrete distribution, allowing gradient backpropagation through the cluster assignment without summation over all cluster indices.
  • Uses a single-sample Monte Carlo estimate of the ELBO that no longer requires summation over $ \mathbf{y} $, reducing training time complexity from $ O(K) $ to $ O(1) $, where $ K $ is the number of clusters.
  • Introduces a temperature-annealing schedule for the KL divergence term $ D_{KL}(q(\mathbf{y} \mid \mathbf{x}) \parallel p(\mathbf{y})) $, starting from zero and increasing to one to prevent posterior collapse and encourage meaningful cluster usage.
  • Employs ancestral sampling to generate $ \mathbf{y} $ and $ \mathbf{z} $ from the relaxed posterior, enabling efficient and differentiable training.
  • At test time, discretizes $ \mathbf{y} $ by one-hot encoding the argmax of $ q(\mathbf{y} \mid \mathbf{x}) $, restoring discrete cluster assignments for inference.

Experimental results

Research questions

  • RQ1Can a continuous relaxation of discrete cluster assignments in GMVAE reduce training time complexity without degrading clustering performance?
  • RQ2Does the Concrete distribution enable effective backpropagation through discrete latent variables in a deep clustering model?
  • RQ3How does the training time of the Concrete GMVAE scale with increasing numbers of clusters compared to the standard GMVAE?
  • RQ4What impact does KL annealing have on the model’s ability to learn meaningful cluster assignments?
  • RQ5Can the Concrete GMVAE achieve comparable log-likelihood and clustering quality to the standard GMVAE while being significantly faster?

Key findings

  • The Concrete GMVAE achieves a 75% reduction in training time on CIFAR-100 with 20 clusters, decreasing from 47.24 hours to 5.73 hours per training run.
  • On MNIST with 10 clusters, training time is reduced from 15.73 hours to 3.55 hours, a 77% speedup.
  • Test set log-likelihood remains nearly identical between the standard GMVAE and Concrete GMVAE: -46.96 ± 0.81 vs. -46.61 ± 0.79 on MNIST, and -1725.87 ± 2.12 vs. -1725.47 ± 2.20 on CIFAR-100.
  • Without KL annealing, the model fails to learn cluster assignments, as the KL divergence collapses to zero, confirming the necessity of the annealing schedule.
  • The training time complexity is effectively constant in the number of clusters, enabling scalability to large-scale clustering problems previously infeasible with standard GMVAE.
  • The method maintains model quality while enabling efficient, end-to-end training of deep clustering models with large numbers of clusters.

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.