Learning Controllable 3D Diffusion Models from Single-view Images

Jiatao Gu, Qingzhe Gao, Shuangfei Zhai, Baoquan Chen, Lingjie Liu, Josh M. Susskind

TL;DR

This paper introduces Control3Diff, a novel framework that bridges the gap between 3D-aware GANs and diffusion models to achieve controllable 3D image synthesis from single-view inputs. By leveraging the strengths of both, Control3Diff enables precise control over generated 3D scenes using various inputs like images, sketches, and text, overcoming limitations of existing methods.

What Problem Does This Paper Address?

Generating high-quality, controllable 3D scenes from limited information, like a single image, is a long-standing challenge in computer vision and graphics. While 2D diffusion models excel at image generation, extending them to 3D is difficult due to the scarcity of 3D ground truth data. On the other hand, 3D GANs can learn 3D representations from single images but lack fine-grained control over the synthesis process. Control3Diff aims to solve this by combining the controllability of diffusion models with the 3D-awareness of GANs, enabling precise control over 3D image synthesis without requiring extensive 3D training data.

Methods

Control3Diff builds upon existing 3D GANs (specifically EG3D) that learn implicit 3D representations (tri-planes) from single-view images. The core idea is to train a diffusion model on these learned tri-planes. This allows the diffusion model to learn the underlying latent distribution of 3D scenes.

The framework offers two main ways to achieve controllable synthesis:

  1. Conditional Diffusion: The diffusion model is trained to accept conditioning inputs (e.g., segmentation maps, edge maps, text embeddings) directly. This is achieved by synthesizing paired data of control signals and tri-planes using the 3D GAN's renderer.
  2. Guided Diffusion: This approach uses a task-specific energy function to guide the diffusion process at inference time. The energy function measures the alignment between the generated 3D scene (rendered from specific viewpoints) and the control signal. This is particularly useful when direct conditioning is difficult or when fine-tuning is needed.

The paper also incorporates techniques like Langevin correction steps to improve the stability and quality of the generated 3D content, especially in challenging cases.

Datasets

The authors evaluate Control3Diff on several standard datasets:

  • FFHQ: A dataset of 70,000 high-resolution human faces.
  • AFHQ-cat: A dataset of 5,000 cat faces.
  • ShapeNet Cars & Chairs: Datasets commonly used for single-image view synthesis, providing scenes with predefined train/val/test splits.
  • CelebA-HQ: A dataset of 30,000 high-resolution images, used for Seg-to-3D tasks.

They also utilize synthetic data generated by StyleGAN3 for qualitative analysis, adhering to ethical guidelines.

Key Insights and Ideas

  • Bridging GANs and Diffusion for 3D: The paper successfully demonstrates that combining the 3D-awareness of GANs with the generative power and controllability of diffusion models is a potent strategy for 3D synthesis.
  • Learning from Implicit Representations: By training diffusion models on the latent tri-plane representations learned by 3D GANs, the approach circumvents the need for explicit 3D ground truth, making it suitable for single-view datasets.
  • Versatile Control: Control3Diff shows remarkable flexibility in handling diverse control signals (images, sketches, text), highlighting its general applicability.
  • Guidance for 3D: Defining energy functions for 3D guidance is challenging. The paper cleverly circumvents this by defining the energy function based on the rendered 2D images, enabling effective guidance for 3D generation.
  • Unbiased Camera Distribution: For conditional generation, the authors found that an unbiased camera distribution is crucial for good performance, especially when dealing with datasets that have biased camera poses.

Key Results

  • Superior Image Quality and Consistency: Control3Diff significantly outperforms baseline methods in terms of image quality, identity consistency, and novel view consistency across various tasks, including 3D inversion, super-resolution, and segmentation-to-3D.
  • Quantitative Improvements: The paper reports significant gains in metrics like PSNR, SSIM, LPIPS, and FID across different datasets and tasks. For instance, in 3D inversion on FFHQ, their method achieved a PSNR of 22.30 and an nvFID of 13.48, outperforming baselines.
  • Qualitative Success: The generated images and 3D scenes demonstrate high fidelity, realistic novel views, and accurate alignment with control inputs (e.g., segmentation maps). Figures in the paper showcase impressive results for tasks like text-to-3D synthesis and progressive editing.

Limitations and Future Work

  • GAN Artifacts: The reliance on 3D GANs means Control3Diff can inherit limitations like mode collapse, especially on datasets with complex geometries (e.g., ShapeNet). This can affect the 3D diffusion learning and potentially lead to incomplete data space coverage.
  • Generation Speed: Diffusion models, while powerful, can be slower for generation compared to GANs.
  • Future Directions:
    • Mitigating GAN artifacts by jointly training the diffusion prior with the 3D GAN and incorporating additional image reconstruction losses.
  • Improving generation speed by integrating with existing works for faster diffusion model sampling.
  • Exploring more sophisticated control mechanisms and applications.

Summary updated

Abstract

Diffusion models have recently become the de-facto approach for generative modeling in the 2D domain. However, extending diffusion models to 3D is challenging due to the difficulties in acquiring 3D ground truth data for training. On the other hand, 3D GANs that integrate implicit 3D representations into GANs have shown remarkable 3D-aware generation when trained only on single-view image datasets. However, 3D GANs do not provide straightforward ways to precisely control image synthesis. To address these challenges, We present Control3Diff, a 3D diffusion model that combines the strengths of diffusion models and 3D GANs for versatile, controllable 3D-aware image synthesis for single-view datasets. Control3Diff explicitly models the underlying latent distribution (optionally conditioned on external inputs), thus enabling direct control during the diffusion process. Moreover, our approach is general and applicable to any type of controlling input, allowing us to train it with the same diffusion objective without any auxiliary supervision. We validate the efficacy of Control3Diff on standard image generation benchmarks, including FFHQ, AFHQ, and ShapeNet, using various conditioning inputs such as images, sketches, and text prompts. Please see the project website (\url{https://jiataogu.me/control3diff}) for video comparisons.
BibTeX
@inproceedings{gu2024learning,
  author = {Jiatao Gu and Qingzhe Gao and Shuangfei Zhai and Baoquan Chen and Lingjie Liu and Josh M. Susskind},
  title = {{Learning Controllable 3D Diffusion Models from Single-view Images}},
  booktitle = {3DV},
  year = {2024},
  url = {https://openreview.net/forum?id=WSPNMLifOc},
}
Figure