Introduction
Camera relocalization—the task of determining the 6-degree-of-freedom (6DoF) pose of a camera from a single image—is a fundamental component of robotics and augmented reality. While deep learning models like PoseNet have significantly improved localization accuracy, they often lack reliable uncertainty estimation. Traditional methods for quantifying uncertainty, such as Bayesian PoseNet using Monte Carlo dropout, are computationally expensive, requiring dozens of forward passes to sample a distribution. This paper introduces GPoseNet, a hybrid architecture that integrates Convolutional Neural Networks (CNNs) with Gaussian Process Regression (GPR) to provide efficient, one-shot uncertainty estimation.
Methodology
The GPoseNet architecture replaces the standard regression layers of a CNN with Gaussian Process (GP) regressors, enabling the model to output a full probability distribution in a single forward pass.
Feature Extraction and SVI GP
The model utilizes a modified GoogLeNet backbone to extract high-level visual features. These features are then fed into GP regressors. To scale Gaussian Processes for deep learning, the authors employ Stochastic Variational Inference (SVI). By using a small set of "inducing points," the GP becomes a parametric model that can be optimized via standard Stochastic Gradient Descent on mini-batches, making it compatible with large-scale datasets.
Coregionalization and KL-Divergence
Camera pose involves correlated 3D translation and 4D rotation (quaternions). GPoseNet uses a coregionalization kernel to model these interdependencies. Furthermore, the training objective is based on Kullback-Leibler (KL) divergence rather than standard Euclidean loss. This scale-invariant objective eliminates the need for manual weight balancing between translation (meters) and rotation (degrees), making the model more robust to hyperparameter tuning across different environments.
Experimental Setup
The model was evaluated on two standard benchmark datasets:
- Cambridge Landmarks: A large-scale outdoor dataset featuring five distinct scenes (e.g., King’s College, Old Hospital).
- 7 Scenes: An indoor dataset containing seven different environments with varying degrees of texture and geometric complexity.
Results and Discussion
GPoseNet demonstrates significant improvements in both efficiency and robustness compared to previous Bayesian approaches.
Efficiency and Accuracy
GPoseNet is approximately 26 times faster than Bayesian PoseNet, achieving an inference time of 0.015 seconds per image compared to 0.4 seconds for sampling-based methods. Despite this speedup, it maintains high accuracy, outperforming the original PoseNet and achieving results comparable to state-of-the-art Spatial LSTM-PoseNet. On the Cambridge Landmarks dataset, it achieved a median error of 2.0m and 4.6°.
Uncertainty as a Diagnostic Tool
A key insight is that the model's predictive uncertainty serves as a proxy for scene recognition. When presented with an image from an unfamiliar scene, the uncertainty spikes, allowing the system to detect out-of-distribution data. Additionally, a strong linear correlation was observed between translation and rotation uncertainty, indicating that spatial confusion typically affects both pose components equally.
Conclusion
GPoseNet provides a robust framework for camera relocalization with built-in uncertainty estimation. By combining the feature-learning power of CNNs with the probabilistic rigor of Gaussian Processes, the model achieves state-of-the-art performance with significantly lower computational overhead. Future work will explore more complex kernels and non-Gaussian likelihoods to further refine the model's predictive capabilities in diverse environments.
Summary updated