Skip to main content
QUICK REVIEW

[论文解读] Behavior Transformers: Cloning $k$ modes with one stone

Nur Muhammad Mahi Shafiullah, Zichen Jeff Cui|arXiv (Cornell University)|Jun 22, 2022
Reinforcement Learning in RoboticsComputer Science被引用 31
一句话总结

BeT 引入基于 Transformer 的方法,通过将连续动作离散成带有残差偏移的桶实现对多模态、无标签演示的模仿,从而实现离线数据的多模态行为克隆和在线 rollout。

ABSTRACT

While behavior learning has made impressive progress in recent times, it lags behind computer vision and natural language processing due to its inability to leverage large, human-generated datasets. Human behaviors have wide variance, multiple modes, and human demonstrations typically do not come with reward labels. These properties limit the applicability of current methods in Offline RL and Behavioral Cloning to learn from large, pre-collected datasets. In this work, we present Behavior Transformer (BeT), a new technique to model unlabeled demonstration data with multiple modes. BeT retrofits standard transformer architectures with action discretization coupled with a multi-task action correction inspired by offset prediction in object detection. This allows us to leverage the multi-modal modeling ability of modern transformers to predict multi-modal continuous actions. We experimentally evaluate BeT on a variety of robotic manipulation and self-driving behavior datasets. We show that BeT significantly improves over prior state-of-the-art work on solving demonstrated tasks while capturing the major modes present in the pre-collected datasets. Finally, through an extensive ablation study, we analyze the importance of every crucial component in BeT. Videos of behavior generated by BeT are available at https://notmahi.github.io/bet

研究动机与目标

  • 在没有奖励标签的情况下,推动从分布式多模态、无标签演示数据集中学习。
  • 提出一种可扩展的架构,使用 Transformer 捕捉多模态的动作分布。
  • 通过残差偏移头,使连续动作能够从离散桶中重构。
  • 在多样化的机器人和自主驾驶数据集上演示 BeT,以展示改进的多模态行为克隆。
  • 提供消融研究,以辨识分箱、偏移、历史信息和 Transformer 主干在其中的贡献。

提出的方法

  • 使用对行动进行 k-means 聚类,将动作分解为离散动作桶(中心)和连续残差(偏移)。
  • 使用 Transformer 解码器(minGPT)在观测历史的条件下预测一系列动作桶。
  • 对预测的桶分布使用 focal loss 进行训练,以处理多模态。
  • 添加一个残差偏移头,输出与 k 个桶相对应的 k 个残差向量,并使用多任务损失进行训练,只对真实桶的残差进行惩罚。
  • 推理阶段,从预测分布中采样一个桶并加上相应的残差以重构连续动作。
  • 初始化后保持 k-means 中心固定,以稳定训练和评估。

实验结果

研究问题

  • RQ1BeT 能否复现并覆盖多模态演示数据集中存在的多种模态?
  • RQ2在观测和动作维度各不相同的环境中,与基线相比,BeT 在在线 rollout 上的表现如何?
  • RQ3离散动作分箱、残差偏移、历史上下文和 Transformer 架构对 BeT 性能的影响是什么?
  • RQ4在长时程任务中,BeT 是否保持多模态而不收敛到单一模态?

主要发现

  • BeT 在多模态数据集的在线 rollout 中优于先前的行为克隆方法。
  • BeT 捕捉到训练数据中存在的主要模态,避免聚合为单一模态。
  • 离散动作分箱和残差偏移头对性能都至关重要,尤其是在高维动作空间。
  • 引入历史上下文提高 BeT 对跨环境演示行为的遵循度。
  • BeT 在计算效率方面具有竞争力,在线 rollout 明显比某些基线更快。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。