Abstract
GSFeatLoc introduces a high-speed visual localization framework that leverages 3D Gaussian Splatting (3DGS) to achieve a 100x speedup over traditional photometric optimization methods. By replacing iterative rendering with a single-pass feature correspondence pipeline—comprising rendering, 2D-2D matching, 2D-3D lifting, and pose estimation—GSFeatLoc reduces inference time from over 10 seconds to approximately 0.1 seconds. Extensive evaluation across 38 scenes demonstrates significant improvements in accuracy and robustness to large initial pose errors compared to existing NeRF and 3DGS baselines.
Introduction
Visual localization—the task of determining a camera's precise position and orientation (pose) relative to a known map—is a cornerstone of robotics, augmented reality, and autonomous navigation. Recently, 3D Gaussian Splatting (3DGS) has emerged as a powerful scene representation, offering high-quality rendering at speeds significantly higher than Neural Radiance Fields (NeRF).
However, existing 3DGS-based localization methods typically rely on photometric loss minimization. This process involves iteratively rendering synthetic images and comparing them pixel-by-pixel to a query image to optimize the estimated camera pose. Because this requires hundreds of rendering and gradient-descent steps, it is computationally heavy and far too slow for real-time applications, often taking 10 to 40 seconds per image. GSFeatLoc addresses this bottleneck by shifting from pixel-level optimization to a geometric feature-matching approach.
Methodology
GSFeatLoc replaces the iterative loop with a streamlined four-step pipeline that leverages the explicit geometric information provided by 3DGS.
- Rendering: Given a rough initial pose estimate ($T^0$), the system uses the 3DGS model to render a single synthetic RGB image ($I_r$) and its corresponding depth map ($D_r$).
- 2D-2D Matching: Feature points are extracted and matched between the query image ($I_q$) and the synthetic render ($I_r$). The system utilizes SuperPoint for feature extraction and SuperGlue for matching, both of which are robust to significant changes in lighting and viewpoint.
- 2D-3D Lifting: Using the rendered depth map ($D_r$), the 2D coordinates in the synthetic image are "lifted" into 3D world space ($p_i^W$). This creates a set of 2D-to-3D correspondences between query image pixels and 3D world points.
- Pose Estimation: Finally, the final camera pose ($T^*$) is calculated by solving the Perspective-n-Point (PnP) problem using RANSAC to filter out outliers.
By rendering only once and employing geometric solvers, the method bypasses the need for costly iterative optimization.
Experimental Setup
The authors evaluated GSFeatLoc across 38 different scenes using three widely recognized benchmarks, totaling over 2,700 test images:
- Synthetic NeRF: 8 synthetic scenes used to establish baseline accuracy.
- Mip-NeRF360: 9 complex indoor and outdoor scenes.
- Tanks and Temples: 21 challenging real-world scenes with diverse geometry and textures.
Results and Discussion
GSFeatLoc demonstrates a massive speedup, reducing inference time from approximately 16.7 seconds (using the iComMa baseline) to 0.09–0.15 seconds per image. This represents a speedup of over two orders of magnitude, making real-time localization feasible.
In terms of accuracy, GSFeatLoc significantly outperforms both NeRF-based and 3DGS-based photometric baselines. On the challenging Tanks and Temples dataset, GSFeatLoc achieved a "success" rate (defined as Rotation Error < 5° and Translation Error < 0.05) of 42.42%. In comparison, the 3DGS photometric baseline (iComMa) achieved only 32.45%, and the NeRF baseline (piNeRF) reached only 6.89%.
Robustness and Efficiency
A key insight of this work is that 3DGS provides highly accurate depth maps, which, when combined with modern feature matchers like SuperGlue, allow for high tolerance to "rough" initial guesses. GSFeatLoc can recover the correct pose even if the initial estimate is off by up to 55° in rotation. Furthermore, 3DGS is a superior fit for this pipeline compared to NeRF because its explicit point-like representation allows for faster rendering and more reliable depth extraction.
Limitations and Future Work
Despite its advantages, GSFeatLoc's accuracy is capped by the quality of the initial 3DGS reconstruction; inaccurate depth or "floaters" in the map can degrade PnP solver performance. Additionally, the method may fail in low-texture environments where feature extraction is difficult. Future research directions include integrating GSFeatLoc into full SLAM systems and developing "intermediate rendering" steps to bridge the gap when initial pose estimates are extremely poor.
Summary updated