cd /news/artificial-intelligence/from-lookups-to-lessons-turning-retr… · home › topics › artificial-intelligence › article
[ARTICLE · art-163613] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory

A new arXiv paper (2611.00450v1) introduces ResMem, a parametric-memory method that cuts the storage retained for teacher construction by 94.7% versus an evaluated kNN pipeline on a Wikipedia subset. Across five question answering datasets, ResMem raised mean token F1 from 32.83% for the frozen LLM to 34.48% and broke 21% fewer of the LLM's correct answers than a kNN-trained memory. Code and model weights are released on GitHub and Hugging Face as ResMem-Mistral-7B-v0.3.

by read1 min views2 publishedNov 4, 2026

arXiv:2611.00450v1 Announce Type: new Abstract: Retrieval-augmented generation (RAG) helps large language models (LLMs) answer factual questions beyond their training data, but it adds storage and inference costs. Distilling previously retrieved information into parametric memories enables reuse without online retrieval. However, training the memory to mimic a retriever rewards accurate independent predictions, which do not necessarily improve the final output quality when combined with the LLM's existing predictions. To address this, we introduce ResMem, in which the LLM reads retrieved text offline to generate teacher targets. This design avoids storing massive token representations, unlike existing parametric memory approaches such as MLP Memory, which relies on k-nearest neighbor (kNN) datastores. Furthermore, by using the LLM as an offline teacher that reads privileged retrieved evidence alongside the input, we train a parametric memory to learn an additive logit residual. This residual aligns the predictions of a student sharing the same backbone with the teacher distribution, while self-distillation updates remain confined to the parametric memory. On a Wikipedia subset, ResMem reduces the storage retained for teacher construction by 94.7% compared with the evaluated kNN pipeline. Across five question answering datasets, ResMem raises mean token F1 from 32.83% for the frozen LLM to 34.48%. It also breaks 21% fewer of the LLM's correct answers than a kNN-trained memory. These findings validate our motivation of treating retrieval as a learning resource, with parametric memory shaped by how retrieved knowledge is used to inform the model's future predictions. Code and model weights are available at https://github.com/SSRand/From-Lookups-to-Lessons and https://huggingface.co/RandHan/ResMem-Mistral-7B-v0.3.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @resmem 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/from-lookups-to-less…] indexed:0 read:1min 2026-11-04 · —