Large language models (LLMs) become static after pretraining, their knowledge frozen in time. Retraining is prohibitively expensive, and fine-tuning often triggers catastrophic forgetting. Retrieval-augmented generation (RAG) struggles when answers require reasoning across many documents.
A team of researchers from the National University of Singapore, MIT CSAIL, A*STAR, and SMART has unveiled MEMO (Memory as a Model), a modular framework that trains a dedicated memory model to internalize new knowledge while leaving the main LLM untouched.
How MEMO Works
MEMO separates memory from reasoning. A small language model—the MEMORY model—is trained to absorb knowledge from a target corpus. The EXECUTIVE model (the main LLM) remains frozen and is queried only through its standard input-output interface. In experiments, the MEMORY model is Qwen2.5-14B-Instruct, while the EXECUTIVE model is either Qwen2.5-32B-Instruct or the proprietary Gemini-3-Flash. Because MEMO treats the EXECUTIVE model as a black box, it requires no weight access or logits.
Training the MEMORY Model
Training starts with a five-step data synthesis pipeline that converts raw documents into a reflection QA dataset:
- Fact extraction – directly stated and inferred facts are extracted per document chunk.
- Consolidation – QA pairs sharing a common context are merged into multi-fact pairs.
- Verification and rewriting – pairs with ambiguous references are corrected or discarded.
- Entity surfacing – questions encode entity attributes and relationships, targeting the reversal curse.
- Cross-document synthesis – the GENERATOR model constructs QA pairs spanning multiple documents, identifying converging clues and parallel properties.
Step 5 is critical: removing it drops accuracy from 24.00% to 6.37% on NarrativeQA. The MEMORY model is then fine-tuned via supervised fine-tuning on answer tokens only. Source documents are never provided at inference; the model must answer from internalized knowledge.
Inference Protocol
At inference, the EXECUTIVE model queries the MEMORY model through a structured multi-turn protocol:
- Grounding – decomposes the query into atomic sub-questions.
- Entity identification – issues targeted follow-up sub-queries to narrow down candidate entities.
- Answer seeking and synthesis – queries for supporting facts and synthesizes a final answer.
Because the MEMORY model's responses are compact, retrieval cost does not scale with corpus size, unlike RAG.
Experimental Results
MEMO was evaluated on three benchmarks: BrowseComp-Plus (multi-hop deep research), NarrativeQA (discourse understanding over books and movie scripts), and MuSiQue (2–4 hop reasoning over Wikipedia paragraphs).
With Gemini-3-Flash as the EXECUTIVE model:
- NarrativeQA: 53.58% (vs. HippoRAG2's 23.21%)
- MuSiQue: 60.20% (vs. HippoRAG2's 57.00%)
- BrowseComp-Plus: 66.67% (vs. HippoRAG2's 66.33%)
The MEMORY model is not retrained when the EXECUTIVE model changes, yet switching from Qwen2.5-32B-Instruct to Gemini-3-Flash yields accuracy gains of up to 26.73 percentage points.
MEMO is also robust to retrieval noise. When distractor documents are added, NV-Embed-V2 and HippoRAG2 drop by up to 6.22%, while MEMO's accuracy changes by +0.55%—within one standard deviation.
Continual Knowledge Integration via Model Merging
MEMO supports incremental updates through model merging. A new MEMORY model is trained independently on a new corpus, and its task vector is merged with the existing model using TIES merging. At K=10 corpora, merging achieves a 5.5× speedup (240 vs. 1,320 GPU-hours) compared to full retraining, though with some accuracy loss. Despite that gap, the merged model still outperforms all retrieval baselines on NarrativeQA.
Why It Matters
MEMO offers a practical way to keep LLMs up to date without the expense of retraining. By treating memory as a separate, modular component, it avoids catastrophic forgetting, works with proprietary black-box models, and scales gracefully as new knowledge is added. The framework could be a key enabler for applications that require continuously evolving domain knowledge.