Scaffold Diffusion: Sparse Multi-Category Voxel Structure Generation with Discrete Diffusion
Justin Jung
TL;DR
Scaffold Diffusion tackles the challenge of generating sparse multi-category 3D voxel structures under severe memory and class-imbalance constraints by treating voxels as tokens and applying a discrete diffusion language model with 3D positional encoding. It conditions generation on the set of occupied voxels, samples a sequence of token positions, and reconstructs a coherent 3D voxel map, achieving realistic structures on the 3D-Craft Minecraft house dataset with exceptionally high sparsity ($\approx$98% background). The approach, based on a Diffusion Transformer backbone and MDLM objective, outperforms autoregressive and prior discrete diffusion baselines in qualitative coherence and diversity, and benefits significantly from 3D sinusoidal positional embeddings. The work includes an interactive viewer for exploring samples and generation dynamics, signaling practical impact for game design, robotics, and virtual environments where sparse 3D structures are common.
Abstract
Generating realistic sparse multi-category 3D voxel structures is difficult due to the cubic memory scaling of voxel structures and moreover the significant class imbalance caused by sparsity. We introduce Scaffold Diffusion, a generative model designed for sparse multi-category 3D voxel structures. By treating voxels as tokens, Scaffold Diffusion uses a discrete diffusion language model to generate 3D voxel structures. We show that discrete diffusion language models can be extended beyond inherently sequential domains such as text to generate spatially coherent 3D structures. We evaluate on Minecraft house structures from the 3D-Craft dataset and demonstrate that, unlike prior baselines and an auto-regressive formulation, Scaffold Diffusion produces realistic and coherent structures even when trained on data with over 98% sparsity. We provide an interactive viewer where readers can visualize generated samples and the generation process: https://scaffold.deepexploration.org/
