DISCERN:写入时保留,读取时解析,用于持久化大语言模型智能体记忆
DISCERN: Preserve at Write, Resolve at Read for Persistent LLM-Agent Memory
AI总结:
本文提出DISCERN框架,针对持久化大语言模型智能体记忆的解析问题,在ENT-310基准上,其弃权校准度和宏观答案正确性优于基线,实体解析表现突出,在LoCoMo语料库上也取得领先结果。
摘要:
企业智能体会在数十次会话中积累记忆,其中事实相互矛盾、被取代,且因嵌入空间中同名实体碰撞而模糊。该领域将此视为检索问题,但本文表明并非如此。在ENT-310(一个包含310个查询的合成企业销售智能体记忆基准,其中210个可回答,100个不可回答)上,记忆存储上的普通检索增强生成(RAG)读取器已在召回支柱上与强大的记忆系统匹配。保留率和时效性接近饱和,每个有能力的系统约为0.93至0.98,因此召回问题基本解决。仍未解决的是解析:查询指的是哪个实体、哪个时间状态是当前的,以及是否提交答案或在证据不足时弃权(不执行)。我们提出DISCERN(DISambiguation and Cross-session Episodic memoRy Navigation,即歧义消解与跨会话情景记忆导航),这是一个基于单一规则的智能体记忆框架:写入时保留,读取时解析。在写入时,DISCERN构建严格的加法双时态溯源图,从不合并易混淆实体,也从不丢弃被取代的值。在读取时,零大语言模型工具表面驱动智能体循环,该循环导航此图并执行恰好四个门控终端操作之一。一个四评委大语言模型作为评判委员会,对两个轴进行评分:可回答问题的答案正确性,以及作为分类问题的答案与弃权(不执行)决策。在ENT-310上,DISCERN在弃权(不执行)方面是校准最佳的系统(F1值为0.924,而八个基线中最高为0.802),并在相等支柱权重下在宏观答案正确性方面领先(0.861,而最强基线为0.806),这一领先由实体解析驱动(0.800,没有基线超过0.40)。将相同管道零调应用于完整LoCoMo语料库时,其再次在宏观答案正确性方面领先(0.663,而基线为0.638),并在错误前提弃权(不执行)方面保持在校准最佳之列。
英文摘要:
Enterprise agents accumulate memory across dozens of sessions in which facts contradict, get superseded, and blur as similarly named entities collide in embedding space. The field treats this as a retrieval problem; we show it is not. On ENT-310, a synthetic enterprise sales-agent memory benchmark of 310 queries (210 answerable, 100 unanswerable), a vanilla Retrieval-Augmented Generation (RAG) reader over a memory store already matches strong memory systems on the recall pillars. Retention and currency are near-saturated, roughly 0.93 to 0.98 for every competent system, so recall is essentially solved. What remains unsolved is resolution: which entity a query refers to, which time-state is current, and whether to commit an answer at all or decline when evidence is insufficient. We propose DISCERN (DISambiguation and Cross-session Episodic memoRy Navigation), an agent-memory framework built on a single rule: preserve at write, resolve at read. At write time DISCERN builds a strictly additive bi-temporal provenance graph that never merges confusable entities and never drops superseded values. At read time a zero-LLM tool surface drives an agentic loop that navigates this graph and commits exactly one of four gated terminal actions. A four-judge LLM-as-a-Judge council scores two axes: answer correctness on answerable questions, and the answer-versus-abstain decision as a classification problem. On ENT-310, DISCERN is the best-calibrated system on abstention (F1 0.924 versus at most 0.802 across eight baselines) and leads macro answer correctness under equal pillar weighting (0.861 versus 0.806 for the strongest baseline), a lead driven by entity resolution (0.800, where no baseline exceeds 0.40). Applied with zero tuning to the full LoCoMo corpus, the same pipeline again leads macro answer correctness (0.663 versus 0.638) and stays among the best-calibrated on false-premise abstention.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。