Grammar-Based Game Description Generation Using Large Language Models

Game Description Language (GDL) provides a standardized way to express diverse games in a machine-readable format, enabling automated game simulation, and evaluation. While previous research has explored game description generation using search-based methods, generating GDL descriptions from natural language remains a challenging task. This paper presents a novel framework that leverages Large Language Models (LLMs) to generate grammatically accurate game descriptions from natural language. Our approach consists of two stages: first, we gradually generate a minimal grammar based on GDL specifications; second, we iteratively improve the game description through grammar-guided generation. Our framework employs a specialized parser that identifies valid subsequences and candidate symbols from LLM responses, enabling gradual refinement of the output to ensure grammatical correctness. Experimental results demonstrate that our iterative improvement approach significantly outperforms baseline methods that directly use LLM outputs. Our code is available at <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/tsunehiko/ggdg</uri>

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Games
Published
2024-12-19
DOI
https://doi.org/10.1109/tg.2024.3520214
Citations
5
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
1.74

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Grammar-Based Game Description Generation Using Large Language Models

Edgar Simo‐Serra, Tsunehiko Tanaka
5 citations
IEEE Transactions on Games
Artificial Intelligence in Games
1.74
article

Grammar-Based Game Description Generation Using Large Language Models

Edgar Simo‐Serra, Tsunehiko Tanaka
article en
5 citations

Abstract

Game Description Language (GDL) provides a standardized way to express diverse games in a machine-readable format, enabling automated game simulation, and evaluation. While previous research has explored game description generation using search-based methods, generating GDL descriptions from natural language remains a challenging task. This paper presents a novel framework that leverages Large Language Models (LLMs) to generate grammatically accurate game descriptions from natural language. Our approach consists of two stages: first, we gradually generate a minimal grammar based on GDL specifications; second, we iteratively improve the game description through grammar-guided generation. Our framework employs a specialized parser that identifies valid subsequences and candidate symbols from LLM responses, enabling gradual refinement of the output to ensure grammatical correctness. Experimental results demonstrate that our iterative improvement approach significantly outperforms baseline methods that directly use LLM outputs. Our code is available at <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/tsunehiko/ggdg</uri>

IEEE Transactions on GamesVol. 18(1)
Waseda University (JP)
ACT-X
Quality Education
Openalex Percentile: Top 12%
Artificial Intelligence in Games
1.74
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.

Grammar-Based Game Description Generation Using Large Language Models — Edgar Simo‐Serra, Tsunehiko Tanaka · IEEE Transactions on Games (2024) | TGRS Research Map | TGRS