Introduction and Analysis of Improving Non-Player Character Performance Based on Large Language Models

Authors

  • Yifan Jiang
  • Haoxiang Tang
  • Yuexi Zhang

DOI:

https://doi.org/10.61173/8bg10v84

Keywords:

Large Language Model, Non-Player Character, Social Intelligentization, Memory Continuity, Dynamic Response

Abstract

This paper aims to study the means of using Large Language Models (LLM) to improve the performance of Non-Player Character (NPC), since game industry has high business potential and there are few studies targeted at using LLM to intelligentizated NPC. Writers first review on the history of development of both LLM and NPC, then considered four key dimensions of NPC - behavioral realism, social intelligentization, memory continuity, and dynamic response - and concluded the advanced studies related to those dimensions. The paper also does simple testing about the three games that used LLM - Whisper from the star, Justice Mobile and GTA5 AI Mod, and found that none of them developed their NPCs to communicate in a natural way, but observed typical Chat-like performance. This paper also listed several challenges and limitations of those advanced technologies, and give some predictions about the possible future developments and applications of intelligentiation NPC.

References

[1] Inworld.ai. Future of game development with AI NPCs: How devs will drive engagement with gameplay innovations. https:// inworld.ai/whitepapers/future-of-game-development-with-ainpcs. 2025.

[2] Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez A N, Kaiser L, & Polosukhin I. Attention is All you Need. arXiv (Cornell University), 30, 5998–6008. 2017.

[3] Brown T B, Mann B, Ryder N, Subbiah M, Kaplan J, Dhariwal P, Neelakantan A, Shyam P, Sastry G, Askell A, Agarwal S, Herbert-Voss A, Krueger G, Henighan T, Child R, Ramesh A, Ziegler D M, Wu J, Winter C, . . . Amodei D. Language Models are Few-Shot Learners. Neural Information Processing Systems, 33, 1877–1901. 2020.

[4] Cheng X, Chen B, Li P, Gong J, Tang J, & Song L. Training Compute-Optimal Protein Language Models. arXiv:2411.02142. 2024.

[5] OpenAI. GPT-4 technical report. arXiv:2303.08774, 2023.

[6] Brand D, & Zafiropulo P. On communicating Finite-State machines. Journal of the ACM, 30(2), 323–342. 1983.

[7] Lim C, Baumgarten R, & Colton S. Evolving behaviour trees for the commercial game DEFCON. In Lecture notes in computer science (pp. 100–110). 2010.

[8] Lu Y, Aleta A, Du C, Shi L, and Moreno Y, Llms and generative agent-based models for complex systems research. Physics of Life Reviews, 2024.

[9] Park J S, O’Brien J, Cai C J, Morris M R, Liang P, Bernstein M S. Generative agents: interactive simulacra of human behavior. In: Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology. 2023, 2.

[10] Zheng S, He K, Yang L, & Xiong J. MemoryRepository for AI NPC. IEEE Access, 12, 62581–62596. 2024.

[11] Huang W, Abbeel P, Pathak D, Mordatch I. Language models as zero shot planners: extracting actionable knowledge for embodied agents. In: Proceedings of the 39th International Conference on Machine Learning. 2022, 9118−9147.

Downloads

Published

2025-10-23