Deep Clustering with Associative Memories
Bishwajit Saha, Dmitry Krotov, Mohammed J. Zaki, Parikshit Ram
TL;DR
DCAM presents a novel energy-based deep clustering framework that integrates Dense Associative Memories into latent-space clustering. By applying attractor dynamics to latent encodings and jointly updating encoder, decoder, and cluster prototypes, the method yields cluster-friendly representations while preserving reconstruction quality in a fully differentiable pipeline. Empirical results across eight diverse datasets demonstrate superior clustering performance, as measured by silhouette scores and often by NMI, across multiple autoencoder architectures. The approach offers an architecture-agnostic, end-to-end differentiable tool for robust unsupervised clustering with potential extensions to multimodal data and automatic cluster number estimation.
Abstract
Deep clustering - joint representation learning and latent space clustering - is a well studied problem especially in computer vision and text processing under the deep learning framework. While the representation learning is generally differentiable, clustering is an inherently discrete optimization task, requiring various approximations and regularizations to fit in a standard differentiable pipeline. This leads to a somewhat disjointed representation learning and clustering. In this work, we propose a novel loss function utilizing energy-based dynamics via Associative Memories to formulate a new deep clustering method, DCAM, which ties together the representation learning and clustering aspects more intricately in a single objective. Our experiments showcase the advantage of DCAM, producing improved clustering quality for various architecture choices (convolutional, residual or fully-connected) and data modalities (images or text).
