DiffusioNeRF: Regularizing Neural Radiance Fields with Denoising Diffusion Models

Jamie Wynn, Daniyar TurmukhambetovCVPR 2023 · DOI

Abstract

Neural Radiance Fields (NeRFs) have revolutionized novel view synthesis but suffer from severe under-constraint when trained on sparse input views, often resulting in "floater" artifacts and nonsensical geometry. We present DiffusioNeRF, a novel regularization framework that utilizes a Denoising Diffusion Model (DDM) as a learned prior over joint color and depth (RGBD) patches. By training the DDM on photorealistic synthetic data, we provide the NeRF optimization process with a "sense" of realistic geometry and appearance. Our approach significantly improves 3D reconstruction quality and depth estimation in few-view scenarios, outperforming existing state-of-the-art regularization methods.

Introduction

The primary challenge in few-view NeRF reconstruction is the "data hunger" of the underlying volumetric representation. With only a handful of images (e.g., 3 or 6 views), infinitely many 3D configurations can explain the 2D observations. Without proper constraints, NeRFs tend to produce "floaters"—clouds of semi-transparent material that satisfy training views but fail to generalize.

While previous methods have employed hand-crafted smoothness priors or color-only learned priors, DiffusioNeRF introduces a joint prior over both geometry (depth) and appearance (color). This recognizes that color and depth are highly correlated—for instance, color discontinuities often align with depth edges—allowing for more robust guidance toward physically plausible solutions.

Methods

The core innovation of DiffusioNeRF is the integration of a pre-trained Denoising Diffusion Model into the NeRF optimization loop.

Score-based Regularization

Unlike previous generative priors like Normalizing Flows, which require complex Jacobian calculations, DDMs learn to estimate the "score function"—the gradient of the log-probability of the data distribution. This provides a direct vector pointing toward a more realistic version of any given input patch.

The DiffusioNeRF pipeline integrates a Denoising Diffusion Model (DDM) to provide score-based regularization on rendered RGBD patches.

Training and Optimization

  1. Prior Training: A DDM is trained on 48x48 RGBD patches from the Hypersim dataset. Using larger patches (48x48 vs. 8x8 in prior work) allows the model to capture significant structural context, such as walls and furniture.
  2. NeRF Integration: During training, the NeRF renders random RGBD patches from arbitrary viewpoints. These are passed to the DDM, which predicts the noise (the score). This gradient is then backpropagated to update the NeRF’s density and color fields.
  3. Efficiency and Scheduling: To maintain training speed, the system uses Instant NGP as a backbone. A noise schedule ($\tau$) is employed, starting with high noise for coarse structural guidance and decreasing over time for fine-grained refinement.

Key Results

DiffusioNeRF was evaluated on the LLFF and DTU datasets, focusing on challenging few-view scenarios.

  • Few-View Superiority: In 3-view tests on LLFF, DiffusioNeRF consistently outperformed methods like RegNeRF and DietNeRF in PSNR and SSIM.
  • Geometric Accuracy: On the DTU dataset, the method achieved a Chamfer-L1 distance of 1.21, improving upon both standard NeRF (1.49) and the authors' geometric baseline (1.36).
  • Visual Quality: The method effectively removes "floaters" and encourages the reconstruction of flat, plausible surfaces.
Qualitative comparison between DiffusioNeRF and baseline methods, showing superior depth consistency and fewer artifacts.

Conclusion and Future Work

DiffusioNeRF demonstrates the power of diffusion-based priors for 3D regularization. While highly effective, the method can occasionally over-smooth fine structures and remains sensitive to hyperparameter tuning, specifically the noise schedule and loss weighting. Future research may explore training DDMs on 3D voxel blocks to regularize the volumetric space even more directly, potentially bypassing the limitations of 2D patch-based priors.

Summary updated

BibTeX
@inproceedings{wynn2023diffusionerf,
  author = {Jamie Wynn and Daniyar Turmukhambetov},
  title = {{DiffusioNeRF: Regularizing Neural Radiance Fields with Denoising Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00407},
}
Figure