Research Article

Application of Reinforcement Learning in Non-player Character Intelligent Dialogue System

Xuezhi Ding*
Computer Science, Southwest Jiaotong University, Chengdu, Sichuan Province, China

* Corresponding author: [email protected]

Abstract

It is of great significance to develop non-player character (NPC) dialogue systems in games through reinforcement learning, which can enhance the immersion and interactivity of the game. NPC dialogue has characteristics different from those of other dialogue systems, the most obvious of which is its task orientation. This paper outlines the mainstream implementation methods of NPC dialogue systems based on reinforcement learning in recent years. It analyses the application of reinforcement learning in dialogue strategy optimisation, hierarchical and multi-agent frameworks, knowledge graphs, and other methods. It introduces the dialogue datasets and evaluation metrics commonly used in the game field and summarises and compares the performance of current mainstream methods. Finally, this paper discusses the limitations of existing methods and evaluation criteria and looks forward to possible future improvements. This paper allows readers to quickly understand how to implement an NPC intelligent dialogue system and how to make the dialogue system more personalised.

Keywords: Reinforcement Learning; Non-player Character; Dialogue System; Game Development; Artificial Intelligence.
Published: October 22, 2025
DOI: 10.54254/2755-2721/2025.LD28271
Volume: ACE Vol.196
pp. 88-94
Download PDF

References

  1. Gao, Q. C., & Emami, A. (2023, July). The turing quest: Can transformers make good npcs?. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop) (pp. 93-103).
  2. Li Yang. (2017). Design and research of intelligent agent decision-making system based on ID3 algorithm (Master's thesis, Hefei University of Technology).
  3. Galingana, C. D., & Cagadas, R. B. (2023). Enticing Player-NPC Dialogue System in a Visual Novel Game Using Intent Recognition with BERT. East Asian Journal of Multidisciplinary Research, 2(7), 2999-3014.
  4. Saleh, A., Jaques, N., Ghandeharioun, A., Shen, J., & Picard, R. (2020, April). Hierarchical reinforcement learning for open-domain dialog. In Proceedings of the AAAI conference on artificial intelligence (Vol. 34, No. 05, pp. 8741-8748).
  5. Wang, H., & Wong, K. F. (2021, November). A collaborative multi-agent reinforcement learning framework for dialog action decomposition. In Proceedings of the 2021 Conference on empirical methods in natural language processing (pp. 7882-7889).
  6. Zhou, W., Peng, X., & Riedl, M. (2023). Dialogue shaping: Empowering agents through npc interaction. arXiv preprint arXiv: 2307.15833.
  7. Santamaria, S. B., Wang, S., & Vossen, P. (2024). Knowledge acquisition for dialogue agents using reinforcement learning on graph representations. arXiv preprint arXiv: 2406.19500.
  8. Aslan, P. (2024). Understanding LLMs for Game NPCs: An exploration of opportunities.
  9. Gong, R., Huang, Q., Ma, X., Vo, H., Durante, Z., Noda, Y., ... & Gao, J. (2023). Mindagent: Emergent gaming interaction. arXiv preprint arXiv: 2309.09971.
  10. Budzianowski, P., Wen, T. H., Tseng, B. H., Casanueva, I., Ultes, S., Ramadan, O., & Gašić, M. (2018). Multiwoz--a large-scale multi-domain wizard-of-oz dataset for task-oriented dialogue modelling. arXiv preprint arXiv: 1810.00278.
  11. Urbanek, J., Fan, A., Karamcheti, S., Jain, S., Humeau, S., Dinan, E., ... & Weston, J. (2019). Learning to speak and act in a fantasy text adventure game. arXiv preprint arXiv: 1903.03094.
  12. Alavi, S. H., Rao, S., Adhikari, A., DesGarennes, G. A., Malhotra, A., Brockett, C., ... & Dolan, B. (2024). Mcpdial: A minecraft persona-driven dialogue dataset. arXiv preprint arXiv: 2410.21627.
  13. Wei Linghua, Zhang Dongbing, & Fan Qi. (2014). Research on NPC behavior modeling based on swarm intelligence. Journal of Huaibei Normal University: Natural Science Edition, 35(3), 4.
  14. Wang Jisheng, & Qiao Junfu. (2024). Analysis of the application of generative artificial intelligence in non-player character dialogue. Computer Knowledge and Technology, 20(9), 22-26.
  15. Lubis, N., Geishauser, C., Lin, H. C., van Niekerk, C., Heck, M., Feng, S., & Gašić, M. (2022). Dialogue evaluation with offline reinforcement learning. arXiv preprint arXiv: 2209.00876.