GS-CPR: Efficient Camera Pose Refinement via 3D Gaussian Splatting

Changkun Liu, Shuai Chen, Yash Sanjay Bhalgat, Siyan Hu, Ming Cheng, Zirui Wang, Victor Adrian Prisacariu, Tristan Braud

Determining the exact 6-DoF (Degrees of Freedom) pose of a camera from a single image—known as camera relocalization—is a foundational challenge in robotics, autonomous driving, and AR/VR. Current approaches typically force a trade-off: Absolute Pose Regression (APR) methods are fast but lack precision, while Scene Coordinate Regression (SCR) methods are highly accurate but computationally expensive.

To bridge this gap, researchers often use "refinement" techniques that take a coarse initial pose guess and optimize it. However, state-of-the-art refinement methods heavily rely on Neural Radiance Fields (NeRFs). NeRF-based refinement is notoriously slow, requiring iterative rendering and backpropagation to optimize the pose. Furthermore, these models frequently struggle with "domain shift," failing when the lighting or exposure of the real-world query image differs from the training data.

Enter GS-CPR, a novel framework that leverages 3D Gaussian Splatting (3DGS) to rapidly refine camera pose estimates in a "one-shot" manner, bypassing the sluggish iterative updates of previous methods.

The GS-CPR Approach

GS-CPR replaces slow NeRF optimization with a streamlined, geometry-aware pipeline that treats refinement as a matching problem rather than an iterative optimization problem.

Comparison of iterative neural refinement versus the proposed one-shot GS-CPR.

The pipeline operates in several key steps:

  1. Initial Estimate: The system begins with a coarse pose generated by a standard estimator (such as ACE or DFNet).
  2. 3DGS Rendering: Using a pre-trained 3DGS model of the scene, it renders a high-quality synthetic RGB image and a corresponding depth map from that initial coarse pose.
  3. Exposure Adaptation (ACT): To handle lighting changes between the synthetic render and the real world, an "Exposure-Adaptive Color Transformation" module uses a lightweight MLP to adjust the synthetic image's colors, matching the luminance histogram of the query image.
  4. Foundation Model Matching: Instead of training scene-specific feature descriptors, GS-CPR utilizes MASt3R, a robust 3D vision foundation model, to find dense 2D-2D correspondences between the real query image and the exposure-adjusted synthetic image.
  5. 2D-3D Correspondence & One-Shot Refinement: By projecting the 2D matches onto the rendered 3DGS depth map, the system establishes precise 2D-3D correspondences. The final pose is then calculated instantly using a standard Perspective-n-Point (PnP) solver with RANSAC.

The authors also introduce a faster variant, GS-CPR$_{rel}$, which directly utilizes MASt3R’s relative pose estimation aligned to the 3DGS scale for even quicker processing.

Key Insights

  • One-Shot vs. Iterative: The most significant breakthrough is abandoning iterative optimization. By rendering a single "proxy" view and matching it to the query, GS-CPR achieves superior results in a fraction of the time.
  • 3DGS as a Geometry Proxy: Unlike NeRFs, which require complex ray-marching to extract geometry, 3DGS provides explicit, high-quality depth maps natively. This allows the system to easily "lift" 2D matches into 3D space.
  • Zero-Shot Matching: By employing the MASt3R foundation model, the framework eliminates the need to train specialized feature extractors for every new scene, vastly improving its deployability.

Performance and Results

The framework was rigorously evaluated across three major visual localization benchmarks: 7Scenes (indoor), 12Scenes (indoor), and Cambridge Landmarks (outdoor).

  • State-of-the-Art Accuracy: GS-CPR achieved new SOTA results on both the 7Scenes and 12Scenes datasets. On 7Scenes, it improved average recall (at the strict 2cm/2° threshold) to 93.1%, outperforming traditional structure-based pipelines like HLoc.
  • Massive Speedup: On the challenging Cambridge Landmarks dataset, GS-CPR proved to be roughly 50x faster than leading NeRF-based refinement methods (like NeFeS). It processes a query in just ~0.19 seconds, compared to the 10 seconds required by iterative NeRFs.
  • Expanded Convergence Range: The method is highly robust to poor initial guesses. It can successfully refine poses even when the initial error is as high as 50° or 8 meters—conditions where previous methods completely fail.

Limitations and Future Directions

Like all refinement techniques, GS-CPR relies on the initial pose being "good enough" to ensure some visual overlap between the query image and the rendered proxy view; if they share no visual context, matching will fail. Additionally, while 3DGS is highly efficient, scaling it to reconstruct massive, city-scale environments with high fidelity remains an ongoing challenge for the underlying technology. Future work will explore applying this framework to larger-scale "avenue" scenes and further optimizing relative pose estimation for "lost-in-the-wild" scenarios.

Summary updated

BibTeX
@inproceedings{liu2025gs,
  author = {Changkun Liu and Shuai Chen and Yash Sanjay Bhalgat and Siyan HU and Ming Cheng and Zirui Wang and Victor Adrian Prisacariu and Tristan Braud},
  title = {{GS-CPR: Efficient Camera Pose Refinement via 3D Gaussian Splatting}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=mP7uV59iJM},
}
Figure