Abstract
Deep Continuous Clustering (DCC) is a unified framework that performs nonlinear dimensionality reduction and clustering simultaneously using a single, continuous objective function. By integrating a deep autoencoder with Robust Continuous Clustering (RCC), DCC avoids the need to pre-specify the number of clusters and bypasses the instabilities of discrete cluster reassignments. Experimental results on image and text datasets demonstrate that DCC achieves state-of-the-art performance and exhibits remarkable robustness to the dimensionality of the latent space.
Introduction
Clustering high-dimensional data, such as images or text, is a fundamental challenge in machine learning. As dimensionality increases, traditional distance metrics become less informative—a phenomenon known as the "curse of dimensionality." Conventional approaches typically employ a two-step pipeline: first, dimensionality reduction (e.g., PCA or Autoencoders) to project data into a lower-dimensional manifold, followed by a clustering algorithm like k-means. However, this sequential approach is sub-optimal because the dimensionality reduction step is agnostic to the underlying cluster structure.
While recent "deep clustering" methods attempt joint optimization, they often suffer from two significant drawbacks. First, they typically require the number of clusters ($k$) to be specified a priori, which is often unknown in real-world scenarios. Second, they rely on discrete optimization steps, such as hard cluster reassignments, which are difficult to integrate smoothly with the continuous gradient-based optimization used in deep neural networks.
Methodology
DCC addresses these issues by integrating a deep autoencoder with a clustering formulation called Robust Continuous Clustering (RCC). The core of DCC is a global continuous objective function comprising three primary terms:
- Reconstruction Loss: Ensures the autoencoder's latent embedding ($Y$) remains a faithful representation of the original data ($X$).
- Data Loss: Links each embedded point to a "representative" ($Z$).
- Pairwise Loss: Defined over a mutual k-nearest neighbor graph, this term uses M-estimators (specifically the Geman-McClure function) to pull representatives of the same cluster together while ignoring "spurious" connections between different clusters.
By utilizing M-estimators, the authors transform clustering into a "smoothing" process. A continuation scheme is employed, starting with a highly smooth objective and gradually "sharpening" it to define clear cluster boundaries. To handle large-scale data, DCC uses edge-based minibatching, sampling edges from the data graph to ensure local structure is preserved during stochastic gradient descent (SGD). Crucially, the number of clusters is not fixed; it is determined post-optimization by the number of connected components in the graph of final representatives ($Z$).
Experimental Evaluation
The authors evaluated DCC on six high-dimensional datasets: MNIST, Coil100, YaleB, YouTube Faces (YTF), Reuters, and RCV1. DCC consistently outperformed or matched state-of-the-art baselines such as DEC, JULE, and DEPICT across metrics like Adjusted Mutual Information (AMI) and Clustering Accuracy (ACC).
As shown in Figure 1, a key advantage of DCC is its robustness to latent space size. While competing methods like DEC experience significant performance degradation as the embedding dimension ($d$) increases, DCC remains remarkably stable. For instance, on MNIST, DCC maintains high accuracy even at $d=60$, whereas DEC's performance drops sharply.
Discussion
The success of DCC highlights the power of joint optimization. Clustering performance is significantly enhanced when the embedding is optimized specifically to facilitate the clustering objective. This is visually evident in t-SNE projections of the latent space.
Figure 2 demonstrates that DCC produces much clearer cluster separation compared to raw data or standard Stacked Denoising Autoencoders (SDAE). The reconstruction loss serves as a vital regularizer, preventing the "trivial solution" where the network maps all points to a single coordinate to minimize clustering loss.
Despite its strengths, DCC relies on an initial k-nearest neighbor graph. If the input data is extremely noisy, the initial graph may be inaccurate, potentially hindering the optimization. Additionally, while it removes the need to pick $k$, it introduces hyperparameters related to the M-estimator update schedule and loss weighting.
Conclusion
DCC presents a robust, continuous framework for joint dimensionality reduction and clustering. By avoiding discrete reassignments and fixed cluster counts, it offers a more flexible and stable approach to unsupervised learning in high-dimensional spaces. Its efficiency and performance make it a strong candidate for integration into broader deep learning architectures.
Summary updated