Dream-Cubed: Controllable Generative Modeling in Minecraft by Training on Billions of Cubes

Tim Merino, Sam Earle, Ryunosuke Iwai, Julian Togelius, Edoardo Cetin

TL;DR

The paper introduces Dream-Cubed, a massive dataset of over 2 million Minecraft world chunks used to train the first large-scale 3D diffusion models operating directly in voxel (block) space. By treating blocks as native tokens, these models achieve high-quality world generation and unlock powerful, interactive editing capabilities like exact inpainting and outpainting without any architectural modifications. Remarkably, human evaluators frequently preferred the AI-generated terrain over real, procedurally generated Minecraft worlds.

What Problem Does This Paper Address?

While generative AI has made massive leaps in text, image, and video generation, interactive 3D environments have lagged behind. Generating 3D worlds is challenging because they are discrete, compositional, and must be easily editable to be useful for games or simulations.

Previous 3D generative approaches often rely on continuous representations (like point clouds) or complex pixel-space modeling. Minecraft is an ideal testbed for 3D world generation because its world is a structured grid of semantically meaningful blocks (voxels). However, progress has been bottlenecked by the lack of large-scale, curated datasets. This paper fills that gap by providing a massive dataset and exploring how different 3D diffusion architectures handle discrete voxel generation.

Methods

The authors train a 3D Diffusion Transformer (DiT) backbone with approximately 280 million parameters. Instead of compressing the data into a latent space, the model operates directly on $32 \times 32 \times 32$ block chunks. They compare two distinct diffusion paradigms:

  1. Discrete Masked Diffusion (MD4): Voxels are treated as categorical tokens. The forward process progressively replaces blocks with a [MASK] token, and the network learns to iteratively predict and unmask the true block types.
  2. Continuous Diffusion (DDPM) in Embedding Space: Voxels are mapped to fixed 16-dimensional dense vectors using a pretrained text-embedding model (leveraging the semantic names of blocks like "dirt" or "sand"). Standard continuous diffusion is applied, and the final outputs are decoded back to discrete blocks using a nearest-neighbor lookup.

To generate worlds larger than a single chunk, the authors implement a sliding-window outpainting procedure. Neighboring blocks from previously generated chunks are passed as fixed context, ensuring seamless continuity across large terrains.

Datasets

The authors introduce the DREAM-CUBED dataset, which contains over 2 million chunks spanning tens of billions of blocks:

  • Core Dataset (~1.67M chunks): Procedurally generated Minecraft terrain mapped into 15 distinct biome classes (e.g., Ocean, Desert, Cave, Village) with a vocabulary of 117 block types.
  • Supplementary Dataset (~358k chunks): High-quality, complex maps built by professional community builders, expanding the vocabulary to 177 block types and adding 6 map-specific labels.

Key Insights and Ideas

  • Blocks as Native Tokens: Bypassing latent space or pixel rendering allows the model to "read and write" directly to Minecraft formats. This means generated chunks are immediately playable and can be imported directly into the game.
  • The Masking Advantage for Control: Discrete masked diffusion (MD4) is inherently suited for user-controlled editing. Because unmasked tokens remain completely untouched during sampling, users can draw sparse block "prompts" (like a ring of water or a mountain silhouette), and the model guarantees those blocks remain fixed while it infills the rest of the scene. Continuous diffusion struggles here because injecting clean embeddings violates its noise schedule.
  • The Guidance Paradox: Human raters preferred AI-generated chunks over real game chunks. This is due to classifier-free guidance, which pushes the generative model toward "prototypical" examples of a biome. Real Minecraft generation can be messy and featureless, whereas the model generates idealized, visually interesting versions of each biome.
  • Data Curation Beats Raw Scale: Simply sampling chunks at their natural frequency in Minecraft yields poor results for complex, rare structures like villages and caves. Targeted oversampling and balancing are required to teach the model structural composition.

Key Results

  • Parity in Quality: MD4 and DDPM achieved nearly identical performance on average Fréchet Inception Distance (FID) adapted for 3D renderings (59.26 vs 59.29).
Figure 2: Adjusted per-biome FID for MD4 (patch 2) and MD4 (patch 4) and DDPM (patch 2) models. Lower is better.
  • Human Preference: In head-to-head matchups, human raters preferred the patch-size 2 MD4 model over real validation chunks 67.1% of the time.
  • Robust Controllability: The discrete models proved highly robust to out-of-distribution user prompts, successfully generating coherent terrain around abstract geometric shapes, sine waves, and text constraints.
Inpainting and biome blending using the MD4 model.

Limitations and Future Work

  • Inference Speed: Diffusion sampling is computationally expensive. Generating a single $32^3$ chunk takes about 2.5 minutes for the highest-quality model, creating a bottleneck for real-time, large-scale world generation.
  • Loss of Fine Detail: To keep the vocabulary manageable, the authors used an aggressive block compression scheme that stripped out sub-voxel decorative elements like buttons, rails, and trapdoors, which limits architectural fidelity on human-authored maps.
  • Evaluation Metrics: Image-based FID cannot evaluate internal or subsurface validity (e.g., whether a cave system is fully hollow or if a house interior makes sense). Developing robust, structurally aware 3D metrics remains an open challenge.

Summary updated

BibTeX
@inproceedings{merino2026dream,
  author = {Tim Merino and Sam Earle and Ryunosuke Iwai and Julian Togelius and Edoardo Cetin},
  title = {{Dream-Cubed: Controllable Generative Modeling in Minecraft by Training on Billions of Cubes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3YW4ug0yQX},
}
Figure