MemTrapBench:评估大语言模型记忆使用中的认知陷阱

·

研究论文 · 2026/08/21

记忆已成为大语言模型的关键组成部分,使其能够保留信息并从长期交互中学习。然而,现有的记忆基准主要评估信息是否正确提取、存储和检索,而很大程度上忽略了检索到的记忆如何重塑模型推理并影响当前任务的表现。我们识别出记忆引发的认知陷阱:即使是忠实记录且语义相关的记忆也可能扭曲模型推理或信念,并降低当前任务性能。为了系统评估这些失败模式,我们引入了MemTrapBench,它涵盖两种认知陷阱形式:推理固化和信念扭曲。在两个模型家族和五个代表性记忆框架上的实验表明,MemTrapBench具有挑战性:所有评估的记忆策略均不如无记忆设置,即使是最强的方法也遭受超过10%的性能下降。为了缓解这些认知陷阱,我们提出了AdaptiveMem,一种简单而有效的推理时方法,指示LLM避免记忆陷阱。AdaptiveMem在MemTrapBench上缓解了认知陷阱,同时在各种记忆框架的标准记忆基准上保持或提高了性能。

该论文首次系统性地研究记忆对推理的负面影响,提出新基准和缓解方法,对记忆增强LLM的研究具有重要价值。

Memory has become a key component of large language models, enabling them to retain information and learn from long-term interactions. However, existing memory benchmarks mainly evaluate whether information is correctly extracted, stored, and retrieved, while largely overlooking how retrieved memories reshape model reasoning and affect performance on the current task. We identify memory-induced cognitive traps: even faithfully recorded and semantically relevant memories can distort model reasoning or beliefs and degrade current task performance. To systematically evaluate these failure modes, we introduce MemTrapBench, which covers two forms of cognitive traps: Reasoning Fixation and Belief Distortion. Experiments across two model families and five representative memory frameworks show that MemTrapBench is challenging: all evaluated memory strategies underperform the no-memory setting, with even the strongest methods suffering drops of more than 10%. To mitigate these cognitive traps, we propose AdaptiveMem, a simple yet effective inference-time method that instructs LLMs to avoid memory traps. AdaptiveMem mitigates cognitive traps on MemTrapBench while preserving or improving performance on standard memory benchmarks across diverse memory frameworks.

阅读原文

参与讨论