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

Minjae Kim, Jinheon Baek, Soyeong Jeong, Sung Ju Hwang
6/11/2026
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2026memrefine,
  title  = {MemRefine: LLM-Guided Compression for Long-Term Agent Memory},
  author = {Minjae Kim and Jinheon Baek and Soyeong Jeong and Sung Ju Hwang},
  year   = {2026},
  eprint = {2606.13177},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.13177v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.13177.svg)](https://codeofpaper.com/paper/2606.13177)

Discussion