CAD: Photorealistic 3D Generation via Adversarial Distillation

Ziyu Wan, Despoina Paschalidou, Ian Huang, Hongyu Liu, Bokui Shen, Xiaoyu Xiang, Jing Liao, Leonidas J. Guibas

TL;DR

CAD (Consistent Adversarial Distillation) is a new framework that moves away from the "mode-seeking" optimization typical of current 3D generative models. By training a 3D-aware GAN to directly model the distribution of a pre-trained diffusion model, CAD produces high-fidelity, photorealistic 3D objects that avoid common artifacts like over-saturation and the "Janus-head" problem, all while enabling near-instant generation of diverse samples.

What Problem Does This Paper Address?

Generating high-quality 3D assets from text or a single image is a "holy grail" for AR/VR and gaming. Because 3D data is scarce compared to 2D images, most current methods use Score Distillation Sampling (SDS). SDS essentially uses a pre-trained 2D diffusion model (like Stable Diffusion) as a "critic" to guide the optimization of a 3D representation (like a NeRF).

However, SDS has a major flaw: it is "mode-seeking." Instead of learning the full variety of possible 3D shapes, it tends to collapse toward a single, often mediocre, average. This leads to three notorious issues:

  1. Over-smoothing/Over-saturation: Objects look like plastic or have unnaturally neon colors.
  2. The Janus Artifact: Because 2D models have a "frontal bias," the optimization often puts multiple faces on a 3D object (e.g., a dog with a face on the front and back of its head).
  3. Slow Inference: Every new object requires a fresh, multi-hour optimization process.

Methods

The authors propose Consistent Adversarial Distillation (CAD) to solve these issues. Instead of optimizing a single 3D object, they train a 3D-aware GAN (based on the EG3D architecture) to mimic the output distribution of a diffusion model.

The CAD framework: A StyleGAN2 generator creates triplane features, which are rendered and compared against diffusion samples by a discriminator.

Key Components:

  • Adversarial Distillation: Rather than using the SDS loss, they use a GAN framework. The generator produces 3D triplane representations, and a discriminator tries to distinguish rendered views of these triplanes from "real" images sampled from a pre-trained diffusion model.
  • Multi-View Sampling & Pose Pruning: To overcome the frontal bias of standard diffusion models, they use view-dependent models (like Zero-1-to-3). However, these models often produce "bad" samples with broken geometry. CAD introduces a pose pruning strategy that filters out samples that don't align with the target camera pose or lack semantic consistency.
  • Distribution Refinement: They use high-end 2D models (DeepFloyd IF or ControlNet) to "touch up" the initial blurry multi-view samples, ensuring the GAN learns from high-frequency, photorealistic details.
  • 3D Consistency Baking: To ensure high-resolution renderings remain 3D-consistent, they "bake" a 2D upsampler's capabilities into a 3D triplane upsampler using a patch-wise similarity loss.
Figure 1. CAD leverages pretrained diffusion models to generate photorealisitc 3D contents based on a single input image and the text prompt, enabling different applications including ●diversified generation, ●single-view reconstruction by inversion and ●3D interpolation.

Datasets

The model doesn't require a massive 3D dataset for training. Instead, it distills knowledge from:

  • Pre-trained 2D Diffusion Models: Stable Diffusion, Zero-1-to-3, and DeepFloyd IF.
  • Evaluation Data: The authors tested on real-world images from the internet and synthetic benchmarks like Synthetic-NeRF and Synthetic-NSVF. They evaluated a total of 1,200 images across various categories.

Key Insights and Ideas

  • Distribution Matching > Mode Seeking: The most significant "aha moment" is that treating 3D generation as a distribution matching problem (via GANs) naturally fixes the over-saturation and Janus issues that plague SDS.
  • The Power of Pruning: 2D diffusion models are "noisy" teachers. By strictly filtering out samples that don't make geometric sense (Pose Pruning), the GAN training becomes much more stable and produces cleaner 3D structures.
  • Latent Space Benefits: Because CAD is a GAN, it inherits a smooth latent space ($W$). This allows for 3D interpolation (smoothly morphing one 3D object into another) and inversion (reconstructing a specific 3D object from a single image).

Key Results

CAD significantly outperforms state-of-the-art baselines like DreamFusion, Magic123, and ProlificDreamer.

  • Quantitative: In CLIP similarity tests (measuring how well the 3D object matches the prompt/image), CAD achieved a score of 82.56 (ViT-L/14), compared to 75.61 for Magic123 and 65.71 for DreamFusion.
  • Qualitative: As seen in Figure 4, CAD's results are visibly more photorealistic with finer texture details and correct global geometry.
  • Speed: While the initial distillation takes about 3 days, once trained, the model can generate a novel, diverse 3D sample in less than one second.
Figure 4. Qualitative Evaluation. Our method yields more photo-realistic 3D generations conditioned on a single image (left-most column), with significantly less artifacts compared existing SDS-based pipelines [81, 111]. In comparison to the single-view conditioned 3D generation approaches [61, 82], our generations have significantly fewer artifacts and look more realistic.

Limitations and Future Work

  • Distillation Time: The initial training (distillation) for a specific prompt/image condition is still slow (~3 days on 4 V100 GPUs), primarily due to the overhead of volumetric rendering.
  • Rendering Speed: The current volumetric renderer runs at ~0.1 FPS. The authors suggest that moving to 3D Gaussian Splatting could drastically speed this up.
  • Complexity: Currently, the model is optimized for single objects. Extending this adversarial distillation approach to full, complex scenes remains a challenging future direction.

Summary updated

Abstract

The increased demand for 3D data in AR/VR, robotics and gaming applications, gave rise to powerful generative pipelines capable of synthesizing high-quality 3D objects. Most of these models rely on the Score Distillation Sampling (SDS) algorithm to optimize a 3D representation such that the rendered image maintains a high likelihood as evaluated by a pre-trained diffusion model. However, finding a correct mode in the high-dimensional distribution produced by the diffusion model is challenging and often leads to issues such as over-saturation, over-smoothing, and Janus-like artifacts. In this paper, we propose a novel learning paradigm for 3D synthesis that utilizes pre-trained diffusion models. Instead of focusing on mode-seeking, our method directly models the distribution discrepancy between multi-view renderings and diffusion priors in an adversarial manner, which unlocks the generation of high-fidelity and photorealistic 3D content, conditioned on a single image and prompt. Moreover, by harnessing the latent space of GANs and expressive diffusion model priors, our method facilitates a wide variety of 3D applications including single-view reconstruction, high diversity generation and continuous 3D interpolation in the open domain. The experiments demonstrate the superiority of our pipeline compared to previous works in terms of generation quality and diversity.
BibTeX
@inproceedings{wan2023cad,
  author = {Ziyu Wan and Despoina Paschalidou and Ian Huang and Hongyu Liu and Bokui Shen and Xiaoyu Xiang and Jing Liao and Leonidas J. Guibas},
  title = {{CAD: Photorealistic 3D Generation via Adversarial Distillation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=CWXtyEA9Wy},
}
Figure