[Paper Review] Interactive Fiction Games: A Colossal Adventure
This paper introduces Jericho, a comprehensive reinforcement learning environment for interactive fiction (IF) games, to study language-based agents. It proposes a template-based action space and evaluates agents across diverse human-made IF games, revealing significant challenges in combinatorial action spaces and commonsense reasoning, with key findings showing low sample efficiency and poor generalization in current agents.
A hallmark of human intelligence is the ability to understand and communicate with language. Interactive Fiction games are fully text-based simulation environments where a player issues text commands to effect change in the environment and progress through the story. We argue that IF games are an excellent testbed for studying language-based autonomous agents. In particular, IF games combine challenges of combinatorial action spaces, language understanding, and commonsense reasoning. To facilitate rapid development of language-based agents, we introduce Jericho, a learning environment for man-made IF games and conduct a comprehensive study of text-agents across a rich set of games, highlighting directions in which agents can improve.
Motivation & Objective
- To create a unified, scalable learning environment for training and evaluating language-based agents in interactive fiction games.
- To address the challenge of combinatorial action spaces in natural language generation for sequential decision-making tasks.
- To investigate the role of commonsense reasoning and affordance understanding in successful IF game play.
- To evaluate the performance of text-based agents across a diverse set of human-made IF games.
- To identify key failure modes and improvement directions for language-based agents in unstructured, text-only environments.
Proposed method
- Introduces Jericho, a learning environment built on a curated collection of 100+ human-made interactive fiction games from the IF community.
- Defines a template-based action space that constrains natural language generation to semantically valid and grammatically plausible actions, improving sample efficiency.
- Models IF games as partially observable Markov decision processes (POMDPs), with text observations, latent states, and language-based actions.
- Employs deep reinforcement learning agents (e.g., DQN, PPO) trained on text observations and sparse rewards to learn action policies.
- Uses a reward shaping mechanism based on score progression and state changes to guide exploration in sparse-reward environments.
- Applies curriculum learning and exploration strategies to improve agent performance on complex, long-horizon IF games.
Experimental results
Research questions
- RQ1How effective are current language-based agents in navigating complex, combinatorial action spaces in interactive fiction games?
- RQ2To what extent can template-based action spaces improve sample efficiency and policy generalization in text-based RL environments?
- RQ3What are the primary failure modes of agents in IF games, particularly regarding commonsense reasoning and affordance understanding?
- RQ4How do agents perform across diverse IF games with varying narrative complexity and environmental dynamics?
- RQ5What improvements are needed in representation learning, planning, and memory to enable robust language-based decision making in IF?
Key findings
- Agents trained on Jericho exhibit low sample efficiency, requiring hundreds of thousands of environment steps to achieve moderate performance on simpler games.
- The combinatorial action space of natural language leads to massive exploration challenges, with only a tiny fraction of possible actions being semantically valid or contextually relevant.
- Commonsense reasoning failures are prevalent: agents often fail to recognize that objects like chests require keys or that certain verbs (e.g., 'open') are only applicable to specific nouns.
- Agents struggle with long-horizon planning, frequently losing track of goals or failing to revisit previously observed locations with potential rewards.
- Performance varies significantly across games, with agents achieving higher scores in games with clearer objectives and more deterministic mechanics, but failing in narrative-rich or ambiguous environments.
- The introduction of template-based action spaces improves policy stability and reduces syntactic errors, but does not fully resolve core reasoning limitations.
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.