跳到正文
arXiv (AI + Vision + Imaging)· Xuyang Liu, Chenwen Lu, Junxi Wang, Siyu Ren, Xinying Lin, Siteng Huang, Hongli Sun, Linfeng Zhang, Honggang Chen·· 5 天前AI 评分34

MemFolder:面向高效Agent记忆管理的结构引导记忆折叠框架

MemFolder: Structure-Guided Memory Folding for Efficient Agent Memory Management

AI 导读

MemFolder是一个结构引导的记忆折叠框架,通过共享记忆分组依次降低记录数量和上下文长度。其RecordFolder组件在Mem0上以50%更少的记录保留三个文本基准99.0%的原始平均性能,性能保留率超出最强基线1.9个百分点。结合ContextFolder后,现有记录压缩方法可进一步缩短输出记录并保留大部分性能。

正文 · 原文

arXiv:2611.26427v1 Announce Type: new Abstract: Long-term agents accumulate large external memory stores as interactions unfold, increasing the costs of storage, retrieval, and response generation. Efficiency is constrained by two coupled factors: a growing record count increases retrieval overhead, while longer retrieved contexts increase prefill computation and decoding-time attention costs. Existing methods prune or consolidate records, but pruning can discard useful evidence, whereas consolidation may produce fewer yet longer retrieval units. We introduce MemFolder, a structure-guided memory folding framework that sequentially reduces record count and context length. The framework comprises two core components that share memory groups, using cross-record structure to guide both evidence consolidation and compact representation. RecordFolder grounds entity mentions, progressively selects representative yet complementary anchors, and combines semantic and entity affinity with temporal chaining to consolidate compatible records into fewer retrieval units. ContextFolder encodes the original records within these groups into compact text and uses verification feedback to revise encodings when key facts cannot be recovered. Experiments on the three text-based memory benchmarks LoCoMo, PersonaMem, and LongMemEval and the two multimodal benchmarks M3-Bench-web and M3-Bench-robot demonstrate the strong performance of our methods. Notably, on Mem0, RecordFolder retains 99.0% of the original average performance across the three text-based benchmarks with 50% fewer records, exceeding the strongest baseline by 1.9 percentage points in performance retention. Combined with ContextFolder, existing record compression methods further shorten their output records while retaining most of their performance.

来源:arXiv (AI + Vision + Imaging) · arxiv.org