[Paper Review] Bayes' Rays: Uncertainty Quantification for Neural Radiance Fields
BayesRays introduces a post-hoc Bayesian uncertainty quantification framework for pre-trained Neural Radiance Fields (NeRFs) using spatial perturbations and a Laplace approximation on the Hessian of the loss. It computes a spatial uncertainty field in under a minute without retraining, enabling real-time artifact removal and outperforming prior methods in correlation with depth error.
Neural Radiance Fields (NeRFs) have shown promise in applications like view synthesis and depth estimation, but learning from multiview images faces inherent uncertainties. Current methods to quantify them are either heuristic or computationally demanding. We introduce BayesRays, a post-hoc framework to evaluate uncertainty in any pre-trained NeRF without modifying the training process. Our method establishes a volumetric uncertainty field using spatial perturbations and a Bayesian Laplace approximation. We derive our algorithm statistically and show its superior performance in key metrics and applications. Additional results available at: https://bayesrays.github.io.
Motivation & Objective
- To address the lack of principled, efficient uncertainty quantification in NeRFs, especially for epistemic uncertainty due to occlusions and missing views.
- To develop a method that works with any pre-trained NeRF architecture without requiring access to training images or retraining.
- To enable practical applications such as NeRF artifact cleanup through thresholding the uncertainty field.
- To provide a statistically grounded uncertainty estimate that correlates meaningfully with reconstruction errors.
Proposed method
- Applies spatial perturbations to the radiance field by deforming the 3D coordinates of NeRF sampling points using a learned deformation field.
- Employs a Bayesian Laplace approximation to estimate the posterior distribution of model weights near the trained solution, focusing on the diagonal of the Hessian.
- Discretizes the deformation field on a uniform 3D grid of size $M^3$ for trilinear interpolation, enabling spatial uncertainty estimation.
- Computes the uncertainty field as a byproduct of the Hessian approximation, which is then rendered as an additional color channel.
- Uses the uncertainty field to guide real-time, interactive NeRF cleanup via thresholding, removing artifacts like floaters.
- Avoids visibility masks and training data by storing all necessary information in the Hessian matrix $\mathbf{H}$.

Experimental results
Research questions
- RQ1Can epistemic uncertainty in NeRFs be quantified post-hoc without modifying the training process or requiring training data?
- RQ2How well does the proposed uncertainty field correlate with actual depth reconstruction errors compared to existing methods?
- RQ3Can the uncertainty field be used effectively to remove NeRF artifacts such as floaters in real time?
- RQ4How robust is the method across diverse NeRF architectures and scene types?
- RQ5What is the impact of grid resolution ($M^3$) and uncertainty threshold on artifact removal quality and computational cost?
Key findings
- BayesRays computes a spatial uncertainty field in under a minute for any pre-trained NeRF, regardless of architecture or training details.
- The uncertainty field shows strong correlation with depth error, outperforming prior heuristic and probabilistic methods on key metrics.
- Thresholding the uncertainty field enables real-time, interactive NeRF cleanup, removing floaters without introducing sampling artifacts.
- The method successfully removes artifacts in challenging cases such as the 'Pikachu' and 'Flowers' scenes, where Nerfbusters failed.
- The uncertainty field is insensitive to NeRF architecture, as demonstrated across Mip-NeRF, Instant NGP, and Nerfacto on the 'Lego' scene.
- The method captures only epistemic uncertainty, leaving aleatoric noise unmodeled, and thus cannot resolve inconsistencies from noisy training views.
![Figure 3 : BayesRays applied to different NeRF architectures. ”Lego” [ 24 ] is only trained with cameras on its left hemisphere.](https://ar5iv.labs.arxiv.org/html/2309.03185/assets/x2.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.