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

使用序列顺序回忆任务评估LLMs中的情景记忆

Assessing Episodic Memory in LLMs with Sequence Order Recall Tasks

Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);Intel Labs(英特尔实验室);University of Texas at Austin(德克萨斯大学奥斯汀分校);Princeton University(普林斯顿大学);Princeton Neuroscience Institute(普林斯顿神经科学研究所);New York University(纽约大学)

Mathis Pink, Vy A. Vo, Qinyuan Wu, Jianing Mu, Javier S. Turek, Uri Hasson, Kenneth A. Norman, Sebastian Michelmann, Alexander Huth, Mariya Toneva

AI总结:

本文引入了序列顺序回忆任务(SORT)来评估LLMs的情景记忆能力,发现当文本仅在训练期间提供时模型表现不佳,而在上下文中提供相关文本时表现良好,为记忆增强模型的发展提供了新框架。

摘要:

当前的LLM基准测试侧重于评估模型对事实和语义关系的记忆,主要评估长期记忆的语义方面。然而,在人类中,长期记忆还包括情景记忆,它将记忆与其发生的上下文(例如发生的时间和地点)联系起来。将记忆情境化的能力对于许多认知任务和日常功能至关重要。现有的基准测试尚未在LLMs中评估这种形式的记忆。为了填补评估LLMs记忆的空白,我们引入了Sequence Order Recall Tasks (SORT),该任务改编自认知心理学中用于研究情景记忆的任务。SORT要求LLMs回忆文本片段的正确顺序,并提供了一个易于扩展且不需要任何额外标注的通用框架。我们提出了一个初步评估数据集Book-SORT,包含从最近加入公共领域的9本书中提取的36k对片段。基于一项有155名参与者的人类实验,我们表明人类可以根据对一本书的长期记忆来回忆顺序。我们发现,当在SORT评估期间在上下文中提供相关文本时,模型可以高准确率地执行任务。然而,当仅在训练期间提供书籍文本时,LLMs在SORT上的表现不佳。通过允许评估记忆的更多方面,我们相信SORT将有助于记忆增强模型的新兴发展。

英文摘要:

Current LLM benchmarks focus on evaluating models' memory of facts and semantic relations, primarily assessing semantic aspects of long-term memory. However, in humans, long-term memory also includes episodic memory, which links memories to their contexts, such as the time and place they occurred. The ability to contextualize memories is crucial for many cognitive tasks and everyday functions. This form of memory has not been evaluated in LLMs with existing benchmarks. To address the gap in evaluating memory in LLMs, we introduce Sequence Order Recall Tasks (SORT), which we adapt from tasks used to study episodic memory in cognitive psychology. SORT requires LLMs to recall the correct order of text segments, and provides a general framework that is both easily extendable and does not require any additional annotations. We present an initial evaluation dataset, Book-SORT, comprising 36k pairs of segments extracted from 9 books recently added to the public domain. Based on a human experiment with 155 participants, we show that humans can recall sequence order based on long-term memory of a book. We find that models can perform the task with high accuracy when relevant text is given in-context during the SORT evaluation. However, when presented with the book text only during training, LLMs' performance on SORT falls short. By allowing to evaluate more aspects of memory, we believe that SORT will aid in the emerging development of memory-augmented models.

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

↑