Enabling LLMs to acquire new knowledge after training remains a major hurdle for enterprise AI — current solutions are either too expensive, too slow, or constrained by context window limits.
MeMo, a framework from researchers at multiple universities, encodes new knowledge into a dedicated smaller memory model that operates separately from the main LLM.
The modular architecture works with both open- and closed-source models and sidesteps the complexity of RAG pipelines and full model retraining.
Experiments show that MeMo handles complex queries reliably even when retrieval pipelines are noisy. It avoids the catastrophic forgetting associated with direct fine-tuning and provides a cost-effective pathway for continuous knowledge updates.
The challenge of updating LLM memory
Large language models are frozen after training and their internal knowledge remains static until they undergo subsequent, computationally massive updates.
Currently, developers rely on three main approaches to integrate external knowledge into an LLM, each with distinct drawbacks:
Non-parametric methods, such as retrieval-augmented generation (RAG) and in-context learning, retrieve relevant documents from an external database and insert them directly into the model’s prompt. While popular, these methods are limited by context window sizes.
As Armando Solar-Lezama, a co-author of the paper, told VentureBeat, “Vector databases have a fundamentally difficult job of encoding the full semantics of a chunk of text in a single vector, and then match that vector to a query, even when the relevance of the chunk… may only be apparent in the context of other chunks.”
The researchers note that the semantic similarity of embeddings often does not correspond to what a user’s query actually requires. Processing thousands of retrieved tokens also creates substantial computational overhead and inference latency. Most problematically, RAG systems are highly sensitive to noise. Irrelevant or poorly retrieved passages often degrade the model’s final response.
Parametric methods, like continual pretraining or supervised fine-tuning, attempt to internalize new knowledge directly into the LLM’s weights. Updating modern, massive LLMs is prohibitively expensive and typically impossible for proprietary, closed-source models hidden behind APIs. Fine-tuning is also prone to causing catastrophic forgetting. Forcing the model to adapt to new corporate data often erodes its previously acquired reasoning capabilities and safety guardrails.
Latent memory methods, such as context compression, offer a middle ground. They compress knowledge into compact “soft tokens” or representations that are added to the model’s context during inference. The fatal flaw here is “representation coupling.” The compressed memory is strictly bound to the model architecture that produced it; you can’t transfer a latent memory trained on an open-source model to a closed-source one.
How MeMo works
The MeMo (Memory as a Model) framework introduces a modular architecture featuring two separate components. The MEMORY model is a small language model trained specifically to encode new knowledge into its parameters. The EXECUTIVE model is a frozen, off-the-shelf LLM that functions as the reasoning engine. When a user asks a question, the EXECUTIVE model treats the MEMORY model as an external oracle, issuing targeted sub-queries to gather facts and synthesizing those facts into a final answer.
The core design principle driving MeMo is the concept of “reflections.” Reflections are targeted question-answer (QA) pairs designed to capture every possible angle of a knowledge corpus. Rather than forcing the AI to process a massive, unstructured document corpus during training, MeMo uses a GENERATOR model to distill the raw text into thousands of targeted QA pairs. The MEMORY model is then fine-tuned on this dataset to answer questions using only its parametric knowledge without the need to read retrieved context.
At inference time, the interaction between the two models follows a structured, three-stage protocol:
1. The EXECUTIVE model decomposes a user’s complex query into a set of atomic sub-questions. The MEMORY model answers each independently to establish the basic facts.
2. Using those initial clues, the EXECUTIVE model issues follow-up queries to narrow down candidate entities until it confidently converges on a specific target.
3. Finally, the EXECUTIVE model queries the MEMORY model for supporting facts about that target entity and synthesizes the retrieved snippets into a cohesive answer.
This architecture merges the strengths of the three existing AI memory paradigms while bypassing their pitfalls. It leverages off-the-shelf frontier models by keeping memory storage separate from reasoning, guaranteeing compatibility with both open-weight and closed API models. It internalizes knowledge directly into parameters, but isolates the updates to a smaller, dedicated MEMORY model to protect the reasoning engine. Finally, it creates a queryable memory artifact that is not tied to any specific model and can be used with different LLM families.
Handling continual knowledge updates
Managing an AI’s memory requires continuous updates as company policies change and new reports are published. Normally, updating a model’s parameters requires retraining it from scratch on both the old and the new data combined. As the knowledge base grows, this cumulative retraining cost becomes unmanageable.
To handle continual updates efficiently, MeMo relies on a technique called “model merging.” Instead of a massive joint retraining phase, MeMo trains a new, independent MEMORY model exclusively on the newly added documents. The system derives a “task vector” representing the parameter changes learned from the fresh data. These updates are then mathematically merged into the weights of the original MEMORY model.
This approach reduces the computing hours required to keep the system current while avoiding the interference that causes catastrophic forgetting.
This efficiency comes with a trade-off: model merging incurs an 11% to 19% accuracy drop compared to a full retrain, depending on the reasoning model used.
MeMo in action
To measure real-world effectiveness, the research team evaluated MeMo against several industry benchmarks that require complex, multi-hop reasoning across multiple documents.
The researchers used Qwen2.5-32B-Instruct as the GENERATOR model to distill raw text into reflections. For the primary MEMORY model, they deployed Qwen2.5-14B-Instruct. They also validated the approach on smaller 1-2B parameter models across different architectures, including Gemma3-1B.
For the EXECUTIVE reasoning model, they tested both the open-weight Qwen2.5-32B and Google’s proprietary Gemini 3 Flash.
They benchmarked MeMo against a “Perfect Retrieval” upper bound (where the exact correct documents are manually provided) and several advanced retrieval systems, including traditional BM25 search, dense vector retrieval, and state-of-the-art graph-based RAG (HippoRAG2). They also tested “Cartridges,” a recent method that loads a trained KV-cache onto the model during inference.
MeMo dominated in long-document reasoning. On the NarrativeQA benchmark, MeMo achieved 53.58% accuracy paired with Gemini 3 Flash, according to the researchers. HippoRAG2 maxed out at 23.21%.
Enterprise systems frequently need to synthesize complex answers, such as traversing overlapping regulatory frameworks written independently by different bodies, or consolidating insights across a massive codebase and external documentation. Traditional RAG systems falter here because they hit context window limits and fail to connect concepts spanning hundreds of pages. MeMo succeeds because those connections are mapped and internalized inside the MEMORY model during training. It is “like having your very own Malcolm Gladwell that can connect the story of the Beatles with the story of Bill Gates to make an argument about the nature of expertise,” Solar-Lezama said.
The experiments revealed another major advantage: upgrading the reasoning engine requires zero retraining. Simply switching the EXECUTIVE model from the open-source Qwen to the proprietary Gemini 3 Flash boosted MeMo’s performance by 26.73% on NarrativeQA and 11.90% on the MuSiQue benchmark. For practitioners, this means you can train a MEMORY model securely on your private data and instantly plug it into the latest commercial APIs, continuously upgrading system intelligence without incurring new training costs.
The research team described the integration as requiring no additional setup: “The base (or Executive) LLM that teams are already using in RAG can be configured to query the Memory model directly. These queries are done in natural language, similar to sending a message request to an API, with no additional setup required.”
MeMo also handles noisy data exceptionally well. When researchers deliberately flooded the dataset with irrelevant documents (up to twice the amount of the useful information), HippoRAG2’s performance dropped by 11.55%. MeMo’s performance remained relatively stable, dropping less than 2%. Enterprise knowledge bases are typically messy, filled with duplicate documents and outdated policies. Standard RAG systems struggle with this noise, pulling incorrect paragraphs into the prompt and causing hallucinations. Because MeMo’s EXECUTIVE model interacts with a synthesized oracle rather than raw document chunks, it remains highly robust against disorganized corporate data.
Limitations and trade-offs
For engineering teams looking to deploy MeMo, there are several key limitations to consider.
Unlike traditional RAG systems that quickly index raw documents into a vector database, MeMo requires an upfront training cost for each new corpus. The data generation pipeline used to synthesize the training reflections is computationally expensive. For example, the team noted that “generating the full reflection QA dataset took approximately 240 GPU-hours on NVIDIA H200s,” while training a 14B parameter MEMORY model “took approximately 180 H200 GPU-hours.” As Solar-Lezama said, “Reducing the training cost is one of the most significant open research problems in order to make this a workhorse technique.”
Because the MEMORY model is a fixed-size neural network, its ability to internalize knowledge is bounded by its representational capacity. While the researchers did not hit a hard limit during their benchmarking, they hypothesize that “sufficiently large or information-dense corpora will exceed what a fixed-size MEMORY model can correctly compress and represent.”
Finally, because MeMo synthesizes answers from parametric memory rather than retrieving exact text snippets, it obscures the provenance of the information. This makes it difficult to attribute specific claims to original source documents, which poses a critical compliance issue for enterprise applications requiring strict audit trails.
Deciding between MeMo and traditional RAG comes down to a heuristic of “lookup vs. synthesis,” alongside data volatility. The researchers advise that “traditional RAG would be preferred when answers live in a single document or when there is a well-defined source… MeMo would be preferred when the task shifts from lookup to synthesizing an answer from information scattered across multiple chunks.” If your knowledge corpus changes rapidly (e.g., daily feeds) and you require exact source citations, RAG remains the better option due to the upfront training cost of MeMo. If your corpus consists of generalized domain knowledge that evolves slowly relative to its volume, MeMo offers vastly superior reasoning. Teams can also adopt a hybrid routing architecture in production: sending “lookup” queries to a standard vector database and “synthesis” queries to the MEMORY model.
“Looking further out, I would expect memory models to become a standard architectural component alongside retrieval,” Daniela Rus, co-author of the paper and director of the MIT Computer Science and Artificial Intelligence Lab (CSAIL), told VentureBeat, “in the same way that caching and indexing are standard components of any serious data system today.”
