Beyond RGB: Scene-Property Synthesis with Neural Radiance Fields

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

TL;DR

SS-NeRF (Scene-Property Synthesis with NeRF) extends the popular Neural Radiance Field framework beyond just "pretty pictures" to synthesize a wide array of 3D scene properties, such as semantic labels, surface normals, and edges. By treating scene understanding as a generative synthesis problem, it creates a unified 3D representation that can refine noisy labels, perform data augmentation, and even improve the quality of the original RGB renders.

What Problem Does This Paper Address?

Traditional 3D scene understanding—tasks like identifying objects (semantic segmentation) or estimating the orientation of surfaces (surface normal estimation)—is usually handled by discriminative models. These models take a 2D image as input and try to map pixels to labels. However, these models often struggle with 3D consistency across different viewpoints because they lack an inherent understanding of the underlying 3D geometry.

On the flip side, Neural Radiance Fields (NeRF) have revolutionized computer graphics by learning an implicit 3D representation of a scene to render photo-realistic images. But until now, NeRF has mostly been "stuck" in the RGB color space. The authors of this paper ask: Can we leverage the rich 3D geometry learned by NeRF to synthesize other meaningful scene properties?

Methods

The authors introduce SS-NeRF, a framework that modifies the standard NeRF architecture to output more than just volume density ($\sigma$) and RGB color.

  1. Shared Encoding: The model uses a shared positional encoder ($F_{enc}$) to map 3D coordinates $(x, y, z)$ into a feature vector. This ensures that the underlying geometry is consistent across all tasks.
  2. Two-Branch Decoding: Recognizing that some properties depend on how you look at them while others don't, they split the "heads" of the network:
  3. View-Dependent Branch ($F^v_{dec}$): Handles properties like shading, keypoints, and edges, which change based on the camera's viewing angle $(\theta, \phi)$.
  4. View-Invariant Branch ($F^{nv}_{dec}$): Handles properties inherent to the 3D point itself, such as semantic labels and surface normals.
  5. Unified Volume Rendering: Just as NeRF integrates color along a ray to produce a pixel, SS-NeRF integrates these new properties. For example, it accumulates "semantic probabilities" along a ray to produce a 2D semantic map.
  6. Multi-Task Optimization: The model is trained using a weighted sum of losses, including Mean Squared Error (MSE) for color and normals, Cross-Entropy for semantics, and $L_1$ loss for edges and shading.

Datasets

The researchers evaluated SS-NeRF on three distinct types of data:

  • Replica: A high-quality synthetic dataset of indoor scenes with perfect ground-truth labels for semantics and geometry.
  • BlendedMVS: A large-scale dataset used to test the model's robustness on diverse, complex scenes.
  • LLFF (Local Light Field Fusion): Real-world photos where ground-truth labels are not available. Here, the authors used SS-NeRF as an "auto-labeller" to refine noisy labels generated by other pre-trained models.

Key Insights and Ideas

  • Geometry is the "Universal Language": The most striking finding is that the implicit 3D geometry required to render a realistic photo is the same geometry needed for semantic segmentation. By sharing the encoding, the tasks help each other.
  • The "Synergy" Effect: Interestingly, training the model to understand semantics actually improves the quality of the RGB images (increasing the PSNR). The semantic labels act as a regularizer, helping the model better define object boundaries in 3D space.
  • NeRF as a "Denoising" Auto-Labeller: In real-world scenarios, 2D labeling models often produce "jittery" or inconsistent results across frames. Because SS-NeRF enforces 3D consistency, it can take these noisy 2D labels and "bake" them into a consistent 3D volume, effectively cleaning up the data.
  • Infinite Data Augmentation: Once a scene is learned, SS-NeRF can render perfectly paired RGB images and labels from any novel viewpoint, providing a goldmine of data for training traditional 2D discriminative models.

Key Results

  • Superior Accuracy: SS-NeRF outperformed "Hybrid" baselines (which simply run a 2D model on top of a standard NeRF render) across all tasks. On the Replica dataset, it achieved a mean Intersection-over-Union (mIoU) of 0.9243 for semantic labeling.
  • Visual Consistency: Qualitative results show that SS-NeRF produces much smoother and more detailed surface normals and edge maps compared to existing state-of-the-art 2D-to-3D methods.
  • Real-World Refinement: On the LLFF dataset, the model successfully corrected "sharp faults" and errors in labels provided by pre-trained annotators, demonstrating its utility for real-world robotics and AR applications.

Limitations and Future Work

  • Scene-Specific Training: Like the original NeRF, SS-NeRF must be trained from scratch for every new scene. It cannot yet "generalize" to a completely unseen room without a few minutes (or hours) of optimization.
  • Pose Dependency: The model relies on very accurate camera poses (knowing exactly where the camera was for every photo). If the poses are off, the 3D reconstruction—and thus the property synthesis—will fail.
  • Future Directions: The authors suggest integrating SS-NeRF with "Generalizable NeRF" variants to allow for zero-shot property synthesis in new environments. They also see potential in moving beyond volumetric grids to other representations like point clouds or meshes.

Summary updated

BibTeX
@inproceedings{zhang2023beyond,
  author = {Mingtong Zhang and Shuhong Zheng and Zhipeng Bao and Martial Hebert and Yu-Xiong Wang},
  title = {{Beyond RGB: Scene-Property Synthesis with Neural Radiance Fields}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=jlAUHAtq0E2},
}
Figure