Learning Dynamic Belief Graphs to Generalize on Text-Based Games

Ashutosh Adhikari, Xingdi Yuan, Marc-Alexandre Côté, Mikuláš Zelinka, Marc-Antoine Rondeau +5 more
2/21/2020
cs.CLcs.LG

Official code: xingdi-eric-yuan/GATA-public (38 stars, Python, last commit 2024-07-17).

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.

Show full abstract

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%.

View on arXivView PDF

Code Implementations(1)

3811Python, Jupyter NotebookFeb 6, 20202 years agoNOASSERTION

Similar Papers

Cite this paper

@article{adhikari2020learning,
  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},
  year   = {2020},
  eprint = {2002.09127},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.09127}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.09127.svg)](https://codeofpaper.com/paper/2002.09127)

Discussion