arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.41270cs.AI
收藏

WMem:通过世界模型建模记忆动态实现记忆学习

WMem: Learning to Remember by Modeling Memory Dynamics with World Models

University of Science and Technology of China(中国科学技术大学);University of Chinese Academy of Sciences(中国科学院大学);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学)

Huizu Lin, Tao Huang, Peixi Wu, Chengkai Huang, Zijie Liu, Xiangyu Yu, Jitong Song, Yansong Peng, Hebei Li, Lina Yao, Xiaoyan Sun

AI总结:

WMem是结合世界建模与步骤级预测反馈的记忆更新框架,通过三个组件解决LLM智能体记忆更新的错误问题,在多个数据集上较基线实现显著性能提升。

摘要:

大型语言模型(LLM)智能体在长交互过程中需要持久记忆,但现有记忆更新方法难以可靠保留有用信息。启发式策略可能丢弃有价值的记忆,而基于学习的方法通过试错反馈发现更新策略;即使成功的策略也可能在单次更新中错误删除重要信息,且当被丢弃的记忆未被下游答案需要时,此类错误会被忽略。由于未在每次更新时评估记忆变化,方法难以提供细粒度反馈以实现可靠的记忆演化。为解决这些挑战,我们提出WMem框架,通过世界建模和步骤级预测反馈学习记忆更新策略。WMem包含三个互补组件:记忆动态的世界建模、步骤级预测反馈和记忆损伤检查。记忆世界模型与策略共享参数,利用观测轨迹的监督预测下一次更新后信息是否被保留、修改或缺失。步骤级预测反馈利用预测准确性引导策略为单个记忆单元做出更合适的更新决策,通过观测记忆动态的可能性对指导分数加权。记忆损伤检查根据对话证据评估变化,并惩罚无支持的修改、不合理的遗漏和上下文条件的丢失。在PersonaMem、PrefEval和PersonaBench上的实验表明,在长交互历史和噪声环境中,WMem相比强基线实现了显著的整体性能提升。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑