[2010.02903] Keep CALM and Explore: Language Models for Action Generation in Text-based Games
Text-based games present a unique challenge for autonomous agents to operate in natural language and handle enormous action spaces. In this paper, we propose the Contextual Action Language Model (CALM) to generate a compact set of action candidates at each game state. Our key insight is to train language models on human gameplay, where people demonstrate linguistic priors and a general game sense for promising actions conditioned on game history. We combine CALM with a reinforcement learning agent which re-ranks the generated action candidates to maximize in-game rewards. We evaluate our approach using the Jericho benchmark, on games unseen by CALM during training. Our method obtains a 69% relative improvement in average game score over the previous state-of-the-art model. Surprisingly, on half of these games, CALM is competitive with or better than other models that have access to ground truth admissible actions. Code and data are available at this https URL.
Text-based games present a unique challenge for autonomous agents to operate in natural language and handle enormous action spaces. In this paper, we propose the Contextual Action Language Model (CALM) to generate a compact set of action candidates at each game state. Our key insight is to train language models on human gameplay, where people demonstrate linguistic priors and a general game sense for promising actions conditioned on game history. We combine CALM with a reinforcement learning agent which re-ranks the generated action candidates to maximize in-game rewards. We evaluate our appro
Explore this link on the map →related reading
- The First Fully General Computer Action Model | blogsi.inc
- [2306.00937] STEVE-1: A Generative Model for Text-to-Behavior in Minecraftarxiv.org
- [2304.03442] Generative Agents: Interactive Simulacra of Human Behaviorarxiv.org
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- By making text-based games more accessible to RL agents, Jericho framework opens up exciting natural language challenges - Microsoft Researchmicrosoft.com
- Language Models can Solve Computer Tasksarxiv.org
- [2304.03442] Generative Agents: Interactive Simulacra of Human Behaviorarxiv.org
- [2201.07207] Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentsarxiv.org
- Recursive Language Models | Alex L. Zhangalexzhang13.github.io
- Explore | alphaXivalphaxiv.org
- State of Vision-Language-Action (VLA) Research at ICLR 2026 – Moritz Reussmbreuss.github.io
- Offline RL and Large Language Models - by Sergey Levinesergeylevine.substack.com