Abstract
Neural Radiance Field (NeRF) is a popular method in data-driven 3D reconstruction. Given its simplicity and high quality rendering, many NeRF applications are being developed. However, NeRF's big limitation is its slow speed. Many attempts are made to speeding up NeRF training and inference, including intricate code-level optimization and caching, use of sophisticated data structures, and amortization through multi-task and meta learning. In this work, we revisit the basic building blocks of NeRF through the lens of classic techniques before NeRF. We propose Voxel-Accelearated NeRF (VaxNeRF), integrating NeRF with visual hull, a classic 3D reconstruction technique only requiring binary foreground-background pixel labels per image. Visual hull, which can be optimized in about 10 seconds, can provide coarse in-out field separation to omit substantial amounts of network evaluations in NeRF. We provide a clean fully-pythonic, JAX-based implementation on the popular JaxNeRF codebase, consisting of only about 30 lines of code changes and a modular visual hull subroutine, and achieve about 2-8x faster learning on top of the highly-performative JaxNeRF baseline with zero degradation in rendering quality. With sufficient compute, this effectively brings down full NeRF training from hours to 30 minutes.
Introduction
Neural Radiance Fields (NeRF) have revolutionized 3D reconstruction, enabling the generation of photorealistic views from sparse image sets. However, NeRF faces a significant "speed limit" due to its computational inefficiency. The model spends a massive amount of effort evaluating points in empty space that contribute nothing to the final image. Standard NeRF attempts to mitigate this with "hierarchical sampling"—training a small "coarse" model to identify occupied regions before a "fine" model renders details. Despite this, training remains slow. VaxNeRF addresses this by using geometric priors to inform the model of the object's location before training begins, accelerating the process by 2–8x without sacrificing quality.
Methodology: Integrating the Visual Hull
The core innovation of VaxNeRF is the integration of the Visual Hull, a classic "shape-from-silhouette" technique.
- Visual Hull Generation: Using binary foreground-background masks (silhouettes) from training images, the system constructs a coarse voxel-based bounding volume. This process is extremely efficient, taking approximately 10 seconds.
- Voxel-Accelerated Sampling: During training, VaxNeRF only evaluates the Multi-Layer Perceptron (MLP) for points falling inside the visual hull. Points outside are automatically assigned zero density, skipping unnecessary calculations.
- Simplified Architecture: By leveraging the visual hull, the authors found they could eliminate NeRF’s standard "fine" model. A single "coarse" model with dense, uniform sampling inside the hull proved more efficient and accurate.
The implementation is remarkably simple, requiring only about 30 lines of code changes to the standard JaxNeRF codebase.
Evaluation and Results
The researchers evaluated VaxNeRF on the NeRF-Synthetic and NSVF-Synthetic benchmarks, which include complex geometries and challenging lighting conditions.
Performance Gains
VaxNeRF achieved 2–8x faster training compared to the highly optimized JaxNeRF baseline. By slashing the number of points evaluated per ray—for instance, from ~800k in the baseline to ~138k in the vax_c600 model—the system significantly increased the "rays per second" processed.
Quality and Insights
There was zero degradation in rendering quality; in fact, VaxNeRF often outperformed standard NeRF in final PSNR and SSIM metrics. This suggests that by not wasting capacity on empty space, the model converges to higher accuracy faster. A key insight is that "classic" geometric algorithms like the visual hull provide a reliable bounding volume that is guaranteed to contain the entire object, unlike some modern estimation methods that might inadvertently carve away parts of the scene.
Limitations and Conclusion
The primary limitation of VaxNeRF is its dependency on binary foreground-background masks. While readily available in synthetic or controlled studio datasets, these masks are harder to obtain for "in-the-wild" photography. Future work involves evaluating VaxNeRF using automated segmentation models (like Mask R-CNN) to generate silhouettes for real-world scenes.
By combining a classic reconstruction technique with modern deep learning, VaxNeRF demonstrates that revisiting fundamental computer vision building blocks can yield significant performance breakthroughs in state-of-the-art methods.
Summary updated