arXiv · 2503.15783
Grammar and Gameplay-aligned RL for Game Description Generation with LLMs
Abstract
Game Description Generation (GDG) is the task of generating a game description written in a Game Description Language (GDL) from natural language text. Previous studies have explored generation methods leveraging the contextual understanding capabilities of Large Language Models (LLMs); however, accurately reproducing the game features of the game descriptions remains a challenge. In this paper, we propose reinforcement learning-based fine-tuning of LLMs for GDG (RLGDG). Our training method simultaneously improves grammatical correctness and fidelity to game concepts by introducing both grammar rewards and concept rewards. Furthermore, we adopt a two-stage training strategy where Reinforcement Learning (RL) is applied following Supervised Fine-Tuning (SFT). Experimental results demonstrate that our proposed method significantly outperforms baseline methods using SFT alone. Our code is available at https://github.com/tsunehiko/rlgdg
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tsunehiko Tanaka, Edgar Simo-Serra. 2025-03-20. Grammar and Gameplay-aligned RL for Game Description Generation with LLMs. https://arxiv.org/abs/2503.15783
Cite the original work for its findings. Save a collection to share your selection of sources.