arXiv:2410.10813cs.CL2024-10ICLR被引 592

评测聊天助手长期记忆能力,发现现有系统在持续对话中准确率下降30%。

LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory

  • 拆解长期记忆为索引、检索、阅读三阶段,提出优化策略
  • 新基准测试显示商业模型跨会话记忆准确率下降30%
  • 适合研究对话系统长期记忆与个性化交互的学者和开发者

近期基于大语言模型的聊天助手系统引入了记忆组件以追踪用户-助手对话历史,实现更精准个性化的回复。然而,其在持续交互中的长期记忆能力仍缺乏深入探索。我们提出LongMemEval,一个全面评估聊天助手五项核心长期记忆能力的基准:信息提取、多会话推理、时间推理、知识更新与拒答。该基准包含500个精心设计的问题,嵌入可自由扩展的用户-助手对话历史中,对现有长期记忆系统构成重大挑战。实验表明,商业聊天助手和长上下文大模型在跨会话记忆任务上准确率下降30%。基于实验洞察,我们提出统一框架,将长期记忆设计分为索引、检索、阅读三个阶段,并提出多项优化:会话分解以提升值粒度、事实增强的键扩展用于索引、时间感知的查询扩展以缩小搜索范围。大量实验显示,这些优化显著提升了记忆召回率与下游问答性能。本研究为推进基于大模型的聊天助手长期记忆能力提供了重要资源与指导,助力构建更个性化、可靠的对话AI。基准与代码已开源:https://github.com/xiaowu0162/LongMemEval。

原文摘要 · Abstract (English)

Recent large language model (LLM)-driven chat assistant systems have integrated memory components to track user-assistant chat histories, enabling more accurate and personalized responses. However, their long-term memory capabilities in sustained interactions remain underexplored. We introduce LongMemEval, a comprehensive benchmark designed to evaluate five core long-term memory abilities of chat assistants: information extraction, multi-session reasoning, temporal reasoning, knowledge updates, and abstention. With 500 meticulously curated questions embedded within freely scalable user-assistant chat histories, LongMemEval presents a significant challenge to existing long-term memory systems, with commercial chat assistants and long-context LLMs showing a 30% accuracy drop on memorizing information across sustained interactions. We then present a unified framework that breaks down the long-term memory design into three stages: indexing, retrieval, and reading. Built upon key experimental insights, we propose several memory design optimizations including session decomposition for value granularity, fact-augmented key expansion for indexing, and time-aware query expansion for refining the search scope. Extensive experiments show that these optimizations greatly improve both memory recall and downstream question answering on LongMemEval. Overall, our study provides valuable resources and guidance for advancing the long-term memory capabilities of LLM-based chat assistants, paving the way toward more personalized and reliable conversational AI. Our benchmark and code are publicly available at https://github.com/xiaowu0162/LongMemEval.

长期记忆对话系统评测基准

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