Abstract
Reinforcement learning (RL) in robotics is often constrained by the difficulty of defining reward functions and the high data requirements of imitation learning. We present RoboCLIP, a framework that leverages pretrained Video-and-Language Models (VLMs) to enable robots to learn tasks from a single demonstration, such as a short text description or a video of a human. By utilizing the latent space of a VLM trained on diverse human activities, RoboCLIP generates reward signals based on the semantic similarity between a robot's actions and a task descriptor. Our results demonstrate that RoboCLIP significantly outperforms existing imitation learning baselines in data efficiency and zero-shot generalization across diverse environments.
Introduction
In traditional Reinforcement Learning, the "reward function" serves as the primary signal guiding a robot toward a goal. However, designing these functions is notoriously difficult, often requiring expert knowledge and access to internal environment states that are unavailable in real-world settings. Imitation Learning (IL) offers an alternative by allowing robots to learn from expert demonstrations, but standard IL methods are data-hungry, typically requiring thousands of examples recorded in the specific target environment.
RoboCLIP addresses this bottleneck by providing a natural and data-efficient interface for robot training. By using a single video or text prompt, RoboCLIP allows a robot to acquire new skills without manual reward engineering or massive in-domain datasets.
Methodology
The VLM Backbone
The core of RoboCLIP is a pretrained Video-and-Language Model (VLM), specifically S3D, which has been trained on the HowTo100M dataset—a collection of 100 million narrated web videos. Unlike image-based models (such as CLIP), S3D captures temporal dynamics, which are essential for understanding the "style" and sequence of robotic motions.
Reward Generation via Latent Similarity
The training process follows a four-step pipeline:
- Task Encoding: The user provides a task descriptor ($z^d$), which can be a natural language sentence (e.g., "robot opening drawer") or a video of a human performing the action.
- Observation Encoding: As the robot interacts with the environment, its movements are recorded as a video rollout and encoded into a latent vector ($z^v$) by the VLM.
- Similarity Calculation: RoboCLIP calculates the similarity (dot product) between the task descriptor and the robot's rollout in the VLM's embedding space. This score serves as a sparse reward provided at the end of each episode.
- Policy Optimization: The agent is trained using Proximal Policy Optimization (PPO) to maximize this similarity score, effectively aligning its behavior with the semantic meaning of the task descriptor.
Multimodal Task Specification and Editing
A unique feature of RoboCLIP is its ability to perform "task editing" through embedding algebra. Because the VLM maps text and video into a shared space, users can manipulate task definitions using vector arithmetic. For example, a user can take the embedding for a robot pushing a button, subtract the "button" concept, and add a "drawer" concept to generate a reward for a completely new task without requiring a new video demonstration.
Experimental Evaluation
Environments and Data
RoboCLIP was evaluated across several challenging benchmarks:
- Meta-World: A suite of robotic manipulation tasks including pressing buttons, opening doors, and closing drawers.
- Franka Kitchen: A complex environment requiring interaction with kitchen fixtures like kettles and cabinets.
- Out-of-Domain Generalization: The model was tested using animated stock videos and real-world smartphone footage of humans to determine if it could bridge the gap between human demonstrations and simulated robot actions.
Key Results
- Superior Performance: RoboCLIP achieved 2-3x higher zero-shot task success compared to state-of-the-art imitation learning baselines like GAIL and AIRL.
- Extreme Data Efficiency: While traditional baselines struggled even with multiple demonstrations, RoboCLIP succeeded using only a single video or text prompt.
- Cross-Domain Success: The model successfully trained robots using "out-of-domain" videos, such as a human opening a refrigerator in a real kitchen to teach a simulated robot to open a cabinet. This demonstrates the "actor-agnostic" nature of the VLM's representations.
- Finetuning Boost: In complex environments where zero-shot performance was initially low, using the RoboCLIP reward for pretraining followed by a quick finetuning phase improved performance by approximately 200%.
Discussion and Insights
Why Video Models Matter
A critical finding of this research is that video-based models (S3D) significantly outperform image-based models for reward generation. Image-based models often fail to capture the temporal progression of a task, whereas video models understand the "opening-ness" of an action, focusing on the semantics of the motion rather than the visual appearance of the actor.
Limitations
Despite its success, RoboCLIP faces several challenges. The rewards generated by VLMs can be relatively low in absolute value, which occasionally leads to instability during RL finetuning. Additionally, while the model excels at atomic actions (pushing, pulling), long-horizon, multi-stage tasks remain a challenge for single-demonstration learning. Finally, as with all models trained on web-scale data, implicit biases in the HowTo100M dataset may influence the learned policies.
Conclusion
RoboCLIP represents a significant step toward more intuitive and efficient robot training. By leveraging the semantic power of pretrained VLMs, it bypasses the need for manual reward engineering and allows robots to learn from the same diverse sources of information that humans use—language and observation.
Summary updated