arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.06983cs.AIcs.LG
收藏

关于记忆:世界模型中记忆机制的比较

On Memory: A comparison of memory mechanisms in world models

Department of Computer Science Southern Methodist University(计算机科学系南方 Methodist 大学)

Eli J. Laird, Corey Clark

AI总结:

本文通过分析几种记忆增强机制,探讨了世界模型中记忆跨度的限制,并提出了一种分类方法以提升模型在长时规划中的能力。

摘要:

世界模型使智能体能够在想象的环境中进行规划,通过根据过去观察和动作预测未来状态。然而,其在长时间范围内进行规划的能力受限于基础架构的有效记忆跨度。这种限制导致在长时间展开中出现感知漂移,阻碍了模型在想象轨迹中完成循环闭合的能力。在本文中,我们通过分析几种记忆增强机制来研究变压器世界模型的有效记忆跨度。我们引入了一种分类方法,区分记忆编码和记忆注入机制,并从残差流动态的角度出发,阐明它们在扩展世界模型记忆中的作用。通过一个状态回忆评估任务,我们测量了每种机制的记忆回忆能力,并分析了各自的权衡。我们的发现表明,记忆机制提高了视觉变换器的有效记忆跨度,并为在世界模型想象中完成循环闭合提供了途径。

英文摘要:

World models enable agents to plan within imagined environments by predicting future states conditioned on past observations and actions. However, their ability to plan over long horizons is limited by the effective memory span of the backbone architecture. This limitation leads to perceptual drift in long rollouts, degrading the model's capacity to recall recently observed scenes. In this work, we investigate the effective memory span of transformer-based world models through an analysis of memory augmentation mechanisms. We introduce a taxonomy that distinguishes between memory \emph{encoding} and memory \emph{injection} mechanisms, motivating their roles in extending the world model's memory through the lens of residual stream dynamics. We evaluate twenty combinations of four encoding methods and five injection methods in the MemoryMaze environment. Using a state recall evaluation task across multiple imagination horizons, we measure the memory recall capacity of each mechanism and analyze their respective trade-offs in reconstruction quality, latent prediction error, and computational cost. We further ablate the effect of injection depth and compare the best memory-augmented vision transformer against a pure state-space model backbone. Our central finding is that the mLSTM memory encoder outperforms all alternatives in both reconstruction and latent fidelity metrics. Paired with additive injection, it exhibits the strongest recall capabilities at a moderate computational cost while matching or slightly exceeding a pure Mamba backbone. This evaluation is limited to a single environment and does not explore the effect of each mechanism on downstream task performance. We believe these research directions merit an in-depth study of their own to clearly isolate the effects, and therefore are left for future work.

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

↑