Abstract
This paper presents a framework that combines traditional keypoint-based camera pose optimization with an invertible neural rendering mechanism. Our proposed 3D scene representation, Nerfels, is locally dense yet globally sparse. As opposed to existing invertible neural rendering systems which overfit a model to the entire scene, we adopt a feature-driven approach for representing scene-agnostic, local 3D patches with renderable codes. By modelling a scene only where local features are detected, our framework effectively generalizes to unseen local regions in the scene via an optimizable code conditioning mechanism in the neural renderer, all while maintaining the low memory footprint of a sparse 3D map representation. Our model can be incorporated into existing state-of-the-art hand-crafted and learned local feature pose estimators, yielding improved performance when evaluating on ScanNet for wide camera baseline scenarios.
Introduction
Estimating a camera's pose—its position and orientation relative to a scene—is a fundamental task in robotics and augmented reality. Historically, the field has been divided into two primary approaches. Sparse (indirect) methods track specific interest points like corners. While fast and memory-efficient, they often fail in low-texture environments or wide-baseline scenarios where matching points across distant views is difficult. Conversely, dense (direct) methods utilize every pixel for alignment, offering high accuracy but at the cost of massive memory requirements and a sensitivity to initial pose estimates.
Nerfels (Neural + Surfels) addresses this "missing middle" by introducing a representation that is lightweight enough for mobile systems yet detailed enough to provide the photometric alignment benefits of dense methods.
Methodology: Locally Dense, Globally Sparse
The core innovation is the Nerfel, a local 3D sphere centered at a keypoint. Unlike traditional descriptors that store only a 2D vector, a Nerfel stores an optimizable latent code. This code is fed into a specialized, code-conditioned neural renderer (a modified NeRF) capable of generating an RGB patch of that local 3D surface from any viewing angle.
The system operates in three main stages:
- Mining and Matching: Local patches are identified in RGB-D sequences. Because the neural decoder is scene-agnostic, it learns a prior for local geometry, allowing it to represent new scenes by simply optimizing a new code.
- Code Optimization: Latent codes are refined to represent the specific geometry and appearance of the detected keypoints.
- Joint Optimization: During pose estimation, the system minimizes a joint loss function. This includes the standard reprojection error (geometric distance between points) and a photometric error. The latter is calculated by rendering Nerfels at the current pose estimate and comparing them to the actual pixels in the query image. The camera pose is then "nudged" via backpropagation until the rendered patches match the observation.
Experimental Results
The researchers evaluated Nerfels as an enhancement to existing feature detectors like SIFT, D2Net, and SuperPoint using the ScanNet dataset and controlled synthetic environments.
Accuracy and Robustness
Adding Nerfels consistently improved localization performance. For instance, when paired with SuperPoint, Nerfels reduced translation error at the 1-meter threshold from 0.0502m to 0.0389m and rotation error from 1.46° to 1.06°.
A key finding is the system's robustness to noise. As shown in the synthetic tests, the performance gap between traditional geometric methods (PnP) and the Nerfel-enhanced approach widens as the inaccuracy of initial keypoint detection increases. This suggests that the photometric refinement provided by Nerfels can correct for significant errors in initial point matching.
Efficiency
Compared to "Vanilla iNeRF" models that attempt to represent an entire scene with a single large network, Nerfels are more robust in regions with sparse observations. They require less total capacity to represent a scene accurately while maintaining a low memory footprint suitable for sparse 3D maps.
Conclusion and Future Work
Nerfels demonstrate that treating a scene as a collection of "renderable atoms" provides a powerful hybrid between sparse and dense mapping. While the current implementation is not yet real-time (averaging 0.137 iterations per second), the authors suggest that integration with acceleration techniques like Instant-NGP could resolve this. Future work will also need to address sensitivity to lighting changes and the challenges posed by dynamic, non-static environments. By capturing true 3D geometry at a local level, Nerfels offer a significant step forward for robust spatial AI in challenging real-world conditions.
Summary updated