← Latest papers
🤖 machine learning

Consolidator: Learning Persistent Routed Memory Across Context Boundaries

The paper introduces Consolidator, a lightweight shared operator that transforms short-term memory into persistent long-term memory without token replay, demonstrating that learned consolidation combined with hierarchical routing significantly improves the retrieval of updated mappings across context boundaries compared to identity accumulation.

Original authors: Sungwoo Goo, Hwi-yeol Yun, Sangkeun Jung

Published 2026-08-13
📖 4 min read☕ Coffee break read

Original authors: Sungwoo Goo, Hwi-yeol Yun, Sangkeun Jung

Original paper licensed under CC BY 4.0 (http://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 your brain as a super-fast, super-organized library where new books (memories) are constantly being added to a "Just Arrived" cart. This cart is great for quick access, but it's tiny and gets cleared out the moment you walk away from the desk. In the world of artificial intelligence, specifically a type of computer brain called a Transformer, this "Just Arrived" cart is known as Short-Term Memory (STM). It holds the most recent words and ideas so the computer can understand a sentence right now. However, once the sentence is done, the computer usually forgets it to make room for the next one.

To remember things for the long haul, computers have a Long-Term Memory (LTM), like a massive, slow-moving archive in the basement. The big question scientists have been asking is: How do we move a book from the "Just Arrived" cart to the basement archive without losing the story? A simple idea is to just copy the book and put it on the shelf. But there's a catch: if you just copy a book that says "The sky is blue" and later try to update it to "The sky is red," a simple copy might just pile the new information on top of the old, creating a messy, confusing mix. The real challenge is figuring out how to learn how to update that memory correctly, so the computer knows exactly where to look and how to combine the old info with the new info, all without re-reading the original story.

This paper introduces a clever new tool called the Consolidator to solve this puzzle. Think of the Consolidator as a smart librarian who doesn't just copy books; they rewrite the summary on the fly before shelving it. The researchers tested this on a computer model called PMNet, which uses a special kind of memory that works like a set of rotating dials. They created a game where the computer had to learn a simple math rule (like "add 3 to the number") in the first round, and then change that rule to something new (like "add 7") in the second round, all while using the exact same "address" in its memory.

Here is the magic trick: After the first round, the computer's "Just Arrived" cart was completely emptied. Usually, this would mean the computer forgets everything. But because the Consolidator had already moved the rule into the long-term archive, the computer could still remember it. Even cooler, when the second round came and the rule changed, the Consolidator didn't just dump the new rule on top of the old one. It learned how to accumulate the new information with the old, effectively transforming the stored state so the "add 3" was updated to reflect "add 7" in its place.

The researchers found that when they let the Consolidator learn how to do this, the computer got the updated rule right 87.02% of the time. But when they forced the computer to just blindly copy the old memory without learning how to revise it (an "identity" approach), it only got it right 18.32% of the time. This proves that simply copying memory isn't enough; you need a smart, learned process to update it correctly.

Even more fascinating, the researchers discovered that this long-term memory does double duty. It's not just a place where facts are stored; it also acts like a GPS signal that helps the computer decide where to look next. When they turned off the part of the system that uses the long-term memory to guide these decisions, the computer's performance dropped from 87.02% down to 44.38%, even though the memory itself was still there. This means the Consolidator didn't just save the answer; it taught the computer how to find the right spot in its brain to write and read the new information.

The best part? The researchers didn't have to retrain the whole giant computer brain to make this work. They froze 99.96% of the model and only trained a tiny, specialized part—the Consolidator—which has only 12,350 adjustable settings (compared to the model's nearly 30 million total). This tiny piece of code was enough to turn a forgetful computer into one that could learn, update, and remember new rules across different "sessions" without needing to re-read the old instructions. It's a small step toward giving computers the ability to truly learn and adapt over time, just like we do.

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 →