MemSim: A Bayesian Simulator for Evaluating Memory of LLM-based Personal Assistants
<|reference_start|>MemSim: A Bayesian Simulator for Evaluating Memory of LLM-based Personal Assistants: 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.<|reference_end|>
@article{zhang2024memsim:,
    title={MemSim: A Bayesian Simulator for Evaluating Memory of LLM-based Personal
  Assistants},
    author={Zeyu Zhang, Quanyu Dai, Luyu Chen, Zeren Jiang, Rui Li, Jieming Zhu,
  Xu Chen, Yi Xie, Zhenhua Dong, Ji-Rong Wen},
    journal={arXiv preprint arXiv:2409.20163},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.20163},
    primaryClass={cs.AI cs.CL}
}