Joint work with Samuel J. Gershman (Harvard University).
My earlier computational neuroscience work asked how a stored memory is recalled (see neural backtracking). This work is about the companion question: when something new happens, where does the brain store it, without erasing what was already there?
The principle
I believe that the answer is a simple rule, which we propose as a candidate principle:
Familiar features reuse committed neurons. Novelty, including the mere passage of time, recruits uncommitted ones.
This has two consequences:
- Reuse. When a cue is familiar, the neurons that encoded it are active again, and the memory they belong to is retrieved.
- Append. When no stored memory explains the current cue well enough, a new memory is allocated on neurons that are not yet committed. The old memory is left as it was.
Plasticity follows the same division of labor (reused neurons maintain stability, new neurons enable learning): newly recruited neurons are the most plastic and, with use, their plasticity decreases, until the memory is consolidated and protected from further modification. In the extreme form of the principle, which is also the most stable one in our simulations, committed neurons are simply frozen: always append, never overwrite.
Time plays an important role here: time cells give each moment its own signature, so that a repeated cue is never exactly the same input (even “the same” experience, days later, is partly novel).
The test case: fear extinction
A rat hears a tone followed by a shock, and learns to freeze at the tone. Then the tone is played many times with no shock, and the freezing stops. Did the rat erase the fear memory?
It did not: if we put the rat back in the original place, or if we simply wait, the fear returns (renewal, spontaneous recovery). In our model, extinction appends a second, “no fear” memory next to the fear memory, and the two compete at retrieval. The fear memory itself is never changed.
Using only this rule, a small neural model reproduces five fear-conditioning phenomena over a large range of parameters, without ever modifying a consolidated memory. It also reproduces the Monfils-Schiller effect (a reminder shortly before extinction makes fear less likely to return). This effect is often attributed to reconsolidation, i.e. the modification of the original memory when it is retrieved. Our model suggests instead that the original fear memory is left intact: the reminder appends a bridge memory, which gets linked to the original fear memory during offline replay, and this link is what brings “no shock” back at test time. This account predicts that the effect is inherently fragile and depends on intensive offline replay, which is consistent with the mixed empirical record.
The model learns with local, Hebbian rules only (neurons that are active together get linked): no prediction error drives the weight updates. Interestingly, what is typically modeled as a single prediction error separates here into two independent signals: a novelty signal, which allocates the new neurons, and an outcome mismatch signal, which activates the safety circuit when an expected outcome (the shock) fails to arrive.
How does this relate to latent cause theory (Gershman et al., 2017)? Latent cause theory is a computational account of how the brain decides whether to update an existing memory or to form a new one, but it leaves unspecified the neural mechanisms. Reuse-and-Append is a set of mechanistic principles that achieve the same goal, through sparse neural coding, Hebbian learning and pattern matching.
Papers
-
Preprint: Zied Ben Houidi and Samuel J. Gershman, “The Reuse-and-Append Memory Principle: Application to Latent Cause Inference.” bioRxiv, 2026. doi:10.64898/2026.09.09.750332. Code.
-
Society for Neuroscience Annual Meeting 2026: “Memory is appended, not overwritten: a neural model of fear extinction, renewal, and the fragile Monfils-Schiller effect.” Poster.
Link with AI
Unfortunately, artificial neural networks do the opposite: they overwrite old memories, and therefore forget. Whether this principle can help them is what I explore in my work on learning without forgetting in LLMs.