Skip to main content
QUICK REVIEW

[Paper Review] To Learn or Not to Learn: Visual Localization from Essential Matrices

Qunjie Zhou, Torsten Sattler|arXiv (Cornell University)|Aug 4, 2019
Robotics and Sensor-Based LocalizationEngineering90 references10 citations
TL;DR

This paper proposes a novel, lightweight framework for visual localization using essential matrices via a RANSAC-based approach that is agnostic to how essential matrices are estimated. It demonstrates that while learned feature matching generalizes well, end-to-end regression of essential matrices fails to generalize due to poor generalization in the regression head, and that even hybrid learned features underperform classical SIFT-based methods, highlighting critical limitations in current learning-based approaches for visual localization.

ABSTRACT

Visual localization is the problem of estimating a camera within a scene and a key component in computer vision applications such as self-driving cars and Mixed Reality. State-of-the-art approaches for accurate visual localization use scene-specific representations, resulting in the overhead of constructing these models when applying the techniques to new scenes. Recently, deep learning-based approaches based on relative pose estimation have been proposed, carrying the promise of easily adapting to new scenes. However, it has been shown such approaches are currently significantly less accurate than state-of-the-art approaches. In this paper, we are interested in analyzing this behavior. To this end, we propose a novel framework for visual localization from relative poses. Using a classical feature-based approach within this framework, we show state-of-the-art performance. Replacing the classical approach with learned alternatives at various levels, we then identify the reasons for why deep learned approaches do not perform well. Based on our analysis, we make recommendations for future work.

Motivation & Objective

  • To investigate why deep learning-based visual localization methods using relative pose estimation underperform compared to classical approaches.
  • To develop a generic, scene-agnostic framework for visual localization that uses essential matrices and RANSAC to recover absolute camera poses.
  • To isolate and analyze the components of learned relative pose estimation that hinder generalization and accuracy.
  • To compare classical feature-based methods, end-to-end learned essential matrix regression, and hybrid learned feature matching in a unified framework.
  • To provide actionable insights for future research on generalizable, data-driven visual localization.

Proposed method

  • Proposes a novel RANSAC-based framework that computes absolute camera poses from essential matrices estimated between a query image and multiple database images.
  • Designs a flexible pipeline where essential matrices can be computed via classical (SIFT), learned regression (EssNet), or hybrid (learned matching + SIFT-like 5-point solver) methods.
  • Employs a novel CNN-based network (EssNet) for direct regression of essential matrices from image pairs, trained on MegaDepth, 7 Scenes, and Cambridge Landmarks datasets.
  • Uses a hybrid approach that replaces SIFT with a learned feature matching module (NCM) trained on an unrelated dataset (ivd), while still using the 5-point algorithm for pose estimation.
  • Applies high-resolution inference for feature matching in the hybrid setup despite training at reduced resolution (224×224) for computational efficiency.
  • Evaluates generalization across multiple datasets and training strategies, including ImageNet pretraining and task-specific fine-tuning on depth and indoor/outdoor scenes.

Experimental results

Research questions

  • RQ1Why do end-to-end learned relative pose regression methods fail to generalize to unseen scenes despite using deep networks?
  • RQ2To what extent do the features learned by these networks generalize across different scenes and domains?
  • RQ3Does the performance gap between learned and classical methods stem from the regression head, the feature extraction, or the matching process?
  • RQ4Can a hybrid approach combining learned feature matching with classical pose estimation outperform purely learned or purely classical methods?
  • RQ5What components of the learning pipeline are most critical for achieving both accuracy and generalization in visual localization?

Key findings

  • The classical SIFT-based approach (SIFT+5pt) achieves state-of-the-art performance (0.47/0.88 median/mean error on Cambridge Landmarks), outperforming more complex learned methods.
  • End-to-end essential matrix regression (EssNet) performs worse than SIFT-based methods, with a median error of 0.83/1.36 on Cambridge Landmarks, indicating poor generalization.
  • Features and feature matches learned by the network generalize well across datasets: performance varies only slightly (0.89–0.98 median error) across different pretraining tasks and datasets.
  • The hybrid approach using learned matching (NCM) with SIFT-style 5-point solver achieves better results than pure regression (0.89/1.39 on Cambridge), but still underperforms SIFT-based method (0.47/0.88).
  • The primary failure mode of learned methods lies in the regression head, not in feature extraction or matching, as evidenced by consistent performance gaps across different feature training strategies.
  • Even when using high-quality learned features, the resulting pose estimates remain less accurate than those from classical SIFT, indicating that current deep networks fail to learn robust, localized representations for relative pose estimation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.