Learning to Play Text-based Adventure Games with Maximum Entropy Reinforcement Learning

Weichen Li, Rati Devidze, Sophie Fellenz
2/21/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Text-based games are a popular testbed for language-based reinforcement learning (RL). In previous work, deep Q-learning is commonly used as the learning agent. Q-learning algorithms are challenging to apply to complex real-world domains due to, for example, their instability in training. Therefore, in this paper, we adapt the soft-actor-critic (SAC) algorithm to the text-based environment. To deal with sparse extrinsic rewards from the environment, we combine it with a potential-based reward shaping technique to provide more informative (dense) reward signals to the RL agent. We apply our method to play difficult text-based games. The SAC method achieves higher scores than the Q-learning methods on many games with only half the number of training steps. This shows that it is well-suited for text-based games. Moreover, we show that the reward shaping technique helps the agent to learn the policy faster and achieve higher scores. In particular, we consider a dynamically learned value function as a potential function for shaping the learner's original sparse reward signals.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023learning,
  title  = {Learning to Play Text-based Adventure Games with Maximum Entropy Reinforcement Learning},
  author = {Weichen Li and Rati Devidze and Sophie Fellenz},
  year   = {2023},
  eprint = {2302.10720},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.10720v2}
}

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

Discussion