Efficiently Combining Human Demonstrations and Interventions for Safe Training of Autonomous Systems in Real-Time.

Vinicius G. Goecks, Gregory M. Gremillion, Vernon J. Lawhern, John Valasek, Nicholas R. Waytowich

Abstract

This paper investigates how to utilize different forms of human interaction to safely train autonomous systems in real-time by learning from both human demonstrations and interventions. We implement two components of the Cycle-of-Learning for Autonomous Systems, which is our framework for combining multiple modalities of human interaction. The current effort employs human demonstrations to teach a desired behavior via imitation learning, then leverages intervention data to correct for undesired behaviors produced by the imitation learner to teach novel tasks to an autonomous agent safely, after only minutes of training. We demonstrate this method in an autonomous perching task using a quadrotor with continuous roll, pitch, yaw, and throttle commands and imagery captured from a downward-facing camera in a high-fidelity simulated environment. Our method improves task completion performance for the same amount of human interaction when compared to learning from demonstrations alone, while also requiring on average 32% less data to achieve that performance. This provides evidence that combining multiple modes of human interaction can increase both the training speed and overall performance of policies for autonomous systems.

Introduction

Training autonomous systems for real-world tasks is notoriously difficult. Standard Reinforcement Learning (RL) is often sample inefficient, requiring millions of trials, and unsafe, as the agent must fail—often catastrophically—to learn. While Learning from Demonstration (LfD) allows a human to show the robot the "golden path," it is brittle; if the robot encounters a state slightly different from the demonstration, it lacks the knowledge to recover. Conversely, Learning from Interventions (LfI) allows real-time correction, but starting from scratch is tedious for the human trainer.

This paper addresses these gaps by introducing a unified, real-time system that leverages the strengths of both modalities while minimizing the burden on the human trainer.

The Cycle-of-Learning (CoL) Framework

The researchers implemented the first two stages of the Cycle-of-Learning (CoL) framework to create a robust training pipeline.

The Cycle-of-Learning (CoL) framework showing the transition from human-led training to autonomous independence.
  1. Stage 1: Imitation Learning (LfD): A human provides a small set of full task demonstrations. The agent uses supervised learning to train a neural network policy that mimics these actions.
  2. Stage 2: Real-Time Intervention (LfI): The agent takes control under human supervision. If the agent performs an unsafe action, the human intervenes via a joystick. The system treats these corrective actions as high-priority training data.
  3. Real-Time Policy Updates: To maintain a tight feedback loop, the system fine-tunes the neural network the moment new intervention data is received. This allows the human to see the agent improve almost instantly, preventing trainer frustration.

Experimental Results

The method was evaluated using the AirSim environment on a quadrotor perching task. The architecture used a fully-connected neural network to map 15-dimensional observation vectors to continuous control commands across four degrees of freedom.

Comparison of task completion rates across different training modalities with 8 human interactions.
  • Superior Performance: In the 20-episode condition, the CoL approach achieved a 90.25% task completion rate, significantly higher than the 76.25% achieved by demonstrations alone.
  • Data Efficiency: CoL required 37.79% fewer human-provided samples than the demonstration-only baseline to achieve its superior performance, resulting in a 1.84x higher task completion rate per sample.
  • Safety and Speed: Compared to state-of-the-art RL algorithms like Proximal Policy Optimization (PPO), which failed the full 4-DOF task within the training window, CoL succeeded in just minutes by allowing the human to "catch" the drone before crashes occurred.

Conclusion and Future Work

The Cycle-of-Learning framework demonstrates that interventions are more valuable than demonstrations alone because they provide data specifically for the "failure boundaries" where the agent is most confused. While current results are promising, future work will focus on reducing human fatigue and integrating the final stages of the CoL: Learning from Evaluation (binary feedback) and pure Reinforcement Learning to eventually achieve super-human performance.

Summary updated

BibTeX
@inproceedings{goecks2019efficiently,
  author = {Vinicius G. Goecks and Gregory M. Gremillion and Vernon J. Lawhern and John Valasek and Nicholas R. Waytowich},
  title = {{Efficiently Combining Human Demonstrations and Interventions for Safe Training of Autonomous Systems in Real-Time.}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=BmCbexGeuTH},
}
Figure