NerfAcc: Efficient Sampling Accelerates NeRFs
Ruilong Li, Hang Gao, Matthew Tancik, Angjoo Kanazawa
TL;DR
<3-5 sentence high-level summary> Neural Radiance Fields renderings are computationally expensive due to dense sampling along rays. The authors propose NerfAcc, a plug-and-play Python toolbox that treats sampling as a transmittance-estimation problem, decoupling it from the neural radiance field and enabling speedups of 1.5x to 20x across diverse NeRF variants, including Instant-NGP implemented in pure Python. They unify existing sampling strategies under a single transmittance framework, analyze design choices (uniform, spatial skipping, PDF approaches), and demonstrate how occupancy grids and proposal networks can be combined. The work contributes both theoretical insight into sampling as transmittance estimation and a practical tool that accelerates NeRF research and broadens accessibility.
Abstract
Optimizing and rendering Neural Radiance Fields is computationally expensive due to the vast number of samples required by volume rendering. Recent works have included alternative sampling approaches to help accelerate their methods, however, they are often not the focus of the work. In this paper, we investigate and compare multiple sampling approaches and demonstrate that improved sampling is generally applicable across NeRF variants under an unified concept of transmittance estimator. To facilitate future experiments, we develop NerfAcc, a Python toolbox that provides flexible APIs for incorporating advanced sampling methods into NeRF related methods. We demonstrate its flexibility by showing that it can reduce the training time of several recent NeRF methods by 1.5x to 20x with minimal modifications to the existing codebase. Additionally, highly customized NeRFs, such as Instant-NGP, can be implemented in native PyTorch using NerfAcc.
