Predictive Attractor Models

Ramy Mounir, Sudeep Sarkar

Introduction

Sequential memory—the capacity to encode, store, and recall events in a specific temporal order—is a fundamental component of biological intelligence. From language processing to motor control, the ability to predict subsequent states based on historical context is essential. However, modern artificial intelligence models, despite their success, struggle with three primary challenges: catastrophic forgetting, the "multiple futures" problem (where a single context leads to divergent outcomes), and biological implausibility due to a reliance on global backpropagation.

This paper introduces Predictive Attractor Models (PAM), a novel architecture designed to bridge the gap between neuroscience and machine learning. PAM enables single-pass, streaming learning of sequences without forgetting, utilizes biologically plausible local update rules, and effectively manages probabilistic ambiguity in sequential data.

Architectural Foundations

PAM is built upon the integration of State Space Models (SSM) and Fixed-Point Attractor Dynamics. The architecture relies on several core principles derived from cortical observations:

Sparse Distributed Representations (SDRs)

Unlike the dense vectors typical of deep learning, PAM utilizes SDRs—sparse binary codes where only a small fraction of neurons are active at any given time. This sparsity mimics the energy-efficient firing patterns of the biological brain and provides inherent robustness to noise.

Cortical Minicolumns and Contextual Encoding

To solve the problem of overlapping sequences, PAM employs a two-dimensional representation scheme inspired by cortical minicolumns. One dimension represents the content (the "what"), while the other represents the context (the "where" in a sequence). By assigning different neurons within a minicolumn to different temporal contexts, the model can distinguish between identical inputs appearing in different sequences (e.g., the letter "E" in "EVER" versus "CLEVER").

Competitive Learning and Lateral Inhibition

PAM utilizes lateral inhibition to ensure that only the most relevant neurons within a minicolumn fire. This competitive mechanism prevents new memories from colliding with existing ones, effectively eliminating the catastrophic forgetting common in gradient-descent-based models.

Learning and Prediction Dynamics

The learning process in PAM is governed by Hebbian plasticity—a local rule where synaptic weights are updated based on the activity of the pre- and post-synaptic neurons. This removes the need for computationally expensive and biologically unrealistic backward passes used in standard deep learning.

The Attractor Model for Multiple Futures

A significant innovation in PAM is its treatment of prediction as a Gaussian Mixture Model (GMM). In many real-world sequences, a single prefix can lead to multiple valid suffixes. Standard models often "average" these possibilities, resulting in incoherent outputs. PAM, however, forms "attractors"—stable states representing distinct possible futures. During recall, the model can represent a "union" of these possibilities and then distill them into a single, coherent prediction through attractor dynamics.

Experimental Evaluation

The researchers evaluated PAM across several diverse datasets to test its capacity, robustness, and flexibility.

Memory Capacity and Continual Learning

Using synthetic SDR sequences and ProteinNet 7 data, the authors demonstrated that PAM achieves near-perfect Backward Transfer (BWT). In continual learning scenarios, the model retained information from the first sequence even after learning fifty subsequent sequences. Furthermore, PAM's storage capacity scales efficiently with the number of context neurons, significantly outperforming Asymmetric Hopfield Networks (AHN).

Handling Ambiguity and Stochastic Generation

In a text-based task using 4-letter English words, PAM successfully navigated branching possibilities. When presented with a prefix like "TH," which could lead to "THAT" or "THEY," PAM generated valid completions for both, whereas competing models like temporal Predictive Coding (tPC) failed to produce meaningful strings when faced with branching paths.

Noise Robustness in Vision

To test PAM on high-dimensional data, the authors used an SDR Autoencoder to translate pixels from datasets like Moving MNIST and CLEVRER into sparse codes. PAM demonstrated superior noise tolerance, reconstructing clean sequences even when 40% of the input bits were corrupted, relying on its internal attractor states to "clean" the signal.

Discussion and Limitations

While PAM represents a significant step forward, certain limitations remain. The model currently requires an external encoder to generate SDRs from raw sensory data, as it cannot yet process raw pixels directly in a hierarchical fashion. Additionally, the current implementation focuses on first-order Markov transitions; while the context dimension helps mitigate this, capturing very long-range dependencies remains a target for future iterations.

Conclusion

Predictive Attractor Models offer a compelling alternative to traditional recurrent neural networks. By combining sparse representations, local learning rules, and attractor dynamics, PAM achieves a level of efficiency and biological fidelity that addresses long-standing hurdles in sequential memory research. Because it relies on local rules and sparse math, PAM is exceptionally efficient, running entirely on CPUs and training orders of magnitude faster than competing predictive coding models.

Summary updated

BibTeX
@inproceedings{mounir2024predictive,
  author = {Ramy Mounir and Sudeep Sarkar},
  title = {{Predictive Attractor Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=lxhoVDf1Sw},
}
Figure