PCGRLLM: Large Language Model-Driven Reward Design for Procedural Content Generation Reinforcement Learning

In-Chang Baek, Sung-Hyun Kim, Sam Earle, Zehua Jiang, Noh Jin-Ha +2 more
2/15/2025
cs.AI

No official code found. Best implementation: bic4907/ChatPCG (3 stars, last commit 2024-06-06).

Abstract

Reward design plays a pivotal role in the training of game AIs, requiring substantial domain-specific knowledge and human effort. In recent years, several studies have explored reward generation for training game agents and controlling robots using large language models (LLMs). In the content generation literature, there has been early work on generating reward functions for reinforcement learning agent generators. This work introduces PCGRLLM, an extended architecture based on earlier work, which employs a feedback mechanism and several reasoning-based prompt engineering techniques. We evaluate the proposed method on a story-to-reward generation task in a two-dimensional environment using two state-of-the-art LLMs, demonstrating the generalizability of our approach. Our experiments provide insightful evaluations that demonstrate the capabilities of LLMs essential for content generation tasks. The results highlight significant performance improvements of 415% and 40% respectively, depending on the zero-shot capabilities of the language model. Our work demonstrates the potential to reduce human dependency in game AI development, while supporting and enhancing creative processes.

View on arXivView PDF

Code Implementations(1)

bic4907/ChatPCGCommunity71%

ChatPCG: Large Language Model-Driven Reward Design for Procedural Content Generation

30Jun 6, 20242 years ago

Similar Papers

Cite this paper

@article{baek2025pcgrllm,
  title  = {PCGRLLM: Large Language Model-Driven Reward Design for Procedural Content Generation Reinforcement Learning},
  author = {In-Chang Baek and Sung-Hyun Kim and Sam Earle and Zehua Jiang and Noh Jin-Ha and Julian Togelius and Kyung-Joong Kim},
  year   = {2025},
  eprint = {2502.10906},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10906v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10906.svg)](https://codeofpaper.com/paper/2502.10906)

Discussion