GeLoc3r: Enhancing Relative Camera Pose Regression with Geometric Consistency Regularization
Jingxing Li, Yongjae Lee, Deliang Fan
TL;DR
GeLoc3r tackles the fundamental speed-accuracy gap in relative camera pose estimation by introducing Geometric Consistency Regularization (GCR), which uses privileged depth information during training to enforce geometric relationships in a regression-based pose estimator. The method preserves fast regression at inference (approximately 33 ms) while transferring geometric knowledge from a weighted, RANSAC-guided supervision pipeline into the network through a FusionTransformer-guided weighting of dense 3D-2D correspondences. Key contributions include a training-time geometric supervision framework (GCR) that combines direct pose consistency with a weighted RANSAC solver and an indirect descriptor-consistency signal, plus frozen MASt3R descriptor heads to anchor geometry. Experiments across CO3Dv2, RealEstate10K, MegaDepth1500, and unseen visual localization tasks demonstrate consistent improvements over ReLoc3R, achieving state-of-the-art regression performance with strong robustness and maintaining real-time inference, signaling a practical path to closing the gap with dense, correspondence-based methods.
Abstract
Prior ReLoc3R achieves breakthrough performance with fast 25ms inference and state-of-the-art regression accuracy, yet our analysis reveals subtle geometric inconsistencies in its internal representations that prevent reaching the precision ceiling of correspondence-based methods like MASt3R (which require 300ms per pair). In this work, we present GeLoc3r, a novel approach to relative camera pose estimation that enhances pose regression methods through Geometric Consistency Regularization (GCR). GeLoc3r overcomes the speed-accuracy dilemma by training regression networks to produce geometrically consistent poses without inference-time geometric computation. During training, GeLoc3r leverages ground-truth depth to generate dense 3D-2D correspondences, weights them using a FusionTransformer that learns correspondence importance, and computes geometrically-consistent poses via weighted RANSAC. This creates a consistency loss that transfers geometric knowledge into the regression network. Unlike FAR method which requires both regression and geometric solving at inference, GeLoc3r only uses the enhanced regression head at test time, maintaining ReLoc3R's fast speed and approaching MASt3R's high accuracy. On challenging benchmarks, GeLoc3r consistently outperforms ReLoc3R, achieving significant improvements including 40.45% vs. 34.85% AUC@5° on the CO3Dv2 dataset (16% relative improvement), 68.66% vs. 66.70% AUC@5° on RealEstate10K, and 50.45% vs. 49.60% on MegaDepth1500. By teaching geometric consistency during training rather than enforcing it at inference, GeLoc3r represents a paradigm shift in how neural networks learn camera geometry, achieving both the speed of regression and the geometric understanding of correspondence methods.
