Source-linked AI summary
Zero-Shot Reasoning: Personalized Content Generation Without the Cold Start Problem
Davor Hafnar, Jure Demšar
TL;DR
Creating new and engaging game content can be expensive because it requires substantial time from developers, artists, and game designers, motivating the use of PCG. The framework uses GPT-4 zero-shot reasoning to propose personalized level parameters from continuously collected gameplay data, without fine-tuning or human-in-the-loop supervision. 55% of LLM-generated levels were completed versus 35% of traditional-PCG levels, with the probability favoring LLM PCG near 1.00.
Problem
Creating new and engaging game content can be expensive because it requires substantial time from developers, artists, and game designers, motivating the use of PCG.
Source: §I · p. 1Method
The framework uses GPT-4 zero-shot reasoning to propose personalized level parameters from continuously collected gameplay data, without fine-tuning or human-in-the-loop supervision.
Source: §VII · p. 8, §VIII · p. 8Results
55% of LLM-generated levels were completed versus 35% of traditional-PCG levels, with the probability favoring LLM PCG near 1.00.
Source: §V · p. 6Takeaways & Limitations
The approach offers a reproducible production-oriented path to personalized PCG while reducing the cost and complexity of deploying ML-based personalization.
Source: §VII · p. 8, §VIII · p. 8The study cannot rule out that overly difficult initial traditional-PCG levels contributed to their higher dropout rates, and zero-shot reasoning may underperform custom-trained ML.
Source: §VI · pp. 6, 8
Abstract
from arXiv · showhide
Procedural content generation uses algorithmic techniques to create large amounts of new content for games at much lower production costs. In newer approaches, procedural content generation utilizes machine learning. However, these methods usually require expensive collection of large amounts of data, as well as the development and training of fairly complex learning models, which can be both extremely time-consuming and expensive. The core of our research is to explore whether we can lower the barrier to the use of personalized procedural content generation through a more practical and generalizable approach with large language models. Matching game content with player preferences benefits both players, who enjoy the game more, and developers, who increasingly depend on players enjoying the game before being able to monetize it. Therefore, this paper presents a novel approach to achieving personalization by using large language models to propose levels based on the gameplay data continuously collected from individual players. We compared the levels generated using our approach with levels generated with more traditional procedural generation techniques. Our easily reproducible method has proven viable in a production setting and outperformed levels generated by traditional methods in the probability that a player will not quit the game mid-level.
I. INTRODUCTION
The paper targets personalized procedural content generation with LLMs as a practical alternative to data-intensive, task-specific ML. It positions the approach against conventional PCG and prior personalization research, then evaluates whether it improves level completion.
I. INTRODUCTION
- PCG reduces game-content production costs but typically serves identical content to all players rather than matching individual play styles.Source: §I · p. 1
II. RELATED WORK
- Existing personalization work includes psychophysiological player profiling and industry KPI optimization, but published implementation details remain limited,.Source: §I · p. 1
I. INTRODUCTION
- LLMs offer zero-shot reasoning that can avoid the cold start problem and reduce the need for costly, game-specific model training,,.Source: §I · p. 1
II. RELATED WORK
- Prior LLM-based PCG studies explored quests, levels, and prompt engineering, whereas this work focuses on a reproducible production-level framework,, [19].Source: §I · p. 1, §II · p. 2
I. INTRODUCTION
- The study validates production use without additional training or human supervision and compares LLM-based personalized PCG with traditional PCG using player completion data.Source: §I · pp. 1–2
A. Personalized PCG
Personalized PCG adapts game content to individual players but remains relatively underexplored. Prior work spans player profiling, retention, difficulty adjustment, and LLM-based content generation, while this study emphasizes reproducible production use.
A. Personalized PCG
- Personalized PCG generates content for individual players based on their skills, play styles, and preferences, but it remains a less explored PCG area,.Source: A. Personalized PCG · p. 2
- The PDP framework proposes collecting real-time play data and periodically adapting game elements as player profiles change.Source: A. Personalized PCG · p. 2
- Prior retention work personalized notifications after predicting churn, while EA optimized engagement through dynamic difficulty rather than broader personalization,.Source: A. Personalized PCG · p. 2
B. Large Language Models
- Earlier LLM game-generation studies used fine-tuned GPT-2 or human evaluation for quests and dialogue, with mixed quality results,,.Source: B. Large Language Models · p. 2
- LLMs have generated promising and diverse game levels, including Sokoban and Mario environments, but prior work mainly tested feasibility rather than reproducible production deployment,,.Source: B. Large Language Models · p. 2
- LLMs generate text by modeling next-token probabilities, with transformer-based GPT models enabling coherent outputs across topics, [21],,.Source: B. Large Language Models · p. 2
C. Zero-shot reasoning
Zero-shot reasoning lets large language models perform tasks with little or no task-specific training, making them suitable for generating personalized level parameters. The implementation uses GPT-4 in a Match 3 mobile game with structured gameplay mechanics and production-oriented infrastructure.
C. Zero-shot reasoning
- Zero-shot reasoning enables GPT-3 and GPT-4 to perform tasks with little or no task-specific training data.Source: C. Zero-shot reasoning · p. 2
- The paper uses zero-shot reasoning to generate level parameters from player data, targeting indie developers and small studios with limited training datasets.Source: C. Zero-shot reasoning · p. 3
III. APPROACH AND BASIC COMPONENTS
- The game was implemented with GPT-4, Unity, Google Cloud services, and function calling that returns level parameters as JSON [21].Source: §III · p. 3
- The game was published on Google Play and acquired players through Google Ads to obtain a production-style player sample.Source: §III · p. 3
A. The match 3 game
- Players complete Match 3 levels by swapping neighboring pieces to form same-colour lines, earning points while matched pieces are removed and replaced.Source: A. The match 3 game · p. 3, Figure 1 · p. 3
B. Data collection
The system collects recent gameplay and ratings, summarizes them in prompts, and asks GPT-4 to classify players and generate three constrained future levels. Structured parameters and deterministic settings support consistent, deployable outputs.
B. Data collection
- The backend records level outcomes, ratings, moves, clicks, boosters, and level parameters, while completion data supports calculation of level completion rates.Source: B. Data collection · p. 3
C. Prompting the LLM
- After each completed level, at most five recent levels are summarized and sent with instructions to GPT-4 to generate the next three levels as JSON parameters.Source: C. Prompting the LLM · pp. 3–4
- Human-readable summaries of the last five levels replace retaining the full history of prior interactions in each model call.Source: C. Prompting the LLM · pp. 3, 5
- Level parameters include piece diversity, board dimensions, score goals, collection goals, and allowed moves, with explicit ranges and difficulty guidance.Source: C. Prompting the LLM · p. 4
- Function calling enforces consistent JSON output, while generating three levels provides a fallback against latency or backend failures.Source: C. Prompting the LLM · p. 4
- The prompt asks GPT-4 to classify players by skill and play style before proposing levels within predetermined parameter ranges.Source: C. Prompting the LLM · p. 4
- Temperature 0 makes outputs more uniform for identical inputs, although target scores still varied by up to 100 points within the valid range.Source: C. Prompting the LLM · p. 5
D. The Procedural content generation module
The game generates levels from selected parameters, with an LLM supplying personalized values based on recent gameplay data or a uniform random algorithm for comparison.
- The LLM provides parameters for a specific player, potentially adapting difficulty through choices such as smaller grids, fewer pieces, and more available moves.Source: D. The Procedural content generation… · p. 5
- Levels are generated from parameters such as piece count, board dimensions, score goals, collection goals, and allowed moves.Source: D. The Procedural content generation… · p. 5
- The next three levels are generated after each completed and rated level using the player’s last five completed levels for personalization.Source: D. The Procedural content generation… · p. 5
- Personalized and traditional levels use the same parameter ranges, while the LLM or uniform random algorithm determines the parameter values.Source: D. The Procedural content generation… · p. 5
E. Personalized gameplay
The framework continuously uses player gameplay data to personalize successive levels, while generating three backend levels to accommodate latency before delivery to the mobile game.
- Real-time gameplay data enables the player’s experience to diverge progressively from other players as personalization continues during play.Source: E. Personalized gameplay · p. 5
- The framework is intended to provide an appropriate challenge and style for players with different skill levels and genre familiarity.Source: E. Personalized gameplay · p. 5
- Gameplay data from completed and rated levels is sent to a backend, where GPT-4 returns three parameterized levels as strict JSON for the mobile game.Source: Figure 2 · p. 5
IV. EXPERIMENT DESIGN
The experiment compared LLM-personalized levels with traditionally randomized levels using player completion and ratings, with a separate initialization procedure for the first level.
IV. EXPERIMENT DESIGN
- The comparison evaluated retention through whether players completed started levels and also collected ratings for completed levels.Source: §IV · p. 5
- Players were split between traditional randomized PCG and LLM-personalized PCG, using identical parameter bounds for both groups.Source: §IV · p. 5
- The shared bounds allowed 3–5 piece types, 2–4 goals, 700–2000-point goal scores, 20–30 moves, 4x4–6x6 boards, and 5–15 collected pieces per collection goal.Source: §IV · p. 5
A. Serving initial levels
- For personalized players’ initial level, the system used a simpler prompt because no completed-level gameplay data was yet available.Source: A. Serving initial levels · p. 5
- Random-level players used the same generation procedure for their first and subsequent levels, and both groups regenerated levels whenever downloaded.Source: A. Serving initial levels · p. 6
B. Participants
The study enrolled players through public mobile-game distribution and analyzed completion and rating differences between the two groups with Bayesian models.
B. Participants
- The study onboarded 102 players who completed at least one level; 59 received LLM-based PCG, 43 received traditional PCG, and they played 928 levels.Source: B. Participants · p. 6
- Players completed 422 of the 928 levels played during the study.Source: B. Participants · p. 6
C. Statistical analysis
- Completion outcomes were modeled as Bernoulli data, with 1 indicating completion and 0 indicating failure through exhausted moves or giving up.Source: C. Statistical analysis · p. 6
- Posterior parameters were compared to estimate differences in completion rates and the certainty of those claims.Source: C. Statistical analysis · p. 6
- Player ratings were analyzed with an ordered generalized linear model using group as the independent variable and β to estimate rating differences.Source: C. Statistical analysis · p. 6
- Reported Bayesian probabilities were denoted with capital P and distinguished from frequentist p-values.Source: C. Statistical analysis · p. 6
- Monte Carlo Standard Error was below 1% in all analyses and was omitted for brevity.Source: C. Statistical analysis · p. 6
V. RESULTS
LLM-generated levels were more likely than traditional PCG levels to be completed, while rating comparisons depended on whether dropouts were included. The study also identifies limits involving zero-shot performance, rating interpretation, initial-level difficulty, model cost, and configuration choices.
V. RESULTS
- 34% completed the first LLM-generated level versus 18% for the traditional PCG level, while completion across all levels was 55% versus 35% (P ≈1.00).The probability that more players would complete either a given level or the first level with LLMs was near certain.Source: §V · p. 6
- 3.87/5 versus 4.22/5 favored traditional PCG when only completed-level ratings were analyzed, but assigning dropouts a 0 reversed the averages to 1.59 versus 1.25 in favor of LLM PCG (P = 0.99).The analysis attributes the reversal to players who disliked traditional levels potentially quitting before voting.Source: §V · p. 6
- 3.45 for the first LLM-PCG level increased to 4.01 for subsequent levels, with later levels rated higher at P ≈1.This comparison concerns ratings within the LLM PCG group as personalization progressed.Source: §V · p. 6
VI. STUDY LIMITATIONS
- Zero-shot reasoning is simpler than custom-trained ML models but is limited in comparative performance, and the study omitted a more data-intensive comparison requiring clustering of unique levels.The authors also note that rating data may not accurately reflect satisfaction for such a comparison and suggest completion as a more objective metric.Source: §VI · pp. 6–7
- Higher traditional-PCG dropout rates may reflect overly difficult initial levels, a possibility requiring additional testing with different difficulty thresholds.The authors state that this possibility cannot be completely ruled out.Source: §VI · p. 8
- Using GPT-4 could be costly at large scale, and the tested framework was not optimized across its many parameter, player-type, and instruction configurations.The authors identify cheaper models and further configuration experiments as possible directions.Source: §VI · p. 8
VII. DISCUSSION
The discussion finds that zero-shot LLMs can personalize procedural levels without fine-tuning or the cold-start problem, while remaining practical to deploy. The approach produced reliably formatted levels and suggests lower implementation cost and complexity than recommendation-based personalization.
VII. DISCUSSION
- Zero-shot LLMs can personalize level-based procedural content without fine-tuning and avoid the cold-start problem.The method uses prompts and gameplay data to provide suggestions without accumulated training examples.Source: §VII · p. 8
- The approach reduces the cost and complexity of bringing machine-learning-based personalized procedural content to market.The paper characterizes the approach as using a combination of prompts and gameplay data rather than recommendation algorithms requiring a cold start.Source: §VII · p. 8
- GPT-4 consistently returned valid JSON levels, while batching and fallback levels prevented players from waiting for model responses.The production-style implementation generated three levels at once and used older generated levels as fallback content.Source: §VII · p. 8
VIII. CONCLUSIONS AND FUTURE WORK
The paper presents and validates a reproducible, production-oriented framework for zero-shot LLM personalization in a mobile game. Compared with traditional procedural generation, its levels made players significantly more likely to complete started levels, although the test represents only an initial proof of concept.
VIII. CONCLUSIONS AND FUTURE WORK
- A multivariate test found that players served LLM-generated levels were significantly more likely to complete levels than players served traditionally generated levels.The framework was validated through a published mobile game connected to GPT-4.Source: §VIII · p. 8
- The end-to-end framework is designed to be easily reproducible and to bridge practical industry needs with research that developers can use.The authors position the work between academic research that is not directly usable and industry research whose implementation details are often scarce.Source: §VIII · p. 8
- The framework generates personalized levels from the beginning without additional training, thereby eliminating the cold-start problem.Zero-shot reasoning lets the model generate levels based solely on instructions.Source: §VIII · p. 8
- The reported test is only an initial demonstration, leaving substantial room for more complex and optimized games using the framework.The authors suggest that future personalization could cover aspects such as difficulty and style.Source: §VIII · p. 9