Simplicial Hopfield networks
Abstract
Hopfield networks are artificial neural networks which store memory patterns on the states of their neurons by choosing recurrent connection weights and update rules such that the energy landscape of the network forms attractors around the memories. How many stable, sufficiently-attracting memory patterns can we store in such a network using neurons? The answer depends on the choice of weights and update rule. Inspired by setwise connectivity in biology, we extend Hopfield networks by adding setwise connections and embedding these connections in a simplicial complex. Simplicial complexes are higher dimensional analogues of graphs which naturally represent collections of pairwise and setwise relationships. We show that our simplicial Hopfield networks increase memory storage capacity. Surprisingly, even when connections are limited to a small random subset of equivalent size to an all-pairwise network, our networks still outperform their pairwise counterparts. Such scenarios include non-trivial simplicial topology. We also test analogous modern continuous Hopfield networks, offering a potentially promising avenue for improving the attention mechanism in Transformer models.
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.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- 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 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Uniform Memory Retrieval with Larger Capacity for 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 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 Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes cites On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
- 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
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models cites Hopfield Networks is All You Need
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models cites Large Associative Memory Problem in Neurobiology and Machine Learning
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models cites Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models cites Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models cites On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Long Sequence Hopfield Memory cites Hopfield Networks is All You Need
- Long Sequence Hopfield Memory cites Large Associative Memory Problem in Neurobiology and Machine Learning
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models cites Hopfield Networks is All You Need
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models cites Large Associative Memory Problem in Neurobiology and Machine Learning
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models cites Long Sequence Hopfield Memory
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models cites On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Hopfield Networks is All You Need
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Large Associative Memory Problem in Neurobiology and Machine Learning
Cited by top-tier papers12
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity AnalysisJerry Yao-Chieh Hu, Thomas Lin, Zhao Song, Han LiuICML 2024 · 47 citations
- Outlier-Efficient Hopfield Layers for Large Transformer-Based ModelsJerry Yao-Chieh Hu, Pei-Hsuan Chang, Haozheng Luo, Hong-Yu Chen et al.ICML 2024 · 46 citations
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 citations
- Long Sequence Hopfield MemoryHamza Tahir Chaudhry, Jacob A. Zavatone-Veth, Dmitry Krotov, Cengiz PehlevanNeurIPS 2023 · 33 citations
- 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
Builds on13
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
- GroupNet: Multiscale Hypergraph Neural Networks for Trajectory Prediction with Relational ReasoningChenxin Xu, Maosen Li, Zhenyang Ni, Ya Zhang et al.CVPR 2022 · 171 citations
- Toward a realistic model of speech processing in the brain with self-supervised learningJuliette Millet, Charlotte Caucheteux, Pierre Orhan, Yves Boubenec et al.NeurIPS 2022 · 164 citations
Related papers
- 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
- Kernel Memory Networks: A Unifying Framework for Memory ModelingGeorgios Iatropoulos, Johanni Brea, Wulfram GerstnerNeurIPS 2022 · 15 citations
- Nonparametric Modern Hopfield ModelsJerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan et al.ICML 2025
- Simultaneous embedding of multiple attractor manifolds in a recurrent neural network using constrained gradient optimizationHaggai Agmon, Yoram BurakNeurIPS 2023 · 5 citations
- Content Addressable Memory Without Catastrophic Forgetting by Heteroassociation with a Fixed ScaffoldSugandha Sharma, Sarthak Chandra, Ila R. FieteICML 2022 · 27 citations
