Persistent learning signals and working memory without continuous attractors

Il Memming Park, Ábel Ságodi, Piotr Aleksander SokólarXiv 2023 · DOI

Abstract

Working memory is essential for both biological and artificial intelligence, yet traditional models based on continuous attractors suffer from extreme sensitivity to perturbations—the fine-tuning problem. Furthermore, training recurrent neural networks (RNNs) over long durations is hindered by the vanishing gradient problem. This paper introduces Periodic Toroidal Attractors (PTAs) as a robust alternative. By leveraging stable oscillations rather than static fixed points, PTAs provide structurally stable memory and persistent learning signals. We demonstrate that PTA-initialized RNNs achieve state-of-the-art performance on long-range memory tasks and offer a biologically plausible model for robust neural representations, such as head direction.

Introduction: The Challenge of Working Memory

In both neuroscience and artificial intelligence, working memory is the capacity to maintain information over time to guide future behavior. For decades, the dominant theoretical framework has been the continuous attractor. Imagine a marble on a ring-shaped track; its position on the ring represents a specific memory, such as head direction or a spatial location.

The process of encoding a stimulus into neural activity and decoding it after an arbitrarily long interval to produce behavior.

However, continuous attractor models face a fatal flaw: they are mathematically "brittle." Known as the fine-tuning problem, even slight perturbations to the system's weights cause the attractor to collapse into a single point, destroying the stored information. In the context of machine learning, this relates to the Exploding and Vanishing Gradient Problem (EVGP), where signals used for learning either amplify uncontrollably or dissipate before they can bridge long temporal gaps.

Dynamics of Memory Systems

To understand why memory fails, we can look at the state-space trajectories of dynamical systems. In a "fading memory" system, all trajectories eventually converge to a single equilibrium point, meaning any initial difference (the "memory") is lost. In contrast, a stable memory system must maintain distinct states over time to preserve information.

Comparison between a fading memory system, where sensitivity decays to zero, and a bistable memory system with a separatrix.

The authors use Lyapunov exponents—a tool from dynamical systems theory—to quantify this sensitivity. While continuous attractors achieve the "zero Lyapunov exponents" necessary for persistent memory, they lack structural stability. They cannot survive the noise or synaptic weight changes (D-type noise) inherent in biological and physical systems.

The Periodic Toroidal Attractor (PTA) Framework

The researchers propose a new paradigm: Periodic Toroidal Attractors (PTA). Instead of relying on a static ring of stable points, they utilize a collection of independent oscillators. This approach offers several advantages:

  1. Structural Stability: Unlike continuous attractors, (quasi-)periodic attractors are robust to small changes in system parameters.
  2. Persistent Learning Signals: Oscillations naturally propagate signals without the decay seen in standard architectures, effectively solving the EVGP.
  3. Novel Initialization: The authors developed an RNN initialization scheme using $2 \times 2$ rotation blocks in the weight matrix, forcing the network into a stable oscillatory state from the start.

Experimental Results and Biological Realism

The PTA-initialized networks were evaluated against standard long-range memory benchmarks:

  • Copy Memory Task: In the $k=2000$ variant—a notoriously difficult test—only PTA-initialized networks (such as PTA-GRU) were able to learn the task reliably.
  • Permuted Sequential MNIST (psMNIST): The PTA-GRU achieved a state-of-the-art accuracy of 97.4%, outperforming specialized architectures like coRNN and LipschitzRNN.

Beyond machine learning, the authors applied this framework to biological modeling. They designed a circuit for head direction inspired by the Drosophila brain. By using the phase difference between two oscillators to represent direction, they created a "virtual" ring attractor. This model successfully replicates the "activity bump" seen in fruit flies while remaining robust to synaptic perturbations that would incapacitate traditional models.

Conclusion

This work suggests that the ubiquitous oscillations observed in the brain—such as alpha and gamma rhythms—are not merely side effects of neural activity. Instead, they may be the fundamental mechanism that allows the brain to maintain robust working memory and carry learning signals across long time intervals. By moving beyond the "ring" and embracing oscillatory dynamics, we can build AI systems and biological models that are both more powerful and more resilient.

Summary updated

BibTeX
@misc{park2023persistent,
  author = {Il Memming Park and Ábel Ságodi and Piotr Aleksander Sokól},
  title = {{Persistent learning signals and working memory without continuous attractors}},
  year = {2023},
  eprint = {2308.12585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.12585},
}
Figure