arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.02738cs.AIcs.CLcs.SC
收藏

RecallM:一种面向大语言模型的具有时间理解能力的自适应记忆机制

RecallM: An Adaptable Memory Mechanism with Temporal Understanding for Large Language Models

Cisco Systems(思科系统公司);The University of Texas at Austin(德克萨斯大学奥斯汀分校);Wise Works(怀斯工作室)

Brandon Kynoch, Hugo Latapie, Dwane van der Sluis

AI总结:

本文提出 RecallM 架构,为大语言模型提供可适应、可更新且具备时间理解能力的长期记忆,在信念更新上显著优于向量数据库,并保持问答和上下文学习竞争力。

摘要:

大语言模型(LLM)在人工智能领域取得了非凡进展,并在种类繁多的任务和领域中展现出卓越能力。然而,随着我们愈发接近构建人工通用智能(AGI)系统,我们认识到需要为 LLM 补充长期记忆,以克服上下文窗口限制;更重要的是,为持续推理、累积学习和长期用户交互奠定基础。本文提出 RecallM,这是一种新颖架构,旨在为 LLM 提供可适应、可更新的长期记忆机制。与以往方法不同,RecallM 架构在信念更新以及维护所提供知识的时间理解方面尤为有效。我们通过多项实验证明了该架构的有效性。此外,通过我们自行设计的时间理解和信念更新实验,我们表明,在更新此前存储于长期记忆中的知识方面,RecallM 的有效性是使用向量数据库的四倍。我们还证明,RecallM 在通用问答和上下文学习任务上表现出具有竞争力的性能。

英文摘要:

Large Language Models (LLMs) have made extraordinary progress in the field of Artificial Intelligence and have demonstrated remarkable capabilities across a large variety of tasks and domains. However, as we venture closer to creating Artificial General Intelligence (AGI) systems, we recognize the need to supplement LLMs with long-term memory to overcome the context window limitation and more importantly, to create a foundation for sustained reasoning, cumulative learning and long-term user interaction. In this paper we propose RecallM, a novel architecture for providing LLMs with an adaptable and updatable long-term memory mechanism. Unlike previous methods, the RecallM architecture is particularly effective at belief updating and maintaining a temporal understanding of the knowledge provided to it. We demonstrate through various experiments the effectiveness of this architecture. Furthermore, through our own temporal understanding and belief updating experiments, we show that RecallM is four times more effective than using a vector database for updating knowledge previously stored in long-term memory. We also demonstrate that RecallM shows competitive performance on general question-answering and in-context learning tasks.

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

↑