Skip to main content
QUICK REVIEW

[Paper Review] Deep Clustering with Associative Memories

Bishwajit Saha, Dmitry Krotov|arXiv (Cornell University)|Jan 2, 2026
Generative Adversarial Networks and Image SynthesisComputer Science0 citations
TL;DR

DCAM presents an end-to-end differentiable deep clustering method that uses Dense Associative Memories to jointly learn latent representations and cluster prototypes, improving clustering quality while preserving reconstruction across image and text modalities.

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).

Motivation & Objective

  • Motivate deep clustering as a joint representation learning and clustering task that avoids disjoint, hand-tuned separations between modules.
  • Introduce a novel energy-based loss using associative memories to couple encoding, clustering prototypes, and decoding in a single objective.
  • Demonstrate that the approach is architecture-agnostic and yields improved clustering while maintaining reconstruction quality across data modalities.
  • Show empirical improvements over ambient-space and latent-space baselines on diverse datasets.

Proposed method

  • Propose a single differentiable loss that combines encoding, decoding, and associative-memory-driven clustering through a latent-space energy landscape.
  • Define an energy function E(v) over latent vectors v with memories (cluster prototypes) rho, and use attractor dynamics A_rho^T to update v toward memory basins of attraction.
  • Update v via v' = A_rho^T(v) using gradient descent on E(v) with softmax-based weighting to form soft cluster responsibilities.
  • Compute the reconstruction via x' = d(v') and minimize the squared reconstruction loss ||x - x'||^2, yielding a single joint objective without a separate gamma-balanced clustering term.
  • Demonstrate encoder e and decoder d as well as memories rho are learned end-to-end in a differentiable pipeline, architecture-agnostic (CNNs for images, FC networks for text).
  • Provide a curriculum-based scheme to determine the number of attractor steps T while tuning a single parameter beta controlling the energy landscape.
(a) Pretrained
(a) Pretrained

Experimental results

Research questions

  • RQ1Does integrating associative-memory dynamics into latent-space clustering yield better cluster structure without sacrificing reconstruction quality?
  • RQ2Can a single end-to-end differentiable objective outperform traditional two-term deep clustering objectives that balance reconstruction and latent-space clustering?
  • RQ3Is the DCAM framework robust across different encoder/decoder architectures and data modalities (images and text)?
  • RQ4How does the proposed AM-based clustering in latent space compare to ambient-space clustering methods and existing deep clustering baselines?

Key findings

  • DCAM consistently improves clustering quality (Silhouette Coefficient) over traditional and several deep clustering baselines across image and text datasets.
  • DCAM maintains competitive reconstruction loss, indicating preserved latent representation quality while clustering.
  • DCAM is architecture-agnostic, performing well with various autoencoder types (e.g., CAE, RAE, EDCWRN-based AEs) and data modalities.
  • The approach yields strong performance on both latent-space clustering metrics and supervised-like NMI, achieving best values on multiple datasets.
(b) e:1, t:7
(b) e:1, t:7

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.