Skip to main content
QUICK REVIEW

[Paper Review] RoboCLIP: One Demonstration is Enough to Learn Robot Policies

Sumedh Sontakke, Jesse Zhang|arXiv (Cornell University)|Oct 11, 2023
Reinforcement Learning in RoboticsComputer Science7 citations
TL;DR

RoboCLIP is a novel imitation learning method that enables robot policy learning from a single video or text demonstration using a pretrained Video-and-Language Model (VLM) to generate reward signals without manual reward engineering. It achieves 2–3× higher zero-shot success rates than state-of-the-art methods on robotic manipulation tasks, even when using out-of-domain demonstrations or without fine-tuning the VLM.

ABSTRACT

Reward specification is a notoriously difficult problem in reinforcement learning, requiring extensive expert supervision to design robust reward functions. Imitation learning (IL) methods attempt to circumvent these problems by utilizing expert demonstrations but typically require a large number of in-domain expert demonstrations. Inspired by advances in the field of Video-and-Language Models (VLMs), we present RoboCLIP, an online imitation learning method that uses a single demonstration (overcoming the large data requirement) in the form of a video demonstration or a textual description of the task to generate rewards without manual reward function design. Additionally, RoboCLIP can also utilize out-of-domain demonstrations, like videos of humans solving the task for reward generation, circumventing the need to have the same demonstration and deployment domains. RoboCLIP utilizes pretrained VLMs without any finetuning for reward generation. Reinforcement learning agents trained with RoboCLIP rewards demonstrate 2-3 times higher zero-shot performance than competing imitation learning methods on downstream robot manipulation tasks, doing so using only one video/text demonstration.

Motivation & Objective

  • To address the challenge of sparse and costly expert supervision in reinforcement learning by reducing reliance on large-scale demonstrations.
  • To enable imitation learning with only one demonstration, either a video or a natural language description, to improve data efficiency.
  • To allow the use of out-of-domain demonstrations (e.g., human videos from different environments) for reward signal generation.
  • To leverage pretrained VLMs without fine-tuning to generate semantic similarity-based rewards for online RL.
  • To improve zero-shot generalization in robotic manipulation tasks using minimal human-provided supervision.

Proposed method

  • RoboCLIP uses a pretrained S3D video model (from HowTo100M) to encode both the agent’s interaction video and the task demonstration (text or video) into latent embeddings.
  • It computes a trajectory-level reward as the cosine similarity between the embedding of the agent’s rollout and the embedding of the demonstration, serving as a proxy for task success.
  • The method operates in an online RL loop, where the agent explores and the VLM provides dense, semantic rewards based on alignment with the demonstration.
  • The VLM is used in a zero-shot manner—no fine-tuning is performed on the robot’s environment, preserving generalization across domains.
  • The approach supports both in-domain and out-of-domain demonstrations, including human videos from different environments.
  • It leverages contrastive learning in the VLM to capture motion and semantic structure, which is critical for task completion signals.
Figure 1 : RoboCLIP Overview. A Pretrained Video-and-Language Model is used to generate rewards via the similarity score between the encoding of an episode of interaction of an agent in its environment, $\mathbf{z}^{v}$ with the encoding of a task specifier $\mathbf{z}^{d}$ such as a textual descrip
Figure 1 : RoboCLIP Overview. A Pretrained Video-and-Language Model is used to generate rewards via the similarity score between the encoding of an episode of interaction of an agent in its environment, $\mathbf{z}^{v}$ with the encoding of a task specifier $\mathbf{z}^{d}$ such as a textual descrip

Experimental results

Research questions

  • RQ1Can a single video or text demonstration be sufficient to train a robot policy using a pretrained VLM for reward generation?
  • RQ2Does using out-of-domain demonstrations (e.g., human videos from different environments) still yield effective reward signals for policy learning?
  • RQ3How does the performance of RoboCLIP compare to state-of-the-art imitation learning methods in terms of zero-shot success rate?
  • RQ4What is the impact of using a video-based VLM versus a static-image model (e.g., CLIP) on reward quality and policy performance?
  • RQ5Can the VLM’s semantic embeddings generalize across domain shifts, such as between kitchen environments and the VLM’s pretraining distribution?

Key findings

  • RoboCLIP achieves 2–3× higher zero-shot task success rates than state-of-the-art imitation learning baselines on the Meta-World and Franka Kitchen environments.
  • Using a single in-domain video demonstration yields the strongest pretraining signal, outperforming multiple demonstrations due to better embedding alignment.
  • Out-of-domain human demonstration videos still provide useful reward signals, even when the environment and camera setup differ from the pretraining data.
  • Using CLIP (a vision transformer trained on static images) fails to provide useful pretraining rewards, indicating that motion and temporal dynamics are essential for effective reward shaping.
  • The method generalizes well across domains, as evidenced by strong performance even when the VLM was pre-trained on diverse, non-robotic videos.
  • The reward signal remains stable and effective without VLM fine-tuning, demonstrating the robustness of the pretrained embeddings for zero-shot imitation.
Figure 2 : Domain Alignment Confusion Matrix. We perform a confusion matrix analysis on a subset of the data on collected on Metaworld (Yu et al., 2020 ) environments by comparing the pair-wise similarities between the latent vectors of the strings describing the videos and those of the videos. We f
Figure 2 : Domain Alignment Confusion Matrix. We perform a confusion matrix analysis on a subset of the data on collected on Metaworld (Yu et al., 2020 ) environments by comparing the pair-wise similarities between the latent vectors of the strings describing the videos and those of the videos. We f

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.