Skip to content

Implementation of methods in Lee, et al. "Machine Teaching for Human Inverse Reinforcement Learning" (Frontiers in Robotics and AI, 2021)

Notifications You must be signed in to change notification settings

symikelee/machine_teaching_human_IRL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Teaching for Human Inverse Reinforcement Learning

This repository contains code for methods described in the following paper:

  • Michael S. Lee, Henny Admoni, Reid Simmons Machine Teaching for Human Inverse Reinforcement Learning, Frontiers in Robotics and AI, 2021,

which introduces a method for teaching robot decision making to humans through demonstrations of the robot's key decisions in a domain.

We model humans as inverse reinforcement leaners to calculate information gain for possible demonstrations that could be shown, but further bias the demonstration selection for human understanding using various principles from education and cognitive science such as scaffolding, simplicity, and pattern recognition.

The paper and user study used to validate our methods, as well as follow-on work, are available at https://symikelee.github.io/

Running the code

Run main.py to select a) demonstrations that effectively summarize the robot's policy to a human (augments a BEC summary of the robot's policy with scaffolding and visual optimization), and b) tests that ask the human to demonstrate what they believe the robot will do in new situations.

models/* contains the training and testing demonstrations used in the user study, which were created using Python 3.5.

Required packages include numpy, matplotlib, pypoman to perform computational geometry with polytopes (i.e. BEC regions, see below), and pygame if you want to visualize some MDPs.

This repository also contains implementations of various MDP testbeds built using David Abel's simple_rl framework.

About

Implementation of methods in Lee, et al. "Machine Teaching for Human Inverse Reinforcement Learning" (Frontiers in Robotics and AI, 2021)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.1%
  • Jupyter Notebook 21.9%