DiffusionSDF: Conditional Generative Modeling of Signed Distance Functions

Gene Chou, Yuval Bahat, Felix Heide

Abstract

Probabilistic diffusion models have achieved state-of-the-art results for image synthesis, inpainting, and text-to-image tasks. However, they are still in the early stages of generating complex 3D shapes. This work proposes Diffusion-SDF, a generative model for shape completion, single-view reconstruction, and reconstruction of real-scanned point clouds. We use neural signed distance functions (SDFs) as our 3D representation to parameterize the geometry of various signals (e.g., point clouds, 2D images) through neural networks. Neural SDFs are implicit functions and diffusing them amounts to learning the reversal of their neural network weights, which we solve using a custom modulation module. Extensive experiments show that our method is capable of both realistic unconditional generation and conditional generation from partial inputs. This work expands the domain of diffusion models from learning 2D, explicit representations, to 3D, implicit representations.

Introduction

While diffusion models have revolutionized 2D image generation, applying them to 3D geometry presents unique challenges. Standard 3D representations like voxels are memory-intensive, while point clouds are discrete and lack surface connectivity. Furthermore, 3D reconstruction from partial data—such as a single photo or a sparse scan—is an inherently "ill-posed" problem. There is rarely a single "correct" way to fill in missing geometry, yet most existing methods are deterministic, providing only one possible reconstruction.

Diffusion-SDF supports both unconditional generation and conditional generation from various signals like sparse point clouds, real scans, and 2D images.

Diffusion-SDF addresses these issues by creating a model that is both probabilistic and implicit. By leveraging neural Signed Distance Functions (SDFs), the model can represent smooth, high-resolution surfaces. As a diffusion-based framework, it naturally handles the ambiguity of 3D reconstruction by generating multiple plausible completions for a single input.

Methodology

The authors propose a two-stage pipeline to bridge the gap between diffusion models and implicit 3D representations. Directly diffusing the weights of a neural network is computationally impractical; therefore, the system operates on a compressed latent space.

1. Modulating SDFs (The VAE Stage)

The first stage employs a Variational Autoencoder (VAE) to learn a compressed 1D latent vector, referred to as a "modulation vector," which represents a specific 3D shape. This vector modulates a base Multi-Layer Perceptron (MLP) that predicts the SDF value for any given 3D coordinate. This allows the network to represent complex geometry through a compact latent representation.

2. Diffusing Modulation Vectors

The core generative process occurs in this latent space. A diffusion model, utilizing an architecture similar to the DALL-E 2 prior, is trained to denoise these 1D modulation vectors. To guide the generation for tasks like shape completion, the authors incorporate cross-attention layers. These layers allow the diffusion process to attend to features extracted from input signals, such as partial point clouds (via PointNet) or 2D images (via ResNet).

The Diffusion-SDF architecture: A VAE learns a latent space of SDF modulations, which are then denoised by a diffusion network conditioned on input features.

3. End-to-End Fine-Tuning

To ensure the generated latents correspond to physically accurate shapes, the entire system is fine-tuned with a combined loss. This includes a geometric "SDF loss," which forces the model to respect the underlying 3D geometry and produce consistent surfaces.

Experiments and Results

The model was evaluated on several datasets, including Acronym (7,148 watertight synthetic meshes), ShapeNet (for single-view reconstruction), and YCB (real-world scanned point clouds).

In unconditional generation tasks, Diffusion-SDF outperformed baselines like ShapeGAN and PVD in terms of Minimum Matching Distance (MMD) and Coverage (COV), indicating higher quality and greater diversity. For shape completion on sparse point clouds (as few as 128 points), the model achieved significantly higher Total Mutual Difference (TMD) than competitors, proving its ability to generate diverse, plausible completions for ambiguous inputs. Qualitatively, the model produces clean meshes with fine structures, such as thin chair legs or handles, which often cause artifacts in other 3D generative models.

Conclusion

Diffusion-SDF successfully extends the power of diffusion models to 3D implicit surfaces. By treating the parameters of an implicit function as the data to be diffused, the model achieves high-quality, continuous surface generation. While the iterative denoising process is currently slower than deterministic VAE or GAN approaches, the model's ability to handle noisy real-world data and provide diverse reconstructions marks a significant step forward in 3D generative modeling. Future work may involve extending this framework to include appearance properties like texture and scaling the approach to full 3D scene synthesis.

Summary updated

BibTeX
@inproceedings{chou2023diffusionsdf,
  author = {Gene Chou and Yuval Bahat and Felix Heide},
  title = {{DiffusionSDF: Conditional Generative Modeling of Signed Distance Functions}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00215},
}
Figure