Researchers Find AI Agents Confuse Old and New Facts in Memory Even After Correct Retrieval

A team of researchers from Otto von Guericke University Magdeburg and the University of Kerala tested how AI agents with long-term memory handle outdated facts. The problem is that standard benchmarks blend two distinct skills: retrieving the relevant information, and correctly picking the current version of a fact when both an old and a new entry exist in memory. The authors separated these skills and tested, in isolation, whether a model can tell a fresh fact from an outdated one even when both have already been retrieved and shown to it. The experiment used the FactConsolidation benchmark: statements loaded into memory with timestamps, where a later number overrides an earlier one (e.g., "the play's author is Pierre Beaumarchais," later followed by "the play's author is Thomas Kyd"). When researchers simply increased the volume of retrieved data from 64 to 512 tokens, Qwen2.5-7B's accuracy dropped from 45% to 32%, even though the correct, up-to-date fact was present in every case. And when a single random irrelevant statement in a fixed-size prompt was swapped for an outdated version of the fact, Qwen2.5's accuracy collapsed from 100% to 44.6%, while the larger Qwen3-14B dropped from 100% to 87.8%. In every wrong answer, the model picked the old, superseded fact. • On a larger memory history of 2,310 statements, the pattern held: 69% accuracy with narrow retrieval versus 58% with broad retrieval. • An outdated fact proved more damaging than an equally sized chunk of simply irrelevant text. • The authors suggest flagging outdated facts as inactive directly within the memory system, rather than trusting the model to sort it out on its own.

AI-processed from arXiv cs.AI; edited by Hamidun News
Researchers Find AI Agents Confuse Old and New Facts in Memory Even After Correct Retrieval
Source: arXiv cs.AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourcearXiv cs.AI ↗
Editor-in-Chief
Key metric #1On a larger memory history of 2,310 statements, the pattern held: 69% accuracy with narrow retrieval versus 58% with broad retrieval.
Key metric #2An outdated fact proved more damaging than an equally sized chunk of simply irrelevant text.
Key metric #3The authors suggest flagging outdated facts as inactive directly within the memory system, rather than trusting the model to sort it out on its own.

The Problem with Long-Term Memory

If an AI agent has long-term memory — say, it remembers six months of conversation with a user, or holds a database of facts about a client — contradictions are bound to accumulate: something true yesterday may not be true today. A team of researchers from Otto von Guericke University Magdeburg (Germany) and the University of Kerala (India) asked a simple question: if a memory-retrieval system surfaces both the old and the new version of a fact, can a language model actually pick the right one?

The short answer: not always, and the more clutter surrounding the correct fact, the worse it gets.

How They Tested It

The researchers used the FactConsolidation task from the MemoryAgentBench benchmark — a set of numbered statements where a later number indicates a more current version of a fact. The facts are synthetic and deliberately contradict common world knowledge (for instance, the "real" author of a play isn't the one a model would recall from its training data), so the test specifically measures whether the model relies on the provided context rather than its own internal knowledge.

Two models were tested — Qwen2.5-7B-Instruct and Qwen3-14B — running via Ollama on a university GPU server. Relevant statements were retrieved using BM25 (a classic text-ranking algorithm based on keyword matching), with retrieval volume varied between 64 and 512 tokens.

What They Found

The first surprising result: when the volume of retrieved data increased from 64 to 512 tokens, Qwen2.5's accuracy on a 455-statement history dropped from 45% to 32%. Intuitively, more context should mean a better chance of finding the right answer. But a closer check showed the needed, most current fact was present in the retrieved context in all 100 questions at every volume level. The drop in accuracy wasn't caused by missing information — it was caused by the model getting increasingly confused among the extra data and picking the wrong fact.

The researchers then narrowed the experiment to a cleaner test: 74 questions where a fact had an outdated version, comparing two equally sized sets of four statements. The first set contained the current fact plus three random, irrelevant statements. The second set was identical, except one random statement was replaced with an outdated version of the same fact (the current version remained in place either way).

The results were stark:

  • Qwen2.5-7B answered all 74 questions correctly when surrounded only by irrelevant statements. But when one of those statements was replaced with an outdated fact, accuracy dropped to 33 correct answers out of 74 (44.6%).
  • Qwen3-14B proved more robust: accuracy fell from 100% to 87.8% (9 errors out of 74).
  • In both cases, every single error involved the model choosing the old, superseded fact — not random noise or hallucination.

In other words, an outdated fact of the same size proved far more dangerous to the model than simply irrelevant text — even though, intuitively, the model should have handled it fine, since the correct answer was visible in context and the rule ("a higher number takes precedence") was stated explicitly.

The effect held up on a larger memory history too — 2,310 statements and 100 questions: accuracy with narrow retrieval (64 tokens) was 69%, versus 58% with broad retrieval (512 tokens). Every error in this sample was also a case of picking the outdated fact.

Why It Matters

The key practical takeaway: you can't evaluate an AI agent's memory system with a single accuracy number. Two distinct questions need to be separated — did the retrieval system find the correct, current fact, and did the model actually select it instead of an older version, when both are present in context? Measuring only the final answer's accuracy risks conflating a retrieval problem with a model "reasoning" problem — and the fixes for each are different.

The researchers propose a concrete direction for memory-system developers: rather than retrieving all relevant facts and handing them to the model as-is, outdated entries should be explicitly flagged as inactive, or down-weighted during retrieval — while still preserving the change history for transparency. Otherwise, any system where memory evolves over time — a CRM's memory, a personal assistant, a corporate knowledge base — risks occasionally surfacing long-superseded information to users, even when the correct, current fact was technically "found."

A caveat: the study tested only two models from the Qwen family on a single synthetic benchmark with relatively simple update chains (no more than two versions of a fact). The authors acknowledge they didn't test the effect on other model families or on systems using vector-based (rather than lexical) retrieval — so this isn't yet a fully universal conclusion, but it's clearly a signal worth factoring into the design of agent memory systems.

Story

Key Questions Answered

What are the key details on The Problem with Long-Term Memory?

If an AI agent has long-term memory — say, it remembers six months of conversation with a user, or holds a database of facts about a client — contradictions are bound to accumulate: something true yesterday may not be true today. A team of researchers from Otto von Guericke University Magdeburg (Germany) and the University of Kerala (India) asked a simple question: if a memory-retrieval system surfaces both the old and the new version of a fact, can a language model actually pick the right one? The short answer: not always, and the more clutter surrounding the correct fact,

How They Tested It?

The researchers used the FactConsolidation task from the MemoryAgentBench benchmark — a set of numbered statements where a later number indicates a more current version of a fact. The facts are synthetic and deliberately contradict common world knowledge (for instance, the "real" author of a play isn't the one a model would recall from its training data), so the test specifically measures whether the model relies on the provided context rather than its own internal knowledge. Two models were tested — Qwen2.5-7B-Instruct and Qwen3-14B — running via Ollama on a university GPU

What They Found?

The first surprising result: when the volume of retrieved data increased from 64 to 512 tokens, Qwen2.5's accuracy on a 455-statement history dropped from 45% to 32%. Intuitively, more context should mean a better chance of finding the right answer. But a closer check showed the needed, most current fact was present in the retrieved context in all 100 questions at every volume level. The drop in accuracy wasn't caused by missing information — it was caused by the model getting increasingly confused among the extra data and picking the wrong fact. The researchers then narrow

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Hands-On AI Engineering · Hamidun Academy

Build & Ship Production AI Agents Without Boilerplate Code

Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.

Start 72h Free Trial →Vibe-Coding Intensive
What do you think?
Loading comments…