# StaleBench: Isolating Stale Retrieval in Agent Memory, and Pricing the Fix

Retrieval metrics can rank stale agent memory policies backwards

S M Mahbub Murshed · arXiv · 2026-11-15

- **Problem** Agent memory keeps several versions of each fact. A similarity retriever cannot prefer the current one, since every version matches the entity the query names.
- **Method** StaleBench streams dated facts into a memory store in time order, then scores each policy against Wikidata validity years rather than retrieval scores.
- **Results** Two keyers return the same statement at rank 1 on all 468 queries, yet differ by 65.6 points in reader accuracy when no date is shown.

![Figure 2: The keying ladder as the lexical anchor is withdrawn. The inventory-based keying rungs are indistin- guishable at a=0, and at a=1 the gazetteer falls…](https://refivu.com/papers/d58fb65a-fbe1-4d01-a4a5-d6848ca8f8a5/figures/figure-718bf807b837597e2cb232843e730e43.png?thumb=512)

**Figure 2** : The keying ladder as the lexical anchor is withdrawn. The inventory-based keying rungs are indistin- guishable at a=0, and at a=1 the gazetteer falls 65.8 points below the oracle; the entity linker (handed the alias inventory) tracks the oracle, while the two mechanisms deployed memory systems use do not. The oracle keys perfectly but stillretrievesby similarity, so the two rungs that resolve the query as well are not bounded by it — and the upper one, which resolves symmetrically with a complete alias table, is close to flat across the whole axis (0.994 to 0.912). Withdrawing the anchor costs almost nothing to a system that resolves entities on both paths.

[Original paper](https://arxiv.org/abs/2611.19752v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · S M Mahbub Murshed · StaleBench: Isolating Stale Retrieval in Agent Memory, and Pricing the Fix · Original paper figure · Extracted the figure area from page 15 of the original PDF.

## Why similarity retrieval favours neither version

A similarity retriever can't prefer the current version because every stored version names the same entity. Suppose an agent stored "Peter Sagan plays for Bora-Hansgrohe" and later "Peter Sagan plays for TotalEnergies". The retriever then returns whichever statement similarity noise happens to favour.

The failure is not built in by an adversarial construction. The queries only name the entity rather than the answer, so the retriever has no value signal to use. The obvious repair is to rerank the top hits by timestamp. Contamination@5 stayed at 0.974, because reranking only reorders stale versions inside the same candidate set instead of removing them.

Reranking changes the order of the top hits, not the set they come from. A reader handed both statements can do worse than one handed the unfixed retrieval. A retention policy avoids this by overwriting the older statement, so the store returns TotalEnergies alone. The rest of the paper prices that same-fact decision.

## Labels that come from the source

StaleBench takes its current labels from the source, so no retrieval score decides what counts as current. Facts stream into a store in time order, and the label comes from Wikidata validity years via TempLAMA or from a generator schedule. TempLAMA triples carry yearly validity from 2010 to 2020, derived from Wikidata qualifiers. These facts span nine relations, with a mean of 2.1 distinct values and a maximum of 6.

Consecutive years with the same value collapse into one run, so each value change becomes one statement with the year as metadata. Each statement is verbalized from a relation-specific template, and with probability p a paraphrase template replaces the canonical cloze. Paraphrasing forces similarity-based same-key detection to survive surface variation, rather than matching one fixed wording.

Each fact gets one value-agnostic query, such as which team the subject currently plays for. Facts split by key hash into 424 validation facts for tuning and 468 test facts for every reported number.

A policy's top-1 counts as current@1 when it names the right fact with its current value. The top-1 counts as stale when the right fact carries an outdated value, and as miss when the fact is wrong. For that reason the paper never reports contamination@k without current@k beside it.

## How retention decides what to keep

Retention is a keyer multiplied by a mechanism, and it runs on the write path, the read path, or both. The keyer decides whether an incoming statement describes a fact already stored, by mapping it to a slot. The mechanism then either overwrites that slot or invalidates the old statement and keeps it.

The keyers form a ladder that runs from a cosine threshold through a gazetteer and a fuzzy trigram linker to an entity linker and a true-key oracle. The threshold keyer matches a new statement to a stored one when their similarity exceeds τ, and the authors set τ to 0.60 on validation. The gazetteer keyer matches the canonical subject name, so it can only key a statement that carries the full name.

The fuzzy linker gets the canonical subject inventory but no alias table, and it resolves short forms with character-trigram similarity.

The anchor is the subject's full name on a statement, and the parameter a is the probability that a later statement uses a short form instead. Retention also assumes in-order arrival and trustworthy timestamps, and the authors treat both as conditions rather than givens. Retention removes the contradiction only where same-fact keying works and ingestion is in order.

## Anchored keying is easy, anchor-free keying is not

With the anchor present, the gazetteer keyer reaches 0.972 with contamination 0.000 at 467 slots. The true-key oracle reaches 0.979 on the same split, and a Holm-corrected sign-flip test gives p=1.00 for that pair. The authors read this tie as a property of templated text, not as a general solution to same-fact detection. The threshold keyer manages 0.859 under the same anchored condition.

Withdrawing the anchor separates the rungs sharply, because the gazetteer can key only the introducing statement. The gazetteer falls from 0.972 to 0.169, a deficit of 65.8 points, and scatters 89.3% of facts across slots. The threshold keyer falls from 0.859 to 0.513, a deficit of 31.4 points.

The fuzzy linker gets the canonical subject inventory but no alias table. It resolves short forms with character-trigram similarity and reaches 0.714 at a=1, a deficit of 11.3 points. The authors name this number as the one a future write-path keyer should be measured against. The entity linker, given the alias table, reaches 0.776 at a=1, 5.1 points from the oracle.

The authors read this as entity resolution that is hard but not intractable.

Read-path keying lifts the fuzzy rung's current@1 from 0.714 to 0.831 at a=1. It stops an embedding from matching a short form it never saw, because the query gets resolved before retrieval. Write-path keying alone holds contamination@5 at 0.032 in 467 slots. Symmetric keying reaches 0.831 at a=1 with contamination@5 at 0.034, while the symmetric rung beats the alias-table linker at p=0.03.

## Resolving the query as well as the write

Every rung above keys on the write path and then answers queries by embedding similarity, the way deployed memory systems do. The authors call that a choice rather than a necessity, since the query is text naming the same entity. They add two read-path rungs that use no resource the fuzzy linker lacks: same inventory, same τ, and no alias table.

The symmetric key does the same on top of the ordinary write-path merge.

The two paths fix different failures, and the read path fixes the top-1 result. At a=1 read-path keying cut the fuzzy linker's miss rate from 0.167 to 0.045. Without write-path merging it keeps 995 slots, and contamination@5 stays at 0.983. That is a store-all context with a good first hit.

Write-path keying fixes the context instead: alone it holds contamination@5 at 0.032 in 467 slots. The symmetric key reaches 0.831 current@1 at a=1, with contamination@5 of 0.034 in 467 slots. It beats the entity linker with a full alias table, 0.831 against 0.776, at p=0.03. Two rungs can tie on current@1 while differing sharply in contamination, at 0.983 and 0.034.

Current@1 alone would call them equal, so the authors need contamination@5 beside it.

## Whether retrieval metrics pick the right policy

Two keyers return the same statement at rank 1 on all 468 queries, yet they sit 65.6 points apart in reader accuracy without surfaced dates. A closed-book reader scores 0.088 with qwen2.5:14b and 0.244 with glm-4.6, which bounds what each reader knows without the store. The gap therefore comes from what fills ranks 2 to 5, since the top statement is the same in both keyers.

Constructed contexts isolate the effect by holding one stale version in the context and changing only its position. With the stale version placed last, qwen2.5:14b scores 0.850, against 0.314 when the current version comes first. The glm-4.6 reader moves less, at 0.592 and 0.637 for the same two orders. Surfacing the stored year lifts the worst ordering to 0.925 for qwen2.5:14b.

![Figure 3: Left: retrieval current@1 against reader accuracy for the primary reader; the dashed line is what a retrieval metric would predict. The arrow is the…](https://refivu.com/papers/d58fb65a-fbe1-4d01-a4a5-d6848ca8f8a5/figures/figure-3d81d73f7897def25808a7a7a153cb96.png?thumb=512)

**Figure 3** : Left: retrieval current@1 against reader accuracy for the primary reader; the dashed line is what a retrieval metric would predict. The arrow is the controlled pair — two keyers that return the same statement at rank 1 on every query of this configuration, so they share an x exactly and the vertical distance is what contamination of ranks 2–5 costs. Right: constructed contexts, where contamination is manipulated rather than observed.

[Original paper](https://arxiv.org/abs/2611.19752v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Contamination@5 agrees on 32 pairs, ties on 8 and inverts 2. Once the retain-everything control is dropped, current@1 still inverts 3 of the remaining 24 comparisons. Contamination@5 inverts none of those 24 comparisons, so the metric ranks them more faithfully.

Presentation order matters for time-rerank: showing the same top-k in ascending relevance moves its reader accuracy from 0.329 to 0.703, a shift of +37.4 points. Cosine store-all barely moves, at +0.6 points, and the retention policies change no answers at all. The authors qualify this result: the order ablation ran on qwen2.5:14b only.

## What a deployed memory system does with supersession

Mem0's supersession handling depends on which library release gets installed, and the authors ran both lines under the same harness.

On the two-statement stream about Peter Sagan, 0.1.118 returns ADD 1 and UPDATE 1 and keeps one memory. That run ranks the stale memory nowhere, because rank 1 is the current one. On the same stream, 2.0.11 returns ADD 2, keeps two memories, and ranks the stale one first. Across the full run, 0.1.118 makes 149 UPDATE and 31 DELETE decisions alongside 269 ADD, and ends at 238 slots.

Withdrawing the lexical anchor cuts the UPDATE count to 114, so the production adjudicator still varies along the axis §5.2 varies.

Scored by memory id, 0.1.118 reports current@1 0.913 at contamination@5 0.120, which looks like a working retention policy. The mechanism is that an UPDATE relabels a memory without rewriting it, so a current version's id sits on superseded text. The id-level headline doesn't survive: current@1 reads 0.913 to 0.180 by id, but 0.573 to 0.480 by text.

On 2.0.11 the id convention fails the other way, with 421 of 681 surfaced memories carrying an id that names a different subject. The authors measured this 62% mismatch but didn't find its mechanism, since a six-statement probe attached metadata correctly. The systems track rests on 150 facts with a single reader, so it's the narrowest evidence in the paper.

## Limits of the evidence

Anchored and full\_corpus saturate current@1, so the anchor-free axis is where policies separate. On anchor-free, the strongest blind rule reaches 0.630, compared to 0.827 for the oracle. The entity linker's residual 5.1 points is bounded from below, because it was handed the alias inventory the stream drew from.

A language model asked for a same-fact decision with no inventory reaches 0.459 anchor-free. That is below the embedding threshold at 0.513 and the entity linker at 0.776. The authors say this does not show language models are worse than trigram matching under equal information. They tested one prompt, one candidate set size and one model, so the result bounds LLM keying from below.

That compares to 0.940 for recency-weighted store-all on the same track. The systems track covers only 150 facts with a single reader, making it the narrowest evidence in the paper.

Retention removes staleness at the source only when arrival is in order and timestamps can be trusted. Ambiguous updates and retractions are out of scope for this benchmark. Statements are templated, so conversational reference such as pronouns and discourse coreference is outside what the instrument measures.

## Paper info

- **Authors**: S M Mahbub Murshed
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-15
- **Added**: 2026-11-17
- **Updated**: 2026-11-15
- **Version**: v1
- **arXiv**: 2611.19752
- **Category**: cs.CL · cs.AI · cs.IR
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.19752v1) · [PDF ↗](https://arxiv.org/pdf/2611.19752v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

An agent that stores facts over time eventually stores several versions of the same fact. Asked a value-agnostic question - "which team does X play for now?" - a similarity retriever cannot prefer the current version, because every version matches the entity the query names. StaleBench isolates this stale-retrieval failure on 892 real updating facts, with currency labels from the source (Wikidata validity years via TempLAMA), never from a retrieval score. Our central result is that retrieval metrics can rank memory policies backwards: a retention policy and its retain-everything control return the identical statement at rank 1 for every test query, yet differ by 29.5 and 65.6 points in reader accuracy on two readers when no date is shown. Contamination@5, the metric we add, ranks them correctly where current@1 and current@5 do not. Withdrawing the lexical anchor that statements carry costs deployed keying mechanisms tens of points of freshness; entity resolution on both the write path and the query recovers most of the loss. Three deployed systems (Mem0, Graphiti, LangMem) and a reimplemented ERASE each handle supersession differently, and no single scoring convention describes all four. We release the data, a frozen evaluator, and reference baselines.

## Quote from the paper

S M Mahbub Murshed (2026). StaleBench: Isolating Stale Retrieval in Agent Memory, and Pricing the Fix. arXiv:2611.19752v1. https://arxiv.org/abs/2611.19752v1

**BibTeX**

```
@misc{murshed2026stalebench,
  title = {{StaleBench: Isolating Stale Retrieval in Agent Memory, and Pricing the Fix}},
  author = {S M Mahbub Murshed},
  year = {2026},
  eprint = {2611.19752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19752v1}
}
```

## Other paper commentary

- [CLEAR: Legible and Steerable Recommendation via Grounded Natural-Language Interests](https://refivu.com/en/papers/2fa163bb-6806-45fb-bf55-7e557d1f4855-clear-legible-and-steerable-recommendation-via-grounded.md)
- [GPBam: A Retrieval-Aware German Public Law Exam Benchmark](https://refivu.com/en/papers/1c5e0fcb-29a2-4c4f-b904-1c687082c386-gpbam-a-retrieval-aware-german-public-law-exam.md)
- [StreamEmbed: Real-Time Indexing from Pixels for Screenshot Retrieval](https://refivu.com/en/papers/62997798-538e-4c46-9f02-24c435620ff4-streamembed-real-time-indexing-from-pixels-for-screenshot.md)
- [Explanations that Transfer: Interpreting Medical Retrieval with Sparse AutoEncoders](https://refivu.com/en/papers/fcc9b660-cb5e-4a36-99e8-e9d43824526d-explanations-that-transfer-interpreting-medical-retrieval.md)
- [Who Counts as Exposed? Measurement Choices in an Open, Re-estimable Index of Occupational AI Exposure](https://refivu.com/en/papers/bc2cfc93-d47d-40b5-b11c-31874b253264-who-counts-as-exposed-measurement-choices-in-an.md)
- [TriGen: A Generative Paradigm for Trigger-Induced Recommendation](https://refivu.com/en/papers/cb3aac71-304a-4a39-b5d4-9dc7fabfec94-trigen-a-generative-paradigm-for-trigger-induced.md)
- [Streaming across viewing conditions - The effect of viewing distance and display luminance on video quality](https://refivu.com/en/papers/4d335743-fea7-4109-9627-cb97356d5e02-streaming-across-viewing-conditions-the-effect-of-viewing.md)
- [Risk-certified prompt optimization for LLM-as-a-judge guardrails](https://refivu.com/en/papers/5761a2cd-94aa-40cd-99c2-9a639057b6a3-risk-certified-prompt-optimization-for-llm-as-a.md)
- [Can AI Judge You? An Empirical Audit of Deployment Readiness in LLM-assisted Hiring Systems](https://refivu.com/en/papers/2d9aad72-1413-4dff-810b-3dcfd3aa2fb8-can-ai-judge-you-an-empirical-audit-of.md)
- [Can decision models extract clinical data from cancer pathology reports? An evaluation of accuracy, calibration, and failure modes](https://refivu.com/en/papers/68c81f1f-22ac-4830-b068-46e0177f7953-can-decision-models-extract-clinical-data-from-cancer.md)
- [Does Learning Order Explain Forgetting? The Lie Bracket as an Early-Warning Signal for Catastrophic Forgetting Without Old Data](https://refivu.com/en/papers/64539a4f-1874-4500-94d4-0df24d9affd4-does-learning-order-explain-forgetting-the-lie-bracket.md)
- [Making Preemption Productive in Long-Output LLM Serving](https://refivu.com/en/papers/9b0d4dbe-5b49-451b-bbf8-332c064c718b-making-preemption-productive-in-long-output-llm-serving.md)

## Terms in this paper

- [anchor](https://refivu.com/en/terms/81833206c00d-anchor)
- [Wikidata](https://refivu.com/en/terms/e56f2f085e00-wikidata)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/d58fb65a-fbe1-4d01-a4a5-d6848ca8f8a5-stalebench-isolating-stale-retrieval-in-agent-memory-and)
