NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FAR: Flexible, Accurate and Robust 6DoF Relative Camera Pose Estimation

Chris Rockwell, Nilesh Kulkarni, Linyi Jin, Jeong Joon Park, Justin Johnson, David F. Fouhey · DOI

Introduction

Estimating the relative 6-degree-of-freedom (6DoF) pose between two camera views—comprising both rotation and translation—is a fundamental task in computer vision. It serves as the backbone for applications ranging from autonomous navigation and augmented reality to large-scale 3D reconstruction. Historically, the field has been divided into two distinct methodologies: classical correspondence-based geometric solvers and modern learning-based regression models.

Classical solvers, such as the 5-point algorithm, offer high precision by leveraging the rigid constraints of epipolar geometry. However, they are notoriously fragile in environments with low visual overlap or large rotations and are inherently unable to recover the absolute scale of translation. Conversely, deep learning models can regress poses directly from image features, providing robustness to difficult viewpoints and the ability to predict absolute scale, yet they often lack the fine-grained accuracy required for high-fidelity mapping.

This paper introduces FAR (Flexible, Accurate, and Robust), a framework designed to bridge this gap. FAR integrates the precision of geometric solvers with the robustness and scale-awareness of deep learning through a novel prior-guided optimization process.

The FAR Framework

At the heart of FAR is the Pose Transformer, a versatile module capable of processing either dense image features or raw point correspondences. The framework utilizes a unique two-round estimation process to refine the relative pose.

Round 1: Establishing the Prior

In the first stage, the Pose Transformer generates an initial pose estimate ($T_t$) and an associated confidence weight ($w$). This learned estimate is combined with a standard geometric solver's output to produce a "Round 1" pose ($T_1$). This initial estimate serves as a coarse but reliable foundation for the subsequent refinement stage.

Round 2: Prior-Guided RANSAC

The defining innovation of FAR is the Prior-Guided RANSAC. In traditional RANSAC, the search for a geometric model is essentially a "blind" sampling of correspondences. FAR transforms this into a targeted search by using the Round 1 pose ($T_1$) as a prior. This prior biases the solver in two ways:

  1. Sampling: It prioritizes point correspondences that align with the initial estimate.
  2. Scoring: It weights hypotheses more heavily if they are physically consistent with the prior.

This approach allows the solver to converge on a highly precise solution ($T_u$) even in high-noise scenarios where up to 87.5% of correspondences are outliers.

Intelligent Fusion and Scale Recovery

To produce the final output, FAR employs a learned weighting function. If the Transformer detects high-quality geometric correspondences, it favors the solver’s output. If the scene is visually chaotic or matches are sparse, the system relies more heavily on the Transformer’s internal regression. Furthermore, the Transformer specifically predicts translation magnitude, allowing the system to inject absolute scale into the otherwise scale-agnostic geometric results.

Experimental Evaluation

The authors evaluated FAR across a diverse set of benchmarks to demonstrate its flexibility across indoor and outdoor contexts, including Matterport3D, InteriorNet, StreetLearn, and the Map-free Relocalization challenge.

Key Results

  • Accuracy Gains: On the Matterport3D dataset, FAR achieved a significant performance leap, reducing median translation error by 50% (from 0.52m to 0.25m) and nearly halving the mean rotation error compared to previous state-of-the-art methods like NOPE-SAC.
  • Robustness to Extreme Rotation: While classical methods typically see a sharp decline in performance as the rotation between images exceeds 50 degrees, FAR maintains stable and low error rates, demonstrating superior robustness in wide-baseline scenarios.
  • State-of-the-Art Benchmarking: FAR secured top-tier results on the Map-free Relocalization benchmark, outperforming specialized baselines in both translation and rotation accuracy, particularly in real-world outdoor environments where absolute scale is critical.

Discussion and Limitations

While FAR represents a significant advancement, the authors note several areas for future improvement. The current implementation of prior-guided RANSAC (utilizing the Kornia library) operates at approximately 3.3 iterations per second, which is slower than optimized C++ solvers. Transitioning to a more efficient implementation could potentially boost performance to real-time speeds (15fps).

Additionally, the training process is multi-staged and complex, requiring separate phases for the Transformer and the joint solver integration. Finally, the authors highlight potential data bias; since the model was primarily trained on datasets like Matterport3D (which features affluent residential interiors), its performance may vary in more diverse or lower-income environments, suggesting a need for broader training data to ensure global applicability.

Conclusion

FAR successfully demonstrates that geometry and deep learning are not mutually exclusive but are, in fact, complementary. By using learned priors to tame the stochastic nature of RANSAC, FAR provides a robust, scale-aware, and highly accurate solution for 6DoF relative camera pose estimation, setting a new standard for the field.

Summary updated

BibTeX
@misc{rockwell2024far,
  author = {Chris Rockwell and Nilesh Kulkarni and Linyi Jin and Jeong Joon Park and Justin Johnson and David F. Fouhey},
  title = {{FAR: Flexible, Accurate and Robust 6DoF Relative Camera Pose Estimation}},
  year = {2024},
  eprint = {2403.03221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03221},
}
Figure