Vision Transformer for NeRF-Based View Synthesis from a Single Input Image

Kai-En Lin, Yen-Chen Lin, Wei-Sheng Lai, Tsung-Yi Lin, Yi-Chang Shih, Ravi Ramamoorthi

Abstract

Although neural radiance fields (NeRF) have shown impressive advances in novel view synthesis, most methods require multiple input images of the same scene with accurate camera poses. In this work, we seek to substantially reduce the inputs to a single unposed image. Existing approaches using local image features to reconstruct a 3D object often render blurry predictions at viewpoints distant from the source view. To address this, we propose to leverage both the global and local features to form an expressive 3D representation. The global features are learned from a vision transformer, while the local features are extracted from a 2D convolutional network. To synthesize a novel view, we train a multi-layer perceptron (MLP) network conditioned on the learned 3D representation to perform volume rendering. This novel 3D representation allows the network to reconstruct unseen regions without enforcing constraints like symmetry or canonical coordinate systems. Our method renders novel views from just a single input image, and generalizes across multiple object categories using a single model. Quantitative and qualitative evaluations demonstrate that the proposed method achieves state-of-the-art performance and renders richer details than existing approaches.

Introduction

Traditional Neural Radiance Fields (NeRF) have revolutionized 3D reconstruction but typically require dozens of calibrated images to function. Recent attempts to lower this barrier, such as PixelNeRF, utilize "image-conditioned" models that project 3D points back onto a single source image to extract local features. However, these models suffer significantly from self-occlusion. When a model attempts to render the back of an object from a front-facing photo, it queries local features that are either occluded or irrelevant, leading to blurry artifacts and incorrect textures.

Methodology: The VisionNeRF Approach

VisionNeRF addresses the occlusion problem by introducing a hybrid 3D representation that combines global context with local precision. The architecture consists of two primary streams:

  1. Global Features (The "Brain"): The input image is processed by a Vision Transformer (ViT). Through self-attention, the ViT allows every image patch to interact with every other patch, enabling the model to learn long-range dependencies and structural priors. This allows the network to "hallucinate" occluded regions—such as a hidden wheel—based on the visible geometry of the object.
  2. Local Features (The "Eyes"): A standard 2D CNN extracts high-resolution local features to ensure that visible regions remain sharp and consistent with the original image.
The limitation of local features: when querying a point on the far side of the car, local features (X) are occluded, requiring global context (green dot) to reconstruct the scene.

To render a novel view, the model samples points along a ray and retrieves a combined feature from both maps. A Multi-Layer Perceptron (MLP) then predicts volume density and color, which are integrated via standard volumetric rendering. Notably, the system is unposed, meaning it does not require the camera's exact coordinates for the input image to generate a reconstruction.

Experimental Results

The model was evaluated on the ShapeNet and NMR datasets, as well as real-world photos from the Stanford Cars dataset. VisionNeRF achieved state-of-the-art performance, specifically reaching an LPIPS score of 0.077 on the ShapeNet chair dataset, significantly outperforming baselines like PixelNeRF (0.128).

A high-fidelity novel view synthesized by VisionNeRF from a single input image, showing sharp details in previously occluded regions.

Qualitatively, VisionNeRF produces much sharper edges and recognizable structures in occluded areas compared to previous methods, which often produced "safe" but blurry averages. Even when trained on synthetic data, the model generalizes well to real-world images, accurately reconstructing complex features like side mirrors and headlamps.

Conclusion

By merging the global structural awareness of Vision Transformers with the local detail of CNNs, VisionNeRF successfully synthesizes high-quality 3D views from a single 2D image. While the model currently learns symmetry and texture implicitly, future work may involve incorporating explicit geometric constraints or generative losses to further enhance the realism of synthesized textures in highly occluded regions.

Summary updated

BibTeX
@inproceedings{lin2023vision,
  author = {Kai-En Lin and Yen-Chen Lin and Wei-Sheng Lai and Tsung-Yi Lin and Yi-Chang Shih and Ravi Ramamoorthi},
  title = {{Vision Transformer for NeRF-Based View Synthesis from a Single Input Image}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=yns2RUpU7RV},
}
Figure