Skip to main content
QUICK REVIEW

[论文解读] Lossless Adaptation of Pretrained Vision Models For Robotic Manipulation

Mohit Sharma, Claudio Fantacci|arXiv (Cornell University)|Apr 13, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用 3
一句话总结

本文通过在视觉模型的中层和底层插入参数高效的适配器,提出了一种预训练视觉模型在机器人操作任务中的无损微调方法,在保持原始模型能力的同时,实现了接近全量微调的性能表现。该方法实现了高效的仿真到现实的迁移,且在35项任务和多种架构上均优于冻结特征和仅顶层适配器的方法。

ABSTRACT

Recent works have shown that large models pretrained on common visual learning tasks can provide useful representations for a wide range of specialized perception problems, as well as a variety of robotic manipulation tasks. While prior work on robotic manipulation has predominantly used frozen pretrained features, we demonstrate that in robotics this approach can fail to reach optimal performance, and that fine-tuning of the full model can lead to significantly better results. Unfortunately, fine-tuning disrupts the pretrained visual representation, and causes representational drift towards the fine-tuned task thus leading to a loss of the versatility of the original model. We introduce "lossless adaptation" to address this shortcoming of classical fine-tuning. We demonstrate that appropriate placement of our parameter efficient adapters can significantly reduce the performance gap between frozen pretrained representations and full end-to-end fine-tuning without changes to the original representation and thus preserving original capabilities of the pretrained model. We perform a comprehensive investigation across three major model architectures (ViTs, NFNets, and ResNets), supervised (ImageNet-1K classification) and self-supervised pretrained weights (CLIP, BYOL, Visual MAE) in 3 task domains and 35 individual tasks, and demonstrate that our claims are strongly validated in various settings.

研究动机与目标

  • 为解决在复杂机器人操作任务中,冻结的预训练特征因表征能力不足而导致性能停滞的问题。
  • 克服全量微调引起的表征漂移问题,避免原始预训练能力的退化。
  • 实现参数高效且无损的微调,保持原始模型的通用性,同时达到接近端到端微调的性能。
  • 在多种架构(ViTs、NFNets、ResNets)、预训练方法(监督学习、自监督学习)和操作任务上验证该方法的有效性。
  • 在无需真实世界微调数据的情况下,仅使用领域随机化的仿真数据,实现有效的仿真到现实迁移。

提出的方法

  • 在预训练视觉模型的多个层级(底层、中层和顶层)引入参数高效的适配器,实现无需修改原始主干网络的任务特定微调。
  • 在关键位置插入带有可学习参数的适配器模块,以保留预训练特征的同时支持任务特定的表征学习。
  • 仅训练适配器参数和最终策略头,冻结原始模型权重,以保持原始能力。
  • 在三个操作基准(Franka、Dribble、RGB-Stacking)和三种模型架构上进行评估,涵盖多种预训练方法(ImageNet、CLIP、BYOL、Visual MAE)。
  • 在训练过程中应用视觉领域随机化(DR),以提升仿真到现实的泛化能力,尤其在具有挑战性的任务中表现更优。
  • 与冻结特征、仅顶层适配器和全量微调进行对比,验证中层和底层适配器的有效性。

实验结果

研究问题

  • RQ1在复杂机器人操作任务中,中层和底层适配器是否能显著优于冻结的预训练特征?
  • RQ2参数高效的适配器插入是否能在保持原始模型能力的同时,实现接近全量微调的性能?
  • RQ3该方法在不同视觉架构(ViTs、NFNets、ResNets)和预训练方法(监督学习、自监督学习)上的泛化能力如何?
  • RQ4该适配器方法是否能在无需真实世界微调数据的情况下,实现有效的仿真到现实迁移?
  • RQ5结合预训练视觉模型与适配器时,视觉领域随机化是否能提升仿真到现实的性能?

主要发现

  • 在底层和中层插入的适配器显著优于仅顶层适配器和冻结特征,尤其在多物体堆叠和多样化初始配置等复杂任务中表现突出。
  • 该方法在35项任务中性能与全量微调相差不足5%,同时仅引入约原始模型1%的参数量。
  • 在具有挑战性的RGB-堆叠任务中,基于NFNet的策略在无真实世界数据的仿真到现实迁移中达到24%的成功率,而从零开始训练仅达5%,冻结特征则为0%。
  • 结合视觉领域随机化后,基于NFNet的策略成功率提升至53%,与仿真性能持平,展现出强大的泛化能力。
  • ViT-based策略在仿真到现实设置中存在过拟合问题,但适配器有效缓解了该问题,在较简单配置下实现了24%的成功率。
  • 该方法保持了原始模型的能力,如在ImageNet-1K及其他预训练任务上的性能保持不变,证实了无损微调的有效性。

阅读本论文

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

在 Nubint 中阅读本论文

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