arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13121cs.CLcs.AIcs.LG
收藏

大型语言模型的情景记忆生成与评估基准

Episodic Memories Generation and Evaluation Benchmark for Large Language Models

Huawei Technologies Co., Ltd.(华为技术有限公司)

Alexis Huet, Zied Ben Houidi, Dario Rossi

AI总结:

本研究提出一个综合框架和基准,用于建模和评估大型语言模型的情景记忆能力,发现即便最先进模型在处理复杂时空关系时仍存在显著不足。

摘要:

情景记忆——即回忆植根于时间和空间的具体事件的能力——是人类认知的基石,它不仅使连贯的叙事成为可能,还支持规划与决策。尽管大型语言模型(LLM)具有非凡的能力,但它们缺乏稳健的情景记忆机制:我们认为,将情景记忆能力整合进LLM对于推动人工智能向类人认知发展至关重要,这能增强其一致推理的潜力,并将其输出植根于真实世界的情景事件中,从而避免虚构。为应对这一挑战,我们引入了一个综合框架来建模和评估LLM的情景记忆能力。受认知科学启发,我们开发了一种结构化方法来表征情景事件,涵盖时间与空间背景、涉及实体及详细描述。我们综合构建了一个独特的情景记忆基准,该基准无污染,并发布了开源代码和数据集,以评估LLM在各种回忆和情景推理任务中的表现。我们对包括GPT-4、Claude系列、Llama 3.1和o1-mini在内的最先进模型的评估揭示,即便最先进的LLM在情景记忆任务中仍显吃力,尤其是在处理多个相关事件或复杂的时空关系时——即便在短至10k-100k令牌的上下文中也是如此。

英文摘要:

Episodic memory -- the ability to recall specific events grounded in time and space -- is a cornerstone of human cognition, enabling not only coherent storytelling, but also planning and decision-making. Despite their remarkable capabilities, Large Language Models (LLMs) lack a robust mechanism for episodic memory: we argue that integrating episodic memory capabilities into LLM is essential for advancing AI towards human-like cognition, increasing their potential to reason consistently and ground their output in real-world episodic events, hence avoiding confabulations. To address this challenge, we introduce a comprehensive framework to model and evaluate LLM episodic memory capabilities. Drawing inspiration from cognitive science, we develop a structured approach to represent episodic events, encapsulating temporal and spatial contexts, involved entities, and detailed descriptions. We synthesize a unique episodic memory benchmark, free from contamination, and release open source code and datasets to assess LLM performance across various recall and episodic reasoning tasks. Our evaluation of state-of-the-art models, including GPT-4 and Claude variants, Llama 3.1, and o1-mini, reveals that even the most advanced LLMs struggle with episodic memory tasks, particularly when dealing with multiple related events or complex spatio-temporal relationships -- even in contexts as short as 10k-100k tokens.

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

↑