about
MarioGPT: Open-Ended Text2Level Generation Through Large Language Models (arxiv.org)
1 point by JeanMarcS on Feb 17, 2023 | hide | past | pdf | discuss on HN

In plain words: A generator turns a short text description into Super Mario Bros level layouts, so you can ask for specific features instead of getting random ones. Combined with a search that rewards new kinds of levels, it kept producing increasingly varied player paths.

Abstract · MarioGPT: Open-Ended Text2Level Generation through Large Language Models

Procedural Content Generation (PCG) is a technique to generate complex and diverse environments in an automated way. However, while generating content with PCG methods is often straightforward, generating meaningful content that reflects specific intentions and constraints remains challenging. Furthermore, many PCG algorithms lack the ability to generate content in an open-ended manner. Recently, Large Language Models (LLMs) have shown to be incredibly effective in many diverse domains. These trained LLMs can be fine-tuned, re-using information and accelerating training for new tasks. Here, we introduce MarioGPT, a fine-tuned GPT2 model trained to generate tile-based game levels, in our case Super Mario Bros levels. MarioGPT can not only generate diverse levels, but can be text-prompted for controllable level generation, addressing one of the key challenges of current PCG techniques. As far as we know, MarioGPT is the first text-to-level model and combined with novelty search it enables the generation of diverse levels with varying play-style dynamics (i.e. player paths) and the open-ended discovery of an increasingly diverse range of content. Code available at https://github.com/shyamsn97/mario-gpt.

Shyam Sudhakaran, Miguel González-Duque, Claire Glanois, Matthias Freiberger, Elias Najarro, Sebastian Risi
arXiv:2302.05981 · cs.AI, cs.CL, cs.LG · submitted Feb 12, 2023 · updated Nov 8, 2023
abstract · pdf · html

add comment on HN