Diffusion-SDF: Text-to-Shape via Voxelized Diffusion

Muheng Li, Yueqi Duan, Jie Zhou, Jiwen Lu

Introduction: The 3D Representation Dilemma

Generating high-quality 3D content from natural language descriptions is a significant challenge in digital modeling. Researchers face a "representation dilemma": explicit formats like point clouds lack watertight surfaces, while meshes are often restricted by fixed topologies. Implicit representations, such as Signed Distance Fields (SDFs), provide continuous, high-resolution surfaces but are difficult to generate conditionally.

Existing state-of-the-art methods often utilize autoregressive models, which treat 3D voxels as sequences. However, these are computationally expensive and frequently fail to capture the spatial inductive biases necessary for complex geometry, often resulting in generic, low-diversity shapes. Diffusion-SDF addresses these issues by applying a diffusion process to voxelized SDFs, enabling the synthesis of diverse, high-fidelity 3D shapes.

Methodology: Voxelized Diffusion

The Diffusion-SDF framework operates as a two-stage pipeline designed to balance global structure with local detail.

1. SDF Autoencoder

To manage the complexity of 3D data, the model first converts shapes into voxelized Truncated Signed Distance Fields (TSDFs). A patch-based encoder (similar to a VAE) compresses these into a latent voxel grid. By encoding each patch independently, the model learns robust local structural priors, essentially building a "vocabulary" of 3D parts.

2. Voxelized Diffusion Model (VDM) and UinU-Net

The core generative process occurs in the latent space. The model learns to denoise a Gaussian noise grid into a 3D shape representation, conditioned on text features from a frozen CLIP embedder.

The primary technical innovation is the UinU-Net (U-Net in U-Net) architecture. While standard U-Nets excel at global context, they can lose fine-grained local details. Diffusion-SDF "implants" an inner network—comprising 1x1x1 convolutions and spatial transformers—inside a standard 3D U-Net. This allows the model to refine patch-specific features while the outer layers maintain the overall structural coherence of the object.

Text-to-Shape Generation

By injecting text features via cross-attention and utilizing classifier-free guidance, Diffusion-SDF can generate complex, non-standard geometries that follow specific prompts. Unlike previous models that might produce generic chairs, this framework can realize detailed descriptions such as "a ball-shaped revolving chair" or "a two-layered triangular table."

Examples of diverse 3D shapes generated from text prompts using Diffusion-SDF.

Versatility: Shape Completion and Manipulation

Because the model operates on a voxel grid, it is inherently flexible. It can perform text-guided shape completion by masking known parts of a shape and allowing the diffusion process to fill in the missing regions based on a prompt. This allows users to take an incomplete set of legs and transform them into a full "straight chair" or a "sofa" depending on the textual guidance.

Text-guided shape completion starting from an incomplete voxel set.

Key Results and Performance

Diffusion-SDF demonstrates significant improvements over previous benchmarks like AutoSDF in both diversity and fidelity:

  • Superior Diversity: On the Total Mutual Difference (TMD) metric, the model achieved 0.169 (where lower indicates better distribution matching), significantly outperforming AutoSDF's 0.581.
  • Higher Fidelity: The model reached an Intersection over Union (IoU) of 0.194 and a classification accuracy of 88.56%, indicating that the generated shapes are both geometrically accurate and highly recognizable.

Conclusion

By combining the strengths of diffusion models with a novel UinU-Net architecture, Diffusion-SDF provides a powerful solution for text-to-3D generation. While currently limited by the resolution of its 64x64x64 voxel grid and the availability of diverse 3D-text datasets, it sets a new standard for generating diverse, high-quality implicit surfaces from natural language.

Summary updated

BibTeX
@inproceedings{li2022diffusion,
  author = {Muheng Li and Yueqi Duan and Jie Zhou and Jiwen Lu},
  title = {{Diffusion-SDF: Text-to-Shape via Voxelized Diffusion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure