[Paper Review] MegLoc: A Robust and Accurate Visual Localization Pipeline
MegLoc is a robust and accurate 6-DoF visual localization pipeline that combines global and local feature matching with multi-stage refinement for reliable pose estimation across challenging conditions like seasonal, illuminational, and temporal variations. It achieves state-of-the-art performance on multiple benchmarks, including winning the ICCV 2021 Outdoor and Indoor Visual Localization Challenges.
In this paper, we present a visual localization pipeline, namely MegLoc, for robust and accurate 6-DoF pose estimation under varying scenarios, including indoor and outdoor scenes, different time across a day, different seasons across a year, and even across years. MegLoc achieves state-of-the-art results on a range of challenging datasets, including winning the Outdoor and Indoor Visual Localization Challenge of ICCV 2021 Workshop on Long-term Visual Localization under Changing Conditions, as well as the Re-localization Challenge for Autonomous Driving of ICCV 2021 Workshop on Map-based Localization for Autonomous Driving.
Motivation & Objective
- To develop a visual localization pipeline that maintains high accuracy and robustness under extreme appearance variations, including seasonal, diurnal, and long-term changes.
- To address the limitations of traditional image retrieval in low-texture or repetitive indoor scenes by introducing view alignment and perceptual similarity for reranking.
- To improve pose estimation accuracy through a modular, two-stage pipeline combining mapping and localization with end-to-end trainable refinement components.
- To explore the integration of dense reconstruction and neural rendering techniques, such as MVS and NeRF-W, to enhance 3D map quality and localization robustness.
- To achieve state-of-the-art performance on diverse, real-world visual localization benchmarks, including long-term and autonomous driving scenarios.
Proposed method
- Uses a two-stage pipeline: mapping (reference matching, COLMAP triangulation, depth verification, and uncertainty rejection) and localization (global descriptor fusion, local feature matching, PnP, and pose reranking).
- Employs image pre-processing including resizing to 1600px max side, semantic masking of dynamic objects via DeepLab-V3+ on CityScapes, and lens undistortion to improve feature reliability.
- Combines SuperPoint and ASLFeat for local feature extraction, with NMS and threshold tuning to yield ~1500 keypoints per image, leveraging complementary strengths.
- Utilizes NetVLAD for global feature extraction, enabling differentiable, soft-assignment-based image retrieval with end-to-end training for robustness to appearance changes.
- Applies ICP-based and rendering-based pose refinement using dense depth maps or differentiable rendering to optimize initial poses toward ground truth geometry.
- Introduces a perceptual similarity-based reranking strategy in indoor scenes, aligning candidate views to the query via estimated pose and measuring L2 distances on deep feature maps.
Experimental results
Research questions
- RQ1How can a visual localization pipeline maintain high accuracy and robustness across significant appearance variations such as seasonal and diurnal changes?
- RQ2What strategies can improve image retrieval reliability in low-texture or repetitive indoor environments where global descriptors fail?
- RQ3To what extent can multi-stage refinement using ICP and differentiable rendering improve initial pose estimates from PnP?
- RQ4Can integrating dense reconstruction (MVS) and neural rendering (NeRF-W) enhance map quality and localization performance in long-term scenarios?
- RQ5How does a modular design enable plug-and-play integration with alternative mapping or feature extraction components?
Key findings
- MegLoc achieved state-of-the-art performance on multiple benchmarks, including winning the Outdoor and Indoor Visual Localization Challenge at ICCV 2021.
- The use of semantic masking and image undistortion significantly improved keypoint reliability and matching accuracy, especially in dynamic or distorted scenes.
- The fusion of SuperPoint and ASLFeat yielded ~1500 keypoints per image, balancing coverage and discriminative power across diverse environments.
- NetVLAD-based global feature extraction enabled robust image retrieval even under severe illumination and seasonal changes, outperforming traditional BoW and SIFT-based methods.
- Perceptual similarity-based reranking improved localization accuracy in indoor scenes by selecting the most structurally similar candidate views, overcoming limitations of global descriptor similarity.
- ICP and differentiable rendering-based pose refinement reduced pose errors significantly, with rendering-based optimization showing strong performance on photometric consistency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.