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.
Why it matters: 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.