予稿集Proceeding

"My agent understands me better": Integrating Dynamic Human-like Memory Recall and Consolidation in LLM-Based Agents


Journal: CHI EA '24: Extended Abstracts of the 2024 CHI Conference on Human Factors in Computing Systems

Volume:2024

Pages:1-7

Source URL:https://dl.acm.org/doi/10.1145/3613905.3650839


Published:

Publisher:Association for Computing Machinery


Keywords:Intelligent Agents / Large Language Models / Memory Retrieval Models / User Experience


Abstract

In this study, we propose a novel human-like memory architecture designed for enhancing the cognitive abilities of large language model (LLM)-based dialogue agents. Our proposed architecture enables agents to autonomously recall memories necessary for response generation, effectively addressing a limitation in the temporal cognition of LLMs. We adopt the human memory cue recall as a trigger for accurate and efficient memory recall. Moreover, we developed a mathematical model that dynamically quantifies memory consolidation, considering factors such as contextual relevance, elapsed time, and recall frequency. The agent stores memories retrieved from the users interaction history in a database that encapsulates each memorys content and temporal context. Thus, this strategic storage allows agents to recall specific memories and understand their significance to the user in a temporal context, similar to how humans recognize and recall past experiences.