Generating Role-Playing Game Quests With GPT Language Models
Open Access
- 12 December 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Games
- Vol. 16 (1) , 127-139
Abstract
Quests represent an integral part of role-playing games (RPGs). While evocative, narrative-rich quests are still mostly hand-authored, player demands towards more and richer game content, as well as business requirements for continuous player engagement necessitate alternative, procedural quest generation methods. While existing methods produce mostly uninteresting, mechanical quest descriptions, recent advances in AI have brought forth generative language models with promising computational storytelling capabilities. We leverage two of the most successful Transformer models, GPT-2 and GPT-3, to procedurally generate RPG video game quest descriptions. We gathered, processed and openly published a data set of 978 quests and their descriptions from six RPGs. We fine-tuned GPT-2 on this data set with a range of optimizations informed by several mini studies. We validated the resulting Quest-GPT-2 model via an online user study involving 349 RPG players. Our results indicate that one in five quest descriptions would be deemed acceptable by a human critic, yet the variation in quality across individual quests is large. We provide recommendations on current applications of Quest-GPT-2. This is complemented by case-studies on GPT-3 to highlight the future potential of state-of-the-art natural language models for quest generation.Keywords
Funding Information
- Research Council of Finland
This publication has 23 references indexed in Scilit:
- Let CONAN tell you a story: Procedural quest generationEntertainment Computing, 2021
- GPT-3: What’s it good for?Natural Language Engineering, 2020
- ProGen: Language Modeling for Protein GenerationbioRxiv, 2020
- Procedural Generation of Quests for Games Using Genetic Algorithms and Automated Planning2019
- CiF-CK: An architecture for social NPCS in commercial games2017
- Intentionality and Conflict in The Best Laid Plans Interactive Narrative Virtual EnvironmentIEEE Transactions on Computational Intelligence and AI in Games, 2015
- Jumping NLP Curves: A Review of Natural Language Processing Research [Review Article]IEEE Computational Intelligence Magazine, 2014
- Analysis of ReGEN as a Graph-Rewriting System for Quest GenerationIEEE Transactions on Computational Intelligence and AI in Games, 2013
- The Standard Definition of CreativityCreativity Research Journal, 2012
- Two decades of statistical language modeling: where do we go from here?Proceedings of the IEEE, 2000