NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Language Model Memory and Memory Models for Language

Benjamin L Badger

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Transformer Models · Type: new method · Keywords: language model memory, model embeddings, information retention, encoder-decoder architecture, curriculum training

Areas: Memory › Memory mechanisms › Memory Augmentation; Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Memory and Reasoning

Summary

The paper shows that causal language models have limited memory capacity, proposes a parallelizable encoder-decoder memory model that can form information-rich memories using combined objectives and curriculum training, and demonstrates its efficiency.

Explained to a 5-year-old

Computers learn to guess the next word, but they don't keep the earlier words in memory. The paper shows that even when they are trained a lot, they still remember very little. They also found that a different kind of computer called an autoencoder can remember almost everything it sees. So they built a new kind of computer that can both remember and predict, using a step-by-step teaching method. This helps computers use less work and remember information better for later use.

Explained to a 5-year-old, longer

When we talk to a computer, it tries to guess the next word after each word we type. It does this by learning from lots of examples, but it doesn't keep the earlier words in its brain. The paper looked at these computers and found that even when they are trained a lot, they still remember very little. They also looked at a different kind of computer called an autoencoder that is trained to rebuild what it sees. This autoencoder can remember almost everything it has seen, like a perfect photo album. The researchers wanted to make a computer that could both remember well and predict the next word. They built a new kind of computer that works like two parts: an encoder that stores information and a decoder that reads it. They taught this computer using two goals at the same time: one to predict the next word and one to keep the memory. To make learning easier, they first taught the encoder to store memories well, then taught the decoder to use those memories. After learning, the computer can retrieve the stored information quickly, which saves time and computer power. This new way helps computers remember more accurately, which could be useful for many tasks that need memory. Overall, the paper shows that just predicting the next word is not enough for good memory, and a combined approach works better.

For a technical reader

The paper investigates how well language models retain the input they see during training. It finds that standard causal models store very little of the input, limiting their ability to retrieve arbitrary information later. In contrast, autoencoders trained to reconstruct inputs can store almost everything, suggesting a better memory paradigm. The authors propose a parallel encoder-decoder architecture that jointly optimizes next-token prediction and memory retention, using a curriculum where a frozen encoder first captures memories before decoders learn token prediction. This combined objective and staged training enable efficient, information-rich memory formation, demonstrating that next-token prediction alone is insufficient for accurate memory.

Problem

Machine learning models' ability to store input information in hidden embeddings is not well understood, and causal language models often retain little input information despite scaling, limiting their utility for memory-intensive tasks.

Method

They propose a parallelizable encoder-decoder model that jointly optimizes next-token prediction and information retention, enabling the formation of rich, decodable memories. Training uses a curriculum where a frozen high-fidelity encoder first processes memories and decoders later learn to predict tokens.

Results

Causal language models retain little input information even at large scale, while autoencoder embeddings achieve near-perfect memory; the proposed encoder-decoder model with combined objectives and curriculum training efficiently forms and decodes rich memories, showing that next-token prediction alone is insufficient.

Contributions

The work characterizes memory limitations of causal language models, demonstrates superior memory formation in autoencoders, and introduces a curriculum-based encoder-decoder architecture with joint objectives for scalable, information-rich model memory.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction