TextWorld: A Learning Environment for Text-based Games

By Marc-Alexandre Côté, Ákos Kádár, Xingdi Yuan, B. Kybartas, Tavian Barnes, Emery Fine, James Moore, Matthew J. Hausknecht, Layla El Asri, Mahmoud Adada and 2 more. 2018

482 citations recorded by the source corpus.

We introduce TextWorld, a sandbox learning environment for the training and evaluation of RL agents on text-based games. TextWorld is a Python library that handles interactive play-through of text games, as well as backend functions like state tracking and reward assignment. It comes with a curated list of games whose features and challenges we have analyzed. More significantly, it enables users to handcraft or automatically generate new games. Its generative mechanisms give precise control over the difficulty, scope, and language of constructed games, and can be used to relax challenges inherent to commercial text games like partial observability and sparse rewards. By generating sets of varied but similar games, TextWorld can also be used to study generalization and transfer learning. We cast text-based games in the Reinforcement Learning formalism, use our framework to develop a set of benchmark games, and evaluate several baseline agents on this set and the curated list.

Subfields: Artificial Intelligence, Reinforcement Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Jianfeng Gao
  3. Yejin Choi
  4. Percy Liang
  5. Jason Aaron Edward Weston
  6. Luke S. Zettlemoyer
  7. Yoshua Bengio
  8. Kyunghyun Cho

In Reinforcement Learning

  1. Sergey Levine
  2. Matthew J. Hausknecht
  3. Prithviraj Ammanabrolu
  4. Marc G. Bellemare
  5. Doina Precup
  6. Lihong Li
  7. Pieter Abbeel
  8. Shimon Whiteson

Citations in the corpus