Viewpoint Textual Inversion: Discovering Scene Representations and 3D View Control in 2D Diffusion Models
James Burgess, Kuan-Chieh Wang, Serena Yeung-Levy
TL;DR
This paper investigates whether 2D diffusion models implicitly encode 3D scene representations by discovering a controllable 3D viewpoint token in the text embedding space. It introduces Viewpoint Neural Textual Inversion (ViewNeTI), which learns a small mapper to predict a view token $v_{\mathbf{R}}$ from camera cues, enabling continuous, view-controlled image generation without modifying the diffusion model. The authors demonstrate a continuous, single-scene view-control manifold and provide evidence for a general, cross-scene view-control manifold when learning across many scenes, including applications to view-controlled T2I generation and novel view synthesis from a single image, achieving state-of-the-art LPIPS on DTU. These results suggest that frozen 2D diffusion models harbor a latent 3D scene representation, offering a data-efficient pathway to 3D vision tasks without explicit 3D supervision.
Abstract
Text-to-image diffusion models generate impressive and realistic images, but do they learn to represent the 3D world from only 2D supervision? We demonstrate that yes, certain 3D scene representations are encoded in the text embedding space of models like Stable Diffusion. Our approach, Viewpoint Neural Textual Inversion (ViewNeTI), is to discover 3D view tokens; these tokens control the 3D viewpoint - the rendering pose in a scene - of generated images. Specifically, we train a small neural mapper to take continuous camera viewpoint parameters and predict a view token (a word embedding). This token conditions diffusion generation via cross-attention to produce images with the desired camera viewpoint. Using ViewNeTI as an evaluation tool, we report two findings: first, the text latent space has a continuous view-control manifold for particular 3D scenes; second, we find evidence for a generalized view-control manifold for all scenes. We conclude that since the view token controls the 3D `rendering' viewpoint, there is likely a scene representation embedded in frozen 2D diffusion models. Finally, we exploit the 3D scene representations for 3D vision tasks, namely, view-controlled text-to-image generation, and novel view synthesis from a single image, where our approach sets state-of-the-art for LPIPS. Code available at https://github.com/jmhb0/view_neti
