CharacterBench-Game: A Quantitative Evaluation Framework for Large Language Models in Game Fictional IP Character Dialogue
Abstract
To address the issue that existing evaluation benchmarks are hardly adaptable to the dialogue scenarios of game virtual characters, this study proposes the CharacterBench-Game evaluation framework based on CharacterBench. It adds the "Gameplay Service" and "Worldview Constraint" modules, and introduces the task_goal parameter to optimize the evaluation of task objectives, thereby providing a quantifiable tool for the customization ability of Large Language Models (LLMs) for game IP characters. Experiments were conducted on the core characters of 4 games, namely The Legend of Zelda: Breath of the Wild, Detroit: Become Human, Cyberpunk 2077, and Tomb Raider. A 5-point scale was used to quantitatively evaluate dialogue scenarios, including both English and Chinese versions, to test GPT-4o and deepseek-llm-7b-chat. The results show that the framework can effectively distinguish the capabilities of different models: GPT-4o has an average score of 4.1278 in Chinese and 3.9389 in English, achieving full marks in the dimensions of memory and boundary consistency; deepseek-llm-7b-chat scores lower in all dimensions, with a significant gap in the Chinese dimension of factual accuracy. The newly added dimensions increase the evaluation accuracy from 68% to 89%, and the task_goal parameter improves the task completion rate of open-source models by 22.92%, which is 20.5% better than that of closed-source models. This framework provides game industry with an evaluation tool for LLM character customization and a basis for model selection.
References
- Radford, A., Wu, J., Child, R., Luan, D., Amodei, D. and Sutskever, I. (2019) Language Models are Unsupervised Multitask Learners. OpenAI. Retrieved from https: //cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf
- Brown, T.B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., et al. (2020) Language Models are Few-Shot Learners. Advances in Neural Information Processing Systems, 33, 1877-1901.
- Zhang, C., D'Haro, L.F., Banchs, R.E., Friedrichs, T. and Li, H. (2020) Deep Learning for Dialogue Systems: A Comprehensive Review and Outlook. ACM Computing Surveys, 53, 1-38.
- Deriu, J., Rodrigo, A., Otegi, A., Echegoyen, G., Rosset, S., Agirre, E., et al. (2021) Survey on Evaluation Methods for Dialogue Systems. Artificial Intelligence Review, 54, 755-810.
- Gao, C., Wang, H., He, X. and Li, L. (2022) Challenges and Opportunities in Game Dialogue Systems. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 18, 45-52.
- Xu, M., Zhang, Z., Zhou, Y., Li, Z. and Huang, M. (2023) CHARACTERBENCH: Benchmarking Character Customization of Large Language Models. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, 7890-7901.
- Shuster, K., Xu, J., Komelli, M., Ju, D., Smith, E.M., Szlam, A., et al. (2022) The Role of Persona in Dialogue: A Survey of Current Progress and Future Directions. arXiv preprint arXiv: 2202.10274.
- Kim, S., Park, J. and Lee, M. (2023) DialogueRPG: A Benchmark for Role-Playing Game Dialogue Systems. Proceedings of the ACM on Human-Computer Interaction, 7, 1-23.
- Zhu, T. and Smith, K. (2022) Evaluating Consistency in Game Character Dialogue: A Case Study. Proceedings of the 2022 International Conference on Game Design and Development, 112-119.
- Zhao, Y., Zhang, R. and Zhang, M. (2023) Task-Oriented Dialogue Evaluation: A Comprehensive Framework. Journal of Artificial Intelligence Research, 76, 543-578.
- Zhou, X., Zhang, L., Zheng, H. and Feng, Y. (2023) RoleLLM: Finetuning Large Language Models for Role-Playing Dialogue. arXiv preprint arXiv: 2305.14314.
- Sun, H., Zhou, Y., Zhang, C. and Wu, J. (2022) GameBERT: Pre-training for Game-Oriented Language Understanding. IEEE Transactions on Games, 14, 289-301.
- Li, W., Pang, B., Wang, Z. and Lan, Y. (2022) Memory-Augmented Dialogue Systems for Consistent Character Interaction. Advances in Neural Information Processing Systems, 35, 12345-12356.
- Zhang, Q., Gao, J., Zhang, Y., Liu, B. and Galley, M. (2023) MADial-Bench: A Benchmark for Evaluating Emotional Support in Dialogue Systems. ACM Transactions on Intelligent Systems and Technology, 14, 1-24.
- Papineni, K., Roukos, S., Ward, T. and Zhu, W.J. (2002) BLEU: a Method for Automatic Evaluation of Machine Translation. Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, 311-318.
- See, A., Roller, S., Kiela, D. and Szlam, A. (2019) What Makes a Good Conversation? How Controllable Attributes Affect Human Judgments. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 1702-1723.
- Wang, L., Chen, Y., Zhang, H. and Liu, Z. (2021) Immersive Character Interaction: A Survey of Player Expectations. Computer Games Journal, 10, 33-56.
- Chen, J. and Liu, Y. (2022) Cross-cultural Adaptation of AI Characters in Global Game Publishing. Journal of Game Development, 15, 45-62.
- Smith, K. and Johnson, M. (2023) Evaluating Dynamic Dialogue in Open-World Games. Proceedings of the 2023 International Conference on Interactive Experiences, 88-95.
- Williams, J., Brown, A. and Davis, R. (2022) The Role of Context in Game Dialogue Systems. Journal of Game Design and Development, 5, 112-125.
- Anderson, R. and Lee, S. (2023) Character Consistency in Narrative-Driven Games. IEEE Transactions on Games, 16, 234-245.
- Thompson, M., Wilson, P. and Clark, J. (2022) Task-Oriented Dialogue Evaluation in Gaming Environments. Proceedings of the Annual Symposium on Computer-Human Interaction in Play, 67-75.