Generalization in Text-based Games via Hierarchical Reinforcement Learning

Yunqiu Xu, Meng Fang, Ling Chen, Yali Du, Chengqi Zhang
9/21/2021
cs.CLcs.AI
rl

Official code: YunqiuXu/H-KGA (4 stars, Python, MIT, last commit 2021-09-22).

Abstract

Deep reinforcement learning provides a promising approach for text-based games in studying natural language communication between humans and artificial agents. However, the generalization still remains a big challenge as the agents depend critically on the complexity and variety of training tasks.

Show full abstract

In this paper, we address this problem by introducing a hierarchical framework built upon the knowledge graph-based RL agent. In the high level, a meta-policy is executed to decompose the whole game into a set of subtasks specified by textual goals, and select one of them based on the KG. Then a sub-policy in the low level is executed to conduct goal-conditioned reinforcement learning. We carry out experiments on games with various difficulty levels and show that the proposed method enjoys favorable generalizability.

View on arXivView PDF

Code Implementations(1)

YunqiuXu/H-KGAOfficial100%
MIT
43PythonAug 27, 20215 years agoMIT

Similar Papers

Cite this paper

@article{xu2021generalization,
  title  = {Generalization in Text-based Games via Hierarchical Reinforcement Learning},
  author = {Yunqiu Xu and Meng Fang and Ling Chen and Yali Du and Chengqi Zhang},
  year   = {2021},
  eprint = {2109.09968},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.09968}
}

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/2109.09968.svg)](https://codeofpaper.com/paper/2109.09968)

Discussion