[Paper Review] Counting to Explore and Generalize in Text-based Games
The paper presents a recurrent RL agent with episodic count-based exploration for text-based games, showing it learns policies that generalize to unseen, harder games.
We propose a recurrent RL agent with an episodic exploration mechanism that helps discovering good policies in text-based game environments. We show promising results on a set of generated text-based games of varying difficulty where the goal is to collect a coin located at the end of a chain of rooms. In contrast to previous text-based RL approaches, we observe that our agent learns policies that generalize to unseen games of greater difficulty.
Motivation & Objective
- Motivate exploration strategies in text-based games (POMDPs) to discover effective policies.
- Develop a recurrent RL agent capable of leveraging memory in partially observable text environments.
- Propose an episodic count-based exploration bonus to encourage visiting new states within each episode.
- Evaluate generalization to unseen games of varying difficulty using a text-based game generator.
Proposed method
- Extend LSTM-DQN with an LSTM-based recurrent action scorer (LSTM-DRQN) to handle partial observability.
- Introduce two discovery bonuses: (i) cumulative count-based bonus across all training, (ii) episodic bonus resetting counts per episode to encourage unseen states within an episode.
- Use a text-based coin-collector domain with deterministic transitions and a two-word action space to test memory and exploration.
- Train and evaluate on games of varying difficulty (easy/medium/hard) and test zero-shot generalization to unseen games.
- Compare against non-recurrent baselines and assess generalization under different training set sizes.
Experimental results
Research questions
- RQ1Can episodic count-based exploration improve learning in text-based POMDPs compared to cumulative bonuses?
- RQ2Does a recurrent architecture (DRQN) combined with episodic exploration generalize to unseen, harder text-based games?
- RQ3How do cumulative vs episodic exploration bonuses perform as game difficulty and training set size vary?
- RQ4What zero-shot generalization capabilities arise when training on a distribution of games and testing on unseen instances?
Key findings
- Episodic discovery bonus with recurrence significantly improves learning and generalization to unseen, harder games.
- Cumulative counting bonus helps less as game difficulty increases, whereas episodic bonus and recurrence are more robust for distribution learning.
- Pre-trained recurrent models generalize better to unseen easy/hard games, especially with memory of recent steps.
- A wall-following-like strategy emerges in hard navigational layouts, enabling generalization across non-cyclic maps.
- Zero-shot evaluation shows that models with recurrence generalize better when trained on fewer games, and large training sets aid easy game generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.