Minimizing Human Assistance: Augmenting a Single Demonstration for Deep Reinforcement Learning

Abraham George, Alison Bartsch, Amir Barati Farimani

TL;DR

This paper introduces a method to supercharge Deep Reinforcement Learning (DRL) using just a single human demonstration. By augmenting one minute of VR-collected data into a diverse "human buffer" and using a "pre-play" training strategy, the researchers achieved a 4x speedup on standard tasks and solved complex multi-step problems (like block stacking) that standard DDPG+HER algorithms couldn't solve at all.

What Problem Does This Paper Address?

Deep Reinforcement Learning is notoriously sample-inefficient, especially in environments with "sparse rewards"—where the agent only gets a "good job" signal after completing a long sequence of perfect actions. In these scenarios, an agent might wander aimlessly for millions of steps before accidentally stumbling upon the goal.

While providing human demonstrations is a proven way to guide exploration, it usually creates a new bottleneck: collecting 100+ expert demonstrations is tedious and time-consuming. The authors sought a "middle ground" that retains the performance boost of human guidance while requiring less than 60 seconds of actual human effort.

Methods

The authors' pipeline consists of three main stages:

  1. Intuitive Data Collection: Instead of complex teleoperation, they used a Meta Oculus Quest 2 VR headset. A human performs the task once in a virtual environment, providing a natural and high-quality trajectory of state-action pairs.
  2. Trajectory Augmentation: This is the core innovation. To prevent the agent from overfitting to one specific path, the system takes that single demonstration and generates thousands of "human-like" variations. It randomizes start and goal positions, linearly scales the original trajectory to fit the new coordinates, and injects Ornstein–Uhlenbeck noise to ensure variety.
  3. Hybrid Training (DDPG + HER + Human Buffer):
    • The agent uses Deep Deterministic Policy Gradients (DDPG) combined with Hindsight Experience Replay (HER).
  4. During training, 25% of the data is sampled from the "Human Buffer" (the augmented demos), and 75% comes from the agent's own experience.
  5. For the hardest tasks (Stacking), they use "Pre-play": the environment is initialized by following a human-like trajectory for a random number of steps before handing control to the agent. This effectively acts as a curriculum, letting the agent practice the "end" of the task before mastering the beginning.

Datasets

The model was evaluated on the Panda-Gym benchmark, which uses a simulated Franka Emika Panda robot arm. The authors tested three specific tasks:

  • Push: Sliding a block to a target.
  • Pick-and-Place: Lifting a block and moving it to a target.
  • Stack: Lifting one block and placing it precisely on top of another (a long-horizon task).

They also validated the trained policies on physical hardware using a real Franka Emika Panda arm and an Intel RealSense camera for vision.

Key Insights and Ideas

  • The "Aha" Moment on Policy Divergence: Interestingly, the agent doesn't just mimic the human. In the "Push" task, the human demo involved picking up the block and placing it. The RL agent eventually learned that simply dragging the block was more efficient. The human demo served as a "map" to find the reward, but the agent still optimized its own "route."
  • Augmentation is Vital: An ablation study showed that using the single demo without augmentation performed no better than the baseline. The diversity created by scaling and noise is what allows the agent to generalize.
  • Pre-play as a Jumpstart: For the stacking task, the baseline success rate was 0%. By using "pre-play" to put the agent in successful states early in training, the model reached a 90% success rate. It essentially solves the "needle in a haystack" problem of sparse rewards.

Key Results

  • Efficiency: In the Pick-and-Place task, the proposed method reached 80% accuracy in less than 1/4 of the time required by the DDPG+HER baseline.
  • Capability: On the complex Stacking task, the baseline failed completely (0% success), while the human-aided model achieved >90% success within 170 epochs.
  • Hardware Validation: The policies transferred to the real world with an 87% success rate for Pick-and-Place. However, the Stacking task failed on hardware (0%) due to the "sim-to-real gap"—the real-world physics of sliding blocks were too different from the simulation.

Limitations and Future Work

The primary limitation is the linear interpolation used for augmentation. This works well for simple movements but struggles with tasks that can't be easily scaled (e.g., if there are obstacles in the way).

The authors suggest that future work should focus on:

  1. Robust Trajectory Generation: Developing more sophisticated ways to augment demos that can handle non-linear paths and obstacles.
  2. Algorithm Agnosticism: Testing the "human buffer" concept with other DRL algorithms like Soft Actor-Critic (SAC).
  3. Sim-to-Real Improvements: Using domain randomization to ensure that complex contact physics (like stacking) translate better from the simulator to the physical robot.

Summary updated

BibTeX
@inproceedings{george2023minimizing,
  author = {Abraham George and Alison Bartsch and Amir Barati Farimani},
  title = {{Minimizing Human Assistance: Augmenting a Single Demonstration for Deep Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161119},
}
Figure