Work

Evidence-Dependent Belief Revision, Tarjan SCC Cycle Guarding, and Evidence-Closure Retrieval for Long-Term LLM Memory Agents

Year: 2026
Type: preprint
Abstract: Long-horizon Large Language Model (LLM) agents accumulate evolving factual assertions that undergo contradiction, temporal supersession, cyclic self-support, and partial authorization visibility. Classical Truth Maintenance Systems (JTMS/ATMS) and AGM belief revision assume clean symbolic propositions and unbounded recomputation, whereas standard vector retrieval and untyped Personalized PageRank (PPR) ignore justification structure and edge polarity. We formalize and empirically evaluate the truth maintenance and closure retrieval layer of Mnemosyne: (1) a three-valued AND/OR justification engine (IN, OUT, UNKNOWN) with contradiction dominance, Tarjan Strongly Connected Component (SCC) cycle guarding, and budget-bounded fail-closed propagation (tms/engine.py, tms/scc.py); (2) visibility-aware read projection (projected_belief) separating hidden premises (UNKNOWN) from refutations (OUT); (3) non-destructive cascade tombstoning (tms/tombstone.py); and (4) typed Evidence-Closure Retrieval (ECR). On Mnemosyne-EvidenceBench-v1.0 (120 scenarios), ECR achieves 100.0% evidence completeness, conflict detection, qualifier recovery, and tombstone blocking with 0.0% stale misuse or cycle inflation at 0.445 ms P95 latency, versus 0.0% completeness and 100.0% stale misuse for similarity top-k and untyped PPR. Sparse DAG scaling reaches 0.297 ms online latency at 50,000 nodes (1,354.5x over full re-evaluation), while worst-case dense-fanout experiments (N=2,000, d <= 32) expose exact incremental crossover boundaries (0.50x-0.67x) where fail-closed budget_exhausted signaling is mandatory. On real external benchmarks, TMS+ECR resolves 100.0% of clean LongMemEval knowledge updates (degrading cleanly from 88.46% to 73.08% across 10%-30% injected extraction noise while maintaining 100.0% cycle blocking) and rejects 100.0% of 446 LoCoMo Category-5 adversarial hypotheses at 0.602 ms P95.
Author: Wang, Luo
Language: English
Open Access status: green
OpenAlex ID: W7242394958
Cites: 1
Cited by: 1
Related to: