TextWorld: A Learning Environment for Text-based Games
TextWorld: A Learning Environment for Text-based Games
复制标题
TextWorld:基于文本的游戏的学习环境
DOI:
10.1007/978-3-030-24337-1_3
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Adam Trischler
中科院分区:
文献类型:
--
作者:
Marc;Ákos Kádár;Xingdi Yuan;Ben A. Kybartas;Tavian Barnes;Emery Fine;James Moore;Matthew J. Hausknecht;Layla El Asri;Mahmoud Adada;Wendy Tay;Adam Trischler
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.