What Deserves Memory: Adaptive Memory Distillation for LLM Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ma, Wenquan, Nan, Jiayan, Wu, Wenlong, Chen, Yize
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913037644988416
author Ma, Wenquan
Nan, Jiayan
Wu, Wenlong
Chen, Yize
author_facet Ma, Wenquan
Nan, Jiayan
Wu, Wenlong
Chen, Yize
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_03341
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle What Deserves Memory: Adaptive Memory Distillation for LLM Agents
Ma, Wenquan
Nan, Jiayan
Wu, Wenlong
Chen, Yize
Artificial Intelligence
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.
title What Deserves Memory: Adaptive Memory Distillation for LLM Agents
topic Artificial Intelligence
url https://arxiv.org/abs/2508.03341