Improved Direct Voxel Grid Optimization for Radiance Fields Reconstruction

Cheng Sun, Min Sun, Hwann-Tzong ChenarXiv 2022 · DOI

Introduction

Neural Radiance Fields (NeRF) have transformed 3D reconstruction by enabling high-fidelity view synthesis. However, the standard NeRF approach is computationally intensive, requiring hundreds of multilayer perceptron (MLP) queries per ray. While explicit representations like voxel grids (e.g., DVGO, Plenoxels) have significantly reduced training times, they still face challenges regarding Python/PyTorch overhead, handling complex unbounded scenes, and the high computational cost of advanced regularization losses.

DVGOv2 addresses these limitations by introducing a highly optimized framework that accelerates training by 2–3× while extending support to forward-facing and unbounded scenes.

Methods

The authors implement several technical enhancements to improve efficiency and versatility:

CUDA Kernel Fusion

To mitigate the overhead of launching numerous small kernels from Python, DVGOv2 re-implements sequential operations—such as Adam optimizer steps and rendering utilities—into fused CUDA kernels. This optimization significantly reduces the time spent on inter-process communication and kernel launch latency.

Training speedup achieved through CUDA kernel fusion for Adam and Rendering operations across different scenes.

Linear Complexity Distortion Loss

Distortion loss is crucial for eliminating artifacts like "floaters," but its standard $O(N^2)$ complexity is prohibitive for voxel grids with many sample points. By utilizing prefix sums, the authors reformulate this loss to $O(N)$ complexity, allowing for high-quality regularization without a significant performance penalty.

Scene Handling and Sampling

  • Ray BBox Intersection: Computation is saved by sampling points only within the intersection of a ray and the scene's bounding box.
  • Scene Contraction: For unbounded 360-degree environments, a coordinate warping technique (cuboid contraction) is used to map distant space into the finite voxel grid.

Experimental Results

DVGOv2 was evaluated across standard benchmarks including Synthetic-NeRF, Tanks&Temples, LLFF, and mip-NeRF 360.

Speed and Quality

The system consistently achieves a 2–3× speedup over the original DVGO. For instance, a Synthetic-NeRF scene can be trained in approximately 5 minutes on an RTX 2080Ti. Despite the simplicity of the dense grid representation, DVGOv2 maintains competitive image quality (PSNR) compared to more complex methods like Instant-NGP or TensoRF.

Versatility in Complex Scenes

DVGOv2 successfully handles forward-facing and unbounded scenes, which were previously challenging for basic voxel methods. On the LLFF dataset, it achieves high efficiency, reaching a PSNR of 26.34 in just 10.9 minutes.

Quantitative comparison on the LLFF forward-facing dataset, highlighting DVGOv2's competitive performance and training efficiency.

Discussion and Key Insights

The transition from $O(N^2)$ to $O(N)$ for distortion loss represents a significant algorithmic improvement, enabling the use of advanced regularization in real-time applications. Furthermore, the speedup from kernel fusion underscores that Python overhead remains a primary bottleneck in high-performance graphics tasks.

Limitations

While efficient, the "simplest dense grid" approach is less memory-efficient than hash tables or tensor decompositions, potentially limiting its use for extremely high-resolution scenes on consumer hardware. Additionally, while PSNR is high, there remains a gap in perceptual quality (LPIPS) for unbounded backgrounds compared to specialized state-of-the-art models.

Conclusion

DVGOv2 demonstrates that direct voxel grid optimization can be both extremely fast and versatile. The provided $O(N)$ distortion loss implementation offers a valuable tool for the broader NeRF research community to improve training efficiency across various architectures.

Summary updated

BibTeX
@misc{sun2022improved,
  author = {Cheng Sun and Min Sun and Hwann-Tzong Chen},
  title = {{Improved Direct Voxel Grid Optimization for Radiance Fields Reconstruction}},
  year = {2022},
  eprint = {2206.05085},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05085},
}
Figure