Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

What Deserves Memory: Adaptive Memory Distillation for LLM Agents

About

Memory systems for LLM agents struggle to determine what information deserves retention. Existing approaches rely on predefined heuristics such as importance scores, emotional tags, or factual templates, encoding designer intuition rather than learning from the data itself. Inspired by cognitive ideas, we propose NEMORI, an adaptive memory distillation framework that casts the assessment of experience's future utility as a matter of predictability. Specifically, NEMORI comprises two cascading modules: Episodic Memory Integration transforms raw interactions into coherent narratives, and Semantic Knowledge Distillation extracts insights via prediction error. Centering on distillation, the framework remains agnostic to downstream management. Extensive experiments confirm that NEMORI achieves strong performance, efficiency, and storage reduction. Our work suggests that observing the intrinsic properties of interaction sequences offers a viable, data-driven alternative to heuristic-based memory design. Code: https://github.com/nemori-ai/nemori.

Wenquan Ma, Jiayan Nan, Wenlong Wu, Yize Chen• 2025

Related benchmarks

TaskDatasetResultRank
Long-context Question AnsweringLocomo
F1 (Multi Hop)32.36
171
Long-term memory evaluationLocomo
Overall F152.1
128
Multi-hop Question AnsweringLocomo
F144.2
125
Open-domain Question AnsweringLocomo
F10.317
111
Single-hop Question AnsweringLocomo
F10.588
111
Long-context Memory EvaluationLongMemEval
Average Score74.6
103
Temporal Question AnsweringLocomo
F10.592
85
Long-context Memory RetrievalLocomo
Single-hop84.9
80
Long-context ReasoningLocomo
Average F181.1
75
Long-Term Conversational MemoryLocomo
Overall Acc (LoCoMo)59
59
Showing 10 of 40 rows

Other info

Follow for update