Learning to Follow Instructions in Text-Based Games

Mathieu Tuli, Andrew C. Li, Pashootan Vaezipoor, Toryn Q. Klassen, Scott Sanner +1 more
11/8/2022
cs.LGcs.AIcs.CL
rl

Official code: MathieuTuli/LTL-GATA (6 stars, Python, last commit 2022-10-12).

Abstract

Text-based games present a unique class of sequential decision making problem in which agents interact with a partially observable, simulated environment via actions and observations conveyed through natural language. Such observations typically include instructions that, in a reinforcement learning (RL) setting, can directly or indirectly guide a player towards completing reward-worthy tasks.

Show full abstract

In this work, we study the ability of RL agents to follow such instructions. We conduct experiments that show that the performance of state-of-the-art text-based game agents is largely unaffected by the presence or absence of such instructions, and that these agents are typically unable to execute tasks to completion. To further study and address the task of instruction following, we equip RL agents with an internal structured representation of natural language instructions in the form of Linear Temporal Logic (LTL), a formal language that is increasingly used for temporally extended reward specification in RL. Our framework both supports and highlights the benefit of understanding the temporal semantics of instructions and in measuring progress towards achievement of such a temporally extended behaviour. Experiments with 500+ games in TextWorld demonstrate the superior performance of our approach.

View on arXivView PDF

Code Implementations(1)

Learning to Follow Instructions in Text-Based Games

60PythonOct 12, 20224 years ago

Similar Papers

Cite this paper

@article{tuli2022learning,
  title  = {Learning to Follow Instructions in Text-Based Games},
  author = {Mathieu Tuli and Andrew C. Li and Pashootan Vaezipoor and Toryn Q. Klassen and Scott Sanner and Sheila A. McIlraith},
  year   = {2022},
  eprint = {2211.04591},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.04591}
}

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/2211.04591.svg)](https://codeofpaper.com/paper/2211.04591)

Discussion