Large language model (LLM) agents require persistent memory for extended interactions, yet existing memory-update methods struggle to preserve useful information reliably. Heuristic strategies may discard valuable memories, while learning-based approaches discover update policies through trial-and-error feedback. Even successful policies can mistakenly remove important information during individual updates, with such errors going unnoticed when the discarded memories happen not to be needed for downstream answers. Without assessing memory changes at each update, methods struggle to provide fine-grained feedback for reliable memory evolution. To address these challenges, we introduce WMem, a framework that learns memory-update policies through world modeling and step-level predictive feedback. WMem comprises three complementary components: World Modeling for Memory Dynamics, Step-Level Predictive Feedback, and Memory Damage Check. The Memory World Model shares parameters with the policy and predicts whether information will be preserved, revised, or absent after the next update, using supervision from observed trajectories. Step-Level Predictive Feedback leverages prediction accuracy to guide the policy toward more appropriate update decisions for individual memory units, weighting guideline scores by the likelihood of observed memory dynamics. Memory Damage Check assesses changes against dialogue evidence and penalizes unsupported revisions, unjustified omissions, and loss of contextual conditions. Experiments on PersonaMem, PrefEval, and PersonaBench demonstrate substantial overall improvements over strong baselines across extended interaction histories and noisy contexts.
翻译:暂无翻译