MemSyco-Bench
收藏资源简介:
MemSyco-Bench是由厦门大学和吉林大学联合创建的一个综合性评测基准,旨在评估智能体系统中因长期记忆检索引发的阿谀奉承现象。该数据集通过模拟多轮对话构建,涵盖五种任务范式,专门测试智能体能否在客观事实判断、上下文范围控制、记忆-证据冲突等场景中正确抑制、约束或利用检索到的记忆。其核心在于评估检索后推理的可靠性,而非仅关注记忆检索的成功率,为长时记忆智能体的推理安全提供了系统化的评估工具。
MemSyco-Bench is a comprehensive benchmark developed by research teams from Xiamen University and Jilin University, designed to evaluate the flattery phenomenon induced by long-term memory in large language model (LLM)-based agent systems. This benchmark comprises five core task categories generated via simulated multi-turn dialogues, which test the reasoning capabilities of agents across scenarios such as objective fact judgment, context scope control, memory-evidence conflict, memory update tracking, and effective memory personalization. Its construction follows a rigorous workflow including decision pattern definition, instantiation, and multi-stage quality validation, ensuring the reliability and naturalness of the evaluation. Primarily, this benchmark is utilized to assess and enhance the reasoning reliability of long-term memory agents, addressing the core challenge of how to appropriately utilize retrieved memories while avoiding undermining factual accuracy and objective decision-making due to overly catering to historical user information.
MemSyco-Bench 数据集概述
MemSyco-Bench 是一个用于评估语言模型和记忆系统在偏好相关记忆的使用、更新和控制方面的综合基准测试。
核心目标
- 评估模型在面对偏好记忆时的谄媚行为(Sycophancy),即模型是否过度迎合用户记忆中存储的偏好,而忽略事实、证据或上下文。
- 比较无记忆、原始对话和不同记忆系统这三种设置下的模型表现。
数据集构成
- 总样本数: 1,550 个最终样本。
- 任务类型: 包含5个互补的偏好记忆评估任务,每个任务都有特定的评估目标:
- 个性化记忆使用 (Personalized Memory Use): 评估在适用场景下,模型是否会使用用户偏好来提升回答质量(300个样本)。
- 有效记忆选择 (Valid Memory Selection): 评估模型是否遵循最新的偏好,并避免被旧偏好的信息污染(350个样本)。
- 记忆-证据冲突 (Memory-Evidence Conflict): 评估当更强的外部证据与用户偏好记忆冲突时,模型是否能优先考虑证据(300个样本)。
- 上下文范围控制 (Contextual Scope Control): 评估记忆中的偏好是否仅在有效的上下文范围内被应用(300个样本)。
- 客观事实判断 (Objective Fact Judgment): 评估模型在面对记忆支持的但不正确的答案时,是否能坚持事实正确性(300个样本)。
评估设置与方法
- 评估设置:
- 无记忆 (NoMemory): 模型不使用任何记忆。
- 原始对话 (RawDialogue): 模型获取所有相关对话历史。
- 记忆基线系统: 模型从各种记忆基线系统中检索上下文。
- 评估方法: 所有任务均采用开放式的大语言模型(LLM)评判。
- 支持的基线方法: 包括
NoMemory,RawDialogue,MemZero,A-MEM,LightMem,MemoryBank,NaiveRAG,MemGPT, 和Supermemory。
技术细节与使用
- 数据集格式: 数据以 JSONL 文件形式提供。
- 运行环境: 推荐使用 Python 3.10 和 Conda 环境。
- 安装: 提供核心安装 (
requirements.txt) 和完整记忆基线安装 (requirements-memory-baselines.txt) 两种方式。 - 运行: 通过
run_benchmark.sh(Linux/macOS) 或run_benchmark.ps1(Windows PowerShell) 脚本运行完整的评估套件,并支持通过参数选择特定任务和评估方法。 - 输出: 所有生成的结果、缓存和日志保存在
output_data/目录下。
引用信息
该工作已被相关论文描述,引用格式如下: bibtex @article{xiang2026memsyco, title={MemSyco-Bench: Benchmarking Sycophancy in Agent Memory}, author={Xiang, Zhishang and Chen, Zerui and Tang, Yunbo and Wei, Zhimin and Ning, Ruqin and Lin, Yujie and Zhang, Qinggang and Su, Jinsong}, journal={arXiv preprint arXiv:2607.01071}, year={2026} }

- 1MemSyco-Bench: Benchmarking Sycophancy in Agent Memory厦门大学; 吉林大学 · 2026年




