TL;DR
NuiWorld introduces an end-to-end framework for generating large-scale, controllable 3D worlds directly from 2D sketches. By combining a "generative bootstrapping" pipeline to overcome 3D data scarcity with a scalable vector-set chunk representation, it synthesizes massive 3D environments in seconds while maintaining sharp geometric detail across arbitrary scene sizes.
What Problem Does This Paper Address?
Generating expansive, open-domain 3D worlds is a foundational requirement for video games, virtual reality, and robotics simulations. However, current state-of-the-art methods hit a wall across three major areas:
- Data Scarcity & Controllability: Training end-to-end models to generate worlds based on user inputs (like sketches) requires massive datasets of paired inputs and 3D scenes, which simply do not exist at scale.
- Scalability Limits: Popular 3D object generators rely on uniform, fixed-resolution voxel grids. As the scene size expands, the spatial resolution per unit area degrades, causing large environments to become blurry or full of structural artifacts.
- Inference Efficiency: Existing training-free or LLM-agent-driven pipelines circumvent resolution limits by generating scenes piece-by-piece, but they are computationally expensive and painfully slow at inference time.
NuiWorld bridges this gap by creating a pipeline that can bootstrap its own training data from just a few images and generate complete, variable-sized worlds in a single end-to-end forward pass.
Methods
The NuiWorld framework operates in two distinct phases: Generative Bootstrapping (data creation) and Sketch-to-World Generation (the core model).
1. Generative Bootstrapping
To solve data scarcity, the authors design a data synthesis pipeline:
- Image Generation & 3D Reconstruction: They use a text-to-image model (Nano Banana via Gemini 3) to generate a small set of isometric scene chunks for a target theme. These images are lifted into 3D meshes using Trellis 2.
- Scene Expansion: These initial 3D chunks are used to train an expandable scene generator (NuiScene), which procedurally fits the chunks together to synthesize thousands of massive, unique scene layouts across various scales.
- Pseudo-Sketch Generation: The synthesized 3D scenes are rendered from fixed viewpoints and converted into 2D edge maps (using Canny edge detection), yielding a massive dataset of paired sketches and 3D worlds.
2. Scalable Scene Representation
Instead of representing an entire large scene with one massive voxel grid, NuiWorld partitions the environment into a grid of scene chunks. Each chunk is encoded into a fixed-size Vector Set (VecSet) token $(V, c)$.
By flattening these vector sets into token channels, the transformer model shifts the quadratic memory overhead ($O(N^2)$) typically caused by long sequence lengths into the channel dimension (model width), which scales linearly. This allows the model to handle variable-length sequences of chunks seamlessly.
3. Sketch-to-World Diffusion
The core model is a transformer trained using rectified flow matching. It takes the 2D pseudo-sketch, extracts features using a frozen DINOv2 encoder, and diffuses the entire variable-length sequence of scene chunk tokens simultaneously. An optional size prediction network estimates the ideal layout dimensions $(R, C)$ directly from the sketch input.
Datasets
The authors validated their framework by bootstrapping datasets for three distinct thematic scenarios:
- Medieval (started from 16 seed scenes)
- Desert (started from 12 seed scenes)
- Cyberpunk (started from 12 seed scenes)
Using the bootstrapping pipeline, they expanded these tiny seeds into a full dataset of 8,000 synthesized scenes per scenario (split into 7,200 training pairs and 800 validation pairs). For extra-large environments, they fine-tuned an "XL" model variant on an additional 1,800 massive scenes.
Key Insights and Ideas
- Width Over Length for Transformers: Standard transformers scale poorly with large spatial inputs due to attention complexity. Flattening 3D chunks into fixed-size vector channels allows NuiWorld to scale to massive environments efficiently by leveraging model width rather than sequence length.
- Data Scarcity is an Illusion: You don't need a pre-existing internet-scale dataset of 3D worlds to train a controllable world model. A tiny seed of 2D AI-generated images can be algorithmically expanded into a rich, diverse 3D training set.
- Breaking the Voxel Resolution Bound: Uniform voxel grids waste memory on empty space and penalize large scenes. Chunking environments into independent vector sets preserves local fidelity regardless of how far the world expands.
Key Results
- Consistent Geometric Fidelity: Unlike fixed-grid object generators (like Trellis 2) which suffer from missing details and structural holes in large scenes, NuiWorld maintains sharp details across all scales.
- Massive Speedups: Because NuiWorld diffuses entire scenes natively in a single pass, it is drastically faster than training-free chunk-based alternatives. Generating a large scene took NuiWorld just 5 minutes and 26 GB of VRAM, compared to 54 minutes and 45 GB of VRAM for SynCity.
- Zero-Shot Sketch Generalization: Despite being trained on a relatively small variety of layouts, the XL model successfully generalized to complex, hand-drawn style sketches it had never encountered, accurately translating circular walls, farm barns, and fields into coherent 3D structures.
Limitations and Future Work
- Monolithic Outputs: The framework currently outputs scenes as a single, fused monolithic mesh. For practical applications like game engines or physics simulations, future iterations will need to integrate object decomposition methods to separate individual assets (e.g., separating a tree from the ground).
- Visible Seams: Because the scenes are generated chunk-by-chunk during the data synthesis phase, minor boundary artifacts and visible seams can sometimes appear in the final output.
- Local Detail Quality: While structurally sound and highly scalable, the fine-grained local details are currently inferior to specialized single-object generators, a limitation the authors attribute to model capacity constraints that could be resolved with more compute.
Summary updated