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

Eywa:基于溯源的人工智能智能体长期记忆

Eywa: Provenance-Grounded Long-Term Memory for AI Agents

Eywa

Resham Joshi

AI总结:

提出Eywa架构,通过先存储证据再推导事实、验证记忆并采用确定性多路径读取(零LLM调用)实现可审计的长期记忆,在多个基准测试中取得高准确率。

摘要:

跨会话持久化的人工智能智能体需要能够检索、审计、更新和擦除的记忆。现有的记忆系统通常将源证据、提取的事实、检索到的上下文和答案策略合并为一个不透明的提示路径,使得故障难以诊断:错误答案可能源于缺失证据、不支持的提取、过时状态、检索损失或答案模型行为。我们提出Eywa,一种基于溯源的记忆架构,围绕“证据先于信念”构建。Eywa在推导规范事实之前存储不可变的源证据,根据类型化信号和源支持验证提取的记忆,并通过确定性多路径读取路径(检索内部零LLM调用)检索有界的记忆上下文。检索到的上下文与答案指令分开返回,使得相同的记忆基质可以在前沿、预算和本地答案模型上进行评估。在冻结的、工件记录的检索配置下,Eywa在LoCoMo C1-C4分割上使用Claude Sonnet 4.6写入和QA角色达到90.19%的裁判准确率。在LongMemEval-S上,达到88.2%的检索充分性准确率。在BEAM(一个700问题的技术记忆压力基准)上,达到81.45%的平均nugget分数和85.29%的pass@score >= 0.5。完整的每问题工件,包括问题、黄金答案、模型答案、检索到的上下文和标签,发布在https://eywa.to/research。

英文摘要:

AI agents that persist across sessions need memory they can retrieve, audit, update, and erase. Existing memory systems often collapse source evidence, extracted facts, retrieved context, and answer policy into one opaque prompt path, making failures difficult to diagnose: a wrong answer may come from missing evidence, unsupported extraction, stale state, retrieval loss, or answer-model behavior. We present Eywa, a provenance-grounded memory architecture built around evidence before belief. Eywa stores immutable source evidence before deriving canonical facts, validates extracted memories against typed signals and source support, and retrieves bounded memory context through a deterministic multi-route read path with zero LLM calls inside retrieval. Retrieved context is returned separately from answer instructions, allowing the same memory substrate to be evaluated across frontier, budget, and local answer models. Under a frozen, artifact-recorded retrieval configuration, Eywa reaches 90.19% judge accuracy on the LoCoMo C1-C4 split with Claude Sonnet 4.6 write and QA roles. On LongMemEval-S, it reaches 88.2% retrieval-sufficiency accuracy. On BEAM, a 700-question technical-memory stress benchmark, it reaches 81.45% mean nugget score and 85.29% pass@score >= 0.5. Full per-question artifacts, including questions, gold answers, model answers, retrieved context, and labels, are published at https://eywa.to/research.

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

↑