MEMTIER:面向长期运行的自主AI智能体的分层内存架构与检索瓶颈分析
MEMTIER: Tiered Memory Architecture and Retrieval Bottleneck Analysis for Long-Running Autonomous AI Agents
AI总结:
提出MEMTIER三层内存架构,通过结构化事件存储、五信号加权检索、注意力归因权重更新、异步合并机制和PPO策略,在LongMemEval-S基准上将全上下文基线准确率从5%提升至38%,并支持本地6GB GPU运行。
摘要:
长期运行的自主AI智能体面临一个记录充分的内存一致性问题:由于现有平面文件内存系统中的四种复合故障模式,工具执行成功率在72小时运行窗口内下降14个百分点。我们提出MEMTIER,这是OpenClaw智能体运行时的三方内存架构,引入了结构化事件JSONL存储、五信号加权检索引擎、注意力归因的认知权重更新循环、将事件事实提升到语义层的异步合并守护进程,以及基于PPO的检索权重自适应策略框架(基础设施已验证;性能提升待最终版本确认)。在完整的500问题LongMemEval-S基准测试(Wu等人,2025)上,MEMTIER在消费级6GB GPU上使用Qwen2.5-7B达到Acc=0.382,F1=0.412——比全上下文基线(0.050 -> 0.382,即5% -> 38%)提高了33个百分点。通过DeepSeek-V4-Flash事实预填充,单会话召回率达到0.686-0.714,超过了论文中RAG BM25 GPT-4o基线(0.560)在这些类别上的表现。时间推理提升至0.323,多会话综合提升至0.173,表明结构化语义预填充从根本上改变了轻量级检索所能达到的效果。所有阶段均在配备6GB GPU的消费级笔记本电脑上本地运行。
英文摘要:
Long-running autonomous AI agents suffer from a well-documented memory coherence problem: tool-execution success rates degrade 14 percentage points over 72-hour operation windows due to four compounding failure modes in existing flat-file memory systems. We present MEMTIER, a tripartite memory architecture for the OpenClaw agent runtime that introduces a structured episodic JSONL store, a five-signal weighted retrieval engine, an attention-attributed cognitive weight update loop, an asynchronous consolidation daemon promoting episodic facts to a semantic tier, and a PPO-based policy framework for adapting retrieval weights (infrastructure validated; performance gains pending camera-ready). On the full 500-question LongMemEval-S benchmark (Wu et al., 2025), MEMTIER achieves Acc=0.382, F1=0.412 with Qwen2.5-7B on a consumer 6GB GPU - a +33 percentage point improvement over the full-context baseline (0.050 -> 0.382, i.e., 5% -> 38%). With DeepSeek-V4-Flash fact pre-population, single-session recall reaches 0.686-0.714, exceeding the paper's RAG BM25 GPT-4o baseline (0.560) on those categories. Temporal reasoning rises to 0.323 and multi-session synthesis to 0.173, demonstrating that structured semantic pre-population qualitatively changes what lightweight retrieval can achieve. All phases run locally on a consumer laptop with a 6GB GPU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。