A Framework for Data-Driven Robotics

Serkan Cabi, Sergio Gómez Colmenarejo, Alexander Novikov, Ksenia Konyushkova, Scott E. Reed, Rae Jeong, Konrad Zolna, Yusuf Aytar, David Budden, Mel Vecerík, Oleg Sushkov, David Barker, Jonathan Scholz, Misha Denil, Nando de Freitas, Ziyu WangarXiv 2019

Abstract

This paper presents a framework to scale robot learning by decoupling data collection from task-specific training. By utilizing "reward sketching"—a rapid human-in-the-loop annotation method—researchers can retrospectively label massive databases of past experiences. This enables the training of complex manipulation policies entirely offline via batch reinforcement learning, overcoming traditional barriers of data scarcity and the reward gap in physical robotics.

Introduction

In fields like Computer Vision and Natural Language Processing, progress is driven by massive, labeled datasets. Robotics, however, has struggled to find its "ImageNet moment" due to two primary bottlenecks. First, data scarcity: data collection occurs in real-time on physical hardware, which cannot be accelerated like simulation. Second, the reward gap: while rewards in simulation are easily defined, real-world tasks like stacking blocks or handling cloth require brittle, hand-engineered sensors or complex vision pipelines to determine success.

To address these challenges, this work proposes a system that collects a diverse "bucket" of robot behaviors once and reuses that data to learn new tasks offline, effectively turning robot learning into a data-driven scaling problem.

The Cyclical Workflow

The core of the framework is a five-stage cyclical workflow designed to maximize data utility and minimize human intervention during the training loop.

The proposed five-stage framework decouples data collection from policy optimization, enabling the reuse of diverse robot experiences.
  1. Data Collection: Robots perform various actions via teleoperation, scripted routines, or previously trained agents. All data—pixels, joint positions, and actions—is stored in NeverEnding Storage (NES).
  2. Reward Sketching: To teach a new task, a human annotator "scrubs" through video clips and draws a curve representing progress toward a goal. This method is significantly faster than frame-by-frame labeling.
  3. Reward Learning: A neural network is trained to mimic these sketches using an intra-episode ranking loss. This accounts for human subjectivity by focusing on relative progress (e.g., "Frame A is better than Frame B") rather than absolute numerical values.
  4. Batch RL: The learned reward model automatically labels historical data in the NES. A policy is then trained using Distributional Deterministic Policy Gradient (D4PG) entirely offline.
  5. Deployment & Evaluation: The policy is tested on the real robot. Failure cases are fed back into the sketching phase to refine the reward model, closing the loop.

Reward Sketching and Learning

Reward sketching allows an annotator to process hundreds of frames per minute, making it a scalable solution for labeling large datasets. By training the reward model to rank states within an episode, the system becomes robust to human inconsistency in labeling scales.

The reward sketching interface allows humans to provide intuitive progress signals, which are then used to train a reward model via ranking loss.

Experimental Results

The framework was evaluated using two primary subsets of the NES: an RGB Dataset (~193 hours) involving rigid objects and a Deformable Dataset (~191 hours) involving cloth and rope.

Key results include:

  • Lifting Tasks: Achieved an 80% success rate on standard objects and 50% on objects never seen during training.
  • Stacking: Demonstrated a 60% success rate on complex green-on-red stacking tasks.
  • Cloth Manipulation: Achieved a 74% success rate in lifting cloth from randomized positions.
  • Industrial Relevance: The robot learned to insert a USB key in under 8 hours of total time using an interactive version of the loop.

Key Insights and Discussion

  • Data Repurposing: Data collected for one task contains valuable "physics lessons" for others. Relabeling old data with new rewards allows agents to learn dynamics without new physical trials.
  • The Value of "Trash" Data: Ablation studies showed that including "random watcher" data (unsuccessful or random movements) improved performance on unseen objects by up to 30%, suggesting that diversity is more critical than success in the initial data pool.
  • Distributional RL: Modeling the probability distribution of rewards, rather than just the mean, was found to be essential for stable batch RL in robotics.

Conclusion and Future Work

While reward sketching is highly efficient, scaling to thousands of tasks remains labor-intensive. Future work will focus on more intuitive interfaces and automated methods to further reduce human annotation. Nonetheless, this framework demonstrates that decoupling data collection from learning is a viable path toward large-scale, general-purpose robotic intelligence.

Summary updated

BibTeX
@misc{cabi2019framework,
  author = {Serkan Cabi and Sergio Gómez Colmenarejo and Alexander Novikov and Ksenia Konyushkova and Scott E. Reed and Rae Jeong and Konrad Zolna and Yusuf Aytar and David Budden and Mel Vecerík and Oleg Sushkov and David Barker and Jonathan Scholz and Misha Denil and Nando de Freitas and Ziyu Wang},
  title = {{A Framework for Data-Driven Robotics}},
  year = {2019},
  eprint = {1909.12200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.12200},
}
Figure