arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.14039cs.LGcs.AIcs.NE
收藏

走向心理时间旅行:一种用于强化学习智能体的分层记忆

Towards mental time travel: a hierarchical memory for reinforcement learning agents

DeepMind

Andrew Kyle Lampinen, Stephanie C. Y. Chan, Andrea Banino, Felix Hill

摘要:

强化学习代理经常忘记过去的细节,特别是在延迟或分心任务之后。具有共同记忆结构的智能体很难回忆和整合过去事件的多个时间步,甚至很难回忆起分心任务之后的单个时间步的细节。为了解决这些局限性,我们提出了一个分层组块注意力记忆(HCAM),它可以帮助代理记住过去的细节。HCAM通过将过去划分为块来存储记忆,并通过首先对块的粗略摘要执行高级注意,然后仅在最相关的块内执行详细注意来回忆。因此,具有HCAM的代理可以“精神时间旅行”-详细地记住过去的事件,而无需关注所有干预事件。我们发现,代理与HCAM大大优于代理与其他内存架构的任务,需要长期回忆,保留,或推理记忆。这些包括回忆对象在3D环境中隐藏的位置,快速学习在新的邻域中有效导航,以及快速学习和保留新的对象名称。具有HCAM的智能体可以外推到比训练时间长得多的任务序列,甚至可以将zero-shot从元学习设置推广到跨片段维护知识。HCAM提高了代理样本效率、泛化和通用性(通过解决以前需要专门架构的任务)。我们的工作是朝着能够在复杂和暂时扩展的环境中学习,互动和适应的代理迈出的一步。

英文摘要:

Reinforcement learning agents often forget details of the past, especially after delays or distractor tasks. Agents with common memory architectures struggle to recall and integrate across multiple timesteps of a past event, or even to recall the details of a single timestep that is followed by distractor tasks. To address these limitations, we propose a Hierarchical Chunk Attention Memory (HCAM), which helps agents to remember the past in detail. HCAM stores memories by dividing the past into chunks, and recalls by first performing high-level attention over coarse summaries of the chunks, and then performing detailed attention within only the most relevant chunks. An agent with HCAM can therefore "mentally time-travel" -- remember past events in detail without attending to all intervening events. We show that agents with HCAM substantially outperform agents with other memory architectures at tasks requiring long-term recall, retention, or reasoning over memory. These include recalling where an object is hidden in a 3D environment, rapidly learning to navigate efficiently in a new neighborhood, and rapidly learning and retaining new object names. Agents with HCAM can extrapolate to task sequences much longer than they were trained on, and can even generalize zero-shot from a meta-learning setting to maintaining knowledge across episodes. HCAM improves agent sample efficiency, generalization, and generality (by solving tasks that previously required specialized architectures). Our work is a step towards agents that can learn, interact, and adapt in complex and temporally-extended environments.

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

↑