pebble

Recall with a fixed memory

Can a model remember new information without its memory growing with every word?

Paper available on arXiv.

A Transformer normally keeps a growing record of the context it has read. That helps it refer back to earlier information, but longer conversations require more memory. A different approach is to keep updating a fixed-size memory as new information arrives.

This paper studies whether a small model can learn to remember new associations that way, and whether they survive a longer delay before the question.

The experiment

Each sequence introduces 32 new pairs of items. Later, the model is given one item and must choose its partner. The pairings change between sequences, so remembering the training examples is not enough.

We train a small DeltaNet model, which updates a matrix as it reads. Its stored state occupies 32 KiB regardless of sequence length. We then add longer stretches of filler before the query to test whether it retains the same pairs.

What we found

The model recalled the correct partner with 99.95% average accuracy across three training runs. Recall stayed near perfect with the longer filler sequences. Erasing the first memory block removed that ability, confirming that the model depended on what it had stored there.

What this tells us

The model learned to retain a fixed set of new associations through the tested delays. Remembering the same information for longer is different from storing more information; this experiment does not establish how many pairs the memory could ultimately hold.

The comparison models, including a Transformer, did not learn the task. That remains unresolved, so these results do not establish a memory-efficiency advantage over a working Transformer. They document one small model’s learned recall. The capacity study asks the separate question of how much a fixed memory can hold.

The paper

Constant-Memory Recall: Learned Associations in a Fixed Matrix State
Samuel Larson, Pebble ML.

arXiv:2610.00232 · Read the PDF · BibTeX

Earlier experiment note · How the memory studies fit together

Back to research