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.
Introduction
While text-to-image diffusion models generate stunningly realistic images, it has been unclear whether they truly "understand" the 3D world or are just sophisticated 2D pattern matchers. We see hints of 3D awareness when models correctly render shadows and reflections, but we lack a direct way to control the "camera" in these models. The challenge is twofold: first, proving that 3D representations exist within a frozen 2D model (interpretability); and second, finding a way to manipulate the viewpoint of a generated scene using the existing text-based interface (control).
Methods
The authors introduce ViewNeTI, which builds on the concept of Textual Inversion. Standard Textual Inversion finds a single word embedding (a "token") to represent a specific object. ViewNeTI instead trains a small neural mapper—a 2-layer MLP with only 140k parameters—to act as a translator between geometric camera parameters and the model's text embedding space.
The mapper takes continuous camera parameters (like rotation matrices) as input and outputs a "view token" (a word embedding). This predicted token is inserted into a text prompt (e.g., "[VIEW_TOKEN] a photo of a statue"). The token then conditions the diffusion process via cross-attention, effectively telling the model's internal renderer which angle to use.
The approach was evaluated in two modes: single-scene optimization, learning the manifold for one specific object; and multi-scene pretraining, jointly training the mapper across many objects to find a "generalized" view-control token. The primary dataset used was DTU, a large-scale multi-view dataset of real-world objects, evaluated in sparse-view settings (1, 3, 6, or 9 images).
Key Insights
The most striking finding is that the text embedding space contains a continuous "view-control manifold." Moving smoothly along this manifold allows for smooth camera rotation in the generated image. Because the mapper is extremely small and the diffusion model remains frozen, this process is one of discovery rather than learning. The control mechanism was already present in the model, likely learned implicitly from the massive 2D dataset used for its original training.
Furthermore, by using a "scene token" to capture object identity and a "view token" for camera pose, the authors successfully disentangled content from viewpoint. This allows learned view tokens to be applied to completely different objects, such as applying a "side-view" token learned on statues to a prompt for a "brown teddy bear."
Results
ViewNeTI achieves state-of-the-art results for Novel View Synthesis (NVS) from a single image on the LPIPS metric using the DTU dataset, outperforming specialized 3D models like NerDi and Zero-1-to-3.
Unlike many 3D-native methods (like NeRFs) which can produce blurry results when data is sparse, ViewNeTI leverages the high-quality prior of Stable Diffusion to produce crisp, photorealistic novel views. Additionally, the generalized view tokens enable "view-controlled text-to-image generation," where a user can specify a camera angle for a prompt the model has never seen before.
Limitations and Future Work
Despite its success, ViewNeTI has limitations. In single-scene cases, the model struggles to extrapolate to views far outside the training set (e.g., seeing the back of an object when only shown the front). While multi-scene training helps, it does not fully solve the issue. Additionally, learned view tokens sometimes carry over "style" from the training data, such as specific lighting or background types. While the images are photorealistic, the model can occasionally hallucinate fine details or make slight errors in exact geometric positioning. Future work may involve pre-training on much larger, more diverse 3D datasets to develop a truly universal camera controller for 2D diffusion models.
Summary updated