TextWorldExpress: Simulating Text Games at One Million Steps Per Second

Peter Jansen, Marc-alexandre Cote


Abstract
Text-based games offer a challenging test bed to evaluate virtual agents at language understanding, multi-step problem-solving, and common-sense reasoning. However, speed is a major limitation of current text-based games, capping at 300 steps per second, mainly due to the use of legacy tooling. In this work we present TextWorldExpress, a high-performance simulator that includes implementations of three common text game benchmarks that increases simulation throughput by approximately three orders of magnitude, reaching over one million steps per second on common desktop hardware. This significantly reduces experiment runtime, enabling billion-step-scale experiments in about one day.
Anthology ID:
2023.eacl-demo.20
Volume:
Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations
Month:
May
Year:
2023
Address:
Dubrovnik, Croatia
Editors:
Danilo Croce, Luca Soldaini
Venue:
EACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
169–177
Language:
URL:
https://aclanthology.org/2023.eacl-demo.20
DOI:
10.18653/v1/2023.eacl-demo.20
Bibkey:
Cite (ACL):
Peter Jansen and Marc-alexandre Cote. 2023. TextWorldExpress: Simulating Text Games at One Million Steps Per Second. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, pages 169–177, Dubrovnik, Croatia. Association for Computational Linguistics.
Cite (Informal):
TextWorldExpress: Simulating Text Games at One Million Steps Per Second (Jansen & Cote, EACL 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.eacl-demo.20.pdf
Video:
 https://aclanthology.org/2023.eacl-demo.20.mp4