Interactive Learning from Policy-Dependent Human Feedback

James MacGlashan, Mark K. Ho, Robert Tyler Loftin, Bei Peng, Guan Wang, David L. Roberts, Matthew E. Taylor, Michael L. Littman

In the world of Reinforcement Learning (RL), we often treat human feedback as a simple "score"—a stationary reward function that the robot should maximize. But if you’ve ever trained a dog, you know that’s not how it works. You praise a puppy for just sitting still, but once they’ve mastered "sit," you stop the treats and only reward them when they do something better or faster.

A team of researchers from Brown, UT Austin, and other institutions recently published a paper at ICML titled "Interactive Learning from Policy-Dependent Human Feedback" that argues our algorithms should reflect this human reality.

The Problem with Traditional Reward Maximization

Most "learning from humans" algorithms assume people give absolute scores for actions. However, when humans train agents, they don't act like a fixed mathematical function. They exhibit:

  1. Diminishing Returns: They stop giving positive feedback once a behavior is learned.
  2. Differential Feedback: They give higher rewards for big improvements and negative feedback for regressions.

Existing frameworks like TAMER interpret human feedback as an absolute "target reward" to be maximized. This often leads to "positive reward cycles" (where the agent loops a sub-optimal behavior just to collect points) or "forgetting" (where the agent stops doing a good behavior because the human stopped praising it). The authors set out to prove that human feedback is inherently tied to the agent's current skill level (its policy) and to build an algorithm that can handle that.

The Solution: COACH and the Advantage Function

The researchers introduced COACH (Convergent Actor-Critic by Humans).

Instead of treating human feedback as an absolute reward $R$, COACH treats it as an estimate of the advantage function $A^\pi(s, a)$. In RL math, the advantage function tells you how much better (or worse) an action is compared to the agent's current average behavior.

To make this work in the real world, they developed a real-time version of COACH that handles:

  • Credit Assignment: Using "eligibility traces" to link a human's "Good job!" to a sequence of actions that happened a few seconds ago.
  • Human Latency: Accounting for the typical 0.2 to 0.8-second delay in human reaction time.
  • Policy Gradients: Updating the agent's internal parameters directly based on the feedback, ensuring the math converges to a local optimum.

Experimental Setup

The paper doesn't rely on a static pre-existing dataset; instead, it uses three experimental setups to validate the theory and the algorithm:

  1. Human Subject Study: 138 participants on Amazon Mechanical Turk (AMT) trained a virtual "dog" in a grid world. This provided the empirical data to prove feedback is policy-dependent.
The virtual dog grid world used in the Amazon Mechanical Turk study to gather human feedback.
  1. Simulated "Cliff World": A classic RL benchmark used to compare COACH against Q-learning and TAMER under different simulated feedback strategies.
  2. Robotics Case Study: Real-world training sessions using a TurtleBot equipped with a Kinect camera, where a human provided feedback via a Wii controller.

Key Insights and Results

The "Alright" Dog Paradox

In their human study, participants gave positive feedback for an "alright" action if the dog started out "bad," but gave negative feedback for that exact same action if the dog started out "good." This is the smoking gun for policy-dependent feedback, confirmed with high statistical significance ($p < 0.01$).

Simulation Performance

In "Cliff World," COACH was the only algorithm that performed well across all feedback types (Task-based, Action-based, and Improvement-based).

Performance comparison of Q-Learning, TAMER, and COACH under different simulated feedback strategies.

TAMER failed on sparse task rewards, and Q-learning failed on action-based feedback due to positive reward cycles. Furthermore, because COACH updates the direction of the policy rather than trying to hit a specific reward target, it is much more resistant to the "forgetting" that plagues algorithms like TAMER when a trainer stops providing feedback for a mastered task.

Real-World Robotics Success

COACH successfully trained a TurtleBot on five distinct behaviors (like "hide" and "ball following") in under two minutes each. It also excelled at compositional "lure training"—where a robot is first taught to follow a ball, and then that ball is used to lead it to a cylinder. TAMER failed this task because it "forgot" the ball-following behavior as soon as the trainer started focusing on the cylinder.

Limitations and Future Work

While COACH is a significant step forward, the authors note a few areas for growth:

  • Peering Inside: Currently, the human trainer has to "estimate" the robot's policy by watching it. If the robot could communicate its internal state or confidence, humans might provide even better feedback.
  • Hybrid Learning: Future work could explore combining COACH with environmental rewards (like a "win" condition) or Learning from Demonstration (LfD) to give the agent a "head start" before the human begins coaching.
  • Model Accuracy: The algorithm assumes the human is a perfect "advantage function" estimator. Investigating how human errors or biases affect convergence remains an open question.

Summary updated

BibTeX
@inproceedings{macglashan2017interactive,
  author = {James MacGlashan and Mark K. Ho and Robert Tyler Loftin and Bei Peng and Guan Wang and David L. Roberts and Matthew E. Taylor and Michael L. Littman},
  title = {{Interactive Learning from Policy-Dependent Human Feedback}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
}
Figure