Proceedings

Exploration Based Language Learning for Text-Based Games

Download BibTeX Cite

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. Main track. Pages 1488-1494.

https://doi.org/10.24963/ijcai.2020/207

Abstract

This work presents an exploration and imitation-learning-based agent capable of state-of-the-art performance in playing text-based computer games.

These games are of interest as they can be seen as a testbed for language understanding, problem-solving, and language generation by artificial agents. Moreover, they provide a learning setting in which these skills can be acquired through interactions with an environment rather than using fixed corpora.

One aspect that makes these games particularly challenging for learning agents is the combinatorially large action space. Existing methods for solving text-based games are limited to games that are either very simple or have an action space restricted to a predetermined set of admissible actions.

In this work, we propose to use the exploration approach of Go-Explore for solving text-based games. More specifically, in an initial exploration phase, we first extract trajectories with high rewards, after which we train a policy to solve the game by imitating these trajectories.

Our experiments show that this approach outperforms existing solutions in solving text-based games, and it is more sample efficient in terms of the number of interactions with the environment.

Moreover, we show that the learned policy can generalize better than existing solutions to unseen games without using any restriction on the action space.

  1. [Achiam and Sastry, 2017] Joshua Achiam and Shankar Sas- try. Surprise-based intrinsic motivation for deep reinforce- ment learning. arXiv preprint arXiv:1703.01732, 2017.
  2. [Ammanabrolu and Riedl, 2019a] Prithviraj Ammanabrolu and Mark Riedl. Playing text-adventure games with graph- based deep reinforcement learning. In NAACL, Volume 1 (Long and Short Papers), pages 3557-3565, 2019.
  3. [Ammanabrolu and Riedl, 2019b] Prithviraj Ammanabrolu and Mark O Riedl. Transfer in deep reinforce- ment learning using knowledge graphs. arXiv preprint arXiv:1908.06556, 2019.
  4. [Anderson and Galley, 1985] Tim Anderson and Stu Galley. The history of zork. The New Zork Times, 4(1-3), 1985.
  5. [Barto, 2013] Andrew G Barto. Intrinsic motivation and re- inforcement learning. In Intrinsically motivated learning in natural and artificial systems, pages 17-47. Springer, 2013.
  6. [Burda et al., 2018] Yuri Burda, Harrison Edwards, Amos Storkey, and Oleg Klimov. Exploration by random net- work distillation. arXiv preprint arXiv:1810.12894, 2018.
  7. [Côté et al., 2018] Marc-Alexandre Côté, Ákos Kádár, Xingdi Yuan, Ben Kybartas, Tavian Barnes, Emery Fine, James Moore, Matthew Hausknecht, Layla El Asri, Mah- moud Adada, et al. Textworld: A learning environment for text-based games. arXiv preprint arXiv:1806.11532, 2018.
  8. [Côté, 2018] Marc-Alexandre Côté. First textworld prob- lems: A reinforcement and language learning challenge. In NeurIPS Workshop, 2018.
  9. [Ecoffet et al., 2019] Adrien Ecoffet, Joost Huizinga, Joel Lehman, Kenneth O Stanley, and Jeff Clune. Go-explore: a new approach for hard-exploration problems. arXiv preprint arXiv:1901.10995, 2019.
  10. [Gershman and Daw, 2017] Samuel J Gershman and Nathaniel D Daw. Reinforcement learning and episodic memory in humans and animals: an integrative frame- work. Annual review of psychology, 68:101-128, 2017.
  11. [He et al., 2015] Ji He, Jianshu Chen, Xiaodong He, Jian- feng Gao, Lihong Li, Li Deng, and Mari Ostendorf. Deep reinforcement learning with a natural language ac- tion space. arXiv preprint arXiv:1511.04636, 2015.
  12. [Kaelbling et al., 1998] Leslie Pack Kaelbling, Michael L Littman, and Anthony R Cassandra. Planning and acting in partially observable stochastic domains. Artificial intel- ligence, 101(1-2):99-134, 1998.
  13. [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Belle- mare, Alex Graves, Martin Riedmiller, Andreas K Fidje- land, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529, 2015.
  14. [Narasimhan et al., 2015] Karthik Narasimhan, Tejas Kulka- rni, and Regina Barzilay. Language understanding for text- based games using deep reinforcement learning. arXiv preprint arXiv:1506.08941, 2015.
  15. [Oudeyer and Kaplan, 2009] Pierre-Yves Oudeyer and Fred- eric Kaplan. What is intrinsic motivation? a typology of computational approaches. Frontiers in neurorobotics, 1:6, 2009.
  16. [Pathak et al., 2017] Deepak Pathak, Pulkit Agrawal, Alexei A Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 16-17, 2017.
  17. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In EMNLP, pages 1532-1543, 2014.
  18. [Salimans and Chen, 2018] Tim Salimans and Richard Chen. Learning montezuma's revenge from a single demonstration. arXiv preprint arXiv:1812.03381, 2018.
  19. [Schmidhuber, 1991] Jürgen Schmidhuber. Curious model- building control systems. In IJCNN, pages 1458-1463, 1991.
  20. [Schmidhuber, 2006] Jürgen Schmidhuber. Developmental robotics, optimal artificial curiosity, creativity, music, and the fine arts. Connection Science, 18(2):173-187, 2006.
  21. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  22. [Sordoni et al., 2015] Alessandro Sordoni, Yoshua Bengio, Hossein Vahabi, Christina Lioma, Jakob Grue Simon- sen, and Jian-Yun Nie. A hierarchical recurrent encoder- decoder for generative context-aware query suggestion. In CIKM, pages 553-562. ACM, 2015.
  23. [Spaceman, 2019] Rural Spaceman. List of text-based com- puter games, 2019. [Online; accessed 21-Sep-2019].
  24. [Sutskever et al., 2014] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NeurIPS, pages 3104-3112, 2014.
  25. [Tao et al., 2018] Ruo Yu Tao, Marc-Alexandre Côté, Xingdi Yuan, and Layla El Asri. Towards solving text-based games by producing adaptive action spaces. arXiv preprint arXiv:1812.00855, 2018.
  26. [Tessler et al., 2019] Chen Tessler, Tom Zahavy, Deborah Cohen, Daniel J Mankowitz, and Shie Mannor. Ac- tion assembly: Sparse imitation learning for text based games with combinatorial action spaces. arXiv preprint arXiv:1905.09700, 2019.
  27. [Watkins, 1989] Christopher John Cornish Hellaby Watkins. Learning from delayed rewards. PhD thesis, King's Col- lege, Cambridge, 1989.
  28. [Williams and Zipser, 1989] Ronald J Williams and David Zipser. A learning algorithm for continually running fully recurrent neural networks. Neural computation, 1(2):270- 280, 1989.
  29. [Yuan et al., 2018] Xingdi Yuan, Marc-Alexandre Côté, Alessandro Sordoni, Romain Laroche, Remi Tachet des Combes, Matthew Hausknecht, and Adam Trischler. Counting to explore and generalize in text-based games. arXiv preprint arXiv:1806.11525, 2018.
  30. [Zahavy et al., 2018] Tom Zahavy, Matan Haroush, Nadav Merlis, Daniel J Mankowitz, and Shie Mannor. Learn what not to learn: Action elimination with deep reinforcement learning. In NeurIPS, pages 3562-3573, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards