ResearchPod Summary
As LLMs transition from static question-answering tools to long-running agents, they face a fundamental challenge: how to maintain a coherent, persistent state when the interaction history inevitably exceeds the model's fixed context window. Existing solutions like RAG or summarization often struggle to provide seamless, continuous state updates. This paper investigates how to achieve state continuity—the ability to carry computation forward through a fixed-capacity memory state that persists independently of the active working context.
LiveMem augments a pretrained transformer with a parallel recurrent memory branch using Gated DeltaNet-2 (GDN2). While the main attention path handles precise, short-term access via a bounded KV window, the memory branch continuously updates a fixed-size latent state. The authors implement a specific 'context turnover' mechanism where, as old tokens are evicted from the attention window, their information is preserved within the recurrent memory state. To ensure this state is actually utilized, the authors introduce memory-oriented post-training using both supervised fine-tuning (SFT) and reinforcement learning (RL), which forces the model to rely on the memory state for decision-making after evidence has been removed from the active context.
LiveMem achieves leading performance among intrinsic memory methods across a variety of benchmarks, including Wiki QA, conversation tasks, and long-document QA. Experimental results on LongMemEval demonstrate that the model can successfully answer questions based on information stored in the memory state, even when the original supporting evidence has been completely phased out of the current context window. The authors show that this memory state acts as a distinct, complementary abstraction to external retrieval systems, providing a more fluid, stateful experience for long-running agents.
This work provides a structural solution to the 'context turnover' problem, moving beyond simple retrieval-based patches. By integrating memory directly into the model backbone and training it to handle lifecycle transitions, LiveMem offers a path toward truly persistent, stateful AI agents that do not 'forget' their history as they continue to operate over indefinite timeframes.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.