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

海马体:一种高效且可扩展的记忆模块用于代理AI

Hippocampus: An Efficient and Scalable Memory Module for Agentic AI

Yi Li, Lianjie Cao, Faraz Ahmed, Puneet Sharma, Bingzhe Li

AI总结:

海马体通过紧凑二进制签名和动态小波矩阵实现高效代理AI记忆管理,显著降低检索延迟和token足迹。

摘要:

代理AI需要持久记忆来存储超出LLM有限上下文窗口的用户特定历史。现有内存系统使用密集向量数据库或知识图谱遍历(或混合),导致检索延迟高且存储可扩展性差。我们引入了海马体,一种代理内存管理系统,它使用紧凑的二进制签名进行语义搜索,并使用无损的token-ID流进行精确内容重建。其核心是一种动态小波矩阵(DWM),它压缩并共同索引两种流,以支持在压缩域中的超快速搜索,从而避免昂贵的密集向量或图计算。这种设计与内存大小线性扩展,使其适合长时间 horizon的代理部署。实证研究表明,我们的评估显示,海马体将端到端检索延迟减少了高达31倍,并将每查询的token足迹减少了高达14倍,同时在LoCoMo和LongMemEval基准测试中保持准确性。

英文摘要:

Agentic AI require persistent memory to store user-specific histories beyond the limited context window of LLMs. Existing memory systems use dense vector databases or knowledge-graph traversal (or hybrid), incurring high retrieval latency and poor storage scalability. We introduce Hippocampus, an agentic memory management system that uses compact binary signatures for semantic search and lossless token-ID streams for exact content reconstruction. Its core is a Dynamic Wavelet Matrix (DWM) that compresses and co-indexes both streams to support ultra-fast search in the compressed domain, thus avoiding costly dense-vector or graph computations. This design scales linearly with memory size, making it suitable for long-horizon agentic deployments. Empirically, our evaluation shows that Hippocampus reduces end-to-end retrieval latency by up to 31$\times$ and cuts per-query token footprint by up to 14$\times$, while maintaining accuracy on both LoCoMo and LongMemEval benchmarks.

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

↑