Stochastic consolidation of lifelong memory

Nimrod Shaham, Jay Chandra, Gabriel Kreiman, Haim Sompolinsky

Abstract

Humans have the remarkable ability to continually store new memories, while maintaining old memories for a lifetime. How the brain avoids catastrophic forgetting of memories due to interference between encoded memories is an open problem in computational neuroscience. Here we present a model for continual learning in a recurrent neural network combining Hebbian learning, synaptic decay and a novel memory consolidation mechanism: memories undergo stochastic rehearsals with rates proportional to the memory's basin of attraction, causing self-amplified consolidation. This mechanism gives rise to memory lifetimes that extend much longer than the synaptic decay time, and retrieval probability of memories that gracefully decays with their age. The number of retrievable memories is proportional to a power of the number of neurons. Perturbations to the circuit model cause temporally-graded retrograde and anterograde deficits, mimicking observed memory impairments following neurological trauma.

Introduction: The Stability-Plasticity Dilemma

Artificial neural networks and early brain models often struggle with the stability-plasticity dilemma: a network that is too plastic quickly overwrites old information (catastrophic forgetting), while one that is too stable cannot learn new patterns. Most existing "continual learning" models are palimpsestic, meaning they act like a parchment that is scraped clean for reuse. These models typically show a sharp "cliff-edge" cutoff where recent memories are perfectly preserved, but anything older than a specific critical age is abruptly destroyed. This deterministic behavior fails to match human reality, where memory retrieval probability decays gracefully over time.

The Model: Stochastic Rehearsal and Self-Amplification

The researchers developed a recurrent neural network (a sparse Hopfield attractor network) governed by three simultaneous processes: Hebbian learning for new patterns, spontaneous synaptic decay, and a novel stochastic rehearsal mechanism.

In this model, the network periodically reactivates stored memories. Crucially, the rate of rehearsal for a specific memory is proportional to its basin of attraction—the "size" of the memory's footprint in the network. This creates a "rich get richer" effect: strong memories are rehearsed more often, which reinforces them further (self-amplified consolidation). Because rehearsals are modeled as a random (Poisson) process, forgetting becomes probabilistic. If a random gap between rehearsals is too long, a memory's strength may drop below a critical threshold, causing its basin of attraction to vanish and the memory to be lost forever.

Figure 1: Stochastic trajectories of memory strength (A) over time. Different colored lines represent individual memories. When a memory's strength fluctuates below the critical threshold $A_c$ (red dashed line), it is forgotten.

Key Results: Graceful Forgetting and Capacity

This stochastic approach allows memory lifetimes to extend orders of magnitude longer than the underlying synaptic decay time ($\tau$). Unlike palimpsestic models with a sharp cutoff, the aggregate retrieval probability across many memories in this model decays gracefully, matching exponential or power-law curves observed in human psychological data.

At the individual memory level, retrieval remains an "all-or-nothing" phenomenon. As long as a memory's strength ($A$) remains above the critical threshold ($A_c$), it can be retrieved with near-perfect fidelity (high overlap). Once it falls below this threshold, retrieval fails completely.

Figure 2: (a) The decay of memory strength A toward the critical threshold $A_c$. (b) The corresponding retrieval overlap, showing that individual memories are retrieved with high fidelity until they hit the threshold and are lost.

Clinical Mimicry and Scaling

By perturbing the model with synaptic noise, the authors successfully replicated two types of clinical memory loss:

  • Retrograde Amnesia: A "temporally-graded" deficit (Ribot’s Law) where recent, unconsolidated memories are lost while very old, well-consolidated memories survive.
  • Anterograde Amnesia: The same perturbations reduce the system's ability to consolidate new memories moving forward.

Furthermore, the model demonstrates that the number of retrievable memories scales as a power of the number of neurons ($N^{power}$), where the power approaches 1 (linear scaling) as the rehearsal rate increases. This suggests that large-scale biological circuits can maintain a massive body of memories that scales robustly with network size.

Conclusion

By introducing stochasticity into the consolidation process, this model provides a biologically plausible bridge between the physical decay of synapses and the lifelong persistence of human memory. The interplay between random rehearsal and self-amplification allows the brain to maintain a vast library of knowledge while exhibiting the graceful forgetting characteristic of natural intelligence.

Summary updated

BibTeX
@inproceedings{shaham2022stochastic,
  author = {Nimrod Shaham and Jay Chandra and Gabriel Kreiman and Haim Sompolinsky},
  title = {{Stochastic consolidation of lifelong memory}},
  booktitle = {Scientific},
  year = {2022},
  doi = {10.1038/s41598-022-16407-9},
}
Figure