Papers › SC-wLS: Towards Interpretable Feed-forward Camera Re-localization

SC-wLS: Towards Interpretable Feed-forward Camera Re-localization

23 Oct 2022arXiv:2210.12748archive 2025-07-28

Xin Wu, Hao Zhao, Shunkai Li, Yingdian Cao, Hongbin Zha

Visual re-localization aims to recover camera poses in a known environment, which is vital for applications like robotics or augmented reality. Feed-forward absolute camera pose regression methods directly output poses by a network, but suffer from low accuracy. Meanwhile, scene coordinate based methods are accurate, but need iterative RANSAC post-processing, which brings challenges to efficient end-to-end training and inference. In order to have the best of both worlds, we propose a feed-forward method termed SC-wLS that exploits all scene coordinate estimates for weighted least squares pose regression. This differentiable formulation exploits a weight network imposed on 2D-3D correspondences, and requires pose supervision only. Qualitative results demonstrate the interpretability of learned weights. Evaluations on 7Scenes and Cambridge datasets show significantly promoted performance when compared with former feed-forward counterparts. Moreover, our SC-wLS method enables a new capability: self-supervised test-time adaptation on the weight network. Codes and models are publicly available.

PaperPDFCodeCode 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="2210.12748")

Code

Syntology Ran 18 of 22 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 4 ran · fixture could not drive it; 13 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 17 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xinwu98/sc-wls officialmentioned in paperpytorch 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

22 samples harvested; 18 ran; 0 honoured the contract we drafted; 4 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.

1ran · our draft was wrong
4ran · fixture could not drive it
13ran
4unverified

Licence: 1 of the 22 samples is 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 xinwu98/sc-wls. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

AttentionalGNN_layer xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ba2eebe183539fd3 · report
AttentionalPropagation xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 0034df3be30ee87d · report
ESAC_DROID_Net xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran MIT (permissive) · e01275894f89669e · report
ESAC_SCNet xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran fingerprinted MIT (permissive) · 90820503e12779e4 · report
EigFreeLoss xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran MIT (permissive) · bd5fff66cf9cdbb2 · report
MLP xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · fixture could not drive it MIT (permissive) · 928f0db3e1d697de · report
MultiHeadedAttention xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 6a1d48100708dee9 · report
OAFilter_GNN xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 0ce19bf4941b5324 · report
PointCN xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 8cafbf37beee7048 · report
batched_pi_inv xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · fc3a1bd63762970c · report
batched_transpose xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 45c5974d8eff4f99 · report
diff_pool xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic MIT (permissive) · d176f7db8f8575cd · report
diff_unpool xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 226db41e21219b27 · report
reproj_label_norm xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · fixture could not drive it MIT (permissive) · e79dea9c10047201 · report
squeeze xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 91578de2d449c2c1 · report
trans xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · a480f6c63dfab335 · report
unsqueeze xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 22a1b6d839018e4b · report
DLT_postprocess xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository unverified MIT (permissive) · 19316b649c693b4c · report
DenseSC_GNN xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository unverified MIT (permissive) · 5c92b498d064e647 · report
OAGNN xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository unverified MIT (permissive) · cf1877380ef3d1b0 · report
OANBlock_GNN xinwu98/sc-wls/models/Dense_networks_e2e_GNN.py official repository unverified MIT (permissive) · caaad9966ff78006 · report
attention identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 70702edb93d9116a · report

Tasks

Test-time Adaptationregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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