Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
Beren Millidge, Tommaso Salvatori, Yuhang Song, Thomas Lukasiewicz, Rafal Bogacz
摘要
A large number of neural network models of associative memory have been proposed in the literature. These include the classical Hopfield networks (HNs), sparse distributed memories (SDMs), and more recently the modern continuous Hopfield networks (MCHNs), which possess close links with self-attention in machine learning. In this paper, we propose a general framework for understanding the operation of such memory networks as a sequence of three operations: similarity, separation, and projection. We derive all these memory models as instances of our general framework with differing similarity and separation functions. We extend the mathematical framework of Krotov and Hopfield (2020) to express general associative memory models using neural network dynamics with local computation, and derive a general energy function that is a Lyapunov function of the dynamics. Finally, using our framework, we empirically investigate the capacity of using different similarity functions for these associative memory models, beyond the dot product similarity measure, and demonstrate empirically that Euclidean or Manhattan distance similarity metrics perform substantially better in practice on many tasks, enabling a more robust retrieval and higher memory capacity than existing models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On Sparse Modern Hopfield Model 引用了 Hopfield Networks is All You Need
- On Sparse Modern Hopfield Model 引用了 Language Models are Few-Shot Learners
- On Sparse Modern Hopfield Model 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- On Sparse Modern Hopfield Model 引用了 STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction
- STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction 引用了 On Sparse Modern Hopfield Model
- Hopfield Networks is All You Need 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Large Associative Memory Problem in Neurobiology and Machine Learning 引用了 Hopfield Networks is All You Need
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 On Sparse Modern Hopfield Model
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Reformer: The Efficient Transformer
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Hopfield Networks is All You Need
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers 引用了 On Sparse Modern Hopfield Model
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers 引用了 Hopfield Networks is All You Need
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers 引用了 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers 引用了 Language Models are Few-Shot Learners
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers 引用了 STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction
- Sequential Memory with Temporal Predictive Coding 引用了 Hopfield Networks is All You Need
- STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction 引用了 Reformer: The Efficient Transformer
- STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction 引用了 Hopfield Networks is All You Need
引用它的顶会 Paper26
- On Sparse Modern Hopfield ModelJerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu 等NeurIPS 2023 · 52 次引用
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 次引用
- STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series PredictionDennis Wu, Jerry Yao-Chieh Hu, Weijian Li, Bo-Yu Chen 等ICLR 2024 · 39 次引用
- Sequential Memory with Temporal Predictive CodingMufeng Tang, Helen Barron, Rafal BogaczNeurIPS 2023 · 30 次引用
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformersYibo Jiang, Goutham Rajendran, Pradeep Ravikumar, Bryon AragamNeurIPS 2024 · 19 次引用
它引用的 Paper10
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer 等NeurIPS 2021 · 3,862 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl 等ICLR 2021 · 620 次引用
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 次引用
相关 Paper
- Relating Hopfield Networks to Episodic ControlHugo Chateau-Laurent, Frédéric AlexandreNeurIPS 2024 · 1 次引用
- Simplicial Hopfield networksThomas F. Burns, Tomoki FukaiICLR 2023 · 1 次引用
- Kernel Memory Networks: A Unifying Framework for Memory ModelingGeorgios Iatropoulos, Johanni Brea, Wulfram GerstnerNeurIPS 2022 · 15 次引用
- Dynamical properties of dense associative memoryKazushi Mimura, Jun'ichi Takeuchi, Yuto Sumikawa, Yoshiyuki Kabashima 等ICLR 2026 · 6 次引用
- Nonparametric Modern Hopfield ModelsJerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan 等ICML 2025
