Machine Teaching for Human Inverse Reinforcement Learning

Michael S. Lee, Henny Admoni, Reid G. SimmonsFrontiers Robotics AI 2021 · DOI · OpenReview

TL;DR

This paper proposes a novel machine teaching method to help robots teach humans skills by generating demonstrations optimized for human learning, not just for Inverse Reinforcement Learning (IRL). User studies show that prioritizing simplicity and pattern discovery in demonstrations improves human performance on difficult tasks, though scaffolding's effectiveness was limited.

What Problem Does This Paper Address?

As robots become more capable, their ability to teach humans skills is crucial for seamless human-robot collaboration and for humans to acquire new expertise. While humans often learn by observing demonstrations and inferring underlying goals (akin to IRL), simply providing informative demonstrations for IRL doesn't guarantee effective human learning. Human learning is influenced by factors like simplicity, pattern recognition, and the way information is presented. This paper aims to bridge this gap by developing a machine teaching strategy that goes beyond optimizing solely for IRL and incorporates principles of human learning and teaching.

Methods

The core of the proposed method is to generate demonstrations that are not only informative for IRL but also tailored to human cognitive biases. The authors introduce several key components:

  • Behavior Equivalence Class (BEC): This concept quantifies the information a demonstration provides about a robot's underlying reward function. A smaller BEC area implies more information about the reward weights.
  • Scaffolding: Demonstrations are presented in an order that incrementally increases in informativeness and difficulty, starting with simpler concepts and gradually introducing complexity. This is achieved by clustering demonstrations based on their BEC areas and selecting from alternating clusters.
  • Simplicity and Pattern Discovery: Demonstrations are selected to be visually simple (e.g., minimizing unnecessary elements like mud patches in a delivery domain) and to highlight discernible patterns. This helps learners focus on critical aspects of the task and avoid distractions.
  • Test Difficulty Measure: The BEC area of a demonstration is repurposed as a measure of test difficulty, hypothesizing that a larger BEC area (less informative for IRL) corresponds to an easier test for humans to predict.

The machine teaching algorithm first selects a minimal set of highly informative demonstrations (using a SCOT-like approach) and then fills the remaining teaching budget with scaffolded, simple, and patterned demonstrations.

Datasets

The paper does not introduce new datasets for training. Instead, it uses simulated environments within three distinct gridworld domains:

  • Delivery Domain: The agent must deliver a package to a destination while avoiding mud.
  • Two-Goal Domain: The agent must reach one of two goals, each with a different reward.
  • Skateboard Domain: The agent must reach a goal, with a penalty for not picking up a skateboard.

These domains were implemented using the simple_rl framework. The experiments involved generating a large number of possible demonstrations within these domains and then selecting a subset for teaching and testing.

Key Insights and Ideas

  • Human learning is more than just IRL: The study highlights that simply providing demonstrations that are maximally informative for an IRL learner doesn't translate to optimal human learning. Human cognitive biases play a significant role.
  • Simplicity and pattern discovery are crucial for difficult tasks: When faced with complex scenarios, humans benefit significantly from demonstrations that are easy to understand and highlight clear patterns. This improves their ability to perform well on challenging tests.
  • BEC area as a proxy for test difficulty: The paper successfully validates the idea that the BEC area, a measure of information for IRL, can be inverted to effectively predict human test difficulty and confidence.
  • Scaffolding's limitations: While intuitive, the proposed scaffolding method (gradually increasing difficulty) did not yield significant improvements in performance, suggesting that the way demonstrations are structured and presented needs further refinement.
  • Potential for imitation learning: The qualitative analysis of participant responses revealed that some learners might be employing imitation learning (directly learning the behavior) rather than pure IRL (inferring the reward function). This suggests that future teaching methods could benefit from considering different learning styles.

Key Results

  • Test difficulty correlation: Human performance and confidence strongly correlated with the proposed test difficulty measure (derived from BEC area). As test difficulty increased, performance and confidence decreased.
  • Simplicity and pattern discovery impact: Favoring simplicity and pattern discovery in demonstrations led to a significant increase in human performance on high-difficulty tests.
  • Scaffolding's mixed results: While forward scaffolding (gradually increasing difficulty) showed some trends, it did not significantly outperform other conditions. Notably, "no scaffolding" (only high-information demonstrations) performed better on high-difficulty tests, which is counterintuitive and suggests limitations in the scaffolding approach.
  • Visual optimization benefits high-difficulty tests: Optimizing demonstration visuals for simplicity and pattern discovery significantly improved performance on high-difficulty tests, but had no effect on low or medium difficulty tests.
  • Subjective measures: Ratings for mental effort and puzzlement paradoxically increased with positive visual optimization, which the authors attribute to potential issues with the prompt phrasing and study design.

Limitations and Future Work

  • Scaffolding effectiveness: The paper acknowledges that the proposed scaffolding method did not yield significant improvements, indicating a need for further research into how to structure demonstrations for optimal human learning, potentially by focusing on individual reward weights or inducing cognitive conflict.
  • Human model simplicity: The study assumed a simplified human model (aware of reward features but not weights) and a static teaching/testing phase. Future work could explore dynamic models that adapt to the learner's evolving understanding.
  • High-dimensional policies: For robots with complex, high-dimensional policies, conveying all information might be overwhelming for humans. Future work could focus on approximating high-dimensional policies with lower-dimensional representations or extracting only the most informative segments of trajectories.
  • Learning style adaptation: The discovery of different learning styles (IRL vs. imitation learning) suggests that future machine teaching systems should aim to predict and adapt to a human's preferred learning style in real-time.
  • Test selection: Developing methods to accurately discern a learner's current knowledge and dynamically switch between teaching and testing phases is a promising direction.

Summary updated

Abstract

As robots continue to acquire useful skills, their ability to teach their expertise will provide humans the two-fold benefit of learning from robots and collaborating fluently with them. For example, robot tutors could teach handwriting to individual students and delivery robots could convey their navigation conventions to better coordinate with nearby human workers. Because humans naturally communicate their behaviors through selective demonstrations, and comprehend others’ through reasoning that resembles inverse reinforcement learning (IRL), we propose a method of teaching humans based on demonstrations that are informative for IRL. But unlike prior work that optimizes solely for IRL, this paper incorporates various human teaching strategies (e.g. scaffolding, simplicity, pattern discovery, and testing) to better accommodate human learners. We assess our method with user studies and find that our measure of test difficulty corresponds well with human performance and confidence, and also find that favoring simplicity and pattern discovery increases human performance on difficult tests. However, we did not find a strong effect for our method of scaffolding, revealing shortcomings that indicate clear directions for future work.
BibTeX
@article{lee2021machine,
  author = {Michael S. Lee and Henny Admoni and Reid G. Simmons},
  title = {{Machine Teaching for Human Inverse Reinforcement Learning}},
  journal = {Frontiers Robotics AI},
  year = {2021},
  doi = {10.3389/frobt.2021.693050},
}

Loading related content...

Figure