arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.18631cs.AI
收藏

D-Mem:一种用于LLM代理的双过程记忆系统

D-Mem: A Dual-Process Memory System for LLM Agents

Einstein Institute of Mathematics(爱因斯坦数学研究所);The Hebrew University of Jerusalem(耶路撒冷希伯来大学);AWS AI(AWS人工智能)

Zhixing You, Jiachen Yuan, Jason Cai

AI总结:

本文提出D-Mem双过程记忆系统,通过轻量向量检索与全面深入模块结合,提升长期推理准确性,实验表明其在LoCoMo基准上F1得分达53.5,优于传统方法。

摘要:

受持久、自适应自主代理的发展推动,为这些系统配备高保真记忆访问以支持长时域推理已成为关键需求。然而,主流基于检索的记忆框架通常采用增量处理范式,持续将对话记忆提取并更新到向量数据库中,查询时依赖语义检索。尽管此方法效率高,但本质上依赖损失性抽象,常遗漏关键上下文信息,难以解决依赖细粒度上下文理解的查询。为此,我们引入D-Mem,一种双过程记忆系统。它保留轻量向量检索用于常规查询,同时建立全面深入模块作为高保真回退方案。为在不牺牲准确性的情况下实现认知经济性,D-Mem采用多维质量门控策略动态连接这两个过程。在使用GPT-4o-mini和Qwen3-235B-Instruct的LoCoMo和RealTalk基准测试中,证明了本方法的有效性。值得注意的是,我们的多维质量门控策略在LoCoMo上达到53.5的F1得分,优于静态检索基线Mem0$^\ast$(51.2),并恢复了96.7%的全面深入模块性能(55.3),同时显著降低了计算成本。

英文摘要:

Driven by the development of persistent, self-adapting autonomous agents, equipping these systems with high-fidelity memory access for long-horizon reasoning has emerged as a critical requirement. However, prevalent retrieval-based memory frameworks often follow an incremental processing paradigm that continuously extracts and updates conversational memories into vector databases, relying on semantic retrieval when queried. While this approach is fast, it inherently relies on lossy abstraction, frequently missing contextually critical information and struggling to resolve queries that rely on fine-grained contextual understanding. To address this, we introduce D-Mem, a dual-process memory system. It retains lightweight vector retrieval for routine queries while establishing an exhaustive Full Deliberation module as a high-fidelity fallback. To achieve cognitive economy without sacrificing accuracy, D-Mem employs a Multi-dimensional Quality Gating policy to dynamically bridge these two processes. Experiments on the LoCoMo and RealTalk benchmarks using GPT-4o-mini and Qwen3-235B-Instruct demonstrate the efficacy of our approach. Notably, our Multi-dimensional Quality Gating policy achieves an F1 score of 53.5 on LoCoMo with GPT-4o-mini. This outperforms our static retrieval baseline, Mem0$^\ast$ (51.2), and recovers 96.7\% of the Full Deliberation's performance (55.3), while incurring significantly lower computational costs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑