MemTrapBench: A Benchmark of Cognitive Traps in How Language Models Use Memory

Published 2026-08-20 · AI Daily — AI-assisted deep research, methodology & disclosure

This paper argues that existing memory benchmarks mainly assess whether information is correctly extracted, stored, and retrieved, while ignoring how retrieved memories reshape a model's reasoning and affect current task performance. The authors introduce the phenomenon of 'memory-induced cognitive traps': even faithfully recorded, semantically related memories can distort a model's reasoning or beliefs and degrade current task performance. To systematically evaluate such failure modes, they propose MemTrapBench, covering two forms of cognitive trap—reasoning fixation and belief distortion. Experiments across two model families and five representative memory frameworks show the benchmark is demanding: every evaluated memory strategy underperforms the no-memory setting, and the strongest method still suffers a performance drop of over 10%. To mitigate these traps, the authors propose AdaptiveMem, a simple yet effective inference-time method that instructs large language models to avoid memory traps, improving performance without harming results on standard memory benchmarks.

Background and Context

Large language models increasingly rely on memory mechanisms that let them retain information and learn across long interactions, yet the field has evaluated these systems almost exclusively on whether information is correctly extracted, stored, and retrieved. This narrow focus ignores a more consequential question: how retrieved memories reshape a model's reasoning and affect performance on the current task. The authors identify this gap as the basis for a phenomenon they call memory-induced cognitive traps, in which even faithfully recorded, semantically related memories distort a model's reasoning path or beliefs and degrade task performance.

The paper's central contribution is to systematically define and characterize these failure modes rather than to introduce a new architecture or training paradigm. The authors categorize cognitive traps into two forms. Reasoning fixation occurs when a model becomes locked into a fixed reasoning pattern dictated by past memory. Belief distortion occurs when memory alters the model's judgment about facts or its own state. Together these two forms capture the negative effects memory can impose on current-task performance.

Deep Analysis

On the evaluation side, the authors build MemTrapBench, a benchmark designed to induce and quantify cognitive traps by placing models in carefully constructed scenarios where they must complete a current task while holding relevant memory. The benchmark deliberately targets the retrieval-to-reasoning transition that existing benchmarks overlook, measuring whether recalled information harms rather than helps the task at hand.

On the intervention side, the authors propose AdaptiveMem, a lightweight inference-time method that instructs large language models to recognize and avoid memory traps directly. Rather than modifying model parameters or retraining the memory module, AdaptiveMem plugs into existing frameworks without additional training costs. The authors chose inference-time intervention over training-time correction because such methods deploy flexibly across frameworks, and because memory traps are fundamentally a question of how memory is invoked during reasoning rather than a matter of storage or retrieval precision.

Industry Impact

Experiments across two model families and five representative memory frameworks reveal that MemTrapBench is demanding. Every evaluated memory strategy underperforms the no-memory setting, indicating that introducing memory makes models more prone to cognitive traps. Even the strongest method suffers a performance drop of over 10%, challenging the assumption that memory capabilities always yield gains. In some cases memory becomes a burden rather than an asset.

AdaptiveMem effectively mitigates these traps on MemTrapBench while not harming results on standard memory benchmarks, and in some scenarios it even improves performance. This demonstrates that addressing memory's negative effects need not sacrifice the information-utilization abilities that traditional memory evaluations reward. Ablation and cross-framework comparisons further show the intervention generalizes across memory implementations rather than fitting a single one.

The paper shifts the research perspective from whether memory is stored accurately to whether memory is used well. For the open-source community, MemTrapBench adds a new evaluation dimension that encourages developers to weigh the real impact of memory on reasoning alongside retrieval precision. For industrial deployment, as memory-backed long-horizon systems, agents, and personalized assistants grow more common, avoiding cognitive traps directly affects reliability and user trust. For subsequent research, AdaptiveMem offers a transferable, training-light complement that opens new space for studying the interaction between memory and reasoning.

Outlook

By reframing memory evaluation around reasoning impact rather than retrieval accuracy alone, this work pushes toward a more complete and balanced understanding of how language models use memory. The two-form taxonomy of reasoning fixation and belief distortion provides a reusable framework for diagnosing memory-related failures. The inference-time intervention approach suggests that future systems may manage memory pitfalls through lightweight guidance rather than expensive retraining.

Whether AdaptiveMem's gains hold under larger models, longer interaction horizons, and more demanding real-world deployments remains to be tested. Still, the finding that even the best memory strategy loses over 10% on this benchmark signals that memory design cannot be treated as a solved problem. As memory-backed agents become central to production deployments, benchmarks and methods that account for cognitive traps will likely move from academic novelty to engineering necessity.

Sources

FAQ

What is MemTrapBench?

MemTrapBench is a benchmark that evaluates cognitive traps in how language models use memory, covering reasoning fixation and belief distortion.

Why does this matter?

Every memory strategy underperforms the no-memory setting, and the strongest method still drops over 10%, showing better memory does not automatically mean better performance.

What is the proposed next step?

The authors propose AdaptiveMem, an inference-time method that instructs models to avoid memory traps, improving performance without harming standard memory benchmark results.