Lune

ICML2023Top-tier venue

End-to-end Differentiable Clustering with Associative Memories

Bishwajit Saha, Dmitry Krotov, Mohammed J. Zaki, Parikshit Ram

Abstract

Clustering is a widely used unsupervised learning technique involving an intensive discrete optimization problem. Associative Memory models or AMs are differentiable neural networks defining a recursive dynamical system, which have been integrated with various deep learning architectures. We uncover a novel connection between the AM dynamics and the inherent discrete assignment necessary in clustering to propose a novel unconstrained continuous relaxation of the discrete clustering problem, enabling end-to-end differentiable clustering with AM, dubbed ClAM. Leveraging the pattern completion ability of AMs, we further develop a novel self-supervised clustering loss. Our evaluations on varied datasets demonstrate that ClAM benefits from the self-supervision, and significantly improves upon both the traditional Lloyd's k-means algorithm, and more recent continuous clustering relaxations (by upto 60% in terms of the Silhouette Coefficient).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the Role of Hidden States of Modern Hopfield Network in Transformer cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
  • On the Role of Hidden States of Modern Hopfield Network in Transformer cites Hopfield Networks is All You Need
  • On the Role of Hidden States of Modern Hopfield Network in Transformer cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • On the Role of Hidden States of Modern Hopfield Network in Transformer cites Simplicial Hopfield networks
  • Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites Hopfield Networks is All You Need
  • Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites Dense Associative Memory Through the Lens of Random Features
  • Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites Simplicial Hopfield networks
  • Adaptive Hopfield Network: Rethinking Similarities in Associative Memory cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
  • Adaptive Hopfield Network: Rethinking Similarities in Associative Memory cites Hopfield Networks is All You Need
  • Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models cites Hopfield Networks is All You Need
  • Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • Hopfield Networks is All You Need cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • Large Associative Memory Problem in Neurobiology and Machine Learning cites Hopfield Networks is All You Need
  • Dense Associative Memory Through the Lens of Random Features cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
  • Dense Associative Memory Through the Lens of Random Features cites Hopfield Networks is All You Need
  • Dense Associative Memory Through the Lens of Random Features cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • Dense Associative Memory Through the Lens of Random Features cites Simplicial Hopfield networks
  • Simplicial Hopfield networks cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
  • Simplicial Hopfield networks cites Hopfield Networks is All You Need
  • Simplicial Hopfield networks cites Large Associative Memory Problem in Neurobiology and Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical CodesJerry Yao-Chieh Hu, Dennis Wu, Han LiuNeurIPS 2024 · 26 citations
  2. Dense Associative Memory Through the Lens of Random FeaturesBenjamin Hoover, Duen Horng Chau, Hendrik Strobelt, Parikshit Ram et al.NeurIPS 2024 · 18 citations
  3. Evolutionary Multimodal Reasoning via Hierarchical Semantic Representation for Intent RecognitionQianrui Zhou, Hua Xu, Yunjin Gu, Yifan Wang et al.CVPR 2026 · 3 citations
  4. On the Role of Hidden States of Modern Hopfield Network in TransformerTsubasa Masumura, Masato TakiNeurIPS 2025 · 2 citations
  5. Adaptive Hopfield Network: Rethinking Similarities in Associative MemoryShurong Wang, Yuqi Pan, Zhuoyang Shen, Meng Zhang et al.ICLR 2026 · 1 citation

Builds on5

  1. Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
  2. Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
  3. Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory ModelsBeren Millidge, Tommaso Salvatori, Yuhang Song, Thomas Lukasiewicz et al.ICML 2022 · 72 citations
  4. Automated Clustering of High-dimensional Data with a Feature Weighted Mean Shift AlgorithmSaptarshi Chakraborty, Debolina Paul, Swagatam DasAAAI 2021 · 22 citations
  5. Simplicial Hopfield networksThomas F. Burns, Tomoki FukaiICLR 2023 · 1 citation

Related papers

  1. Differentiable Clustering with Perturbed Spanning ForestsLawrence Stewart, Francis R. Bach, Felipe Llinares-López, Quentin BerthetNeurIPS 2023 · 16 citations
  2. Differentiable Rule Induction from Raw Sequence InputsKun Gao, Katsumi Inoue, Yongzhi Cao, Hanpin Wang et al.ICLR 2025
  3. DinoSR: Self-Distillation and Online Clustering for Self-supervised Speech Representation LearningAlexander H. Liu, Heng-Jui Chang, Michael Auli, Wei-Ning Hsu et al.NeurIPS 2023 · 51 citations
  4. Transformer Circuits Can Realize Clustering AlgorithmsKenneth Clarkson, Lior Horesh, Takuya Ito, Charlotte Park et al.ICML 2026 · 1 citation
  5. Clustering via Self-Supervised DiffusionRoy Uziel, Irit Chelly, Oren Freifeld, Ari PakmanICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines