arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.15701cs.CLcs.AI
收藏

H-Mem: 一种通过混合结构进化和检索智能体记忆的新型记忆机制

H-Mem: A Novel Memory Mechanism for Evolving and Retrieving Agent Memory via a Hybrid Structure

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Huawei Cloud Computing Technologies CO., LTD.(华为云计算技术有限公司)

Jiawei Yu, Yixiang Fang, Xilin Liu, Yuchi Ma

AI总结:

H-Mem通过混合结构有效建模智能体记忆的长期演化并高效检索记忆数据,提升问答任务性能。

摘要:

在基于大语言模型(LLM)的智能体(如OpenClaw和Manus)中,记忆数据无处不在。尽管近期有研究尝试利用智能体的记忆来提高问答(QA)任务的性能,但缺乏有效建模记忆数据随时间演化和高效检索的原理性机制,导致记忆利用效率低下。为此,我们提出了H-Mem,一种通过混合结构实现的新型记忆机制,能够有效建模智能体记忆的长期演化,并提供高效的记忆检索方法。特别是,H-Mem构建了时间与语义树结构,使短期记忆数据逐步演变为长期记忆数据,后者为前者提供总结信息,同时构建知识图谱以捕捉记忆中实体之间的关系。此外,通过利用树和图结构的混合特性,H-Mem提供了有效的记忆检索方法。在三个智能体记忆基准测试中,H-Mem在问答任务上实现了最先进的性能。

英文摘要:

Memory data are ubiquitous in Large Language Model (LLM)-based agents (e.g., OpenClaw and Manus). A few recent works have attempted to exploit agents'memory for improving their performance on the question-answering (QA) task, but they lack a principled mechanism for effectively modeling how memory data evolves over time and retrieving memory data effectively, leading to poor performance in memory utilization. To fill this gap, we present H-Mem, a novel memory mechanism via a hybrid structure that can not only effectively model the evolution of agent memory over a long period of time, but also provide an efficient memory retrieval approach. Particularly, H-Mem builds a temporal and semantic tree structure that allows the short-term memory data to evolve progressively into long-term memory data, where the latter provides summarized information about the former, while simultaneously constructing a knowledge graph to capture the relationships between entities in memory. Moreover, it offers an effective memory retrieval approach by exploiting the hybrid structure of the tree and graph structures. Extensive experiments on three agent memory benchmarks show that H-Mem achieves state-of-the-art performance on the QA task.

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

↑