Multi-Stage Episodic Control for Strategic Exploration in Text Games

Jens Tuyls, Shunyu Yao, Sham Kakade, Karthik Narasimhan
1/4/2022
cs.CL

Official code: princeton-nlp/XTX (16 stars, Python, last commit 2026-02-08).

Abstract

Text adventure games present unique challenges to reinforcement learning methods due to their combinatorially large action spaces and sparse rewards. The interplay of these two factors is particularly demanding because large action spaces require extensive exploration, while sparse rewards provide limited feedback.

Show full abstract

This work proposes to tackle the explore-vs-exploit dilemma using a multi-stage approach that explicitly disentangles these two strategies within each episode. Our algorithm, called eXploit-Then-eXplore (XTX), begins each episode using an exploitation policy that imitates a set of promising trajectories from the past, and then switches over to an exploration policy aimed at discovering novel actions that lead to unseen state spaces. This policy decomposition allows us to combine global decisions about which parts of the game space to return to with curiosity-based local exploration in that space, motivated by how a human may approach these games. Our method significantly outperforms prior approaches by 27% and 11% average normalized score over 12 games from the Jericho benchmark (Hausknecht et al., 2020) in both deterministic and stochastic settings, respectively. On the game of Zork1, in particular, XTX obtains a score of 103, more than a 2x improvement over prior methods, and pushes past several known bottlenecks in the game that have plagued previous state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

princeton-nlp/XTXOfficial100%

[ICLR 2022 Spotlight] Multi-Stage Episodic Control for Strategic Exploration in Text Games

162Python, ShellDec 22, 20219 months ago
language-groundingnatural-language-processingreinforcement-learning

Similar Papers

Cite this paper

@article{tuyls2022multistage,
  title  = {Multi-Stage Episodic Control for Strategic Exploration in Text Games},
  author = {Jens Tuyls and Shunyu Yao and Sham Kakade and Karthik Narasimhan},
  year   = {2022},
  eprint = {2201.01251},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01251}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.01251.svg)](https://codeofpaper.com/paper/2201.01251)

Discussion