When Does Execution Provenance Help Agent Memory Retrieval?
Yiqi Wang, Jinqian Ju, Jiaqi Zhang, Zequn Sun, Yiqun Duan, Mingkai Zheng, Taotao Cai
Abstract
A language agent's execution history can exceed its context window, requiring its memory system to retrieve complete supporting evidence under a hard token budget. Evidence may span multiple execution events, yet conventional retrievers use fixed token windows and fixed-k metrics that reward individual fragments without showing whether the complete evidence set fits in context. Smaller windows reduce irrelevant text but scatter evidence across candidates, while flat-versus-graph comparisons can conflate candidate design with graph propagation. To address these limitations, we formulate agent-memory retrieval as budgeted evidence completion and score exact gold spans in shared source coordinates. We first construct source-aligned provenance units from tool arguments and outputs. We then apply a zero-initialized residual R-GCN to refine frozen dense-retrieval scores over typed provenance edges. We evaluate 2,000 span-grounded memory queries over 1,207 held-out execution-grounded ISETrace trajectories. With matched Dense-FT scoring, provenance units improve Full Support@2048 by 19.07 points over flat 512-token windows and remain 11.96 points above a per-metric oracle over four flat chunk sizes; the pattern also holds with cross-encoder scoring. Holding the candidates and seed scores fixed, graph propagation adds 4.55 points in Full Support@2048 (95% CI [2.98, 6.18]). This gain is concentrated when gold evidence spans multiple events; entity co-occurrence expansion produces no comparable benefit, and relation and topology controls confirm dependence on typed transformations and observed graph structure. Overall, source-aligned candidates address the dominant granularity trade-off, while graph-conditioned propagation adds a smaller, targeted benefit for distributed evidence.
Create a lesson
Metadata
- Comments
- 16 Pages, 5 Figures, 11 Tables
Related papers
Surfacing Disagreement Beats Resolving It: A Gated Ablation Study of Provenance-Weighted Memory for Multi-Agent Debate
Shared title terminologycs.MAZiaullah Khan, Abdul Rehman Khalid, Shrestha Nischal Lal et al.
AgenticRag-R1: Agentic Reinforcement Learning with Stack Memory for Multi-Step Reasoning, Retrieval and Memorizing
Shared title terminologycs.MAXinke Jiang, Yue Fang, Zhibang Yang et al.
BiFocal: Self-Evolving Local-Global Memory Agents for Long-Video Reasoning
Shared title terminologycs.MAJiangwen Dong, Hao Lan, Wanyu Lin
Specializing LLM Agents for Natural Language GUI Test Execution
Shared title terminologycs.MAAnge Bardet, Moncef Zermache, Alexis Thomas et al.
When Successful Collaboration Becomes an Attack Surface: Insider Memory Poisoning in Multi-Agent Systems
Shared title terminologycs.MAJihyung Ahn, Buru Chang
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Shared title terminologycs.MAZijia Cao, Hanqing Dou