← Latest papers
💻 computer science

A Model That Does Not Forget. A Logbook That Corrects and a Sleep That Consolidates, on a Frozen Language Model

This paper presents a memory system for frozen language models that combines an external logbook with periodic LoRA-based consolidation, achieving high accuracy and stability over time while significantly reducing computational costs compared to knowledge editing and RAG methods, though it still struggles with spurious composition on untaught relations.

Original authors: Maximiliano Rodrigo Speranza

Published 2026-09-29
📖 5 min read🧠 Deep dive

Original authors: Maximiliano Rodrigo Speranza

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a digital assistant that lives in your pocket, one that you ask questions to every single day. For this assistant to be truly useful, it needs to do more than just know facts about the world; it needs to remember the specific history of your conversations. It must recall that you told it your dog's name was Toby last week, but that you corrected yourself this week to say you actually have two dogs, Toby and Luna. It needs to hold onto that change without getting confused, and it needs to know when to say, "I don't know," if you ask about something it has never heard of. This is the challenge of building a machine that learns continuously without forgetting what it already knows, a problem that has long stumped scientists working on artificial intelligence.

The core difficulty lies in how these computer programs store information. Traditionally, when a model learns something new, it has to rewrite its internal memory, which often causes it to accidentally erase old memories. This is like trying to write a new note in a notebook by scribbling over an old one; the new information gets in, but the old one is lost. Other methods try to keep a separate list of facts outside the main memory, but as that list grows, the system becomes slow and expensive to use. Researchers wanted to find a way for a frozen computer model—one that does not change its core structure—to remember hundreds of facts, correct them when they change, and still know when to admit ignorance, all without slowing down as the history gets longer.

A researcher named Maximiliano Speranza tackled this by testing a two-part system on a small, frozen language model. The first part is a "logbook," which is an external record that stores every fact along with its version history. This logbook acts like a quick-reference sheet that the model can check whenever it needs to know the latest version of a story. The second part is a process called "sleep," which happens periodically. During these sleep cycles, the model takes the most recent facts from the logbook and practices them, slowly moving them into a small, adjustable memory component attached to the main model. This consolidation ensures that recent memories become part of the model's permanent knowledge, so it doesn't have to rely on the logbook forever.

The experiment involved a series of eight weeks, where the model learned 100 new facts each week. The key to making this work was not just the logbook or the sleep cycles alone, but a specific technique used during the sleep. The model was required to replay the facts it had learned in previous weeks, practicing them alongside the new information. This rehearsal was crucial. When the researchers removed this replay step, the model forgot everything it had learned in the first week almost immediately, dropping its accuracy from nearly perfect to almost zero in a single session. The replay acted as a glue, holding the old memories in place while new ones were added.

The results showed that this method was remarkably effective at preventing forgetting. After eight weeks of learning new facts, the model still remembered the facts from the very first week with an accuracy between 88 and 97 percent. In contrast, other existing methods that try to update the model's memory directly without this sleep-and-replay process failed miserably. Those methods retained only 1 to 10 percent of the first week's facts by the eighth week and, worse, they damaged the model's ability to perform other tasks it had never been taught to change. The new approach, however, kept the model's other skills intact, proving that it could learn new things without breaking what it already knew.

The system also excelled at knowing what it did not know. When asked about facts it had never been taught, the model correctly said "I don't know" most of the time. However, the researchers found a specific limit to this ability. When the model was asked a question that combined two things it did know—a known person and a known relationship it had never seen before—it sometimes made up an answer instead of admitting ignorance. This happened in about half of the cases by the end of the experiment. The researchers tried to fix this by spreading the facts out more evenly, but that did not change the result. This suggests that the model has a tendency to guess when it recognizes parts of a question, even if the specific combination is new.

Finally, the study compared this two-channel system to a common alternative called retrieval-augmented generation, which works by pasting the entire conversation history into the model's prompt every time it is asked a question. While both methods achieved similar accuracy, the new system was vastly more efficient. The logbook system processed only 16 words per question, whereas the alternative method had to process hundreds or even thousands of words as the history grew. This difference means the new system remains fast and cheap to run even after months of use, while the other method would eventually become too slow and expensive to be practical.

The work demonstrates that a computer model can be taught to remember a long, changing history without forgetting the past, provided it is given a way to rehearse old facts while learning new ones. It shows that the key to continuous learning is not just storing information, but actively practicing it in a way that reinforces the old while integrating the new. While the system still struggles with a specific type of guessing error when combining known facts, it offers a clear path forward for building assistants that can truly remember and learn from their users over time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →