Associative Memories via Predictive Coding
Tommaso Salvatori, Yuhang Song, Yujian Hong, Lei Sha, Simon Frieder, Zhenghua Xu, Rafal Bogacz, Thomas Lukasiewicz
Abstract
Associative memories in the brain receive and store patterns of activity registered by the sensory neurons, and are able to retrieve them when necessary. Due to their importance in human intelligence, computational models of associative memories have been developed for several decades now. They include autoassociative memories, which allow for storing data points and retrieving a stored data point s when provided with a noisy or partial variant of s, and heteroassociative memories, able to store and recall multi-modal data. In this paper, we present a novel neural model for realizing associative memories, based on a hierarchical generative network that receives external stimuli via sensory neurons. This model is trained using predictive coding, an error-based learning algorithm inspired by information processing in the cortex. To test the capabilities of this model, we perform multiple retrieval experiments from both corrupted and incomplete data points. In an extensive comparison, we show that this new model outperforms in retrieval accuracy and robustness popular associative memory models, such as autoencoders trained via backpropagation, and modern Hopfield networks. In particular, in completing partial data points, our model achieves remarkable results on natural image datasets, such as ImageNet, with a surprisingly high accuracy, even when only a tiny fraction of pixels of the original images is presented. Furthermore, we show that this method is able to handle multi-modal data, retrieving images from descriptions, and vice versa. We conclude by discussing the possible impact of this work in the neuroscience community, by showing that our model provides a plausible framework to study learning and retrieval of memories in the brain, as it closely mimics the behavior of the hippocampus as a memory index and generative model.
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.
24 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
- Learning on Arbitrary Graph Topologies via Predictive Coding cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
- Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models cites Hopfield Networks is All You Need
- Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models cites Large Associative Memory Problem in Neurobiology and Machine Learning
- Hopfield Networks is All You Need cites Modern Hopfield Networks and Attention for Immune Repertoire Classification
- 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 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
- 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
- Sequential Memory with Temporal Predictive Coding cites Learning on Arbitrary Graph Topologies via Predictive Coding
- Sequential Memory with Temporal Predictive Coding cites Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models
- Sequential Memory with Temporal Predictive Coding cites Hopfield Networks is All You Need
- Sequential Memory with Temporal Predictive Coding cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
- Large Associative Memory Problem in Neurobiology and Machine Learning cites Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Constrained Predictive Coding as a Biologically Plausible Model of the Cortical Hierarchy cites Learning on Arbitrary Graph Topologies via Predictive Coding
- Constrained Predictive Coding as a Biologically Plausible Model of the Cortical Hierarchy cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
Cited by top-tier papers24
- 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
- Learning on Arbitrary Graph Topologies via Predictive CodingTommaso Salvatori, Luca Pinchetti, Beren Millidge, Yuhang Song et al.NeurIPS 2022 · 56 citations
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 citations
- Sequential Memory with Temporal Predictive CodingMufeng Tang, Helen Barron, Rafal BogaczNeurIPS 2023 · 30 citations
- Constrained Predictive Coding as a Biologically Plausible Model of the Cortical HierarchySiavash Golkar, Tiberiu Tesileanu, Yanis Bahroun, Anirvan M. Sengupta et al.NeurIPS 2022 · 28 citations
Builds on6
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
- Modern Hopfield Networks and Attention for Immune Repertoire ClassificationMichael Widrich, Bernhard Schäfl, Milena Pavlovic, Hubert Ramsauer et al.NeurIPS 2020 · 152 citations
- Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding NetworksYuhang Song, Thomas Lukasiewicz, Zhenghua Xu, Rafal BogaczNeurIPS 2020 · 117 citations
Related papers
- On the relationship between variational inference and auto-associative memoryLouis Annabi, Alexandre Pitti, Mathias QuoyNeurIPS 2022 · 9 citations
- H-Mem: Harnessing synaptic plasticity with Hebbian Memory NetworksThomas Limbacher, Robert LegensteinNeurIPS 2020 · 27 citations
- Bidirectional Predictive CodingGaspard Oliviers, Mufeng Tang, Rafal BogaczICLR 2026 · 7 citations
- Meta-Learning Deep Energy-Based Memory ModelsSergey Bartunov, Jack W. Rae, Simon Osindero, Timothy P. LillicrapICLR 2020 · 35 citations
- Content Addressable Memory Without Catastrophic Forgetting by Heteroassociation with a Fixed ScaffoldSugandha Sharma, Sarthak Chandra, Ila R. FieteICML 2022 · 27 citations
