Interactive Learning with Corrective Feedback for Policies Based on Deep Neural Networks

Rodrigo Pérez-Dattari, Carlos Celemin, Javier Ruiz-del-Solar, Jens Kober

TL;DR

Researchers have developed D-COACH, a framework that allows humans to train deep neural network policies for robots using simple corrective "nudges" (e.g., "steer more to the left") rather than complex reward functions. By combining interactive feedback with experience replay, D-COACH learns significantly faster than standard Deep Reinforcement Learning, successfully mastering tasks like simulated car racing and real-world lane following in minutes rather than hours.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) has achieved incredible feats, from mastering Atari games to beating Go champions. However, DRL has a "data hunger" problem. It typically requires millions of trials to learn a behavior, which is often impossible for physical robots that wear out or move slowly.

Furthermore, DRL relies on a reward function—a mathematical formula that tells the agent how well it’s doing. In the real world, designing these functions is notoriously difficult. If you want a robot to "drive safely," how do you turn that into a single number? Often, you need external sensors just to calculate the reward.

The authors address these gaps by moving away from autonomous reinforcement and toward Interactive Machine Learning (IML), where a human teacher provides real-time corrections to guide the agent's learning process.

Methods

The paper introduces Deep COACH (D-COACH), which scales the existing COACH (COrrective Advice Communicated by Humans) framework to work with Deep Neural Networks (DNNs).

Key components include:

  • Corrective Feedback: Instead of a score (evaluative feedback), the human provides a direction of correction ($h$). For example, if a car is drifting right, the human signals "left." This is converted into an error signal used to update the policy via supervised learning.
  • Neural Architectures: The system uses Feed-forward Neural Networks (FNNs) for simple states and Convolutional Neural Networks (CNNs) for image-based tasks. For images, they use a pre-trained autoencoder to compress raw pixels into a low-dimensional "latent space" that the policy can easily process.
  • Experience Replay: A major contribution of this paper is adding a memory buffer to the IML process. The system stores past corrections and periodically "re-studies" them. This ensures that a single piece of human advice is used multiple times to solidify the learning.
  • Coupled Training: The authors allow one human signal to affect multiple action dimensions simultaneously (e.g., "turn left" might automatically imply "slow down"), leveraging human intuition about how different actions relate.

Datasets

The researchers validated D-COACH across three distinct environments:

  1. Cart-Pole (Simulated): A classic control problem with a low-dimensional state space.
  2. Car Racing (Simulated): A high-dimensional task where the agent learns to drive on a track using raw pixel data.
  3. Duckie Racing (Real World): A physical Duckiebot (a small autonomous taxi) that must learn to stay in its lane using an onboard camera.

Key Insights and Ideas

  • The Buffer is a Game-Changer: In traditional IML, feedback is often "use it and lose it." By introducing a replay buffer, the authors found that the agent could learn even when the human teacher made mistakes (up to 20% erroneous feedback). The buffer helps the network find the underlying pattern despite the noise.
  • Efficiency over Autonomy: D-COACH doesn't try to be "smarter" than the human; it tries to be a better student. By treating human corrections as labels for supervised learning, it bypasses the "exploration" phase of RL, which is where most time is wasted.
  • No Reward, No Problem: Because the human is the feedback mechanism, there is no need to write a single line of code defining what "success" looks like. This makes it much more feasible for non-experts to train robots.

Key Results

  • Speed: In the Cart-Pole task, D-COACH reached peak performance in a fraction of the time required by DDPG (a state-of-the-art DRL algorithm).
  • Performance: In the simulated Car Racing task, a policy trained by an experienced human for just 75 minutes achieved an average score of 903. This outperformed several state-of-the-art DRL algorithms, including A3C and DQN, which often require much longer training times.
  • Real-World Success: The Duckiebot successfully learned to navigate a real track and stay within a specific lane using only human "nudges" and raw camera feed, proving the framework's viability for physical systems.

Limitations and Future Work

  • Human Dependency: The system is only as good as its teacher. While the buffer helps mitigate mistakes, a consistently poor teacher will result in a poor policy.
  • Pre-training Requirements: For image-based tasks, the autoencoder must be trained offline first using a database of environment images. This means the robot can't start from "zero" in a brand-new environment without some prior data collection.
  • Future Directions: The authors suggest exploring how to handle cases where human feedback is extremely sparse or how to transition from human-led learning to autonomous fine-tuning.

Reference: Pérez-Dattari, R., Celemin, C., Ruiz-del-Solar, J., & Kober, J. (2018). Interactive Learning with Corrective Feedback for Policies based on Deep Neural Networks. International Symposium on Experimental Robotics (ISER).

Summary updated

BibTeX
@inproceedings{perezdattari2018interactive,
  author = {Rodrigo Pérez-Dattari and Carlos Celemin and Javier Ruiz-del-Solar and Jens Kober},
  title = {{Interactive Learning with Corrective Feedback for Policies Based on Deep Neural Networks}},
  booktitle = {ISER},
  year = {2018},
  url = {https://openreview.net/forum?id=WrRPrPR0J2},
}
Figure