arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08538cs.AIcs.CLcs.IRcs.LG
收藏

受人类启发的记忆架构用于大语言模型代理

Human-Inspired Memory Architecture for LLM Agents

Microsoft(微软)

Doga Kerestecioglu, Alexei Robsky, Clemens Vasters, Anshul Sharma, Yitzhak Kesselman

AI总结:

本文提出一种受生物启发的记忆架构,通过六个认知机制解决内存积累问题,并引入合成校准方法提升评估准确性。

摘要:

当前LLM代理缺乏管理持久记忆的系统机制。本文提出包含六个认知机制的记忆架构:睡眠期巩固、基于干扰的遗忘、记忆体成熟、检索时的再巩固、实体知识图谱和混合多线索检索。每个机制解决朴素内存积累的特定失败模式。我们引入一种合成校准方法,无需基准数据即可推导所有流程阈值,消除常见评估泄漏源。我们在两个基准上评估:首先,一个VSCode问题跟踪数据集(13K问题,120K事件),去重巩固实现97.2%的保留精度,存储减少58%(+21.8 pp优于基线)。其次,LongMemEval个人聊天基准,首次进行流式M级评估(475次会话,~540K个唯一回合)。在200K-token上下文预算下,我们的流程在保留检索准确性(70.1% vs. 71.2%,重叠95% CI)的同时暴露可调的准确性/存储大小操作曲线。在S级规模(50次会话)下,去重基于巩固在偏好召回上提升13.3 pp。

英文摘要:

Current LLM agents lack principled mechanisms for managing persistent memory across long interaction horizons. We present a biologically-grounded memory architecture comprising six cognitive mechanisms: (1) sleep-phase consolidation, (2) interference-based forgetting, (3) engram maturation, (4) reconsolidation upon retrieval, (5) entity knowledge graphs, and (6) hybrid multi-cue retrieval. Each mechanism addresses a specific failure mode of naive memory accumulation. We introduce a synthetic calibration methodology that derives all pipeline thresholds without benchmark data exposure, eliminating a common source of evaluation leakage. We evaluate on two benchmarks. First, a VSCode issue-tracking dataset (13K issues, 120K events) where deduplication-based consolidation achieves 97.2% retention precision with 58% store reduction (+21.8 pp over baseline). Second, the LongMemEval personal-chat benchmark where we conduct the first streaming M-tier evaluation (475 sessions, ~540K unique turns). At a 200K-token context budget, our pipeline matches raw retrieval accuracy (70.1% vs. 71.2%, overlapping 95% CI) while exposing a tunable accuracy/store-size operating curve. At S-tier scale (50 sessions), dedup-based consolidation yields a +13.3 pp improvement in preference recall.

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

↑