MarkTechPost@AI 02月05日
Zep AI Introduces a Smarter Memory Layer for AI Agents Outperforming the MemGPT in the Deep Memory Retrieval (DMR) Benchmark
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Zep AI推出了一种新型的AI Agent记忆层,通过利用时序感知的知识图引擎Graphiti,解决了传统RAG方法在长期对话中保持连贯性的难题。与静态检索方法不同,Zep能够持续更新和整合非结构化的对话数据和结构化的业务信息。在基准测试中,Zep在Deep Memory Retrieval(DMR)测试中达到了94.8%的准确率,略高于MemGPT的93.4%。在LongMemEval测试中,Zep在复杂的企业环境中也表现出色,准确率提高了高达18.5%,同时响应延迟降低了90%。Zep通过构建分层知识图,有效管理时间信息,并采用多方面的检索机制,为AI Agent提供更高效、更可扩展的记忆解决方案。

🧠 Zep采用知识图方法构建记忆,不同于传统的RAG方法,它使用Graphiti引擎将记忆结构化为分层知识图,包括捕捉原始对话数据的Episode子图、识别和组织实体的Semantic Entity子图,以及将实体分组为集群的Community子图,从而实现更全面的知识表示。

⏱️ Zep利用双时态模型处理基于时间的信息,通过事件时间线(T)按时间顺序排列事件,并通过系统时间线(T’)维护数据存储和更新的记录,这有助于AI系统保持对过去交互的有意义的理解,同时有效地整合新信息。

🔍 Zep采用多方面的检索机制,结合余弦相似度搜索(用于语义匹配)、Okapi BM25全文搜索(用于关键词相关性)和基于图的广度优先搜索(用于上下文关联),使AI Agent能够高效地检索最相关的信息。

🚀 Zep通过在知识图中构建记忆,减少了冗余数据检索,从而降低了token使用量并加快了响应速度,这使其非常适合成本和延迟至关重要的企业应用。

The development of transformer-based large language models (LLMs) has significantly advanced AI-driven applications, particularly conversational agents. However, these models face inherent limitations due to their fixed context windows, which can lead to loss of relevant information over time. While Retrieval-Augmented Generation (RAG) methods provide external knowledge to supplement LLMs, they often rely on static document retrieval, which lacks the flexibility required for adaptive and evolving conversations.

MemGPT was introduced as an AI memory solution that extends beyond traditional RAG approaches, yet it still struggles with maintaining coherence across long-term interactions. In enterprise applications, where AI systems must integrate information from ongoing conversations and structured data sources, a more effective memory framework is needed—one that can retain and reason over time.

Introducing Zep: A Memory Layer for AI Agents

Zep AI Research presents Zep, a memory layer designed to address these challenges by leveraging Graphiti, a temporally-aware knowledge graph engine. Unlike static retrieval methods, Zep continuously updates and synthesizes both unstructured conversational data and structured business information.

In benchmarking tests, Zep has demonstrated strong performance in the Deep Memory Retrieval (DMR) benchmark, achieving 94.8% accuracy, slightly surpassing MemGPT’s 93.4%. Additionally, it has proven effective in LongMemEval, a benchmark designed to assess AI memory in complex enterprise settings, showing accuracy improvements of up to 18.5% while reducing response latency by 90%.

Technical Design and Benefits

1. A Knowledge Graph Approach to Memory

Unlike traditional RAG methods, Zep’s Graphiti engine structures memory as a hierarchical knowledge graph with three key components:

2. Handling Time-Based Information

Zep employs a bi-temporal model to track knowledge with two distinct timelines:

3. A Multi-Faceted Retrieval Mechanism

Zep retrieves relevant information using a combination of:

4. Efficiency and Scalability

By structuring memory in a knowledge graph, Zep reduces redundant data retrieval, leading to lower token usage and faster responses. This makes it well-suited for enterprise applications where cost and latency are critical factors.

Performance Evaluation

Zep’s capabilities have been validated through comprehensive testing in two key benchmarks:

1. Deep Memory Retrieval (DMR) Benchmark

DMR measures how well AI memory systems retain and retrieve past information. Zep achieved:

2. LongMemEval Benchmark

LongMemEval assesses AI agents in real-world business scenarios, where conversations can span over 115,000 tokens. Zep demonstrated:

3. Performance Across Different Question Types

Zep showed strong performance in complex reasoning tasks:

Conclusion

Zep provides a structured and efficient way for AI systems to retain and retrieve knowledge over extended periods. By moving beyond static retrieval methods and incorporating a dynamically evolving knowledge graph, it enables AI agents to maintain coherence across sessions and reason over past interactions.

With 94.8% DMR accuracy and proven effectiveness in enterprise-level applications, Zep represents an advancement in AI memory solutions. By optimizing data retrieval, reducing token costs, and improving response speed, it offers a practical and scalable approach to enhancing AI-driven applications.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 75k+ ML SubReddit.

Marktechpost is inviting AI Companies/Startups/Groups to partner for its upcoming AI Magazines on ‘Open Source AI in Production’ and ‘Agentic AI’.

The post Zep AI Introduces a Smarter Memory Layer for AI Agents Outperforming the MemGPT in the Deep Memory Retrieval (DMR) Benchmark appeared first on MarkTechPost.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Zep AI AI Agent 知识图 记忆层
相关文章