Lune

NeurIPS2024Top-tier venue

Dense Associative Memory Through the Lens of Random Features

Benjamin Hoover, Duen Horng Chau, Hendrik Strobelt, Parikshit Ram, Dmitry Krotov

Abstract

Dense Associative Memories are high storage capacity variants of the Hopfield networks that are capable of storing a large number of memory patterns in the weights of the network of a given size. Their common formulations typically require storing each pattern in a separate set of synaptic weights, which leads to the increase of the number of synaptic weights when new patterns are introduced. In this work we propose an alternative formulation of this class of models using random features, commonly used in kernel methods. In this formulation the number of network's parameters remains fixed. At the same time, new memories can be added to the network by modifying existing weights. We show that this novel network closely approximates the energy function and dynamics of conventional Dense Associative Memories and shares their desirable computational properties.

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.

7 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

  • Nonparametric Modern Hopfield Models cites Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes
  • Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites Nonparametric Modern Hopfield Models
  • Nonparametric Modern Hopfield Models cites Hopfield Networks is All You Need
  • Nonparametric Modern Hopfield Models cites Large Associative Memory Problem in Neurobiology and Machine Learning
  • Energy Transformer 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 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
  • Dense associative memory for Gaussian distributions cites Dense Associative Memory with Epanechnikov Energy
  • Dense associative memory for Gaussian distributions cites Hopfield Networks is All You Need
  • Dense Associative Memory with Epanechnikov Energy cites Hopfield Networks is All You Need
  • Dense Associative Memory with Epanechnikov Energy 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
  • In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory Retrieval cites Energy Transformer
  • In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory Retrieval cites Rethinking Attention with Performers
  • In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory Retrieval cites Hopfield Networks is All You Need
  • In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory Retrieval 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 papers7

  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 with Epanechnikov EnergyBenjamin Hoover, Zhaoyang Shi, Krishnakumar Balasubramanian, Dmitry Krotov et al.NeurIPS 2025 · 11 citations
  3. Dense associative memory for Gaussian distributionsChandan Tankala, Krishna BalasubramanianICML 2026 · 1 citation
  4. Nonparametric Modern Hopfield ModelsJerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan et al.ICML 2025
  5. In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory RetrievalMatthew Smart, Alberto Bietti, Anirvan M. SenguptaICML 2025

Builds on18

  1. Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
  2. Transformers as Algorithms: Generalization and Stability in In-context LearningYingcong Li, Muhammed Emrullah Ildiz, Dimitris Papailiopoulos, Samet OymakICML 2023 · 242 citations
  3. Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
  4. Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song et al.ICLR 2021 · 122 citations
  5. Energy TransformerBenjamin Hoover, Yuchen Liang, Bao Pham, Rameswar Panda et al.NeurIPS 2023 · 100 citations

Related papers

  1. Dynamical properties of dense associative memoryKazushi Mimura, Jun'ichi Takeuchi, Yuto Sumikawa, Yoshiyuki Kabashima et al.ICLR 2026 · 6 citations
  2. Kernel Memory Networks: A Unifying Framework for Memory ModelingGeorgios Iatropoulos, Johanni Brea, Wulfram GerstnerNeurIPS 2022 · 15 citations
  3. A Biologically Plausible Dense Associative Memory with Exponential CapacityMohadeseh Shafiei Kafraj, Dmitry Krotov, Peter E. LathamICLR 2026 · 7 citations
  4. Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 citations
  5. General Sequential Episodic Memory ModelArjun Karuvally, Terrence J. Sejnowski, Hava T. SiegelmannICML 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines