Long Sequence Hopfield Memory
Hamza Tahir Chaudhry, Jacob A. Zavatone-Veth, Dmitry Krotov, Cengiz Pehlevan
Abstract
Sequence memory is an essential attribute of natural and artificial intelligence that enables agents to encode, store, and retrieve complex sequences of stimuli and actions. Computational models of sequence memory have been proposed where recurrent Hopfield-like neural networks are trained with temporally asymmetric Hebbian rules. However, these networks suffer from limited sequence capacity (maximal length of the stored sequence) due to interference between the memories. Inspired by recent work on Dense Associative Memories, we expand the sequence capacity of these models by introducing a nonlinear interaction term, enhancing separation between the patterns. We derive novel scaling laws for sequence capacity with respect to network size, significantly outperforming existing scaling laws for models based on traditional Hopfield networks, and verify these theoretical results with numerical simulation. Moreover, we introduce a generalized pseudoinverse rule to recall sequences of highly correlated patterns. Finally, we extend this model to store sequences with variable timing between states’ transitions and describe a biologically-plausible implementation, with connections to motor neuroscience.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c415f37f-9e28-4c5b-8cc2-825bbbcf0ae4Cited by top-tier papers9
- 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
- Sequential Memory with Temporal Predictive CodingMufeng Tang, Helen Barron, Rafal BogaczNeurIPS 2023 · 30 citations
- BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield ModelChenwei Xu, Yu-Chao Huang, Jerry Yao-Chieh Hu, Weijian Li et al.ICML 2024 · 26 citations
- Dense Associative Memory Through the Lens of Random FeaturesBenjamin Hoover, Duen Horng Chau, Hendrik Strobelt, Parikshit Ram et al.NeurIPS 2024 · 18 citations
- Semantically-correlated memories in a dense associative modelThomas F. BurnsICML 2024 · 8 citations
Builds on7
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
- Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
- Relating transformers to models and neural representations of the hippocampal formationJames C. R. Whittington, Joseph Warren, Tim E. J. BehrensICLR 2022 · 110 citations
Related papers
- Biological key-value memory networksDanil Tyulmankov, Ching Fang, Annapurna Vadaparty, Guangyu Robert YangNeurIPS 2021 · 3 citations
- Biologically Plausible Sequence Learning with Spiking Neural NetworksZuozhu Liu, Thiparat Chotibut, Christopher Hillar, Shaowei LinAAAI 2020 · 2 citations
- Exponential Dynamic Energy Network for High Capacity Sequence MemoryArjun Karuvally, Pichsinee Lertsaroj, Terrence J. Sejnowski, Hava T. SiegelmannNeurIPS 2025 · 5 citations
- General Sequential Episodic Memory ModelArjun Karuvally, Terrence J. Sejnowski, Hava T. SiegelmannICML 2023 · 9 citations
- Simplicial Hopfield networksThomas F. Burns, Tomoki FukaiICLR 2023 · 1 citation
