Quantifying Epistemic Uncertainty in Absolute Pose Regression
Fereidoon Zangeneh, Amit Dekel, Alessandro Pieropan, Patric Jensfelt
TL;DR
This paper tackles the problem that absolute pose regression for visual relocalization often lacks reliable, interpretable confidence measures, especially when test data falls outside the training distribution. It introduces a conditional variational autoencoder to model the conditional pose distribution $p(y|\mathbf{x})$, enabling sampling of multiple plausible poses and estimation of the likelihood of observations to quantify epistemic uncertainty. By framing uncertainty in terms of likelihood and leveraging importance sampling within a CVAE, the approach unifies handling epistemic and aleatoric uncertainty, including ambiguous observations due to repetitive structures. Empirical results across indoor and outdoor datasets show stronger correlation between estimated uncertainty and prediction error than prior methods, demonstrating improved reliability in challenging, out-of-distribution, or ambiguous scenarios with practical implications for robust visual relocalization.
Abstract
Visual relocalization is the task of estimating the camera pose given an image it views. Absolute pose regression offers a solution to this task by training a neural network, directly regressing the camera pose from image features. While an attractive solution in terms of memory and compute efficiency, absolute pose regression's predictions are inaccurate and unreliable outside the training domain. In this work, we propose a novel method for quantifying the epistemic uncertainty of an absolute pose regression model by estimating the likelihood of observations within a variational framework. Beyond providing a measure of confidence in predictions, our approach offers a unified model that also handles observation ambiguities, probabilistically localizing the camera in the presence of repetitive structures. Our method outperforms existing approaches in capturing the relation between uncertainty and prediction error.
