Skip to content
AI News HubLIVE
Original source2 min read

From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory

Summary

The paper introduces ResMem, a method that trains parametric memory offline using retrieved text to reduce storage and inference costs, improving performance across multiple QA datasets.

SourcearXiv Computational LinguisticsAuthor: Changjiang Han, Bowei He, Ye Yuan, Weixu Zhang, Haolun Wu, Xue Liu, Jikun Kang
From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 30 Oct 2026]

Title:From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory

View a PDF of the paper titled From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory, by Changjiang Han and 6 other authors

View PDF HTML (experimental)

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 this https URL and this https URL.

Comments: 16 pages, 4 figures, 6 tables

Subjects:

Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)

Cite as: arXiv:2611.00450 [cs.CL]

(or arXiv:2611.00450v1 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2611.00450

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Changjiang Han [view email] [v1] Fri, 30 Oct 2026 23:05:50 UTC (299 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory, by Changjiang Han and 6 other authors

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.CL

new | recent | 2026-11

Change to browse by:

cs cs.AI cs.LG

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • ResMem uses an LLM as an offline teacher to generate targets from retrieved evidence.
  • It reduces storage for teacher construction by 94.7% compared to a kNN pipeline.
  • Mean token F1 improves from 32.83% to 34.48% across five QA datasets.
  • ResMem breaks 21% fewer of the LLM's correct answers than a kNN-trained memory.

Highlights and analysis are generated automatically and may contain errors. Check the original source.