Sparse and Structured Hopfield Networks
Saul José Rodrigues dos Santos, Vlad Niculae, Daniel C. McNamee, André F. T. Martins
摘要
Modern Hopfield networks have enjoyed recent interest due to their connection to attention in transformers. Our paper provides a unified framework for sparse Hopfield networks by establishing a link with Fenchel-Young losses. The result is a new family of Hopfield-Fenchel-Young energies whose update rules are end-to-end differentiable sparse transformations. We reveal a connection between loss margins, sparsity, and exact memory retrieval. We further extend this framework to structured Hopfield networks via the SparseMAP transformation, which can retrieve pattern associations instead of a single pattern. Experiments on multiple instance learning and text rationalization demonstrate the usefulness of our approach.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes 引用了 Hopfield Networks is All You Need
- Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes 引用了 Dense Associative Memory Through the Lens of Random Features
- Dense Associative Memory with Epanechnikov Energy 引用了 Hopfield Networks is All You Need
- Dense Associative Memory with Epanechnikov Energy 引用了 Dense Associative Memory Through the Lens of Random Features
- Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models 引用了 Hopfield Networks is All You Need
- Dense Associative Memory Through the Lens of Random Features 引用了 Energy Transformer
- Dense Associative Memory Through the Lens of Random Features 引用了 Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
- Dense Associative Memory Through the Lens of Random Features 引用了 Hopfield Networks is All You Need
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple Tasks 引用了 Dense Associative Memory with Epanechnikov Energy
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple Tasks 引用了 Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple Tasks 引用了 Hopfield Networks is All You Need
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple Tasks 引用了 Relating transformers to models and neural representations of the hippocampal formation
引用它的顶会 Paper11
- 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 次引用
- Dense Associative Memory Through the Lens of Random FeaturesBenjamin Hoover, Duen Horng Chau, Hendrik Strobelt, Parikshit Ram 等NeurIPS 2024 · 18 次引用
- Dense Associative Memory with Epanechnikov EnergyBenjamin Hoover, Zhaoyang Shi, Krishnakumar Balasubramanian, Dmitry Krotov 等NeurIPS 2025 · 11 次引用
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple TasksSusmit Agrawal, Krishn Vishwas Kher, Saksham Mittal, Swarnim Maheshwari 等NeurIPS 2025 · 2 次引用
- Transformer Circuits Can Realize Clustering AlgorithmsKenneth Clarkson, Lior Horesh, Takuya Ito, Charlotte Park 等ICML 2026 · 1 次引用
它引用的 Paper6
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl 等ICLR 2021 · 620 次引用
- An Exponential Learning Rate Schedule for Deep LearningZhiyuan Li, Sanjeev AroraICLR 2020 · 267 次引用
- Relating transformers to models and neural representations of the hippocampal formationJames C. R. Whittington, Joseph Warren, Tim E. J. BehrensICLR 2022 · 110 次引用
- Energy TransformerBenjamin Hoover, Yuchen Liang, Bao Pham, Rameswar Panda 等NeurIPS 2023 · 100 次引用
- Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory ModelsBeren Millidge, Tommaso Salvatori, Yuhang Song, Thomas Lukasiewicz 等ICML 2022 · 72 次引用
相关 Paper
- Nonparametric Modern Hopfield ModelsJerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan 等ICML 2025
- On Sparse Modern Hopfield ModelJerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu 等NeurIPS 2023 · 52 次引用
- Learning Energy Networks with Generalized Fenchel-Young LossesMathieu Blondel, Felipe Llinares-López, Robert Dadashi, Léonard Hussenot 等NeurIPS 2022 · 13 次引用
- In-Context Denoising with One-Layer Transformers: Connections between Attention and Associative Memory RetrievalMatthew Smart, Alberto Bietti, Anirvan M. SenguptaICML 2025
- Associative TransformerYuwei Sun, Hideya Ochiai, Zhirong Wu, Stephen Lin 等CVPR 2025
