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

MemFail: LLM记忆系统的故障模式压力测试

MemFail: Stress-Testing Failure Modes of LLM Memory Systems

University of California, Berkeley(加州大学伯克利分校)

Ishir Garg, Neel Kolhe, Dawn Song, Xuandong Zhao

AI总结:

提出MemFail基准测试,通过形式化记忆系统为摘要、存储和检索三个操作并构建对抗性数据集,系统性地评估和诊断LLM记忆系统的故障模式。

摘要:

大型语言模型(LLM)代理越来越依赖外部记忆系统以在长程交互中保持一致性,但关于这些系统具体故障模式和设计选择的实证研究很少。现有基准报告聚合的问答准确率,将记忆系统视为黑箱,无法将错误答案归因于系统的特定故障模式。我们引入MemFail,一个诊断性基准,用于隔离现代LLM记忆系统的故障模式。我们首先将记忆系统形式化为三个规范操作的组合——摘要、存储和检索——并识别每个操作可能引发的故障模式。基于这些假设的故障模式,我们构建了跨越四个任务的五个数据集,每个数据集都经过对抗性设计以测试记忆系统的特定操作。使用这些数据集,我们在MemFail上评估了四种最先进的记忆系统,并展示了MemFail如何用于实证理解记忆系统架构差异带来的权衡。

英文摘要:

Large language model (LLM) agents increasingly rely on external memory systems to remain consistent across long-horizon interactions, but little empirical work has been done to understand the specific failure modes and design choices that these systems present. Existing benchmarks report aggregate question-answering accuracy and treat memory systems as black boxes, making it impossible to attribute an incorrect answer to a particular failure mode of the system. We introduce MemFail, a diagnostic benchmark that isolates the failure modes of modern LLM memory systems. We begin by formalizing memory systems as the composition of three canonical operations -- summarization, storage, and retrieval -- and identify the potential failure modes induced by each. Based on these hypothesized failure modes, we construct five datasets spanning four tasks, each adversarially designed to test a specific operation of a memory system. Using these datasets, we evaluate four state-of-the-art memory systems on MemFail and demonstrate how MemFail can be used to empirically understand the tradeoffs induced by differences in memory system architectures.

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

↑