TextWorld: A Learning Environment for Text-based Games

06/29/2018
by   Marc-Alexandre Côté, et al.
4

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.

READ FULL TEXT

page 2

page 13

research
09/11/2019

Interactive Fiction Games: A Colossal Adventure

A hallmark of human intelligence is the ability to understand and commun...
research
11/07/2018

Baselines for Reinforcement Learning in Text Games

The ability to learn optimal control policies in systems where action sp...
research
02/21/2023

Potential-based reward shaping for learning to play text-based adventure games

Text-based games are a popular testbed for language-based reinforcement ...
research
09/20/2020

Multiplayer Support for the Arcade Learning Environment

The Arcade Learning Environment ("ALE") is a widely used library in the ...
research
01/06/2018

Using reinforcement learning to learn how to play text-based games

The ability to learn optimal control policies in systems where action sp...
research
03/07/2019

MinAtar: An Atari-inspired Testbed for More Efficient Reinforcement Learning Experiments

The Arcade Learning Environment (ALE) is a popular platform for evaluati...
research
10/05/2020

Sentiment Analysis for Reinforcement Learning

While reinforcement learning (RL) has been successful in natural languag...

Please sign up or login with your details

Forgot password? Click here to reset