跳到正文
arXiv cs.CL· Changjiang Han, Bowei He, Ye Yuan, Weixu Zhang, Haolun Wu, Xue Liu, Jikun Kang·· 11 小时前AI 评分32

ResMem:将检索知识蒸馏为参数化记忆,存储需求降低 94.7%

From Lookups to Lessons: Turning Retrieved Knowledge into Parametric Memory

AI 导读

研究者提出 ResMem,让 LLM 离线阅读检索文本生成教师目标,训练参数化记忆学习加性 logit 残差,从而把检索知识转化为可复用的参数化记忆。

正文 · 原文

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)

来源:arXiv cs.CL · arxiv.org