Batch Exploration With Examples for Scalable Robotic Reinforcement Learning

Annie S. Chen, HyunJi Nam, Suraj Nair, Chelsea FinnIEEE RA-L 2020 · DOI

Abstract

Learning from diverse offline datasets is a promising path towards learning general purpose robotic agents. However, a core challenge in this paradigm lies in collecting large amounts of meaningful data, while not depending on a human in the loop for data collection. One way to address this challenge is through task-agnostic exploration, where an agent attempts to explore without a task-specific reward function, and collect data that can be useful for any downstream task. While these approaches have shown some promise in simple domains, they often struggle to explore the relevant regions of the state space in more challenging settings, such as vision based robotic manipulation. To mitigate this challenge, we propose to focus exploration on the important parts of the state space using weak human supervision. Concretely, we propose an exploration technique, Batch Exploration with Examples (BEE), that explores relevant regions of the state-space, guided by a modest number of human provided images of important states. We find that BEE is able to tackle challenging vision-based manipulation tasks both in simulation and on a real Franka robot, and observe that compared to task-agnostic and weakly-supervised exploration techniques, it (1) interacts more than twice as often with relevant objects, and (2) improves downstream task performance when used in conjunction with offline RL.

The Challenge of Autonomous Data Collection

Training general-purpose robotic agents requires massive, diverse datasets. Currently, researchers typically choose between human teleoperation—which is high-quality but difficult to scale—and task-agnostic exploration, which is scalable but often yields low-quality data.

Task-agnostic methods like curiosity or model disagreement encourage agents to seek novel states. However, in high-dimensional visual environments, these agents often waste time on irrelevant "novelty," such as waving an arm in the air or interacting with distractor objects. The goal of this work is to inject a minimal amount of human supervision to guide autonomous exploration toward semantically relevant parts of the state space without requiring a human in the loop during the actual collection process.

Methodology: Batch Exploration with Examples (BEE)

The BEE framework: (1) Human provides weak supervision, (2) Agent collects data, (3) Offline learning is applied, (4) Policy is deployed.

The BEE framework operates in two distinct phases: exploration and batch reinforcement learning. The core innovation lies in the exploration phase, which uses weak supervision to constrain the search space.

  1. Acquiring Weak Supervision: A human provides a small set (10-100) of static images showing "relevant" states, such as a gripper near a target drawer. This process takes less than three minutes.
  2. Relevance Discriminators: The agent trains an ensemble of binary classifiers to distinguish its own observations from the human-provided examples. Techniques like mix-up regularization and spectral normalization prevent overfitting to the small human dataset.
  3. Model-Based Planning: The agent learns a latent dynamics model online and uses the Cross-Entropy Method (CEM) to plan action sequences.
  4. Optimistic Exploration: The reward signal is the maximum score from the discriminator ensemble. This optimistic estimate captures both predicted relevance and uncertainty, driving the agent toward promising but unexplored regions.

Experimental Results

BEE was evaluated in both simulated MuJoCo environments (block, door, and drawer scenes) and on a physical Franka Emika Panda robot.

A human-provided example (left, red) guides the robot to explore relevant interactions with a drawer (right, blue).

Key Findings

  • Increased Target Interaction: In simulation, BEE interacted with target objects more than twice as often as state-of-the-art baselines like Model Disagreement or State Marginal Matching. On the real robot, BEE interacted with the target drawer an order of magnitude more than the Disagreement baseline.
  • Superior Downstream Performance: Data collected via BEE led to higher success rates in offline RL tasks. For example, opening a simulated drawer achieved a 42% success rate compared to 36% for the best baseline. On the real robot, BEE achieved a 20% improvement in success rate for a drawer-closing task.
  • Robustness to Distractors: Unlike unsupervised methods that get "distracted" by any novel visual change, BEE remains focused on the target objects specified by the initial human examples.

Conclusion and Future Work

BEE demonstrates that a tiny amount of upfront human supervision can drastically improve the efficiency of autonomous robotic data collection. While the method is sensitive to the initial distribution of human-provided images, it offers a scalable path toward building diverse datasets for general-purpose robotics. Future work will focus on optimizing the generation of initial supervision and addressing real-world deployment hurdles like camera viewpoints and environment resets.

Summary updated

BibTeX
@article{chen2020batch,
  author = {Annie S. Chen and HyunJi Nam and Suraj Nair and Chelsea Finn},
  title = {{Batch Exploration With Examples for Scalable Robotic Reinforcement Learning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2020},
  doi = {10.1109/lra.2021.3068655},
}
Figure