Can Agent Memory Systems Track Evolving State?

精选理由

This paper presents a new benchmark and memory method that could significantly improve the performance of AI agents in long interactions. It's a must-read for anyone interested in AI memory systems and benchmarks.

AI 摘要

This paper introduces StateMemBench, a benchmark for memory systems to track evolving states in long interactions. It shows that current memory systems struggle with this task. The paper also proposes StateMem, a new memory method that improves current-state accuracy significantly. It can be applied as a lightweight wrapper to existing systems, enhancing their performance on the benchmark.

原文 · arXiv: DeepSeek

As LLM-based agents are deployed for longer and higher-stakes tasks, their memory systems continue to have crucial gaps. While existing memory benchmarks focus largely on recall-shaped tasks, we argue an effective memory system must track the evolving state of the world; as facts, constraints, and decisions are revised over a long interaction, answers must reflect the current state and not a superseded one. We define this capability as state tracking and instantiate it in StateMemBench, a benchmark of 234 multi-session scenarios spanning two conversation-length regimes. Its closed-pool grading scores whether an answer reflects the current state, the superseded state, or fails otherwise, separating state-tracking failures from other errors by construction. Our analysis shows that this task is challenging for existing memory systems, retrieval-augmented baselines, and long-context baselines. We then present StateMem, a state-first memory method that explicitly tracks supersession and relational dependencies, and show it improves current-state accuracy over the strongest same-backbone baseline by 1.8x (0.205 -> 0.363) on DeepSeek-V4-Flash and over the strongest memory system by 1.6x (0.149 -> 0.233) on Qwen-3.5-9B, while remaining competitive with the long-context baselines. Finally, we show the same state approach can be applied as a lightweight single-call wrapper over existing memory systems, lifting current-state accuracy by +32 to +67 points on StateMemBench across six memory and retrieval backends. A length- and cost-matched control attributes +15 to +32 of those points to state structure rather than added context.