Generating Images with 3D Annotations Using Diffusion Models
Wufei Ma, Qihao Liu, Jiahao Wang, Angtian Wang, Xiaoding Yuan, Yi Zhang, Zihao Xiao, Guofeng Zhang, Beijia Lu, Ruxiao Duan, Yongrui Qi, Adam Kortylewski, Yaoyao Liu, Alan Yuille
TL;DR
This work tackles the lack of explicit 3D control in diffusion-based image generation by presenting 3D-DST, which injects 3D geometry via 3D visual prompts derived from rendering edge maps of CAD models and diverse text prompts generated by LLMs. By integrating these prompts with ControlNet and diffusion models, the method can produce photorealistic images whose underlying 3D structure is controllable, enabling automatic ground-truth 3D annotations. The authors demonstrate strong improvements across image classification, 3D pose estimation, and 3D object detection in both ID and OOD settings on multiple benchmarks, including ImageNet variants and PASCAL3D+/ObjectNet3D, with notable gains such as up to $3.8$ percentage points on ImageNet-100 using DeiT-B and larger benefits in downstream 3D tasks. These results highlight the practical impact of leveraging explicit 3D conditioning and diverse prompts to bolster robustness and 3D understanding in vision systems.
Abstract
Diffusion models have emerged as a powerful generative method, capable of producing stunning photo-realistic images from natural language descriptions. However, these models lack explicit control over the 3D structure in the generated images. Consequently, this hinders our ability to obtain detailed 3D annotations for the generated images or to craft instances with specific poses and distances. In this paper, we propose 3D Diffusion Style Transfer (3D-DST), which incorporates 3D geometry control into diffusion models. Our method exploits ControlNet, which extends diffusion models by using visual prompts in addition to text prompts. We generate images of the 3D objects taken from 3D shape repositories (e.g., ShapeNet and Objaverse), render them from a variety of poses and viewing directions, compute the edge maps of the rendered images, and use these edge maps as visual prompts to generate realistic images. With explicit 3D geometry control, we can easily change the 3D structures of the objects in the generated images and obtain ground-truth 3D annotations automatically. This allows us to improve a wide range of vision tasks, e.g., classification and 3D pose estimation, in both in-distribution (ID) and out-of-distribution (OOD) settings. We demonstrate the effectiveness of our method through extensive experiments on ImageNet-100/200, ImageNet-R, PASCAL3D+, ObjectNet3D, and OOD-CV. The results show that our method significantly outperforms existing methods, e.g., 3.8 percentage points on ImageNet-100 using DeiT-B.
