English

Grammar and Gameplay-aligned RL for Game Description Generation with LLMs

Computation and Language 2025-06-30 v2 Artificial Intelligence

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

Keywords

Cite

@article{arxiv.2503.15783,
  title  = {Grammar and Gameplay-aligned RL for Game Description Generation with LLMs},
  author = {Tsunehiko Tanaka and Edgar Simo-Serra},
  journal= {arXiv preprint arXiv:2503.15783},
  year   = {2025}
}

Comments

Published at IEEE Conference on Games, 2025

R2 v1 2026-06-28T22:27:41.559Z