Zep用动态知识图谱让AI agent记住长期对话和业务数据,性能远超现有系统。
Zep: A Temporal Knowledge Graph Architecture for Agent Memory
- 构建时序感知的知识图谱,融合对话与业务数据
- 在DMR测试中准确率达94.8%,长时推理任务提升18.5%准确率
- 适合需要跨会话记忆的企服级AI应用
我们提出Zep,一种新型的AI代理记忆层服务,在深度记忆检索(DMR)基准测试中表现优于当前最优系统MemGPT。Zep在更复杂、更具挑战性的评估中同样表现出色,更能反映真实企业应用场景。现有基于大语言模型的检索增强生成(RAG)框架仅支持静态文档检索,而企业应用需从持续对话和业务数据中动态整合知识。Zep通过核心组件Graphiti——一个时序感知的知识图谱引擎,动态融合非结构化对话数据与结构化业务数据,并保持历史关系。在由MemGPT团队设定的DMR基准测试中,Zep准确率达94.8%,优于其93.4%。在更具挑战性的LongMemEval基准测试中,Zep在复杂时序推理任务上实现最高18.5%的准确率提升,同时响应延迟降低90%。该优势在跨会话信息整合与长期上下文维护等关键企业任务中尤为显著,证明其在真实场景部署的有效性。
原文摘要 · Abstract (English)
We introduce Zep, a novel memory layer service for AI agents that outperforms the current state-of-the-art system, MemGPT, in the Deep Memory Retrieval (DMR) benchmark. Additionally, Zep excels in more comprehensive and challenging evaluations than DMR that better reflect real-world enterprise use cases. While existing retrieval-augmented generation (RAG) frameworks for large language model (LLM)-based agents are limited to static document retrieval, enterprise applications demand dynamic knowledge integration from diverse sources including ongoing conversations and business data. Zep addresses this fundamental limitation through its core component Graphiti -- a temporally-aware knowledge graph engine that dynamically synthesizes both unstructured conversational data and structured business data while maintaining historical relationships. In the DMR benchmark, which the MemGPT team established as their primary evaluation metric, Zep demonstrates superior performance (94.8% vs 93.4%). Beyond DMR, Zep's capabilities are further validated through the more challenging LongMemEval benchmark, which better reflects enterprise use cases through complex temporal reasoning tasks. In this evaluation, Zep achieves substantial results with accuracy improvements of up to 18.5% while simultaneously reducing response latency by 90% compared to baseline implementations. These results are particularly pronounced in enterprise-critical tasks such as cross-session information synthesis and long-term context maintenance, demonstrating Zep's effectiveness for deployment in real-world applications.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。