Back to Search Start Over

TextWorld: A Learning Environment for Text-based Games

Authors :
Côté, Marc-Alexandre
Kádár, Ákos
Yuan, Xingdi
Kybartas, Ben
Barnes, Tavian
Fine, Emery
Moore, James
Tao, Ruo Yu
Hausknecht, Matthew
Asri, Layla El
Adada, Mahmoud
Tay, Wendy
Trischler, Adam
Publication Year :
2018

Abstract

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.<br />Comment: Presented at the Computer Games Workshop at IJCAI 2018, Stockholm

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.1806.11532
Document Type :
Working Paper