Papers › Learning Multi-Scene Absolute Pose Regression with Transformers

Learning Multi-Scene Absolute Pose Regression with Transformers

21 Mar 2021ICCV 2021 10arXiv:2103.11468archive 2025-07-28

Yoli Shavit, Ron Ferens, Yosi Keller

Absolute camera pose regressors estimate the position and orientation of a camera from the captured image alone. Typically, a convolutional backbone with a multi-layer perceptron head is trained with images and pose labels to embed a single reference scene at a time. Recently, this scheme was extended for learning multiple scenes by replacing the MLP head with a set of fully connected layers. In this work, we propose to learn multi-scene absolute camera pose regression with Transformers, where encoders are used to aggregate activation maps with self-attention and decoders transform latent features and scenes encoding into candidate pose predictions. This mechanism allows our model to focus on general features that are informative for localization while embedding multiple scenes in parallel. We evaluate our method on commonly benchmarked indoor and outdoor datasets and show that it surpasses both multi-scene and state-of-the-art single-scene absolute pose regressors. We make our code publicly available from https://github.com/yolish/multi-scene-pose-transformer.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.11468")

Code

Syntology Ran 10 of 20 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 7 ran with no contract checked.

By repository: community (archive-listed): 20 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yolish/multi-scene-pose-transformer officialmentioned in papermentioned on GitHubpytorch report
yolish/c2f-ms-transformer mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 10 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
7ran
10unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yolish/c2f-ms-transformer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BackboneBase yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 9132cb84fe26eeb2 · report
Joiner yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · d90d9b6ac05da538 · report
PoseRegressor yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 8fa6bbba2cc99b89 · report
PositionEmbeddingLearnedWithPoseToken yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran no licence file found · pointer only · aa38b878812ed339 · report
TransformerDecoder yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 51673b3543f0e5e1 · report
TransformerEncoder yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran no licence file found · pointer only · e0f42697accfe894 · report
TransformerEncoderLayer yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran no licence file found · pointer only · e3af5e4f895771eb · report
_get_clones yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · e63e66b61302a7a2 · report
build_position_encoding yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 9cbd4a5c6cc2d670 · report
nested_tensor_from_tensor_list yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · a78bbd4466ce14cd · report
Backbone yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 9428d87fe616c718 · report
C2FEMSTransPoseNet yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 33bd4822f730cbb3 · report
EMSTransPoseNet yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · b05795a6da096ff6 · report
MSTransPoseNet yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 4dc4bf9d29572c54 · report
PositionEmbeddingLearned yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · ba0bba9a80d91145 · report
Transformer yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 43b8e0270ce8ecc9 · report
TransformerDecoderLayer yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 99ef5988497ebff4 · report
_onnx_nested_tensor_from_tensor_list yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 2c9ff7cc9c4634f9 · report
add_residuals yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · cee96f998945aa8b · report
build_backbone yolish/c2f-ms-transformer/models/transposenet/C2FEMSTransPoseNet.py community (archive-listed) unverified no licence file found · pointer only · 238b8ce452598dbe · report

Tasks

Visual Localizationregression

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Visual Localization Oxford Radar RobotCar (Full-6) MS-Transformer Mean Translation Error 11.69 #9 of 16 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections