R379 · Agent architecture › Memory and context

MeMo: knowledge in a small model's weights, and the distractor result that matters

Read the original

agent-memoryretrievalmulti-hopknowledge-in-weightsbenchmarksclaim-checking

Source: "MeMo: Memory as a Model", arXiv:2605.15156v2 (submitted 2026-05-14, v2 2026-05-20). Tables 2 through 5, the method and the main results below come from the paper's main text. Everything beyond Section 5.5, including the limitations section, cost figures and several ablation tables, is marked unverified below and is not confirmed against the main text. The paper names no venue.

Authorship, since it is routinely misreported: Quek, Lee, Leong, Verma, Prakash, Chen, Low, Rus and Solar-Lezama, across the NUS Institute of Data Science, NUS Computer Science, A*STAR, University of Tokyo, Liquid AI, MIT CSAIL, AI Singapore and the Singapore-MIT Alliance (SMART). The corresponding author is at SMART. It is a Singapore-led paper with MIT co-authors, not an MIT paper, and at six months old it is not new.

The idea

Retrieval has a structural blind spot on multi-hop questions: the fact that links two documents often looks nothing like the question, so the retriever never fetches it. MeMo's answer is to move that linking work from query time to training time.

Three parts:

  1. A frozen generator turns the corpus into QA pairs. Qwen2.5-32B-Instruct via vLLM with YaRN at 131K context, in a five-step pipeline: extract direct and indirect facts; consolidate into multi-fact pairs; verify and rewrite each pair to be self-contained, discarding what stays ambiguous; surface entities; and synthesise across document groups. The pairs carry no document IDs or watermarks.

  2. A small memory model is fine-tuned on those pairs and never sees the documents. Initialised from Qwen2.5-14B-Instruct; supervised fine-tuning with next-token loss on answer tokens only, 3 epochs, fused AdamW, DeepSpeed stage 2, learning rate 2e-5. Everything it knows is in its weights.

  3. At query time the main LLM stays frozen and treats the memory as an oracle. Stage 1 decomposes the query into J adaptive atomic sub-questions, each answered independently. Stage 2 narrows candidate entities with iterative follow-ups until one is chosen or the budget runs out. Stage 3 asks follow-ups about that entity, then an executive writes the answer. The two models exchange nothing but text, which is why a closed model can be dropped in.

The results, with the ceiling included

Benchmarks: BrowseComp-Plus (300 questions, 3,541 docs), NarrativeQA (293, 105), MuSiQue (1,000, 5,296). Binary accuracy judged by Gemini-2.5-Flash-Lite through DeepEval; mean ± std over 3 runs with the Qwen executive, single run for Gemini-3-Flash. Retrieval uses top-k=9 with adaptive backoff.

MethodBCP (Qwen / Gemini)NarrativeQAMuSiQue
Perfect Retrieval (oracle)79.67 ± 1.45 / 88.3351.42 ± 0.52 / 60.4162.83 ± 0.90 / 73.00
BM251.11 ± 0.69 / 27.0010.24 ± 0.34 / 14.3320.00 ± 0.30 / 23.20
NV-Embed-V250.67 ± 0.33 / 57.0020.59 ± 0.86 / 26.6237.47 ± 0.15 / 46.60
HippoRAG2 (graph)56.11 ± 0.51 / 66.3321.39 ± 0.20 / 23.2142.17 ± 0.12 / 57.00
Cartridges0.00 ± 0.00 / —3.75 ± 0.11 / —8.57 ± 0.40 / —
MeMo54.22 ± 0.84 / 66.6726.85 ± 0.39 / 53.5848.30 ± 1.25 / 60.20

Read carefully, this is two wins and one loss, not a sweep. Against the only graph baseline in the paper, MeMo wins NarrativeQA (26.85 vs 21.39) and MuSiQue (48.30 vs 42.17), and loses BrowseComp-Plus with the Qwen executive, 54.22 against 56.11 — the paper calls it narrow and states no delta. Secondary coverage that says MeMo beat graph RAG is not describing the BCP column.

The oracle row is the one to keep. Perfect retrieval reaches 79.67 on BCP where MeMo gets 54.22, and 51.42 on NarrativeQA where MeMo gets 26.85 with the Qwen executive. MeMo is not close to the ceiling on two of three benchmarks. It is a better way of being far from it, which is a real result and a smaller one than "fixes RAG".

Two footnotes worth carrying: the HippoRAG2 figures differ from its own paper because that work used Llama3.3-70B-Instruct, and Cartridges is absent from the Gemini column because it needs white-box access. GraphRAG and LightRAG are not evaluated at all.

The distractor result is the actual contribution

This is the table the summaries skip, and it is the reason to care. Doubling the distractor documents (0×N to 1×N, N = 1,775 for BCP and 2,648 for MuSiQue), with the Qwen executive:

MethodBCPMuSiQue
NV-Embed-V256.89 → 50.67 (−6.22)42.30 → 37.47 (−4.83)
HippoRAG262.33 → 56.11 (−6.22)47.33 → 42.17 (−5.16)
MeMo53.67 → 54.22 (+0.55)50.07 → 48.30 (−1.77)

Every retrieval method loses roughly 5 to 6 points; MeMo moves within one standard deviation. The paper attributes this to the executive receiving precise answers to sub-queries rather than raw chunks.

That is the finding with engineering consequences. Retrieval quality degrades with corpus noise; a weights-resident memory does not. Note also what the undistracted column shows: at 0×N, HippoRAG2 leads BCP by 8.7 points (62.33 vs 53.67) and MeMo leads MuSiQue by 2.7 (50.07 vs 47.33). A good chunk of MeMo's apparent advantage on BCP at 1×N is the baseline falling, not MeMo rising. Which is the point — just a different point from the one usually claimed.

(Distractors were not tested on NarrativeQA, which has none — from a later section, not confirmed against the main text.)

Swapping the main model is nearly free, and that is the second real result

Same memory model, executive changed from Qwen2.5-32B-Instruct to Gemini-3-Flash: +12.45 on BCP, +26.73 on NarrativeQA, +11.90 on MuSiQue. The paper writes these as "%" but they are percentage-point differences, which Table 2 confirms. The widely-quoted "26" is the NarrativeQA gain, 26.85 → 53.58.

So the memory can be trained once against a weaker generator and paired with any inference-time LLM. For anyone maintaining a knowledge layer across model upgrades, that decoupling is worth more than the headline accuracy: the expensive artifact does not have to be rebuilt when you change models. It is also the opposite of fine-tuning the main model, which ties your knowledge to a checkpoint you will want to replace.

How small can the memory be

Memory modelBCP (Qwen / Gemini)NarrativeQAMuSiQue
1.5B (Qwen2.5-1.5B-Instruct)44.11 ± 2.22 / 61.0024.00 ± 0.20 / 47.4442.90 ± 1.39 / 59.70
14B (Qwen2.5-14B-Instruct)54.22 ± 0.84 / 66.6726.85 ± 0.39 / 53.5848.30 ± 1.25 / 60.20
Gemma3-1B-IT41.67 ± 2.03 / 59.0022.30 ± 2.47 / 48.8141.17 ± 1.20 / 56.20
LFM2.5-1.2B-Instruct37.33 ± 1.86 / 59.6721.96 ± 1.97 / 58.30*45.23 ± 2.49 / 58.30

(The LFM2.5 NarrativeQA Gemini cell is 46.42; 58.30 is its MuSiQue figure. Read the table rather than this summary for the per-cell values.)

The gradient is real but gentler than expected: a 1.5B memory retains most of a 14B memory's advantage on MuSiQue (42.90 vs 48.30) and loses 10 points on BCP. More interesting is the Gemini column — a 1B memory with a strong executive (59.00 to 61.00 on BCP) beats a 14B memory with the weak one (54.22). Executive quality dominates memory size. If you are choosing where to spend, that is the answer.

Later sections — treat as unverified

These figures come from the paper's later sections, are not confirmed against the main text, and should be checked before being relied on:

Review checklist

The same move — knowledge out of a retrieved context and into learned parameters — appears in work replacing a growing KV-cache with distilled fast weights, and in work compiling large triple stores into attention. All three trade a lossless-but-noisy lookup for a lossy-but-quiet function, and all three are worth reading against the extraction-recall problem: a pipeline that only puts in what it extracted cannot answer about what it missed, and a weights-resident memory cannot tell you it missed anything.

Connections

See R379 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.