Back to AI News
arxiv

TASK Memory Tackles Use-Time Hallucinations in LLM Agent Memory

A new arXiv paper characterizes "use-time memory hallucinations," where an LLM agent retrieves the right external memory but contradicts it, misapplies it to the wrong entity, or reverts to a superseded fact. Across five open models, the authors report memory-ignoring in up to 46% of queries, memory-misapplying up to 24% (49% when retrieval is combined with weight editing), and version confusion in 53% of answers about revised facts. Their proposed TASK memory pairs a text note with a removable knowledge edit that supplies an in-model address and steering vectors that decide per query whether the model adopts the memory or keeps its own answer. The authors report memory-ignoring reduced to at most 1.5% across ten model-dataset cells, neighbour misuse cut from 39.2% to 7.5%, and a 16.4 pp gain over BM25 RAG in a 300-memory library that holds at 3,000 memories.

AI Brief

It offers a concrete, benchmarked technique for a failure mode that affects anyone building retrieval-backed LLM agents, with reported gains across multiple models and memory scales.

arXiv:2611.34762v1 Announce Type: new Abstract: LLM agents increasingly rely on external memory, yet they still hallucinate about what they remember. Often the correct memory is retrieved and placed in the prompt, but the answer contradicts it or the memory is applied to the wrong question. We call these use-time memory hallucinations. Across five open models, we find that they arise from the conflict between parametric knowledge and external memory and take three forms: memory-ignoring, where the model returns to a stale fact in its weights (up to 46% of queries); memory-misapplying, where it attributes the memory to unrelated entities (up to 24%, and 49% when retrieval is combined with weight editing); and version confusion, where 53% of answers about revised facts assert the superseded value when both versions remain stored. We propose TASK memory, which goes beyond text-only memory by combining a Text note with Activation Steering and Knowledge editing that share one in-model address. The text holds the content. A removable knowledge edit supplies the address through its subject key and supports multi-hop composition. A pair of steering vectors decides, query by query, whether the model adopts the memory or keeps its own answer; the vectors store no content and control how the text memory is used. On frozen models under a pre-registered, test-once protocol, TASK reduces memory-ignoring hallucinations to at most 1.5% in all ten model-dataset cells and cuts neighbour misuse from 39.2% to 7.5% (+10.8 pp composite on CounterFact). It improves a 300-memory library over BM25 RAG by 16.4 pp, an advantage that holds at 3,000 memories, resolves fact revisions without fact IDs, and adds 7.5 pp of multi-hop accuracy on MQuAKE. 21 of 23 cross-model comparisons (8B-27B, four families) are significant, and TASK beats three recent context-steering methods in 9 of 10 model-dataset cells.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!