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

MemRefine: LLM-Guided Compression for Long-Term Agent Memory

About

Large language model (LLM) agents are increasingly expected to operate over long-term interactions, where information from past dialogues must be preserved and recalled to support future tasks. However, as interactions accumulate, the memory store grows without bound and fills with redundant entries that inflate storage cost and degrade retrieval by crowding out the most useful evidence. Furthermore, this is especially limiting on resource-constrained platforms with hard memory budgets, motivating us to formulate storage-budgeted memory management, the task of keeping an already constructed memory store within a fixed budget while preserving information useful for future interactions. To this end, we then propose MemRefine, an LLM-guided framework that, since surface similarity poorly reflects factual value, uses similarity only to propose candidate pairs and defers delete, merge, and preserve decisions to an LLM judge based on factual content, iterating until the budget is met. Across multiple memory frameworks and long-term conversation benchmarks, MemRefine consistently meets target budgets while preserving downstream performance and outperforming rule-based baselines under tight budgets.

Minjae Kim, Jinheon Baek, Soyeong Jeong, Sung Ju Hwang• 2026

Related benchmarks

TaskDatasetResultRank
Long-context Memory RetrievalLocomo--
96
Long-context Memory Retrieval and QALoCoMo 3x
F1 Score23.44
12
Long-context Memory Retrieval and QA10x LoCoMo
F1 Score20.53
12
Long-context Memory Retrieval and QALongMemEvalS
Accuracy61.67
12
Showing 4 of 4 rows

Other info

Follow for update