DeferMem: Query-Time Evidence Distillation via Reinforcement Learning for Long-Term Memory QA

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

DeferMem is a novel long-term memory framework designed to enhance large language model (LLM) agents' question answering over extensive conversational histories. It addresses the challenge of scattered and irrelevant evidence by decoupling memory utilization into high-recall candidate retrieval and query-conditioned evidence distillation. The system employs a lightweight segment-link structure to organize raw history and retrieve broad candidate sets at query time. Subsequently, a memory distiller, trained with the DistillPO reinforcement learning algorithm, refines these noisy candidates into faithful, self-contained, and query-conditioned evidence. DistillPO utilizes a structured action space, a decomposed-and-gated reward pipeline, and structure-aligned advantage assignment. On LoCoMo and LongMemEval-S benchmarks, DeferMem achieved 70.0% and 88.25% non-adversarial accuracy respectively, demonstrating superior QA performance and memory-system efficiency with the fastest runtime and zero commercial-API token cost for memory operations.

Key takeaway

For AI Scientists and Machine Learning Engineers developing LLM agents with long-term memory, consider adopting a query-time evidence distillation approach. DeferMem demonstrates that decoupling high-recall retrieval from a reinforcement learning-trained distiller significantly boosts QA accuracy and operational efficiency, achieving zero commercial-API token cost. You should explore structured RL methods like DistillPO to refine noisy retrieved content, ensuring your agents can effectively utilize vast conversational histories without performance degradation.

Key insights

Query-time evidence distillation via reinforcement learning significantly improves LLM agent long-term memory QA efficiency and accuracy.

Principles

Method

DeferMem uses a segment-link structure for high-recall retrieval, then a DistillPO-trained distiller performs message selection and rewriting, optimized by decomposed-gated rewards and structure-aligned advantage assignment.

In practice

Topics

Code references

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.