Robotic Offline RL from Internet Videos via Value-Function Pre-Training

Chethan Anand Bhateja, Derek Guo, Dibya Ghosh, Anikait Singh, Manan Tomar, Quan Vuong, Yevgen Chebotar, Sergey Levine, Aviral Kumar · DOI

TL;DR

This paper introduces V-PTR, a novel system that leverages large-scale human video datasets to pre-train robotic reinforcement learning (RL) agents. By learning value functions from action-free video data, V-PTR creates representations that significantly improve downstream robotic manipulation tasks, leading to better generalization and robustness compared to existing methods.

What Problem Does This Paper Address?

Robotic reinforcement learning (RL) has the potential to learn a wide range of skills, but achieving broad generalization to new scenarios remains a significant challenge. While large-scale internet datasets have fueled generalization in other ML domains, directly applying them to robotics is difficult. Specifically, massive datasets like Ego4D, which contain human video, lack the action and reward annotations crucial for traditional RL methods. This "type mismatch" prevents robots from learning from the rich, diverse behaviors captured in human videos. Existing approaches often rely on self-supervised visual representation learning, which may not capture the "functional" understanding of the world needed for robotics. This paper aims to bridge this gap by effectively incorporating human video data into robotic offline RL pipelines.

Methods

V-PTR employs a three-phase approach:

  1. Video Pre-Training (Phase 1): This phase focuses on learning from action-free human video data (Ego4D). Instead of traditional self-supervised representation learning, V-PTR trains an intent-conditioned value function (ICVF) using temporal-difference (TD) learning. This allows the model to learn about long-term outcomes and task completion from passive video observations, without needing explicit actions or rewards. The ICVF is parameterized as $V(s_{video}, g_{video}, z) = \phi(s_{video})^T \psi(z) \chi(g_{video})$, where $\phi, \psi, \chi$ are learned models.
  2. Multi-Task Robot Pre-Training (Phase 2): To bridge the domain gap between human video and robot embodiment, V-PTR refines the learned representations using a multi-task robot dataset (Bridge dataset). Here, the system trains a Q-function and a policy using multi-task conservative Q-learning (CQL). Crucially, the visual encoder from Phase 1 is reused, and the Q-function and policy are conditioned on this pre-trained representation, along with a task identifier. This phase introduces robot-specific dynamics and action affordances.
  3. Fine-Tuning to a Target Task (Phase 3): Finally, the pre-trained Q-function and policy are fine-tuned on a small dataset for a specific target task using CQL. This phase adapts the general representations to the precise requirements of the downstream task.

Datasets

  • Ego4D: A large-scale, egocentric human video dataset used for Phase 1 (video pre-training). It contains approximately 4 million transitions.
  • Bridge Dataset: A multi-task robot dataset used for Phase 2 (multi-task robot pre-training) and Phase 3 (fine-tuning). This dataset consists of approximately 150,000 transitions from various manipulation tasks performed on a WidowX robot.

Key Insights and Ideas

  • Value Function Learning from Video is Key: The paper argues that learning value functions directly from action-free video data (via TD learning) is more effective for robotic RL than traditional self-supervised representation learning. This approach captures a deeper "functional" understanding of outcomes.
  • Bridging the "Type Mismatch": V-PTR explicitly addresses the challenge of using observation-only video data by first learning value functions and then refining these representations with action-annotated robot data.
  • Intent-Conditioned Value Functions (ICVF) for Pre-training: Using ICVFs allows the system to learn about task completion and long-term outcomes from passive video, which is a novel way to leverage large video datasets for robotics.
  • Generalization through Multi-Task Pre-training: The second phase, using a diverse multi-task robot dataset, is crucial for aligning the learned representations with robot embodiment and action spaces, thereby improving downstream generalization.

Key Results

  • Superior Performance: V-PTR consistently outperforms prior methods, including those that do not use video data or use different video pre-training strategies (e.g., R3M, MVP, VIP), across various manipulation tasks on a real WidowX robot.
  • Improved Generalization: V-PTR demonstrates significantly better zero-shot generalization to novel objects, distractors, and workspaces. For instance, in a "take object from bowl" task with unseen objects, V-PTR achieves 50% success rate, while other methods perform poorly.
  • Robustness: V-PTR policies are more robust to variations in initial robot pose and object positions.
  • Qualitative Improvements: Visualizations show V-PTR policies are more precise, capable of re-orienting the gripper, and exhibit smoother value function estimations, especially in the presence of distractors, compared to baselines.
  • Reduced Data Requirements: Even with a significant reduction in fine-tuning demonstrations (from 44 to 10), V-PTR still outperforms baselines.
  • Language Conditioning: V-PTR also shows improved performance when task specifications are provided as natural language descriptions.

Limitations and Future Work

  • Sensitivity to Environment Variations: The authors note that while V-PTR improves generalization, current methods (including V-PTR) remain sensitive to significant deviations in workspace height, camera angle, and robot configurations.
  • Scaling Opportunities: Future work could explore incorporating multi-robot datasets, larger human video datasets with language, and larger models to further enhance capabilities.
  • Further Exploration of Value Functions: The paper suggests that RL-like value pre-training on video data holds promise for improving general robot learning abilities, indicating a direction for future research in this area.

Summary updated

BibTeX
@misc{bhateja2023robotic,
  author = {Chethan Anand Bhateja and Derek Guo and Dibya Ghosh and Anikait Singh and Manan Tomar and Quan Vuong and Yevgen Chebotar and Sergey Levine and Aviral Kumar},
  title = {{Robotic Offline RL from Internet Videos via Value-Function Pre-Training}},
  year = {2023},
  eprint = {2309.13041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.13041},
}
Figure