arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.20163cs.AIcs.CL

MemSim:用于评估基于LLM的个人助手记忆能力的贝叶斯模拟器

MemSim: A Bayesian Simulator for Evaluating Memory of LLM-based Personal Assistants

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Huawei Technologies Ltd.(华为技术有限公司);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Zeyu Zhang, Quanyu Dai, Luyu Chen, Zeren Jiang, Rui Li, Jieming Zhu, Xu Chen, Yi Xie, Zhenhua Dong, Ji-Rong Wen

AI总结:

本文提出MemSim贝叶斯模拟器,通过BRNet和因果生成机制自动构建可靠QA,并生成MemDaily数据集,为评估基于LLM的个人助手记忆能力提供基准。

摘要:

基于LLM的智能体已被广泛用作个人助手,能够从用户消息中记忆信息并回答个人查询。然而,对其记忆能力仍缺乏客观和自动化的评估,这在很大程度上是由于根据用户消息构建可靠的问题与答案(QAs)存在挑战。在本文中,我们提出了MemSim,一个贝叶斯模拟器,旨在从生成的用户消息中自动构建可靠的QAs,同时保持其多样性和可扩展性。具体而言,我们引入了贝叶斯关系网络(BRNet)和一种因果生成机制,以减轻LLM幻觉对事实信息的影响,从而促进评估数据集的自动创建。基于MemSim,我们在日常生活场景中生成了一个名为MemDaily的数据集,并进行了大量实验以评估我们方法的有效性。我们还提供了一个基准,用于利用MemDaily数据集评估基于LLM的智能体中不同的记忆机制。为了惠及研究社区,我们已在 https://github.com/nuster1128/MemSim 发布了我们的项目。

英文摘要:

LLM-based agents have been widely applied as personal assistants, capable of memorizing information from user messages and responding to personal queries. However, there still lacks an objective and automatic evaluation on their memory capability, largely due to the challenges in constructing reliable questions and answers (QAs) according to user messages. In this paper, we propose MemSim, a Bayesian simulator designed to automatically construct reliable QAs from generated user messages, simultaneously keeping their diversity and scalability. Specifically, we introduce the Bayesian Relation Network (BRNet) and a causal generation mechanism to mitigate the impact of LLM hallucinations on factual information, facilitating the automatic creation of an evaluation dataset. Based on MemSim, we generate a dataset in the daily-life scenario, named MemDaily, and conduct extensive experiments to assess the effectiveness of our approach. We also provide a benchmark for evaluating different memory mechanisms in LLM-based agents with the MemDaily dataset. To benefit the research community, we have released our project at https://github.com/nuster1128/MemSim.

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

↑