Scene-agnostic Pose Regression for Visual Localization

Junwei Zheng, Ruiping Liu, Yufan Chen, Zhenfang Chen, Kailun Yang +2 more
2/10/2026

No official code found. Best implementation: JunweiZheng93/SPR (34 stars, Apache-2.0, last commit 2025-03-26).

Abstract

Absolute Pose Regression (APR) predicts 6D camera poses but lacks the adaptability to unknown environments without retraining, while Relative Pose Regression (RPR) generalizes better yet requires a large image retrieval database. Visual Odometry (VO) generalizes well in unseen environments but suffers from accumulated error in open trajectories. To address this dilemma, we introduce a new task, Scene-agnostic Pose Regression (SPR), which can achieve accurate pose regression in a flexible way while eliminating the need for retraining or databases. To benchmark SPR, we created a large-scale dataset, 360SPR, with over 200K photorealistic panoramas, 3.6M pinhole images and camera poses in 270 scenes at three different sensor heights. Furthermore, a SPR-Mamba model is initially proposed to address SPR in a dual-branch manner. Extensive experiments and studies demonstrate the effectiveness of our SPR paradigm, dataset, and model. In the unknown scenes of both 360SPR and 360Loc datasets, our method consistently outperforms APR, RPR and VO. The dataset and code are available at SPR.

View on arXivView PDF

Code Implementations(1)

JunweiZheng93/SPRCommunity73%
Apache-2.0

Official repository for paper "Scene-agnostic Pose Regression for Visual Localization" (SPR), CVPR 2025

341Mar 26, 20251 years agoApache-2.0
aprpanoramaspose-estimationrprvisual-localization+1 more

Similar Papers

Cite this paper

@article{zheng2026sceneagnostic,
  title  = {Scene-agnostic Pose Regression for Visual Localization},
  author = {Junwei Zheng and Ruiping Liu and Yufan Chen and Zhenfang Chen and Kailun Yang and Jiaming Zhang and Rainer Stiefelhagen},
  year   = {2026},
  eprint = {2503.19543},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.19543},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.19543.svg)](https://codeofpaper.com/paper/2503.19543)

Discussion