GBC: GameScript Generation Using BERT Classification: —Enhancing Interactive Narratives with LLM

Generative Artificial Intelligence (GAI) and Large Language Models (LLMs) have been applied in text-based games, but its potential in generating executable game scripts is unexplored. By establishing a mapping from text responses to game scripts, this research explored the application of LLMs in practical game production. This study utilizes a fine-tuned Bidrectional Encoder Representations from Transformers (BERT) model to transform dialogue generated by LLMs into practical game scripts. The proposed method achieves state-of-the-art performance of transformation with an F1 score of 89.71% and an accuracy of 89.74% on the validation set, while maintaining low training and computational costs. The results highlight the potential of LLMs in game development, paving the way for immersive and personalized gaming experiences. Future research could delve deeper into complex and diverse datasets, exploring the integration of multiple labels and numerical values to enhance game interaction and immersion experiences. This research may lay the groundwork for integrating generative AI into game engines in the future, simplifying the production process of adaptive game content.

Authors

Institutions

Publication Details

Published
2025-04-23
DOI
https://doi.org/10.1109/acctcs66275.2025.00028
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GBC: GameScript Generation Using BERT Classification: —Enhancing Interactive Narratives with LLM

Jiahua Zhang
Artificial Intelligence in Games
article

GBC: GameScript Generation Using BERT Classification: —Enhancing Interactive Narratives with LLM

Jiahua Zhang
article en

Abstract

Generative Artificial Intelligence (GAI) and Large Language Models (LLMs) have been applied in text-based games, but its potential in generating executable game scripts is unexplored. By establishing a mapping from text responses to game scripts, this research explored the application of LLMs in practical game production. This study utilizes a fine-tuned Bidrectional Encoder Representations from Transformers (BERT) model to transform dialogue generated by LLMs into practical game scripts. The proposed method achieves state-of-the-art performance of transformation with an F1 score of 89.71% and an accuracy of 89.74% on the validation set, while maintaining low training and computational costs. The results highlight the potential of LLMs in game development, paving the way for immersive and personalized gaming experiences. Future research could delve deeper into complex and diverse datasets, exploring the integration of multiple labels and numerical values to enhance game interaction and immersion experiences. This research may lay the groundwork for integrating generative AI into game engines in the future, simplifying the production process of adaptive game content.

Nanyang Technological University (SG)
Openalex Percentile: Top 88%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

GBC: GameScript Generation Using BERT Classification: —Enhancing Interactive Narratives with LLM — Jiahua Zhang · (2025) | TGRS Research Map | TGRS