计算机科学 > 数据库
[提交于 2026年5月16日 (v1),最后修订于 2026年11月23日 (此版本, v4)]
标题:MemForest: Write-Efficient Agent Memory with Decoupled Extraction and Hierarchical View Maintenance
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Long-lived LLM agents maintain semantic views, such as fact records, profiles, and summaries, over a growing interaction history. Maintaining these views is a principal cost of agent memory: ingesting one conversation takes 15--53 minutes with leading memory systems, and most of this time lies on chains of dependent LLM calls that additional LLM capacity barely shortens. Because an LLM-generated view admits no delta rule, existing designs either serialize writes around revising views or give up fresh, reusable views. We present \textbf{MemForest}, which treats every view as a result derived from durable facts and recomputes it only from its children in a time-ordered tree. The dependency depth of view refresh then follows tree height rather than history length. Facts are extracted independently of existing memory, shared ancestors are refreshed once per batch, and independent views refresh in parallel. At query time, links from facts to trees recover details that compact views omit, and materialized interval views are reused for time-range aggregation. Against six released systems, MemForest builds memory \(4.7\times\) faster than EverMemOS on LongMemEval-S and \(8.8\times\) faster on LoCoMo. With Qwen3-30B, it matches EverMemOS on LoCoMo (84.1\%) and attains the highest LongMemEval-S accuracy (81.8\%).