# FlowRetrieval: Flow-Guided Data Retrieval for Few-Shot Imitation Learning

> 原标题：FlowRetrieval: Flow-Guided Data Retrieval for Few-Shot Imitation Learning

- 来源：Stanford ILIAD / Dorsa Sadigh
- 文章发布日期：2024-08-29
- Physical AI Hot：https://physical-ai-hot.pages.dev/items/lfjwuwepcnzhougx1e3affo81
- 原文：https://arxiv.org/abs/2408.16944

## 一句话结论

FlowRetrieval通过光流表示检索与目标任务动作相似的跨任务数据，并引导策略学习，在仿真和真实机器人环境中提升少样本模仿学习表现；摘要称其平均成功率比最佳检索基线高27%。

## 摘要

Few-shot imitation learning relies on only a small amount of task-specific demonstrations to efficiently adapt a policy for a given downstream tasks. Retrieval-based methods come with a promise of retrieving relevant past experiences to augment this target data when learning policies. However, existing data retrieval methods fall under two extremes: they either rely on the existence of exact behaviors with visually similar scenes in the prior data, which is impractical to assume; or they retrieve based on semantic similarity of high-level language descriptions of the task, which might not be that informative about the shared low-level behaviors or motions across tasks that is often a more important factor for retrieving relevant data for policy learning. In this work, we investigate how we can leverage motion similarity in the vast amount of cross-task data to improve few-shot imitation learning of the target task. Our key insight is that motion-similar data carries rich information about the effects of actions and object interactions that can be leveraged during few-shot adaptation. We propose FlowRetrieval, an approach that leverages optical flow representations for both extracting similar motions to target tasks from prior data, and for guiding learning of a policy that can maximally benefit from such data. Our results show FlowRetrieval significantly outperforms prior methods across simulated and real-world domains, achieving on average 27% higher success rate than the best retrieval-based prior method. In the Pen-in-Cup task with a real Franka Emika robot, FlowRetrieval achieves 3.7x the performance of the baseline imitation learning technique that learns from all prior and target data. Website: this https URL

## 为什么重要

以下为编辑分析，不能视作已验证结果。

该工作把跨任务数据检索的依据从高层语言或视觉场景相似性推进到动作相似性，回应了少样本策略学习中低层行为和物体交互信息不足的问题。

## 对 AI 研究或应用的影响

以下为编辑分析，不能视作已验证结果。

如果光流确实能稳定识别对策略学习有用的动作相似性，跨任务机器人数据的检索和少样本适配可能更少依赖目标任务的精确行为匹配。

## 值得继续追的问题

- 在不同任务、视角、光照和动作速度变化下，光流检索相似运动的有效性是否仍能复现？
- 摘要所称平均成功率提升27%以及Pen-in-Cup任务中的3.7倍表现，分别基于哪些任务数量、基线和统计口径？
- 真实Franka Emika机器人实验中，检索数据规模与目标任务示范数量如何影响最终性能？

