Learning Rewards from Linguistic Feedback

Theodore R. Sumers, Mark K. Ho, Robert D. Hawkins, Karthik Narasimhan, Thomas L. Griffiths
9/30/2020
cs.AI
rl

Official code: tsumers/rewards (12 stars, Jupyter Notebook, last commit 2020-12-16).

Abstract

We explore unconstrained natural language feedback as a learning signal for artificial agents. Humans use rich and varied language to teach, yet most prior work on interactive learning from language assumes a particular form of input (e.g., commands).

Show full abstract

We propose a general framework which does not make this assumption, using aspect-based sentiment analysis to decompose feedback into sentiment about the features of a Markov decision process. We then perform an analogue of inverse reinforcement learning, regressing the sentiment on the features to infer the teacher's latent reward function. To evaluate our approach, we first collect a corpus of teaching behavior in a cooperative task where both teacher and learner are human. We implement three artificial learners: sentiment-based "literal" and "pragmatic" models, and an inference network trained end-to-end to predict latent rewards. We then repeat our initial experiment and pair them with human teachers. All three successfully learn from interactive human feedback. The sentiment models outperform the inference network, with the "pragmatic" model approaching human performance. Our work thus provides insight into the information structure of naturalistic linguistic feedback as well as methods to leverage it for reinforcement learning.

View on arXivView PDF

Code Implementations(1)

tsumers/rewardsOfficial100%

Code and data for Learning Rewards from Linguistic Feedback, AAAI '21

121Jupyter Notebook, PythonDec 14, 20205 years ago
human-robot-interactioninverse-reinforcement-learninglanguage-modelreinforcement-learningsentiment-analysis

Similar Papers

Cite this paper

@article{sumers2020learning,
  title  = {Learning Rewards from Linguistic Feedback},
  author = {Theodore R. Sumers and Mark K. Ho and Robert D. Hawkins and Karthik Narasimhan and Thomas L. Griffiths},
  year   = {2020},
  eprint = {2009.14715},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.14715}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.14715.svg)](https://codeofpaper.com/paper/2009.14715)

Discussion