English

Text-to-Level Diffusion Models With Various Text Encoders for Super Mario Bros

Machine Learning 2025-08-18 v2 Artificial Intelligence

Abstract

Recent research shows how diffusion models can unconditionally generate tile-based game levels, but use of diffusion models for text-to-level generation is underexplored. There are practical considerations for creating a usable model: caption/level pairs are needed, as is a text embedding model, and a way of generating entire playable levels, rather than individual scenes. We present strategies to automatically assign descriptive captions to an existing dataset, and train diffusion models using both pretrained text encoders and simple transformer models trained from scratch. Captions are automatically assigned to generated scenes so that the degree of overlap between input and output captions can be compared. We also assess the diversity and playability of the resulting level scenes. Results are compared with an unconditional diffusion model and a generative adversarial network, as well as the text-to-level approaches Five-Dollar Model and MarioGPT. Notably, the best diffusion model uses a simple transformer model for text embedding, and takes less time to train than diffusion models employing more complex text encoders, indicating that reliance on larger language models is not necessary. We also present a GUI allowing designers to construct long levels from model-generated scenes.

Keywords

Cite

@article{arxiv.2507.00184,
  title  = {Text-to-Level Diffusion Models With Various Text Encoders for Super Mario Bros},
  author = {Jacob Schrum and Olivia Kilday and Emilio Salas and Bess Hagan and Reid Williams},
  journal= {arXiv preprint arXiv:2507.00184},
  year   = {2025}
}

Comments

Accepted to appear in The 21st AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (November 10-14, 2025)

R2 v1 2026-07-01T03:40:23.494Z