atlas

Research map / Large language models / Agents, code and math

GAVEL: Generating Games via Evolution and Language Models

NeurIPS 2024 · Large language models › Agents, code and math · approach: Code generation benchmarks · 10 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GAVEL, which fine-tunes CodeLlama-13b as a fill-in-the-middle mutation operator over Ludii game descriptions and runs MAP-Elites over concept-based PCA archives to generate playable novel board games.

Problem

Automatically generating novel, playable and interesting board games represented in a large, expressive game description language (Ludii), where search space is huge and originality/quality evaluation is hard.

Approach

Fine-tune a code LLM with fill-in-the-middle objective on Ludii game code to act as a mutation operator inside a MAP-Elites quality-diversity search, using a game-agnostic hierarchical fitness from simulated playouts and an archive built from PCA-reduced Ludii concept vectors.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use MAP-Elites search rather than pure samplingGAVEL with fine-tuned CodeLlama-13B · MAP-Elites archiveQD score: 296.92 { ± 14.84} -> 395.62 { ± 17.46}Helped
use GAVEL instead of direct GPT-4o samplinggame generation · MAP-Elites archiveQD score: 268.16 { ± 17.33} -> 395.62 { ± 17.46}Helped
select mutation locations with UCB (ablation)GAVEL · MAP-Elites archiveQD score: 395.62 { ± 17.46} -> 341.17 { ± 14.39}Hurt
select mutation locations with UCB (ablation)GAVEL · MAP-Elites archive# playable: 117.67 { ± 9.46} -> 96.67 { ± 6.02}No clear effect
mutate validation-set games rather than training-set games (ablation)fine-tuned CodeLlama-13b · game mutation, Novel & Validproportion: 16.67 -> 46.00Helped
increase sampling temperature from 0.5 to 1.5 (ablation)training-set game mutations, Top-K 20 · game mutationNovel & Valid: 16.67 -> 22.33Helped
increase sampling temperature from 0.5 to 1.5 (ablation)validation-set game mutations, Top-K 20 · game mutationNovel & Valid: 46.00 -> 33.33Hurt
increase archive dimensionality at fixed target size (ablation)MAP-Elites archive · Ludii training gamesunique occupied cellsHurt

Surprising findings

Limitations

Experimental setup

Datasets: Ludii game library (1182 games; 574 used for training, 14 held out)

Benchmarks: Ludii concept-based archive QD score playability and fitness metrics from simulated playouts

Metrics: QD score number of playable cells number of cells with fitness>0.5 novel cells balance decisiveness completion agency coverage strategic depth

Baselines: GAVEL-UCB Pure Sampling GPT-4o

Builds on: evolution through large models MAP-Elites CodeLlama LoRA Ludii

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy