Can a separate memory model inject knowledge without touching the LLM?
Explores whether training a dedicated memory model alongside a frozen LLM could inject new knowledge while avoiding the retrieval costs of RAG and the catastrophic forgetting risks of fine-tuning.
The standard taxonomy of getting fresh knowledge into a frozen LLM offers three doors: non-parametric retrieval (RAG), parametric fine-tuning, and latent memory. MeMo proposes a fourth — encode the new corpus into a separate, trainable MEMORY model that the frozen LLM queries, with the base LLM untouched. This is not retrieval (no datastore search at inference) and not fine-tuning (the LLM's weights never move), which lets it sidestep the failure modes of each: it captures cross-document relationships RAG's chunk-level retrieval misses, it avoids the catastrophic forgetting parametric updates risk, and because it needs neither weights nor output logits it stays plug-and-play with closed proprietary models.
The load-bearing property is that inference-time retrieval cost is independent of corpus size. RAG's nearest-neighbor search and context budget scale with the store; MeMo amortizes the corpus into the memory model up front, then decomposes complex queries into targeted sub-queries at inference. This places it squarely alongside Can retrieval knowledge compress into a tiny parametric model? — both replace search with a trained decoder — and it extends How do knowledge injection methods trade off flexibility and cost? by populating that taxonomy's high-training-cost / fast-inference quadrant. It is also the document-knowledge analogue of Can a single model replace retrieval for long-term conversation memory?, which makes the same move for conversation rather than corpora.
The honest cost is that the bottleneck is relocated, not removed. The memory model must be trained on a synthesized reflection-QA dataset, so the price is training cost and — the paper concedes — the memory model's own capacity to scale with corpus size. Therefore MeMo is not a universal win over RAG: it trades RAG's per-query latency and weak cross-document reasoning for an up-front training burden and a capacity ceiling, which means it pays off precisely when a corpus is queried many times and demands multi-hop reasoning, and loses when the corpus is large, volatile, or rarely hit.
Inquiring lines that use this note as a source 1
This note is a source for these synthesized inquiries. Follow a line forward into its question, or open it to trace back to all of its sources.
Related concepts in this collection 3
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Can retrieval knowledge compress into a tiny parametric model?
Can the information stored in large non-parametric retrieval datastores be compressed into a small trainable module? This matters because it could combine retrieval's knowledge benefits with the speed of pure parametric methods.
convergent-with: also replaces inference-time search with a trained decoder, plug-and-play with frozen LLMs
-
How do knowledge injection methods trade off flexibility and cost?
When and how should domain knowledge enter an AI system? This explores the speed, training cost, and adaptability trade-offs across four injection paradigms, and when each approach suits different deployment constraints.
extends: MeMo populates the high-training-cost, corpus-size-independent-inference quadrant
-
Can a single model replace retrieval for long-term conversation memory?
COMEDY proposes collapsing the standard retrieval pipeline into one unified model that generates, compresses, and responds. But does eliminating the retriever actually improve performance, or does compression lose critical information?
convergent-with: same single-model-replaces-retrieval move applied to conversation instead of document corpora
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- MeMo: Memory as a Model
- Context Embeddings for Efficient Answer Generation in RAG
- Memorization and Knowledge Injection in Gated LLMs
- Provable Benefits of In-Tool Learning for Large Language Models
- SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMs
- Towards Agentic RAG with Deep Reasoning: A Survey of RAG-Reasoning Systems in LLMs
- Generalization through Memorization: Nearest Neighbor Language Models
- How much do language models memorize?
Original note title
training a separate memory model is a fourth knowledge-injection path — it decouples corpus growth from inference cost without touching the LLM's weights or logits