English

Learning Dynamic Belief Graphs to Generalize on Text-Based Games

Computation and Language 2021-05-12 v4 Machine Learning

Abstract

Playing text-based games requires skills in processing natural language and sequential decision making. Achieving human-level performance on text-based games remains an open challenge, and prior research has largely relied on hand-crafted structured representations and heuristics. In this work, we investigate how an agent can plan and generalize in text-based games using graph-structured representations learned end-to-end from raw text. We propose a novel graph-aided transformer agent (GATA) that infers and updates latent belief graphs during planning to enable effective action selection by capturing the underlying game dynamics. GATA is trained using a combination of reinforcement and self-supervised learning. Our work demonstrates that the learned graph-based representations help agents converge to better policies than their text-only counterparts and facilitate effective generalization across game configurations. Experiments on 500+ unique games from the TextWorld suite show that our best agent outperforms text-based baselines by an average of 24.2%.

Keywords

Cite

@article{arxiv.2002.09127,
  title  = {Learning Dynamic Belief Graphs to Generalize on Text-Based Games},
  author = {Ashutosh Adhikari and Xingdi Yuan and Marc-Alexandre Côté and Mikuláš Zelinka and Marc-Antoine Rondeau and Romain Laroche and Pascal Poupart and Jian Tang and Adam Trischler and William L. Hamilton},
  journal= {arXiv preprint arXiv:2002.09127},
  year   = {2021}
}

Comments

Bug fixed in Table 1

R2 v1 2026-06-23T13:49:00.458Z