[Paper Review] N2D: (Not Too) Deep Clustering via Clustering the Local Manifold of an Autoencoded Embedding
N2D proposes a lightweight deep clustering framework that replaces the deep clustering network with UMAP-based local manifold learning on an autoencoded embedding, followed by shallow clustering. This approach achieves state-of-the-art or competitive performance on image and time-series datasets, outperforming existing methods by up to 8 percentage points on Fashion-MNIST and 15 points on HAR.
Deep clustering has increasingly been demonstrating superiority over conventional shallow clustering algorithms. Deep clustering algorithms usually combine representation learning with deep neural networks to achieve this performance, typically optimizing a clustering and non-clustering loss. In such cases, an autoencoder is typically connected with a clustering network, and the final clustering is jointly learned by both the autoencoder and clustering network. Instead, we propose to learn an autoencoded embedding and then search this further for the underlying manifold. For simplicity, we then cluster this with a shallow clustering algorithm, rather than a deeper network. We study a number of local and global manifold learning methods on both the raw data and autoencoded embedding, concluding that UMAP in our framework is best able to find the most clusterable manifold in the embedding, suggesting local manifold learning on an autoencoded embedding is effective for discovering higher quality discovering clusters. We quantitatively show across a range of image and time-series datasets that our method has competitive performance against the latest deep clustering algorithms, including out-performing current state-of-the-art on several. We postulate that these results show a promising research direction for deep clustering. The code can be found at https://github.com/rymc/n2d
Motivation & Objective
- To reduce the complexity of deep clustering by replacing deep clustering networks with manifold learning on autoencoded representations.
- To investigate whether learning the local manifold of an autoencoded embedding improves clusterability compared to direct clustering.
- To evaluate the effectiveness of various manifold learning techniques (e.g., UMAP, t-SNE, Isomap, PCA) on both raw and autoencoded data.
- To demonstrate that a shallow clustering algorithm on a UMAP-embedded autoencoding can outperform state-of-the-art deep clustering models.
- To validate the method across diverse datasets, including image and time-series data, with and without data augmentation.
Proposed method
- Train an autoencoder to learn a compressed, low-dimensional representation of raw input data.
- Apply UMAP to the learned autoencoded embedding to discover a distance-preserving, clusterable manifold.
- Use a shallow clustering algorithm (e.g., GMM) on the UMAP-embedded space to assign final cluster labels.
- Evaluate manifold learning techniques (PCA, Isomap, t-SNE, UMAP) on both raw and autoencoded data to identify the most effective method.
- Optimize the pipeline by selecting UMAP as the manifold learner due to its balance of local structure preservation and global topology retention.
- Use end-to-end training of the autoencoder with reconstruction loss, while UMAP and clustering are applied post-training in a non-differentiable but effective pipeline.
Experimental results
Research questions
- RQ1Can replacing the deep clustering network with a manifold learning step on an autoencoded embedding improve clustering performance?
- RQ2Which manifold learning method—local or global—best preserves clusterable structure in an autoencoded embedding?
- RQ3Does UMAP, as a local manifold learner with global structure preservation, yield superior clustering results compared to other methods?
- RQ4How does N2D compare to state-of-the-art deep clustering models across diverse datasets, including non-image data?
- RQ5Does the performance gain of N2D persist when data augmentation is removed from competing models?
Key findings
- N2D achieves the highest accuracy on the Fashion-MNIST dataset, outperforming the next best method (ASPC-DA) by 5 absolute percentage points.
- On the HAR time-series dataset, N2D achieves a 15-percentage-point improvement in accuracy over the closest competitor (IDEC), demonstrating strong performance on non-image data.
- On MNIST-test, N2D ranks within the top three, with accuracy within 1 percentage point of the best-performing method (JULE), and 2 points behind ASPC-DA.
- When data augmentation is removed from ASPC-DA, its performance drops significantly (e.g., to 0.924 on MNIST vs. 0.988 for N2D), highlighting N2D’s robustness.
- N2D clusters MNIST and Fashion-MNIST in approximately 18 minutes and the remaining datasets in 2–4 minutes, indicating high computational efficiency.
- UMAP was found to be the most effective manifold learning method, significantly outperforming PCA, t-SNE, and Isomap in preserving clusterable structure in the autoencoded space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.