arXiv:2505.13044cs.AIcs.HC2025-05被引 8

为大模型设计认知记忆框架,让AI记住用户长期互动细节

CAIM: Development and Evaluation of a Cognitive AI Memory Framework for Long-Term Interaction with Intelligent Agents

  • 用三个模块构建类人记忆系统:控制器、检索器和存储维护单元
  • 在多轮对话中提升回复准确率与上下文连贯性,优于基线方法
  • 适合需要长期记忆的客服、助手类AI应用

大语言模型(LLMs)推动了人工智能发展,但在需要适应用户、持续理解环境变化的长期交互中仍面临挑战。为此,需建立整体化记忆模型以高效存储和检索跨会话的相关信息。受认知人工智能启发,我们提出CAIM记忆框架,包含三个模块:1)记忆控制器作为核心决策单元;2)记忆检索模块,按需过滤相关数据;3)后思考模块,维护记忆存储。对比实验表明,CAIM在检索准确率、回复正确性、上下文连贯性和记忆存储能力等指标上均优于基线框架,展现出更强的上下文感知能力,具备提升长期人机交互的潜力。

原文摘要 · Abstract (English)

Large language models (LLMs) have advanced the field of artificial intelligence (AI) and are a powerful enabler for interactive systems. However, they still face challenges in long-term interactions that require adaptation towards the user as well as contextual knowledge and understanding of the ever-changing environment. To overcome these challenges, holistic memory modeling is required to efficiently retrieve and store relevant information across interaction sessions for suitable responses. Cognitive AI, which aims to simulate the human thought process in a computerized model, highlights interesting aspects, such as thoughts, memory mechanisms, and decision-making, that can contribute towards improved memory modeling for LLMs. Inspired by these cognitive AI principles, we propose our memory framework CAIM. CAIM consists of three modules: 1.) The Memory Controller as the central decision unit; 2.) the Memory Retrieval, which filters relevant data for interaction upon request; and 3.) the Post-Thinking, which maintains the memory storage. We compare CAIM against existing approaches, focusing on metrics such as retrieval accuracy, response correctness, contextual coherence, and memory storage. The results demonstrate that CAIM outperforms baseline frameworks across different metrics, highlighting its context-awareness and potential to improve long-term human-AI interactions.

认知智能长时记忆对话系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。