arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.05732

PACMI: Provenance-Aware Cascading Memory Invalidation for Long-Term LLM Agents

Yiqi Wang, Jiaqi Liu, Jiaqi Zhang, Zhangkai Wu, Yiqun Duan, Mingkai Zheng, Taotao Cai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LLM agents rely on long-term memory to retain and reuse information when performing tasks over long horizons. Existing methods provide limited support for handling memories that become outdated as new observations or domain evidence arrive. Such outdated memories may remain semantically relevant, continue to affect dependent records, and retain value as historical evidence. This calls for two capabilities: dependency tracking to identify downstream effects and historical preservation to retain useful past records. We propose Provenance-Aware Cascading Memory Invalidation (PACMI), a framework that represents memories and new evidence in a provenance graph with typed dependency edges. PACMI assigns records to a four-state validity lattice, propagates validity changes to dependent memories, and uses the resulting states for retrieval and stale-premise detection. We also introduce a diagnostic benchmark with 100 cases and 300 queries across five domains. The evaluation separates node-, context-, and answer-level performance. PACMI achieves the highest final-answer accuracy on this benchmark, and its paired difference from the strongest baseline is significant under an exact McNemar test. The premise checker achieves perfect precision, recall, and F1F_{1} on the controlled query distribution. Cascading propagation primarily improves memory-state correctness: removing it increases final-answer errors from 3 to 11, but the paired difference does not reach the 0.05 significance threshold. Code and data will be made publicly available.

1 Introduction

LLM agents (Zhang et al. 2026b) can employ external tools to complete tasks progressively in a long-horizon. Through autonomous decision-making process, they have been widely applied to personalized assistance (Park et al. 2023), task automation (Yao et al. 2023), and multi-step problem solving (Shinn et al. 2023; Wang et al. 2024). These agentic tasks often require LLM agents to retain and reuse information across sessions rather than solve each task from scratch. Long-term memory has therefore become an important component of agent systems, supporting persistent user information (Zhong et al. 2023; Chhikara et al. 2025; Zhang et al. 2026c; Yao and Zheng 2026), past interactions and task outcomes (Packer et al. 2023; Wang et al. 2023; Lu et al. 2025a, 2026, 2025b), and accumulated experience for future tasks.

Equipped with long-term memory, existing memory-augmented agents are mainly designed to improve memory representation and information utilization. Text-based and vector-indexed methods store past information as retrievable records and retrieve or summarize relevant content when needed (Lewis et al. 2020; Chhikara et al. 2025). Temporal methods organize memories over time to preserve evolving information (Rasmussen et al. 2025). Graph-based methods link related entities, facts, events, or experiences to support structured access and multi-hop retrieval (Edge et al. 2024; Guo et al. 2024; Gutiérrez et al. 2024). Recent systems further connect related notes and evolve memory structures to improve consolidation and long-term reuse (Xu et al. 2025; Lv et al. 2026). Although these methods improve memory storage, organization, and utilization, they pay limited attention to whether stored memories remain valid after new evidence arrives.

Agent memory changes over time. New observations may update a user's location, preference, goal, or plan. New domain evidence may also conflict with previously stored information. However, LLM agents often fail to identify such invalid memories, especially under implicit updates (Chao et al. 2026; Tao et al. 2026). Repeated LLM-based rewriting may further introduce errors (Zhang et al. 2026a; Yao, Zheng, and Li 2026). Semantic relevance alone cannot solve this problem, because a stale memory may remain highly relevant and still be retrieved.

Stale memories are not always useless. They may no longer support current decisions, but may remain valid as historical records. They may also affect downstream claims, assumptions, or recommendations. For example, if a user moves from Sydney to San Francisco, the Sydney record should not support current local recommendations. Related memories, such as restaurant suggestions or commuting assumptions, should also be re-evaluated. However, they may still be useful for historical queries. Stale-memory management therefore requires both dependency tracking and historical preservation.

We propose PACMI, which represents prior memories and new evidence as nodes in a memory provenance graph with typed dependency edges. Given new evidence, PACMI classifies evidence–memory relations, identifies directly replaced records, propagates validity along dependency edges into a four-state lattice, and then performs validity-aware retrieval and stale-premise checking before response generation. Figure 1 shows the workflow. Our main contributions are summarized as follows:

Figure

Figure 1: Overview of PACMI. Starting from an annotated pre-update provenance graph, PACMI inserts new evidence, classifies evidence–memory relations, propagates validity changes along typed dependency edges, performs validity-aware retrieval, and checks whether the query assumes a superseded fact before response generation.

• We propose PACMI, a provenance-aware framework for stale-memory management. It uses a four-state validity lattice and typed-edge propagation to update the validity of dependent memories.

• We release a new diagnostic benchmark with 100 cases and 300 queries across five domains. Its evaluation separates node-, context-, and answer-level performance.

• PACMI achieves higher final-answer accuracy on the benchmark, with a significant paired difference from the strongest baseline. The premise checker is perfectly accurate on the controlled query-type evaluation, while cascading propagation improves memory-state correctness but does not produce a statistically significant final-answer difference at the evaluated scale.

Scope and assumptions. We state up front what this paper does and does not establish, because it determines how our numbers should be read. (A1) The dependency edges of the pre-update graph are given by the benchmark annotation. We study propagation and retrieval given a provenance graph; we do not study graph induction from raw memory text. (A2) Each case presents a single new-evidence item over a fixed two-hop dependency chain and six prior memories. (A3) Consequently, in this benchmark the ground-truth validity labels are a deterministic function of graph topology. Metrics that score downstream state assignment therefore verify that propagation is implemented correctly; they are not evidence of comparative advantage, and we do not present them as such (see the Experiments section). These assumptions make the benchmark diagnostic rather than naturalistic. We argue this is the right first step for a problem that no existing benchmark isolates, and we specify in the Limitations section exactly which experiments would remove each assumption.

References (66)