在强化学习中,仅依靠记忆保持不足以掌握记忆任务
Memory Retention Is Not Enough to Master Memory Tasks in Reinforcement Learning
AI总结:
本研究提出一个基准测试持续记忆更新,发现经典循环模型在记忆重写任务中表现更优,强调需平衡稳定保留与适应更新的记忆机制。
摘要:
现实世界中的有效决策依赖于既稳定又适应性的记忆:环境会随时间变化,智能体必须在长时间范围内保留相关信息,同时在情况变化时更新或覆盖过时内容。现有的强化学习(RL)基准和记忆增强智能体主要关注保留能力,而记忆重写这一同样关键的能力则未被充分探索。为解决这一差距,我们引入了一个基准,专门测试在部分可观测条件下持续的记忆更新,即智能体必须依赖记忆而非当前观察的自然场景,并利用它来比较循环、基于变换器和结构化记忆架构。我们的实验发现,尽管经典循环模型简单,但在记忆重写任务中表现出更高的灵活性和鲁棒性,而现代结构化记忆仅在狭窄条件下成功,而基于变换器的智能体往往在超越简单保留案例时失败。这些发现揭示了当前方法的根本限制,并强调了需要平衡稳定保留与适应更新的记忆机制的重要性。我们的工作突显了这一被忽视的挑战,引入了评估其的基准,并为设计具有显式和可训练遗忘机制的未来RL智能体提供了见解。代码:https://quartz-admirer.github.io/Memory-Rewriting/
英文摘要:
Effective decision-making in the real world depends on memory that is both stable and adaptive: environments change over time, and agents must retain relevant information over long horizons while also updating or overwriting outdated content when circumstances shift. Existing Reinforcement Learning (RL) benchmarks and memory-augmented agents focus primarily on retention, leaving the equally critical ability of memory rewriting largely unexplored. To address this gap, we introduce a benchmark that explicitly tests continual memory updating under partial observability, i.e. the natural setting where an agent must rely on memory rather than current observations, and use it to compare recurrent, transformer-based, and structured memory architectures. Our experiments reveal that classic recurrent models, despite their simplicity, demonstrate greater flexibility and robustness in memory rewriting tasks than modern structured memories, which succeed only under narrow conditions, and transformer-based agents, which often fail beyond trivial retention cases. These findings expose a fundamental limitation of current approaches and emphasize the necessity of memory mechanisms that balance stable retention with adaptive updating. Our work highlights this overlooked challenge, introduces benchmarks to evaluate it, and offers insights for designing future RL agents with explicit and trainable forgetting mechanisms. Code: https://quartz-admirer.github.io/Memory-Rewriting/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。