LONGMEMEVAL
收藏资源简介:
LONGMEMEVAL是由腾讯AI实验室西雅图分部创建的一个综合基准数据集,旨在评估聊天助手在长期交互中的记忆能力。该数据集包含500个高质量问题,覆盖信息提取、跨会话推理、时间推理、知识更新和拒绝回答等五种核心记忆能力。数据集的内容通过多轮任务导向的用户-AI对话生成,历史长度可自由配置,提供了约115k和1.5M tokens的标准设置。创建过程中采用了属性控制的流水线,确保对话历史的连贯性和可扩展性。LONGMEMEVAL的应用领域主要集中在个性化和可靠的对话AI系统,旨在解决长期交互中的记忆和推理问题。
LONGMEMEVAL is a comprehensive benchmark dataset developed by the Seattle Branch of Tencent AI Lab, designed to evaluate the memory capabilities of chat assistants during long-term interactions. This dataset includes 500 high-quality questions covering five core memory capabilities: information extraction, cross-session reasoning, temporal reasoning, knowledge update, and refusal to answer. The dataset content is generated via multi-turn task-oriented user-AI dialogues, with freely configurable conversation history lengths, and provides standard settings with approximately 115k and 1.5M tokens. An attribute-controlled pipeline was adopted during its creation to ensure the coherence and scalability of the conversation history. The application scenarios of LONGMEMEVAL mainly focus on personalized and reliable conversational AI systems, aiming to address the memory and reasoning challenges in long-term interactions.
LongMemEval 数据集概述
数据集简介
LongMemEval 是一个综合、具有挑战性和可扩展的基准测试数据集,用于测试聊天助手的长时记忆能力。该数据集包含500个高质量问题,用于测试以下五种核心长时记忆能力:
- 信息提取
- 多会话推理
- 知识更新
- 时间推理
- 拒绝回答
数据集结构
数据集包含三个文件:
longmemeval_s.json: 包含约115k个token的聊天历史记录,适用于Llama 3。longmemeval_m.json: 每个聊天历史记录包含约500个会话。longmemeval_oracle.json: 仅包含证据会话的聊天历史记录。
每个文件包含500个评估实例,每个实例包含以下字段:
question_id: 问题的唯一ID。question_type: 问题类型,包括single-session-user,single-session-assistant,single-session-preference,temporal-reasoning,knowledge-update,multi-session。如果question_id以_abs结尾,则为abstention问题。question: 问题内容。answer: 模型预期的答案。question_date: 问题的日期。haystack_session_ids: 历史会话的ID列表(按时间戳排序)。haystack_dates: 历史会话的时间戳列表。haystack_sessions: 用户-助手聊天历史会话的实际内容列表。每个会话包含多个轮次,每个轮次包含role和content字段。对于包含所需证据的轮次,额外提供has_answer: true字段。answer_session_ids: 代表证据会话的会话ID列表。
数据集下载
数据集可以从以下链接下载:
环境设置
推荐使用conda环境进行项目设置。具体步骤请参考README文件中的详细说明。
数据集评估
用户可以通过提供的评估脚本对系统输出进行评估。评估脚本将生成评估日志文件,并计算平均分数。
引用
如果使用该数据集,请引用以下文献:
@artical{wu2024longmemeval, title={LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory}, author={Di Wu and Hongwei Wang and Wenhao Yu and Yuwei Zhang and Kai-Wei Chang and Dong Yu}, year={2024}, eprint={2410.10813}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2410.10813}, }




