NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Customizing Text-to-Image Diffusion with Object Viewpoint Control

Nupur Kumari, Grace Su, Richard Zhang, Taesung Park, Eli Shechtman, Jun-Yan Zhu

TL;DR

This paper introduces "CustomDiffusion360," a novel method for customizing text-to-image diffusion models to allow explicit control over the viewpoint of a newly introduced object. This bridges the gap between 3D object representations and 2D diffusion models, enabling users to generate custom objects in diverse scenes and from specific angles, going beyond simple text-based view control.

What Problem Does This Paper Address?

Existing text-to-image diffusion models excel at generating common objects but struggle with personalizing them with specific objects or controlling their viewpoint precisely. While model customization allows users to introduce their own objects (like a personal car or a favorite toy), controlling the object's viewpoint during generation is often limited to coarse prompt engineering (e.g., "top-view"). This is because these models are trained on 2D images without explicit 3D pose information. The challenge lies in harmoniously merging 3D object representations derived from multi-view images with the 2D features of pre-trained diffusion models to achieve explicit viewpoint control for custom objects.

Methods

The core of the proposed method, CustomDiffusion360, involves fine-tuning a pre-trained text-to-image diffusion model (Stable Diffusion-XL) by conditioning it on a 3D representation of the custom object. This is achieved by introducing "pose-conditioned transformer blocks" within the diffusion model's U-Net. These blocks incorporate a "FeatureNeRF" module that aggregates features from individual viewpoints of the custom object. This aggregated feature is then rendered from a target viewpoint and merged with the diffusion model's intermediate features via linear projection layers. Crucially, only the new linear projection layers and FeatureNeRF modules are trained, while the pre-trained diffusion model's parameters remain frozen, ensuring efficiency and preserving object identity.

Datasets

The authors used objects from the CO3Dv2 and NAVI datasets for training and evaluation. Specifically, they selected 14 custom objects across categories like cars, chairs, teddy bears, motorcycles, and unique toy-like objects. For each object, they sampled approximately 100 images with corresponding camera poses, using half for training and half for evaluation.

Key Insights and Ideas

  • Bridging 3D and 2D: The paper successfully demonstrates a method to integrate 3D object information (from multi-view images) into the latent space of 2D diffusion models, enabling explicit viewpoint control.
  • FeatureNeRF for View Synthesis: The novel FeatureNeRF module effectively learns view-dependent features from multiple input views, which are then rendered to guide the diffusion process.
  • Preserving Identity and Generalization: By freezing most of the pre-trained diffusion model and only fine-tuning specific components, the method achieves a good balance between preserving the custom object's identity and generalizing to new scenes and viewpoints.
  • Beyond Prompt Engineering: The approach offers a more robust and intuitive way to control object viewpoints compared to relying solely on text prompts, which can be tedious and imprecise.

Key Results

The proposed method, CustomDiffusion360, was found to be preferred by human evaluators over several baselines in terms of text alignment, image alignment to the target concept, and photorealism. Quantitative evaluations showed competitive or superior CLIP text alignment and DINOv2 image alignment scores compared to methods like SDEdit, InstructPix2Pix, and LEDITS++. The method also demonstrated accurate object viewpoint control, with a mean angular error of 14.19 degrees and a camera center error of 0.080. Qualitative results showcased the ability to generate custom objects in novel scenes and from various viewpoints, maintaining identity and adhering to text prompts.

Limitations and Future Work

The authors acknowledge several limitations:

  • Extreme Viewpoints: The method can occasionally struggle to generalize to extreme viewpoints not seen during training, sometimes resorting to changing object identity or generating in a seen viewpoint.
  • Multiple Objects: Controlling viewpoint becomes challenging when the text prompt involves multiple objects, possibly due to the model's bias towards object-centric front views.
  • Training Time: Fine-tuning the model for each custom object takes approximately 40 minutes.
  • Rigid Objects: The current work focuses on rigid objects; extending it to dynamic or non-rigid objects is a future direction.

Future work could involve exploring zero-shot, feed-forward pose conditioning to reduce training time and investigating dynamic and non-rigid NeRF methods for more complex object types.

Summary updated

BibTeX
@inproceedings{kumari2024customizing,
  author = {Nupur Kumari and Grace Su and Richard Zhang and Taesung Park and Eli Shechtman and Jun-Yan Zhu},
  title = {{Customizing Text-to-Image Diffusion with Object Viewpoint Control}},
  booktitle = {SIGGRAPH Asia},
  year = {2024},
  doi = {10.1145/3680528.3687564},
}
Figure