Skip to main content
QUICK REVIEW

[Paper Review] Associative Memories via Predictive Coding

Tommaso Salvatori, Yuhang Song|PubMed|Sep 16, 2021
Neural dynamics and brain functionNeuroscience46 references31 citations
TL;DR

A generative predictive coding network (PCN) is proposed as an associative memory that stores data as attractors and retrieves original data from corrupted or partial inputs; it outperforms autoencoders and modern Hopfield networks on complex data and supports multi-modal retrieval.

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. In this paper, we present a novel neural model for realizing associative memories, which is based on a hierarchical generative network that receives external stimuli via sensory neurons. It is trained using predictive coding, an error-based learning algorithm inspired by information processing in the cortex. To test the model's capabilities, 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. 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.

Motivation & Objective

  • Motivate and model associative memory with a biologically plausible learning framework inspired by cortical prediction.
  • Show that generative predictive coding networks store data points as attractors and enable robust retrieval from corrupted inputs.
  • Demonstrate higher retrieval accuracy and robustness than backpropagation-trained autoencoders and modern Hopfield networks on natural images.
  • Demonstrate reconstruction from partial data and multi-modal retrieval (images from captions and captions from images).

Proposed method

  • Define generative predictive coding networks (PCNs) with a sensory layer, multiple hidden layers, and a memory vector.
  • Train PCNs using inference learning (IL) consisting of an inference phase (updating value nodes to minimize a global energy E) and a weight update phase (updating weights and memory to further minimize E).
  • Express predictions as μ and errors ε across layers, with update rules that are local and biologically plausible (E-based learning).
  • Store training data points as attractors by convergent inference to local minima of the energy when sensory inputs are fixed to training samples.
  • Use the inference phase alone to retrieve stored data: corrupt input -> run inference -> read sensory predictions as retrieved data.
  • Compare performance against autoencoders (AEs) trained by backpropagation and modern Hopfield networks (MHNs) on image reconstruction, capacity, and robustness.

Experimental results

Research questions

  • RQ1Can generative predictive coding networks store data points as attractors and retrieve them from corrupted inputs?
  • RQ2Do PCNs provide superior retrieval accuracy and robustness for complex data compared to autoencoders and modern Hopfield networks?
  • RQ3Are PCNs capable of reconstructing incomplete data and performing multi-modal memory tasks (e.g., image-caption retrieval)?
  • RQ4Does deeper (more-layered) PCNs increase memory capacity and reconstruction quality?
  • RQ5How do PCNs compare to MHNs and DANNs for high-dimensional image reconstruction tasks?

Key findings

  • Generative PCNs store training points as attractors and retrieve original data from corrupted inputs, outperforming AEs of the same size in storage capacity, retrieval accuracy, and robustness.
  • On Tiny ImageNet and CIFAR-10, PCNs reconstruct incomplete data with high accuracy, even when only a fraction of pixels is provided, outperforming AEs and MHNs.
  • Deeper PCNs increase capacity and reconstruction performance, with 10-layer PCNs recovering a large majority of images from partial inputs; they outperform overparametrized AEs.
  • PCNs can perform hetero-associative memory tasks, retrieving images from textual descriptions and vice versa, with very small descriptive vectors (e.g., 25-dim caption input retrieving 3072-pixel images).
  • Compared with modern Hopfield networks, PCNs consistently retrieve plausible memories rather than few exact attractors; MHNs may store exponentially many memories but struggle with complex, noisy, or partial inputs.
  • When compared to DANNs, PCNs produce clearer reconstructions from partial CIFAR-10 images, though DANNs may have higher overall capacity by leveraging broader training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.