Keep CALM and Explore: Language Models for Action Generation in Text-based Games

By Shunyu Yao, Rohan Rao, Matthew J. Hausknecht, Karthik Narasimhan. 2020

156 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, Natural Language Processing, Reinforcement Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yejin Choi
  2. Mohit Bansal
  3. Hannaneh Hajishirzi
  4. Karthik Narasimhan
  5. Minlie Huang
  6. Prithviraj Ammanabrolu
  7. Jianfeng Gao
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Bernt Schiele
  5. Hannaneh Hajishirzi
  6. Xiaogang Wang
  7. Ming-Hsuan Yang
  8. Andrew Zisserman

In Large Language Models

  1. Yejin Choi
  2. Minlie Huang
  3. Jie Tang
  4. Maarten Sap
  5. Xiao Liu
  6. Franccois Fleuret
  7. Vincent Micheli
  8. Yuxian Gu

In Natural Language Processing

  1. Yejin Choi
  2. Hannaneh Hajishirzi
  3. Prithviraj Ammanabrolu
  4. Karthik Narasimhan
  5. Maarten Sap
  6. Shunyu Yao
  7. Minlie Huang
  8. Matthew J. Hausknecht

In Reinforcement Learning

  1. Prithviraj Ammanabrolu
  2. Matthew J. Hausknecht
  3. Shunyu Yao
  4. Karthik Narasimhan
  5. Marc-Alexandre Côté
  6. Franccois Fleuret
  7. Vincent Micheli
  8. Yejin Choi

Citations in the corpus