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

赋能大型语言模型智能体的工作记忆

Empowering Working Memory for Large Language Model Agents

Tsinghua University(清华大学)

Jing Guo, Nan Li, Jianchuan Qi, Hang Yang, Ruiqiao Li, Yuzhen Feng, Si Zhang, Ming Xu

AI总结:

本文提出利用认知心理学工作记忆框架,通过集中式工作记忆中枢和情景缓冲区增强LLM智能体的记忆连续性,以改善复杂推理,为类人记忆能力发展提供蓝图。

摘要:

大型语言模型(LLMs)已展现出令人印象深刻的语言能力。然而,一个关键局限仍然存在:它们缺乏类似人类的记忆功能。LLMs在连续交互中表现出受限的记忆保持能力,这阻碍了复杂推理。本文探讨了应用认知心理学中的工作记忆框架来增强LLM架构的潜力。分析了传统LLM记忆设计的局限性,包括它们将不同对话片段隔离以及缺乏持久记忆链接的问题。为解决这一问题,提出了一种创新模型,该模型整合了一个集中的工作记忆中枢和情景缓冲区访问,以跨片段保留记忆。该架构旨在为复杂任务和协作场景中的细致上下文推理提供更好的连续性。尽管前景广阔,仍需进一步研究优化情景记忆的编码、存储、优先级排序、检索和安全性。总体而言,本文为开发具有更复杂、更接近人类记忆能力的LLM智能体提供了战略蓝图,强调了记忆机制作为通用人工智能中的一个关键前沿领域。

英文摘要:

Large language models (LLMs) have achieved impressive linguistic capabilities. However, a key limitation persists in their lack of human-like memory faculties. LLMs exhibit constrained memory retention across sequential interactions, hindering complex reasoning. This paper explores the potential of applying cognitive psychology's working memory frameworks, to enhance LLM architecture. The limitations of traditional LLM memory designs are analyzed, including their isolation of distinct dialog episodes and lack of persistent memory links. To address this, an innovative model is proposed incorporating a centralized Working Memory Hub and Episodic Buffer access to retain memories across episodes. This architecture aims to provide greater continuity for nuanced contextual reasoning during intricate tasks and collaborative scenarios. While promising, further research is required into optimizing episodic memory encoding, storage, prioritization, retrieval, and security. Overall, this paper provides a strategic blueprint for developing LLM agents with more sophisticated, human-like memory capabilities, highlighting memory mechanisms as a vital frontier in artificial general intelligence.

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

↑