Learning Online from Corrective Feedback: A Meta-Algorithm for Robotics

Matthew Schmittle, Sanjiban Choudhury, Siddhartha S. SrinivasaarXiv 2021

Abstract

A key challenge in Imitation Learning (IL) is that optimal state actions demonstrations are difficult for the teacher to provide. For example in robotics, providing kinesthetic demonstrations on a robotic manipulator requires the teacher to control multiple degrees of freedom at once. The difficulty of requiring optimal state action demonstrations limits the space of problems where the teacher can provide quality feedback. As an alternative to state action demonstrations, the teacher can provide corrective feedback such as their preferences or rewards. Prior work has created algorithms designed to learn from specific types of noisy feedback, but across teachers and tasks different forms of feedback may be required. Instead we propose that in order to learn from a diversity of scenarios we need to learn from a variety of feedback. To learn from a variety of feedback we make the following insight: the teacher's cost function is latent and we can model a stream of feedback as a stream of loss functions. We then use any online learning algorithm to minimize the sum of these losses. With this insight we can learn from a diversity of feedback that is weakly correlated with the teacher's true cost function. We unify prior work into a general corrective feedback meta-algorithm and show that regardless of feedback we can obtain the same regret bounds. We demonstrate our approach by learning to perform a household navigation task on a robotic racecar platform. Our results show that our approach can learn quickly from a variety of noisy feedback.

Introduction

In the world of robotics, teaching a machine to perform a task is often harder than doing the task yourself. While Imitation Learning (IL) aims to solve this by letting robots "watch and learn," providing perfect demonstrations for a high-degree-of-freedom robot is a nightmare for human experts. Traditional IL usually relies on optimal demonstrations. Imagine trying to teach a robotic arm to assemble a gearbox by physically moving it (kinesthetic teaching); it’s clunky, and the human's performance often drops because they are fighting the robot's motors.

Because humans are better at critiquing than performing perfectly, researchers have developed various "corrective" methods like DAgger or Preference Learning. However, these are usually siloed: one algorithm handles preferences, another handles rewards, and another handles physical pushes. There hasn't been a unified way to handle a diversity of feedback within a single mathematical framework, especially when that feedback is noisy. A new paper from researchers at the University of Washington, presented at CoRL 2020, proposes a shift in perspective: instead of asking humans for perfect examples, why not just ask for corrections?

The Corrective Feedback Meta-Algorithm

The authors introduce a Corrective Feedback Meta-Algorithm that unifies various forms of human input—like steering corrections, binary preferences, or verbal "semantic" cues—into a single online learning framework. The core of this paper relies on a clever conceptual bridge:

  1. The Latent Policy: The human has a "true" desired policy in their head that the robot cannot see.
  2. The Pseudo-Loss: Every time a human provides feedback (a "no," a "turn left," or "I prefer A over B"), the algorithm maps that feedback to a pseudo-loss function.
  3. Online Optimization: The robot treats the interaction as a stream of these loss functions. It uses online gradient descent to minimize the sum of these losses over time.
Overview of the Corrective Feedback Meta-Algorithm framework.

To make this work theoretically, the authors use two key assumptions. First, Higher Curvature: the pseudo-loss is designed to be "steeper" than the human's actual internal cost, ensuring that the robot's updates are meaningful. Second, $\alpha$-informative Feedback: they assume that while the feedback might be noisy, it is at least "weakly correlated" with the truth—meaning it points the robot in the right general direction more often than not.

Experimental Evaluation

The researchers evaluated their meta-algorithm using the MuSHR robotic racecar platform within the Gibson Simulator. They tested the robot in three distinct household environments: Tolstoy, Newfields, and Corozal. These environments were semantically labeled, allowing programmatic teachers to give feedback based on specific objects like stairs, chairs, and doors.

Navigation tasks in simulated environments: Tolstoy, Corozal, and Newfields.

The robot successfully learned to navigate while avoiding specific obstacles using three different feedback types: Action (direct corrections), Preference (choosing between two paths), and Semantic (vague cues like "avoid stairs"). Direct action feedback resulted in the fastest convergence with the fewest corrections. However, semantic and preference feedback still reached low error rates, proving they are viable alternatives when direct control is difficult. The algorithm also showed robustness to noise; even with significant Gaussian noise added to the teacher's feedback, the robot still learned the task, though it required more corrections.

Discussion and Future Work

A powerful insight from this work is that feedback can be treated as a loss stream. You don't need a specific algorithm for every type of feedback; if you can write a function that maps a human's "ugh" or "better" into a mathematical loss, the meta-algorithm handles the rest. This unifies previous methods like Coactive Learning and Preference Learning as specific cases.

The paper also explores the "teacher threshold"—how bad does the robot have to be before the human intervenes? They found that a "middle ground" threshold is best; if the teacher is too picky, they provide too much noisy data; if they are too relaxed, the robot never learns the nuances.

Currently, a developer still has to manually define the mapping from feedback to pseudo-loss. Learning these mappings from experience is a major next step. Additionally, while the theoretical proofs relied on linear models, extending this to deep neural networks is an open challenge. Future work will also involve real-world human studies to see how people naturally distribute their feedback in unpredictable scenarios.

Summary updated

BibTeX
@misc{schmittle2021learning,
  author = {Matthew Schmittle and Sanjiban Choudhury and Siddhartha S. Srinivasa},
  title = {{Learning Online from Corrective Feedback: A Meta-Algorithm for Robotics}},
  year = {2021},
  eprint = {2104.01021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.01021},
}
Figure