Skip to content

When Does a Memory Descendant Need Repair? Structural Lineage vs. Stale State in Persistent Agent Memory

Joongwon Chae, Lihui Luo, Wenjie Li, Yang Liu, Zichen Liang, Peter E. Lobie, Peiwu Qin

cs.AI

Abstract

Persistent LLM agents reuse intermediate conclusions stored across interactions. When a source fact is corrected, these conclusions may remain active and mislead later answers. Dependency-guided repair traces the source's structural descendants, but does reliable repair require recording the full lineage? We distinguish historical dependency, update sensitivity, and stored-state error, then compare provenance graphs under a fixed repair operator in controlled memory lifecycles and public multi-hop tasks. In the controlled testbed, LLM material-support provenance reaches 95-100% of stale state despite covering only about half of structural descendants at greater depth. Matched-random graphs with identical edge budgets, precision, and recall reach only about two-thirds. Value-agreement support reproduces this selectivity, and closed-loop runs preserve the result when repairs regenerate answers and dependencies. A certificate -- a subset of parent values sufficient to force the stored conclusion -- explains when edges can be omitted. We prove consistency across sequential and simultaneous corrections on fixed dependency graphs under local correctness, certificate containment, and full-parent re-derivation. On public lookup chains, LLM attribution achieves post-repair accuracy within 0.02 of oracle path repair, while structural and stale-state coverage nearly coincide. Structural fidelity and repair adequacy therefore differ, with the available repair savings depending on the support needed to preserve each conclusion.

Create a lesson