Abstract
Procedural Content Generation (PCG) is a cornerstone of high-quality 3D asset creation, yet controlling its parameters to match a specific visual target remains a significant challenge. We present DI-PCG, a novel framework that addresses the Inverse Procedural Content Generation (I-PCG) problem by employing a lightweight diffusion transformer to estimate generator parameters from a single image. By operating directly within the low-dimensional parameter space, DI-PCG produces production-ready 3D models with clean geometry in seconds, offering a 1000x speedup over traditional sampling methods while maintaining high accuracy and editability.
Introduction
In the production of games and films, Procedural Content Generation (PCG) is favored for its ability to generate assets with clean topology and infinite variety via algorithmic rules. However, the "inverse" problem—finding the specific parameters to recreate a real-world object from an image—is notoriously difficult. Traditional Inverse PCG (I-PCG) methods typically rely on slow, iterative sampling (like MCMC) or neural models that struggle with generalization. DI-PCG bridges this gap, providing a fast, robust solution that handles both photorealistic images and sketches.
Methodology
The core innovation of DI-PCG is treating PCG parameters as the denoising target in a diffusion process. Unlike typical 3D diffusion models that operate on high-dimensional voxels or point clouds, DI-PCG diffuses a compact vector of parameters.
The framework consists of several key components:
- Parameter Canonicalization: Parameters (both continuous and discrete) are mapped into a continuous space $[-1, 1]$. Discrete choices are represented as uniform segments, allowing the model to treat the entire parameter set as a continuous vector.
- Diffusion Transformer (DiT): A lightweight Transformer (7.6M parameters) performs the denoising. Its small size is made possible by the low dimensionality of the parameter space.
- Vision Foundation Conditioning: The model utilizes DINOv2 to extract visual features from the input image. These features guide the denoising process via cross-attention.
- Self-Supervised Training: Training data is generated automatically by sampling parameters from existing procedural generators and rendering the resulting 3D models.
Datasets and Training
The authors utilized procedural generators from Infinigen and Infinigen Indoors, covering categories such as chairs, tables, vases, baskets, and flowers. For each category, 20,000 parameter-image pairs were generated for training. The model was evaluated on both internal validation sets and the ShapeNet chair dataset to test generalization to external 3D models. Training was highly efficient, requiring only approximately 30 GPU hours.
Results and Discussion
DI-PCG demonstrates significant improvements in both efficiency and quality. By diffusing in parameter space, the model avoids the "melted" or noisy geometry often seen in other image-to-3D methods, instead producing manifold, UV-mapped meshes ready for production.
Key performance metrics include:
- Speed: Inference takes only seconds, representing a 1000x-2000x speedup over MCMC-based methods.
- Accuracy: On the ShapeNet chair benchmark, DI-PCG achieved a Chamfer Distance (CD) of 0.093, significantly outperforming general models like Shap-E (0.227) and Michelangelo (0.111).
- Editability: Because the output is a set of parameters, users can intuitively "tweak" the generated model by adjusting sliders for specific features like leg thickness or backrest type.
- Robustness: Due to the use of DINOv2 features, the model generalizes well to hand-drawn sketches without additional fine-tuning.
Conclusion
DI-PCG offers a powerful new approach to 3D asset creation by combining the strengths of procedural generation with the flexibility of diffusion models. While currently limited by the scope of the underlying procedural generators, it paves the way for efficient, artist-controllable 3D modeling. Future work includes expanding to scene-level generation and adding text-based conditioning.
Summary updated