DigestAI news desk

Cut through the AI noise.

Research

Researchers introduce ResMem to turn retrieved knowledge into parametric memory

A new paper on arXiv presents ResMem, a method that lets a language model learn from retrieved text offline and store the result in a compact parametric memory. The authors say this avoids the storage and inference costs of keeping a live retrieval index such as a k-nearest-neighbor datastore.

1 source primary source

Key points

  • ResMem distills retrieved knowledge into a parametric memory, avoiding online retrieval at inference
  • Storage for teacher construction drops 94.7% versus a kNN datastore on a Wikipedia subset
  • Mean token F1 improves from 32.83% to 34.48% across five QA datasets

In their design, the LLM reads retrieved evidence alongside the input to produce teacher targets. A student model with the same backbone then learns an additive logit residual that aligns its predictions with the teacher, while updates stay confined to the parametric memory. On a Wikipedia subset, ResMem cuts the storage needed for teacher construction by 94.7% compared with a kNN pipeline. Across five question-answering datasets, mean token F1 rises from 32.83% for the frozen LLM to 34.48%, and the method breaks 21% fewer of the model's originally correct answers than a kNN-trained memory. Code and model weights are released on GitHub and Hugging Face.

Read the original at arXiv cs.CL · by Changjiang Han, Bowei He, Ye Yuan, Weixu Zhang, Haolun Wu, Xue Liu, Jikun Kang primary sourceOpen source ↗
Topics · follow one to build your own front page
Hugging FaceMistral-7B-v0.3ResMem-Mistral-7B-v0.3

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories