Research Article

Evaluating the Effectiveness of Transformer-Based NLP Models in Maintaining Character Consistency (Personality and Tone) in Multi-Turn Game Dialogues

Qiyuan Zheng*
Beijing Huiwen Middle School

* Corresponding author: [email protected]

Abstract

Non-Player Character (NPC) dialogue systems in computer games have undergone a significant evolution from fixed scripts to dynamic generation. With the widespread adoption of deep learning models like Transformers, NPC language generation has become increasingly natural and personalized. However, the preservation of character consistency across multi-turn interactions, including personality, tone, and knowledge, persists as a key challenge in current studies and implementations. This paper examines the progress of Transformer-based Natural Language Processing (NLP) models in NPC dialogue generation, with particular attention to studies that compare model selection such as GPT-2, DialoGPT, and GPT-Neo, approaches for sustaining consistency including fine-tuning, knowledge graphs, and rewriting, and evaluation using both automated metrics and human judgment. Through an analysis of existing literature, the results indicate that NPC character consistency is challenged by issues such as persona drift, tonal shifts, and knowledge forgetting, and that existing methods remain limited. Future efforts should integrate memory, multimodal context, and personalization for more immersive and authentic interactions.

Keywords: Non-Player Character (NPC) Dialogue; Character Consistency; Transformer-based NLP Models; Multi-turn Conversations; AI-driven Dialogue Systems
Published: November 19, 2025
DOI: 10.54254/2755-2721/2026.TJ29592
Volume: ACE Vol.203
pp. 235-240
Download PDF

References

  1. Javed, A., Zan, H., Orken Mamyrbayev, et al. (2025). Transformer-based re-ranking model for enhancing contextual and syntactic translation in low-resource neural machine translation. Electronics, 14(2), 243
  2. Zhu, S., Ma, T., Rong, H., & Al-Nabhan, N. (2023). A personalized multi-turn generation-based chatbot with various-persona-distribution data. Applied Sciences, 13(5), 3122.
  3. Liu, X., Xie, Z., & Jiang, S. (2025). Personalized non-player characters: A framework for character-consistent dialogue generation. AI, 6(5), 93.
  4. Du, H. (2025). The progress and trend of intelligent NPCs in games. Applied and Computational Engineering, 133(1), 158-164.
  5. Zhang, E. Y., Cheok, A. D., Pan, Z., et al. (2023). From Turing to transformers: A comprehensive review and tutorial on the evolution and applications of generative transformer models. Sci, 5(4), 46.
  6. Liu, X., Xie, Z., & Jiang, S. (2025). Personalized non-player characters: A framework for character-consistent dialogue generation. AI, 6(5), 93.
  7. Armanto, H., Rosyid, H. A., Muladi, & Gunawan. (2025). Improved non-player character (NPC) behavior using evolutionary algorithm - A systematic review. Entertainment Computing, 52, 100875.
  8. Zhao, T., & Fan, Z. (2024). Enhancing procedural game level generation using transformer-based neural architectures. International Symposium on Internet of Things and Smart Cities (ISITSC), 1-6.
  9. Zou, M., Meng, Y., Gómez, S. C., & Sabina, J. (2025). Persistence and evolution within interactive design: An integrated approach to ICT innovations in emergent game narratives. Technologies, 13(5), 179.
  10. Pu, C., Sun, Z., Li, C., et al. (2024). Dialogue-rewriting model based on transformer pointer extraction. Electronics, 13(12), 2362.
  11. Black, S., Biderman, S., Hallahan, E., Anthony, Q., Gao, L., Golding, L., et al. (2022). GPT-NeoX-20B: An open-source autoregressive language model. arXiv.
  12. Yang, Y., Cao, J., Wen, Y., & Zhang, P. (2022). Multiturn dialogue generation by modeling sentence-level and discourse-level contexts. Scientific Reports, 12(1).
  13. Wang, W., Feng, S., Chen, L., et al. (2021). Learning to improve persona consistency in conversation generation with information augmentation. Knowledge-Based Systems, 228, 107246.
  14. Nguyen-Mau, T., Le, A. C., Pham, D. H., & Huynh, V. N. (2023). An information fusion based approach to context-based fine-tuning of GPT models. Information Fusion, 104, 102202.
  15. Wang, W., Feng, S., Chen, L., Wang, D., & Zhang, Y. (2021). Learning to improve persona consistency in conversation generation with information augmentation. Knowledge-Based Systems, 228, 107246.