MemDerive:面向演化数据的智能体记忆诊断基准
MemDerive: A Diagnostic Benchmark for Agent Memory over Evolving Data
AI总结:
MemDerive是面向演化数据的智能体记忆诊断基准,含10个场景共4692个事件与1503个查询,可评估记忆系统的答案可靠性、诊断失败情况,揭示了现有基准未发现的记忆系统缺陷,提出了三条记忆设计原则。
摘要:
长期运行的智能体依赖过往交互记忆来获取任务状态,例如已完成的内容和仍成立的条件,这类状态通常是派生状态,没有直接的记录状态,必须通过规则从演化历史的多条记录中计算得出。现有记忆基准仅对最终答案打分,未提供答案背后中间状态的参考,因此错误答案无法追溯到缺失的状态,悄然过时的状态也无法被检测。我们提出MemDerive,这是面向演化数据的智能体记忆诊断基准,它以符号形式指定每个场景,使用Datalog推导精确的标准答案,记录标准答案推导有向无环图(DAG)和每个查询的支撑事件,并以自然语言呈现带有虚构实体和干扰项的历史。该基准包含10个场景,共4692个事件和1503个查询,难度随访问、演化和组合变化。基于此真实情况,MemDerive评估答案可靠性,通过探测标准答案推导DAG的节点诊断失败情况,并跟踪事件到来时答案是否保持正确。我们对四个记忆系统的评估揭示了仅用最终答案的基准所隐藏的失败情况:在派生状态方面,每个记忆系统的表现都落后于简单的BM25检索,不过当提供支撑事件时,相同的答案模型达到96.01%的准确率;大多数失败属于未收集,即系统持有缺失的中间状态,但未针对需要该状态的问题进行检索;记忆系统也很少传播没有新记录声明的隐式变化。这些结果为记忆设计提出了三条原则:沿推导收集输入、存储规则及其版本、通过记录的依赖关系维护派生状态。
英文摘要:
Long-running agents rely on memory of their past interactions for task state, such as what has been completed and which conditions still hold. Such state is usually a derived state. No record states it, and it must be computed by rules from multiple records of an evolving history. Existing memory benchmarks score only the final answer, with no reference for the intermediate states behind it. A wrong answer therefore cannot be traced to the state that was missed, and a state that silently became outdated goes undetected. We present MemDerive, a diagnostic benchmark for agent memory over evolving data. It specifies each scenario symbolically, derives exact gold answers with Datalog, records the gold derivation DAG and the supporting events of every query, and renders the history in natural language with fictional entities and distractors. Its 10 scenarios contain 4,692 events and 1,503 queries whose difficulty varies along access, evolution, and composition. On this ground truth, MemDerive evaluates answer reliability, diagnoses failures by probing the nodes of the gold derivation DAG, and tracks whether answers stay correct as events arrive. Our evaluation of four memory systems reveals failures that final-answer benchmarks hide. On derived state, every memory system falls behind simple BM25 retrieval, although the same answer model reaches 96.01% when given the supporting events. Most failures are ungathered, as a system holds the missing intermediate state but does not retrieve it for the question that needs it. Memory systems also rarely propagate implicit changes, which no new record states. These results suggest three principles for memory design. Gather inputs along the derivation, store rules with their versions, and maintain derived states through recorded dependencies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。