When an agent gives a wrong answer, most people start by pulling up the prompt and reading what the model saw. Reasonable instinct, but the prompt only shows you what survived. If the right fact was retrieved and then removed before it reached the model, the prompt looks clean, the bug is invisible, and you lose a day rewording. Anyone who has debugged from sampled telemetry knows this problem: you can't query an event you threw away. Agent memory is set up to repeat that mistake.
An agent with memory stores statements from past conversations and documents. Before answering, a retrieval step pulls back whatever in that store looks most relevant to the question. Relevance is all it scores. Two recent papers show what that leaves out.
MemGov, from this year's AACL conference, ran three common search methods against memory stores seeded with conflicts. In 47 to 51 percent of cases, retrieval returned both sides of a contradiction. Of course it did. Take a made-up example: "returns are accepted for 30 days" and "returns are accepted for 60 days" both match a question about the return policy beautifully. The authors put a gate between search and the model that enforces whatever rules it's handed, including which claims may never be served together. In their end-to-end runs, a contradiction-detecting model wrote those rules. Contradictions served dropped to zero, at the cost of a little lost evidence and about 65 milliseconds per case for the gate. Building the rules is a separate bill.
Be careful with that zero. It counts only the contradictions the gate recognized, so it shows the gate obeys its rules. Whether the rules are any good is another matter.
When Should LLM Agents Forget?, a workshop paper, tests what happens when they aren't. Each memory carries a label such as current, superseded (replaced by something newer) or expired, and a filter drops the stale ones before the model answers. With correct labels, accuracy rose 19 to 23 points over handing the model everything. Then the author scrambled labels. Once roughly a quarter to a third were wrong, filtering began to hurt; with half scrambled, it scored about 18 points below no filtering. Keeping every memory and showing the model its labels didn't help either, because wrong labels misled it anyway. The scenarios were synthetic, so trust the direction more than the exact thresholds.
So the pipeline holds two machines. One finds evidence. The other decides whether that evidence may be used here, for this purpose, next to these other facts. The first has decades of tooling and leaderboards behind it. The second is a judgment system whose error rate rarely gets measured.
It's Thanksgiving week, a good time to watch that judgment go wrong. Plenty of retailers stretch return windows for holiday purchases, so my two return statements may both be true, for different purchase dates. Suppose the gate treats them as a conflict, or tags the 30-day rule "superseded." It has just dropped the policy that still governs every October order. The memory is still in storage; the model simply never sees it.
What I'd want before shipping this:
- For each answer, log what retrieval found, what the gate removed, and why. If something was "replaced," log what replaced it.
- Sample exclusions by hand. Was the expired thing actually expired? Did the "conflicting" claims just cover different dates?
- Track two numbers separately from search accuracy: good evidence wrongly removed, and bad evidence wrongly let through.
- On a reviewed test set, compare answers with and without the gate.
Every "stale" label is a claim your system made about the world, and those claims are easier to check in November than when a customer disputes a refund in December.
-
The inconclusive real-data replication: When the forgetting study moved from synthetic chains to a question-disjoint MemoryAgentBench replication, the gain from filtering shrank to +0.03 with a confidence interval spanning zero, as the author reports in When Should LLM Agents Forget?.
-
Saving versus using memory: A new benchmark asks agents to choose between persisting a remembered detail, using it only locally, verifying it, or asking the user, and the paper Remember, Verify, or Ask? found its label and tool-selection conditions agreed on only 23–57% of items.
-
Who writes the definitions: The question of who authors the rules a gate enforces echoes an earlier Foundations piece on how SQL agents depend on expert business conventions, Revenue Is Number 28, and Someone Has to Tell the SQL Agent.
-
Whether memory earns its cost: For the prior question of whether add-on memory machinery beats a plain agent given the same budget, see Compared With What?, which separates self-contained tasks from those that genuinely need earlier sessions.

