An Interpretable Memory Decision Controller for LLM Agents Based on Three-Signal Complementarity: Decoupling Confidence and Consistency
Yiming Zhang, Jinghong Zhang, Haoran Zhao, Yiren Ma, Chunlei Zhao
Abstract
Memory systems for large language models have focused predominantly on efficient retrieval, whereas the decision of whether retrieved memories should be trusted has received comparatively little attention. When the memory store contains conflicting positions, standard retrieval-augmented generation (RAG) blindly injects memories and amplifies hallucinations: in models susceptible to memory injection, the RAG hallucination rate under conflicting memories is markedly higher than that of a memory-free baseline. Inspired by memory signaling mechanisms in the prefrontal cortex, we propose the Memory Decision Layer (MDL), a zero-parameter memory decision controller situated between the retrieval and generation stages. Its core is a three-signal complementary encoder that fuses relevance, reliability, and task risk through QR-based orthogonal subspace projection and a meta-working-memory signal into an interpretable decision representation that quantifies the trustworthiness of retrieved memories. Building on this encoder, MDL explicitly decouples confidence from consistency and introduces risk inversion and explicit abstention. Evaluations on mainstream large language models and multiple open-source datasets show that MDL reduces the hallucination rate under conflicting memories by about 56.04% in general scenarios and approaches zero hallucination in high-risk scenarios. The controller is fully white-box: it relies purely on geometric operations, requires no trained parameters, and adds only about 0.14 ms per decision -- roughly 50x faster than the embedding-retrieval step that precedes it and four to five orders of magnitude faster than an LLM self-evaluation call.
Create a lesson
Metadata
- Comments
- 17 pages, 6 figures, 10 tables
Related papers
Failure Broadens, Success Sharpens: Continual Adaptation of Tool-Use Agents Across Diverse Tasks with Dual-Polarity Memory
Shared title terminologycs.CLTianmai M. Zhang, Hoda Shajari, Amr Hendy et al.
Lost in Translation, Not in Confidence: Benchmarking and Calibrating Multilingual Decision Models
Shared title terminologycs.CLMingzhe Du, Thong Thanh Nguyen, Nguyen Tran Cong Duy et al.
Leto: Utility-Centric Agent Memory
Shared title terminologycs.CLShuguang Chen, Salman Paracha
DolphinBench: Mapping the Pareto Frontier of Agent Memory
Shared title terminologycs.CLSoumil Rathi, Deshraj Yadav, Taranjeet Singh
When Successful Memories Mislead Embodied Agents:Memory Adaption For Task-Conditioned Execution
Shared title terminologycs.CLQuanquan Li, Hongbo Zhang, Yihe Chi et al.
RPMem: Learning Long-Term Recurrent Parametric Memory Across Sessions for LLM Agents
Shared title terminologycs.CLFanyu Zhao, Ruike Cao, Liang Dong et al.