MemTxn: A Transaction Boundary for Source-Supported Updates and Complete-State Recovery in Agent Memory
Hanshuai Cui, Zhiqing Tang, Zhi Yao, Fanshuai Meng, Qianli Ma, Weijia Jia
Abstract
Persistent memory lets long-running large language model agents reuse information across sessions and tasks. Yet errors in writable memory can persist and corrupt future behavior. Existing systems improve storage and retrieval, but they do not provide a transaction boundary for reliable updates and recovery. We therefore propose MemTxn, a governance layer outside the answer model. MemTxn verifies whether an update is supported by its source. It also selects the visible version when facts conflict and restores the application-visible state after a fault. The system uses Ordered PatchTest to validate writes, a Temporal Resolver to select versions, and a durable snapshot journal to recover state. On an item-disjoint audit, MemTxn accepts all 60 supported originals and rejects all 179 hard negatives. Under persistent multi-key faults on LongMemEval-S and LoCoMo states, it restores the complete declared active map without knowing the actual physical write set. On MemoryAgentBench FactConsolidation, MemTxn achieves the highest average F1 across all twelve answer-model configurations. It outperforms Dense by 17.06--24.07 points in five representative settings.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
Ekova: A Personality-Support Agent for Self-Discovery Dialogue
Shared title terminologycs.AIYuyan Chen
CrystalMem: Elastic Memory for Self-Evolving LLM Agents via Knowledge Crystallization
Shared title terminologycs.AIBeining Wu, Jun Huang
Shared Organizational Memory for Enterprise Coding Agents: System Design and Deployment Snapshot
Shared title terminologycs.AIHarsh Rao Dhanyamraju, Leonidas Raghav
AttriMem: Attribution-Guided Process Feedback for Agent Memory Construction
Shared title terminologycs.AIQinfeng Li, Yuntai Bao, Xinyan Yu et al.
MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneck
Shared title terminologycs.AIDongyi Liu, Haixing He, Xiaobao Wu et al.
CodeRescue: Budget-Calibrated Recovery Routing for Coding Agents
Shared title terminologycs.AIQijia He, Jiayi Cheng, Chenqian Le et al.