Multi-task View Synthesis with Neural Radiance Fields

Shuhong Zheng, Zhipeng Bao, Martial Hebert, Yu-Xiong Wang

Abstract

Traditional multi-task learning (MTL) in computer vision typically focuses on dense 2D predictions, such as depth estimation or semantic segmentation, from single images. However, these methods often struggle with 3D consistency across different viewpoints and cannot infer scene properties from unobserved angles. This paper introduces MuvieNeRF, a framework for Multi-task View Synthesis (MTVS). By integrating Neural Radiance Fields (NeRFs) with cross-task and cross-view attention mechanisms, MuvieNeRF enables the synthesis of consistent scene properties—including semantics, normals, and edges—from novel viewpoints, significantly outperforming traditional discriminative models in both accuracy and generalization.

Introduction

Most research in multi-task learning is centered on "dense prediction," where a model takes a 2D image and outputs multiple maps for various tasks. While successful in static contexts, this approach has two fundamental flaws: a lack of 3D consistency and an inability to "imagine" scene properties from novel perspectives. When moving through a scene, 2D-based predictions often flicker or appear disjointed because the model treats each frame as an isolated entity. Furthermore, these models require an input RGB image to generate a prediction; they cannot infer what a scene looks like from a camera angle that has not yet been captured.

MuvieNeRF addresses these challenges by shifting the goal from prediction to synthesis. By building a mental 3D model of the environment, the framework allows for the rendering of diverse scene properties from any viewpoint, mimicking the human ability to understand 3D structure beyond immediate visual input.

The MuvieNeRF Framework

MuvieNeRF is designed as a unified, backbone-agnostic framework that can be implemented atop various conditional NeRF models, such as GeoNeRF or PixelNeRF. It introduces two primary modules to manage the complexities of multi-task 3D data:

Cross-View Attention (CVA)

The CVA module is responsible for aligning features across multiple reference views. It ensures that the information used to render a specific point in 3D space remains consistent, regardless of which source images the data is derived from. This spatial alignment is crucial for maintaining high-fidelity renders during camera movement.

Cross-Task Attention (CTA)

The CTA module serves as the "brain" of the multi-tasking process. It utilizes learnable task prompts to facilitate information flow between different tasks. For example, the model can leverage knowledge about edge patterns (Edge Detection) to produce sharper boundaries in Semantic Segmentation or more accurate Surface Normals. This cross-pollination of data types allows the model to develop a more holistic understanding of scene geometry.

Inference Settings

The researchers explored two distinct scenarios for deploying MuvieNeRF:

  1. Setting I: The model has access to task labels (e.g., semantics) for the source views at test time.
  2. Setting II (The "Challenging" Setting): The model receives only RGB images. To handle this, a U-Net-based module called FUNet is incorporated to estimate labels for the source views before the NeRF synthesis process begins.

Experimental Evaluation

The model was evaluated on high-fidelity benchmarks including Replica and SceneNet RGB-D. To test generalization, the authors also conducted zero-shot out-of-distribution (OOD) benchmarks on LLFF, TartanAir, ScanNet, and BlendedMVS without additional training. The tasks included RGB synthesis, Surface Normal prediction (SN), Shading estimation (SH), Edge detection (ED), Keypoint detection (KP), and Semantic Labeling (SL).

Key Findings

  • 3D as a Regularizer: By forcing predictions to adhere to 3D geometry through the volume rendering integral, multi-task outputs become naturally more consistent and robust than those produced by 2D-only methods.
  • The Importance of Task Relationships: Ablation studies showed that the Cross-Task Attention (CTA) module is more critical than the Cross-View Attention (CVA). While NeRF backbones are inherently good at handling 3D structure, explicitly modeling the relationships between different types of visual data (e.g., how edges relate to normals) provides a significant performance boost.
  • Auxiliary Task Benefits: Interestingly, training on auxiliary tasks like edge detection actually improves the quality of the standard RGB image synthesis. The additional geometric knowledge helps the NeRF backbone better understand the underlying scene structure.

Results and Performance

MuvieNeRF consistently outperformed single-task NeRFs (like Semantic-NeRF) and multi-task baselines (like SS-NeRF). On the Replica dataset, it improved RGB PSNR from 27.22 to 28.55 and significantly reduced error rates for surface normals.

Most notably, MuvieNeRF outperformed state-of-the-art discriminative models (such as InvPT and MTI-Net), even when those models were provided with ground-truth images or fine-tuned on specific test scenes. In OOD tests on the TartanAir dataset, MuvieNeRF achieved a PSNR of 30.21, a substantial jump from the backbone GeoNeRF’s 26.51, highlighting the power of multi-task learning for general scene understanding.

Conclusion and Future Work

MuvieNeRF demonstrates that shifting multi-task learning into the 3D synthesis domain results in superior consistency and generalization. While the model currently performs best with relatively dense input views and carries a higher computational cost than 2D U-Nets due to volume rendering, it represents a significant step forward in 3D scene imagination. Future work may involve extending this logic to other 3D representations, such as point clouds or meshes, to further explore the geometric underpinnings of task relationships.

Summary updated

BibTeX
@inproceedings{zheng2023multi,
  author = {Shuhong Zheng and Zhipeng Bao and Martial Hebert and Yu-Xiong Wang},
  title = {{Multi-task View Synthesis with Neural Radiance Fields}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure