NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Self-Supervised Data Collection for Offline Robot Learning

Shadi Endrawis, Gal Leibovich, Guy Jacob, Gal Novik, Aviv Tamar

TL;DR

This paper introduces a novel self-supervised method for collecting high-quality, diverse datasets for offline robot learning. By combining Intrinsic Motivation (to identify novel states) with Goal-Conditioned Reinforcement Learning (to actively navigate to those states), the authors produce data that significantly outperforms standard random or curiosity-driven exploration in downstream tasks like object manipulation and supervised scene understanding.

What Problem Does This Paper Address?

Offline Reinforcement Learning (RL) allows robots to learn from pre-collected datasets, avoiding the safety risks and time costs of online trial-and-error. However, the success of offline RL is entirely dependent on the quality and diversity of the data.

Currently, most data collection relies on manually designed "random" policies (e.g., randomly poking or throwing objects). While these work for simple tasks, they fail in complex environments where task-relevant states—like two blocks actually touching—are rare. Purely random exploration often gets stuck in a small, uninteresting portion of the state space. The challenge is: how can a robot autonomously explore its environment to collect a dataset that is both diverse and evenly distributed across all possible states?

Methods

The authors propose a method that treats data collection itself as an RL problem, where the objective is to maximize state-space coverage. Their approach integrates two key components:

  1. Random Network Distillation (RND) for Novelty: To define what is "interesting," they use RND. A "predictor" network tries to mimic a fixed, random "target" network. When the predictor fails (high error), the state is deemed novel.
  2. Goal-Conditioned RL for Active Navigation: Standard curiosity-driven RL is slow because the agent only learns to visit novel states through gradual reward propagation. The authors' "aha moment" is to use a goal-conditioned policy. At the start of an episode, the agent picks a state from its memory that RND flagged as highly novel and sets it as a goal. It then uses a goal-conditioned policy (trained via TD3 and a variation of Hindsight Experience Replay) to navigate directly to that novel region.
Fig. 1: The proposed framework combines RND to choose goals and Goal-Conditioned RL to reach them, populating a Replay Buffer for downstream tasks.

Key Innovation: Unlike standard Hindsight Experience Replay (HER), which stores goals statically, this method samples goals dynamically during training. This allows each state to be paired with multiple different goals, leading to much higher sample efficiency.

Datasets

The method was evaluated in two simulated environments:

  • Illustrative Toy Domain: A 2D environment where a white object moves against a black background (84x84 images). This was used to visualize state coverage.
  • Robotic Manipulation (Robosuite): A simulated 7-DoF Franka Panda arm interacting with a colored cube. The agent only receives raw camera images as input.

The collected data was then tested on downstream tasks:

  • Supervised Learning: Predicting the cube's color (classification) and position (regression).
  • Offline RL: Using the Batch Constrained Q-Learning (BCQ) algorithm to learn tasks like flipping the cube to a specific color, pushing it to a target, or a combination of both.

Key Insights and Ideas

  • Active vs. Passive Exploration: Instead of waiting for random noise to accidentally stumble upon a new state, the agent explicitly targets novelty. This "active" approach discovers novel regions much faster than vanilla intrinsic motivation.
  • Novelty in the Replay Buffer: By picking goals from the most novel states already seen in the replay buffer, the agent creates a frontier of exploration, constantly pushing into unknown territory.
  • Stabilizing the Value Function: The authors found that occasionally setting the "goal" to be the current state itself (with a reward of 0) significantly stabilized the training of the goal-conditioned value function.
  • Diversity Matters: Data that is evenly distributed across states (e.g., different cube orientations and positions) is far more valuable for offline learning than a massive dataset concentrated in one corner of the workspace.

Key Results

  • Superior Coverage: In the toy domain, the goal-conditioned agent visited significantly more unique and novel states than random or standard intrinsic motivation policies.
  • Better Downstream Performance: In supervised learning tasks, models trained on the goal-conditioned dataset achieved higher median accuracy and lower Mean Squared Error (MSE) compared to baselines.
  • Solving Complex Offline RL: For the "Flip and Push" task—the most difficult tested—the policy trained on goal-conditioned data achieved a high success rate, while policies trained on random data failed almost entirely.
Fig. 5: Visualization of cube positions collected. The goal-conditioned approach (c) shows much denser and more uniform coverage of the table compared to the random agent (a).

Limitations and Future Work

  • Sim-to-Real Gap: The current study is limited to simulation. The authors note that evaluating this on real robot hardware is a critical next step.
  • RND Limitations: While RND works well for these tasks, it can sometimes struggle with "noisy TV" problems or extremely high-dimensional visual changes that aren't task-relevant.
  • Scaling to Multi-Object Scenes: The paper focuses on a single cube; future work could explore how these exploration strategies scale when the number of interactable objects increases, leading to an exponential explosion in the state space.

Summary updated

BibTeX
@inproceedings{endrawis2021efficient,
  author = {Shadi Endrawis and Gal Leibovich and Guy Jacob and Gal Novik and Aviv Tamar},
  title = {{Efficient Self-Supervised Data Collection for Offline Robot Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  url = {https://openreview.net/forum?id=dIyUYHqaBb},
}

Loading related content...

Figure