MemForest:解耦抽取与分层视图维护的高写入效率Agent记忆系统
MemForest: Write-Efficient Agent Memory with Decoupled Extraction and Hierarchical View Maintenance
MemForest将每个语义视图视为由持久事实派生的结果,按时间有序树仅从子节点重算,使视图刷新依赖深度取决于树高而非历史长度。事实抽取与现有记忆解耦,共享祖先每批只刷新一次,独立视图并行刷新。在LongMemEval-S上建库速度比EverMemOS快4.7倍,LoCoMo上快8.8倍;Qwen3-30B下LoCoMo准确率84.1%,LongMemEval-S达81.8%。
arXiv:2605.23986v4 Announce Type: replace-cross Abstract: 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\%).
来源:arXiv (AI + Vision + Imaging) · arxiv.org