ReLIC:面向具身智能的64k步上下文强化学习配方
ReLIC: A Recipe for 64k Steps of In-Context Reinforcement Learning for Embodied AI
AI总结:
ReLIC通过部分更新策略和Sink-KV机制,使具身智能体利用64k步上下文经验进行强化学习,在适应新环境和少样本模仿学习上超越元RL基线。
摘要:
智能具身智能体需要快速适应新场景,将长期经验历史整合到决策中。例如,一个机器人在陌生的房子里最初不知道任务所需物体的位置,可能表现低效。然而,随着它积累更多经验,它应该学习环境的布局并记住物体的位置,从而更高效地完成新任务。为了实现这种对新任务的快速适应,我们提出了ReLIC,一种面向具身智能体的上下文强化学习(RL)新方法。借助ReLIC,智能体能够利用64,000步的上下文经验以全注意力机制适应新环境,同时通过RL以自生成经验进行训练。我们通过提出一种新颖的在线策略RL策略更新方案,称为“部分更新”(partial updates),以及一种Sink-KV机制来实现这一目标,该机制使具身智能体能够有效利用长观测历史。我们的方法在具身多物体导航任务中适应未见过的房屋时,优于多种元RL基线。此外,我们发现ReLIC尽管从未使用专家演示进行训练,却具备少样本模仿学习的能力。我们还提供了对ReLIC的全面分析,强调大规模RL训练、所提出的部分更新方案以及Sink-KV的组合对于有效的上下文学习至关重要。ReLIC及我们所有实验的代码见 https://github.com/aielawady/relic。
英文摘要:
Intelligent embodied agents need to quickly adapt to new scenarios by integrating long histories of experience into decision-making. For instance, a robot in an unfamiliar house initially wouldn't know the locations of objects needed for tasks and might perform inefficiently. However, as it gathers more experience, it should learn the layout of its environment and remember where objects are, allowing it to complete new tasks more efficiently. To enable such rapid adaptation to new tasks, we present ReLIC, a new approach for in-context reinforcement learning (RL) for embodied agents. With ReLIC, agents are capable of adapting to new environments using 64,000 steps of in-context experience with full attention while being trained through self-generated experience via RL. We achieve this by proposing a novel policy update scheme for on-policy RL called "partial updates'' as well as a Sink-KV mechanism that enables effective utilization of a long observation history for embodied agents. Our method outperforms a variety of meta-RL baselines in adapting to unseen houses in an embodied multi-object navigation task. In addition, we find that ReLIC is capable of few-shot imitation learning despite never being trained with expert demonstrations. We also provide a comprehensive analysis of ReLIC, highlighting that the combination of large-scale RL training, the proposed partial updates scheme, and the Sink-KV are essential for effective in-context learning. The code for ReLIC and all our experiments is at https://github.com/aielawady/relic
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。