Many Steps into One: Reasoning Contraction and the Limits of Safe Memory Reuse for LLM Agents
Abstract
Thought templates, skill libraries, agent memories and caches turn many reasoning steps into one. We call this reasoning contraction. A contracted memory saves reasoning steps and errors until its facts change, then quietly answers wrong. Most systems trust memories by counting successes and failures. We prove that such counters are badly tuned change detectors: a symmetric counter notices a partial change only after a power of its false-alarm horizon, and an unclipped one may never notice it. On five LLMs answering multi-hop questions over edited facts, ExpeL- and ACE-style counters serve 7.0-13.5x more stale answers than certified memories given the same information, and on code tasks with an exact verifier 35-73x more. Safety also has a price. When facts change and each memory is judged only by its own verified outcomes, one number, the certification load, sets how much reasoning any safe memory can skip, and under Zipf demand it yields a scaling law. Our recipe weighs each memory's failures by its own likelihood ratio, certifies its utility against live reasoning, and restarts the certificate when facts change, with the likelihood-ratio detector as the safety net for unannounced changes; for large edits it also invalidates the memory.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- 57 pages
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.
Leto: Utility-Centric Agent Memory
Shared title terminologycs.CLShuguang Chen, Salman Paracha
Same Context, Different Agents: A Behavioral Study of Semantic Layers, Multi-Agent Orchestration and Memory Compaction in Data Agents
Shared title terminologycs.CLZhivar Sourati, Marianne Menglin Liu, Zheng Wang et al.
Taking the PULSE of Medical Reasoning: Step-Level Retrieval Timing for Knowledge-Grounded Inference
Shared title terminologycs.CLDanyang Zhao, Sendong Zhao, Yanrui Du et al.
MemDuet: Learning Dual-Process Memory for Long-Context Reasoning
Shared title terminologycs.CLJiangcheng Song, Haodong Jing, Yulin Mu et al.
EGCForest: Structured Agent Memory Organization for Enterprise Group Chats
Shared title terminologycs.CLLingxi Cui, Jinhao Ruan, Wenqing Wei et al.