Next Article in Journal
Tabular Data Distillation: An Extensive Comparison
Previous Article in Journal
Advancing Breast Cancer Lesion Analysis in Real-Time Sonography Through Multi-Layer Transfer Learning and Adaptive Tracking
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Debiased Multiplex Tokenization Using Mamba-Based Pointers for Efficient and Versatile Map-Free Visual Relocalization †

1
State Key Laboratory of General Artificial Intelligence, Shenzhen Graduate School, Peking University, Shenzhen 518055, China
2
Pengcheng Laboratory, Shenzhen 518055, China
3
Department of Electrical and Electronic Engineering, Southern University of Science and Technology, Shenzhen 518055, China
*
Authors to whom correspondence should be addressed.
This paper is an extended version of our paper published in AAAI 2026.
Mach. Learn. Knowl. Extr. 2026, 8(3), 83; https://doi.org/10.3390/make8030083
Submission received: 8 February 2026 / Revised: 8 March 2026 / Accepted: 11 March 2026 / Published: 23 March 2026

Abstract

Visual localization plays a critical role for mobile robots to estimate their position and orientation in GPS-denied environments. However, its efficiency, robustness, and generalization are fundamentally undermined by severe viewpoint changes and dramatic appearance variations, which present persistent challenges for image-based feature representation and pose estimation under real-world conditions. Recently, map-free visual relocalization (MFVR) has emerged as a promising paradigm for lightweight deployment and privacy isolation on edge devices, while how to learn compact and invariant image tokens without relying on structural 3D maps still remains a core problem, particularly in highly dynamic or long-term scenarios. In this paper, we propose the Debiased Multiplex Tokenizer as a novel method (termed as DMT-Loc) for efficient and versatile MFVR to address these issues. Specifically, DMT-Loc is built upon a pretrained vision Mamba encoder and integrates three key modules for relative pose regression: First, Multiplex Interactive Tokenization yields robust image tokens with non-local affinities and cross-domain descriptions. Second, Debiased Anchor Registration facilitates anchor token matching through proximity graph retrieval and autoregressive pointer attribution. Third, Geometry-Informed Pose Regression empowers multi-layer perceptrons with a symmetric swap gating mechanism operating inside each decoupled regression head to support accurate and flexible pose prediction in both pair-wise and multi-view modes. Extensive evaluations across seven public datasets demonstrate that DMT-Loc substantially outperforms existing baselines and ablation variants in diverse indoor and outdoor environments.

Graphical Abstract

1. Introduction

As a cornerstone of intelligent perception, visual localization (VL) aims to precisely determine the six-degree-of-freedom (6DoF) pose of a mobile robot by referencing geotagged imagery or preconstructed maps [1]. Despite its growing applications in smart homes and cities, VL encounters persistent real-world challenges, such as viewpoint ambiguity, motion blur, illumination shifts, appearance variations, dynamic occlusions (e.g., pedestrians or vehicles), and their complex combinations.
The standard VL pipeline comprises feature extraction, matching, and pose estimation [2]. As illustrated in Figure 1, map-based methods represented by absolute pose estimation (APE) incur high computational overhead during 2D–3D registration. Conversely, map-free visual relocalization (MFVR) approaches including relative pose estimation (RPE) and visual place recognition (VPR) prioritize lightweight computation and scene generalization. Throughout the past decade, the rich color, geometric, and semantic information inherent in RGB images has been a major driver for deep learning research in visual modeling. However, convolutional neural networks (CNNs) remain limited by their inherent receptive fields, and vision Transformers (ViTs) leverage self-attention and cross-attention to capture global context with parallel computation. Vision Mambas (ViMs) further employ state space models (SSMs) for dynamic feature filtering in linear time complexity [3]. Nonetheless, these advanced encoders can introduce inherent biases into feature representations.
To mitigate this issue, an effective tokenizer is essential for distilling invariant scene features into robust image tokens. This tokenization strategy integrates image retrieval and pose estimation into a unified relative pose regression (RPR) pipeline. Typical feature extraction techniques broadly fall into two categories: global descriptors encode entire images into comparable vectors but often neglect salient structural details, while local detectors extract fragmented patterns from distinctive pixels or patches at the cost of enumeration. Therefore, more discriminative descriptors are expected to fuse their complementary strengths explicitly or implicitly.
It is also noteworthy that a domain gap persists between VPR’s discrete outputs and RPR’s continuous embeddings despite their shared reliance on image retrieval [4]. This discrepancy manifests as an out-of-distribution generalization problem between camera extrinsics, where causal attention offers a pathway to remove confounders in image tokenization [5]. The term “causal” aspect here refers to autoregressive constraints commonly used in sequence modeling (e.g., masked self-attention), rather than to statistical causal inference frameworks [6]. Incidentally, since the regressive pipeline struggles to synthesize novel viewpoints, standard multi-layer perceptrons (MLPs) lack adaptive weight modulation and geometric smoothness constraints despite their current prevalence in pose regression.
In this paper, we propose a novel causal multiplex tokenizer named DMT-Loc as an efficient MFVR framework for robust sensing and fast computing. As depicted in Figure 2, DMT-Loc integrates three core modules: (1) Multiplex Interactive Tokenization (MxIT) enhances sparse voxel affinities in ViM-derived feature maps via refined non-local self-attention [7], synergistically addressing spatial sparsity, frequency consistency, and channel redundancy through its branch interventions for emergent robustness in feature aggregation; (2) Debiased Anchor Registration (DAR) employs hierarchical navigable small world (HNSW) graphs [8] for incremental retrieval of proximate tokens, and then creates a specific Causal Mamba Pointer (CMP) for their autoregressive attribution, ensuring the structural consistency with a visual backbone; (3) Geometry-Informed Pose Regression (GIPR) introduces a novel symmetric swap gated (SSG) MLP, which employs routing-based learning for intra-head self-sufficient feature interactions to regress 6DoF poses from single or multiple frames, demonstrating superior convergence and generalization capabilities in supervised learning.
Fundamentally, DMT-Loc establishes a self-attentive mapping from image homography to feature proximity and a causal reasoning to pose correlation. It not only imposes frequency calibration into feature description to overcome potential interferences from motion blur or illumination changes, but also achieves linear time complexity via the coupled Mamba codec and HNSW search. Compared with a series of mainstream methods, DMT-Loc shows superiority in feature fidelity, localization accuracy, inference speed, and scene adaptability on diverse datasets, exemplified by indoor 7Scenes [9] and outdoor Cambridge Landmarks [10] datasets. In particular, all angular values are unified into unit quaternions to prevent the gimbal lock problem [11].
The main contributions of this work can be summarized as follows:
  • The Debiased Multiplex Tokenizer is proposed for high-fidelity image tokenization to eliminate the mapping burden on mobile robots, leveraging multiplex interactive learning on preliminary feature maps along voxel, spatial, frequency, and channel dimensions via an enhanced non-local self-attention mechanism.
  • Both tailored for token-pose debiasing that targets feature-level invariance to domain shifts, CMP efficiently scores multi-view correspondences for anchor emergence with uniform linear time complexity, while SSG-MLPs ensure decoupled and scalable pose regression aligned with geometric consistency constraints and S E ( 3 ) robot kinematics.
  • Comprehensive experiments on various scenes of eight VL datasets confirm the efficacy of our proposed method in both indoor and outdoor environments, especially under challenging circumstances of severe viewpoint and illumination changes.

2. Related Work

2.1. Visual Place Recognition

VPR is typically formulated as an image retrieval (IR) problem governed by similarity thresholds. NetVLAD [12] integrates a CNN with the vector of local aggregated descriptors (VLAD) [13], establishing a pioneering approach for global feature aggregation. DOLG [14] employs orthogonal projection to decompose local descriptors and explicitly concatenates them with global features. Patch-NetVLAD [15] and TransVPR [16] leverage ViTs to construct feature pyramids for patch-level fusion. To mitigate redundancy in explicit methods, implicit techniques have gained traction. CosPlace [17] adopts generalized mean pooling (GeM) for domain adaptation, while MixVPR [18] enhances context mining through MLP-based mixer blocks. Recent approaches such as SALAD [19], SelaVPR [20], and EffoVPR [21] further fine-tune the pre-trained DINOv2 [22] features using joint adaptation of global and local features, enabling more effective assignment of static landmarks.

2.2. Absolute Pose Estimation

APE aims to establish precise stereo correspondences through map structures or neural encodings. Structure-based pipelines (SbP) [23,24] iteratively resolve 2D-3D matches, albeit with high computational overhead. Deep learning has advanced scene coordinate regression (SCR) and absolute pose regression (APR), represented by the DSAC family [25] and PoseNet family [10], respectively. However, their effectiveness in dynamic environments is limited by mapping costs and the requirement for accurate pose regression [26]. SACNet [27], LENS [28], and Marepo [29] focus on feature compression, synthetic dataset generation, and scene generalization, respectively.

2.3. Relative Pose Estimation

RPE recovers the 6DoF pose of a query image from similar reference images, offering greater flexibility and generalizability. Unlike conventional hierarchical models [30] that heuristically solve the essential matrix, Relative Pose Regression (RPR) directly predicts pose errors between image pairs in a data-driven manner. AnchorNet [31] extends PoseNet using anchor frame clusters. NN-Net [32] examines pairwise differences via Siamese networks, while ReLocNet [33] and EssNet [34] enhance its accuracy through continual learning and geometric constraints, respectively. RelFormer [35] employs a dual-branch Transformer to address scene generalization challenges. RelPoseGNN [36] exploits multi-frame collaboration using graph neural networks (GNNs). ReLoc3r [37] builds upon the popular scene reconstructor DUSt3R [38] to incorporate multi-view geometric constraints, achieving state-of-the-art (SoTA) RPR performance on the standard datasets; however, it adapts poorly to real-world challenging environments.

3. Methodology

The overview of DMT-Loc framework is illustrated in Figure 3.

3.1. Feature Map Encoding

Given a scene image I R h × w × 3 , a pretrained ViM model f vim ( · ) is adopted to extract preliminary feature map X R H × W × C as X = f vim ( I ) , where H, W, and C denote height, width, and channel dimensions, respectively.
Leveraging SSMs, ViM efficiently coordinates global receptive fields with linear computational complexity. A structural comparison among CNN, ViT, and ViM is provided in Figure 4.

3.2. Multiplex Interactive Tokenization

MxIT aggregates X into a unique token v R C through two complements: Sparse Kernel Self-Attention (SKSA) and Triplet Cross-Domain Aggregation (TCDA).

3.2.1. Sparse Kernel Self-Attention

SKSA extends vanilla self-attention via Gaussian kernels and sparse responses, incorporating a voxel-wise residual for feature enhancement.
Gaussian Kernels: To capture invariant non-local dependencies, the dot-product attention is replaced with Gaussian kernels based on exponential Euclidean distance, which is computed with affinity kernels θ ( · ) and ϕ ( · ) as
f gk ( X ) = exp ( γ | | W θ X W ϕ X | | 2 ) ,
where W θ and W ϕ are their learnable projection matrices, and γ > 0 is a scaling factor.
Sparse Response: To encourage the module to focus on more compact and informative features, sparsemax [39] activation is adopted to assign sparse voxel probabilities (vs. softmax) and yield zero probability for less relevant features, thereby reducing the influence of noisy affinities and leading to the SKSA response Y R H W × C as
Y = max { 0 , f gk ( X ) ψ [ f gk ( X ) J C , 1 ] } g ( X ) ,
where ψ ( · ) denotes a cutoff threshold, and g ( · ) is a positional embedding function. J i , j = 1 i × j hereinafter is an all-one matrix.
At this end, Y is further raised to X ’s original size via inverse function h ( · ) = g 1 ( · ) , and the residual is added to obtain an invariant feature map Z R H × W × C :
Z = X + Y W h .

3.2.2. Triplet Cross-Domain Aggregation

TCDA processes Z through spatial, frequency, and channel branches to generate the final token v .
Spatial Branch: The spatial response S R H × W is derived by channel summation as S = Z J C , 1 , and scaled to canonical form S R H × W as
S = [ S ( J W , H S α ) 1 α ] 1 β ,
where α and β are scaling factors.
Frequency Branch: Considering motion blur and light shifts, the potential noise is corrected by an adaptive frequency convolution:
Z = R ( F 2 1 ( W ρ R ( F 2 ( Z ) ) , I ( F 2 ( Z ) ) ) ) + Z ,
where ∗ refers to 2D convolution; F 2 ( · ) denotes 2D fast Fourier transform [40] and F 2 1 ( · ) denotes its inverse; R ( · ) and I ( · ) extract the real and imaginary components, respectively; W ρ is the weight matrix of 1 × 1 grouped convolution.
Interim weighted pooling is then performed to yield the spatial-frequency token ζ R C , defined as ζ = J W , H S Z .
Channel Branch: The channel response Ω R C quantifies positive spatial activations:
Ω = 1 H W J W , H I ( Z > 0 ) ,
where I ( · ) is an indicator function.
For channel normalization, Ω is logarithmically adjusted to ω R C with a stability constant ϵ :
ω = log ( C ϵ + Ω J C , 1 ϵ + Ω ) .
Thus, the final token v of I is obtained by v = ζ ω , where ⊙ denotes the Hadamard product. Specifically, reference tokens are referred to as u for clarity.

3.3. Debiased Anchor Registration

DAR estimates relative pose differences between image pairs and refines their misalignments to ensure geometric consistency. This two-stage process comprises Proximity Graph Retrieval and Autoregressive Anchor Attribution.
Proximity Graph Retrieval: Given a query token v q and a reference database G = { u 1 , , u m } organized as proximity graphs [8], the HNSW algorithm f hnsw ( · , · ) is performed to retrieve the top-k candidate tokens incrementally:
G = f hnsw ( G , v q ) = ( u 1 , , u i , , u k ) ,
where i denotes the index of i-th proximate token.
This search initiates at a random entry point in the top layer of HNSW graphs and iteratively traverses to its neighbors with the smallest cosine distance to v q , descending through denser layers until k nearest neighbors in the bottom layer are identified.
Autoregressive Anchor Attribution: A causal attention mechanism is adopted to impose consistency and autoregressive constraints on Mamba decoding, so as to suppress confounding matches and distill geometrically consistent anchors.
To filter out mismatched correspondences, a τ -layer CMP f cmp τ ( · , · ) refines the candidate set G into a reliable anchor set G :
G = f cmp τ ( G , v q ) = ( u 1 , , u i , , u k ) ,
where i denotes the index of the i-th autoregressively refined anchor token.
CMP also outputs the normalized confidence scores η ( 0 , 1 ) k for G , derived from its final hidden state after autoregressive processing.
Algorithm 1 provides the pseudocode for CMP. The self-SSM ensures its linear computational complexity, while the integrated causal masking mechanism overcomes the limited autoregressive capability of the original Mamba.
Algorithm 1 Pseudocode for Causal Mamba Pointer (CMP)
Require: Input batch proximate tokens u i R B × k × C , batch query tokens v q R B × 1 × C
Ensure: Output batch anchor tokens u i R B × k × C , batch confidence scores η ( 0 , 1 ) B × k
1: x u i
2:for layer l = 1 τ  do
3:      // Self-SSM block:
4:       h LayerNorm 1 ( x )
5:       h Mamba ( h )    {State-space model}
6:       x self x + Dropout 1 ( h )
7:      // Cross-attention:
8:      if  v q None  then
9:     h LayerNorm 2 ( x self )
10:     m upper _ tri ( , diagonal = 1 )    {Causal mask}
11:     h MultiHeadAttn ( h , v q , v q , m )    {Autoregressive refinement}
12:     x cross x self + Dropout 2 ( h )
13:      end if
14:      // Feed-forward network:
15:       h LayerNorm 3 ( x cross )
16:       h FFN ( h )    {Linear → Activation → Linear}
17:       x x cross + Dropout 3 ( h )
18:      // Last layer:
19:      if layer l = = τ  then
20:     η softmax ( Linear C 1 ( x ) )    {Confidence scores}
21:      end if
22:end for
23: u i LayerNorm 4 ( x )
24:return  u i , η

3.4. Geometry-Informed Pose Regression

Given an anchor token u r , GIPR employs decoupled 2-layer SSG-MLPs to regress the relative pose difference Δ p = [ Δ t R 3 , Δ q R 4 ] . As detailed in Algorithm 2, each regression head performs an inner SSG operation on u r , which is first split into gate and value partitions, then modulated bidirectionally, fused via learnable routing weights, and finally projected to the output.
Therefore, the predicted absolute pose p ^ q ( r ) = [ t ^ q ( r ) , q ^ q ( r ) ] of the query image I q can be computed using the known pose p r = [ t r , q r ] of u r as
t ^ q ( r ) = t r + Δ t , q ^ q ( r ) = q r Δ q ,
where ⊗ denotes quaternion multiplication.
Algorithm 2 Pseudocode for symmetric swap gated multi-layer perceptrons (SSG-MLPs)
Require: Input anchor token u r R C
Ensure: Output relative pose difference Δ p R 7 (3 translation + 4 quaternion)
1:// SSG-MLP 1 for translation regression:
2: g t , v t Split ( Linear C 2 h ( u r ) )    {Split into gate and value partitions}
3: p t 1 SiLU ( g t ) v t    {Gate to value modulation}
4: p t 2 SiLU ( v t ) g t    {Symmetric swap}
5: w t softmax ( Θ t )    {Learnable routing weights}
6: z t w t 1 p t 1 + w t 2 p t 2
7: Δ t Linear h 3 ( z t )
8:// SSG-MLP 2 for rotation regression:
9: g q , v q Split ( Linear C 2 h ( u r ) )    {Split into gate and value partitions}
10: p q 1 SiLU ( g q ) v q    {Gate to value modulation}
11: p q 2 SiLU ( v q ) g q    {Symmetric swap}
12: w q softmax ( Θ q )    {Learnable routing weights}
13: z q w q 1 p q 1 + w q 2 p q 2
14: Δ q Linear h 4 ( z q )
15:// Concatenate outputs for 6DoF pose:
16: Δ p [ Δ t , Δ q ]
17:return  Δ p

3.5. Loss and Inference

3.5.1. Training Loss

The RPR loss L rpr is defined as the L 1 norm of pose differences:
L rpr = | | t q t ^ q | | 1 + | | 2 arccos | q q , q ^ q | | | 1 .
where · , · denotes the dot product between quaternions, and arccos ( · ) returns the angle in radians.
Overall, the total loss L total is a weighted sum of three terms:
L total = L rpr + λ L hnsw + μ L cmp ,
where λ , μ > 0 are balance coefficients, and L hnsw , L cmp are the negative log-likelihood (NLL) losses that encourage the true reference tokens for v q to be ranked at the top positions of G and G , respectively.

3.5.2. Online Inference

DMT-Loc supports for two RPR modes of online MFVR inference: pair-wise calibration and multi-view association.
Pair-wise Mode: Only the top-ranked anchor u 1 is selected from G , so the absolute pose error is computed as
E p w ( v q , u 1 ) = ( | | t t ^ | | 2 , 2 arccos | q q ^ | 180 π ) .
Multi-view Mode: Leveraging the confidence scores η ( 0 , 1 ) k produced by CMP, the final pose error is obtained as a weighted average over the top-k anchors:
E m v k ( v q , G ) = i = 1 k η i E p w ( v q , u i ) .

4. Experiments

4.1. Datasets

To validate the effectiveness of the proposed DMT-Loc framework and its components, we conduct comprehensive experiments on a variety of public benchmark datasets, including four APE/RPE datasets (i.e., 7Scenes [9], Cambridge Landmarks [10], InLoc [41], and Aachen Day-Night v1.1 [42]) and three VPR datasets (i.e., Pittsburgh-250k [12], MSLS [43], and Nordland [44]). As detailed in Table 1, APE/RPE datasets encompass both indoor and outdoor environments and vary significantly in scale and conditions, while VPR datasets are mainly captured from large-scale streetscapes. All datasets are publicly available to ensure experimental reproducibility.

4.2. Evaluation Metrics

APE/RPE performance is assessed by absolute pose errors E p w or E m v . To facilitate an intuitive evaluation, we also report their medians, averages, standard deviations, and accuracies under specific thresholds. VPR performance is quantified by Recall@1/5/10, calculated as the ratio of correct matches among the top-ranked reference images.

4.3. Implementation Details

4.3.1. Models

MambaVision-L [45] pretrained on the ImageNet21K dataset [46] is chosen as the visual encoder with fixed feature channel dimension C = 1536 , removing its final average pooling and fully connected layers to extract preliminary feature maps for scene images.

4.3.2. Hyperparameters

For MxIT, θ ( · ) and ϕ ( · ) in Equation (1) are implemented by 1 × 1 radial basis function (RBF) convolution [47], while g ( · ) is implemented by 1 × 1 bottleneck convolution. α and β in Equation (4) are set to 0.5 and 2, respectively. ϵ in Equation (7) is set to 1 × 10 4 . For DAR, HNSW’s k is set to 10, and CMP’s τ is 6. For GIPR, SSG-MLP’s hidden channel is set to 1024. In addition, the loss balance coefficients λ and μ in Equation (12) are both set to 1.
The framework is optimized using adaptive moment estimation (Adam) with initial learning rate of 0.01 , momentum of 0.9 , weight decay of 0.0001 , and mini-batch size of 16. Training is conducted for 30 epochs on indoor datasets and 200 epochs on outdoor datasets.

4.3.3. Platform

All experiments are performed on an Ubuntu 20.04 system equipped with an NVIDIA GeForce RTX 3090 GPU and an Intel(R) Core i5-13400F CPU, running PyTorch 1.11.0 with Python 3.8 and CUDA 12.1.

4.4. Quantitative Comparisons

4.4.1. RPR Performance on Benchmark Datasets

Table 2 presents a comprehensive evaluation of DMT-Loc on RPR performance, alongside representative VL methods on the 7Scenes and Cambridge Landmarks datasets. For pairwise calibration, DMT-Loc achieves SoTA results among pair-wise RPR methods, with average errors of 7.3 cm and 3.25° for indoor scenes and 15.5 cm and 1.02° for outdoor scenes. These results underscore DMT-Loc’s significant potential for MFVR. Additionally, the integration of CMP enables multi-frame weighted fusion, achieving centimeter-level precision. Compared to competitive map-based methods such as DeViLoc, SACNet, and Marepo, DMT-Loc demonstrates superior flexibility and responsiveness. Notably, translation errors are consistently smaller in indoor environments than in outdoor settings, while rotation errors exhibit the opposite trend, aligning with physical expectations. Smaller spaces and fewer images facilitate higher accuracy after equivalent training epochs, as evidenced by Heads and Church scenes.

4.4.2. MFVR Performance on Challenging Datasets

Several competitive methods are further evaluated on more challenging datasets to assess their MFVR benefits, as detailed in Table 3. On the difficult indoor InLoc dataset, DMT-Loc attains accuracies of 64.9%/84.8%/91.3% on DUC1 and 75.6%/88.3%/92.8% on DUC2 under the (0.25/0.5/1.0 m, 10°) threshold, surpassing SoTA performance among all competitive methods. For challenging outdoor VL, map-based methods such as HLoc and DeViLoc achieve excellent accuracy on the Aachenv1.1 dataset. However, DMT-Loc still delivers highly competitive performance in both daytime and nighttime conditions with significantly lower computational overhead. Specifically, it reduces storage requirements by two orders of magnitude (0.2 GB vs. 15.9 GB for DeViLoc) and cuts training time to under 2.5 h compared to over 99 h for most map-based competitors. These results highlight DMT-Loc’s effectiveness and universality in complex workspaces.

4.4.3. VPR Performance

As listed in Table 4, DMT-Loc is further compared across a series of VPR benchmarks, which consistently outperforms existing approaches on both large-scale urban datasets (Pitts250k-test, MSLS-val) and challenging diurnal or seasonal environments (MSLS-challenge, Nordland-test). These results confirm that the image tokenization scheme provides a more discriminative and generalizable representation than global–local fusion techniques commonly used in VPR.

4.5. Qualitative Visualization

4.5.1. Instances of Visual Localization

Figure 5 illustrates the visualization results of DMT-Loc across five query images, representing VL challenges such as viewpoint ambiguity, motion blur, illumination shifts, and dynamic occlusions, respectively. DMT-Loc exhibits exceptional robustness across these diverse scenarios. Comparing columns (b) and (c), feature maps emphasize geometric details such as corners and edges, while heatmaps highlight semantic cues from discriminative landmarks (e.g., indoor signs and outdoor buildings), effectively avoiding distractions like closets or pedestrians that could cause mismatches. Comparing columns (d) and (e), the CMP demonstrates its efficacy in optimizing the selection of correct reference frames, particularly for orientation correction. Finally, we reconstruct a 3D grid space of each scene to calibrate these camera frustums and visualize their pose errors as shown in column (g).
In addition, Figure 6 compares the top-1 retrieval results for challenging queries with severe appearance variations. DMT-Loc correctly retrieves the corresponding reference images under both day–night (MSLS-challenge) and winter–fall (Nordland-test) transformations, while SelaVPR and NetVLAD fail in both scenarios. This demonstrates DMT-Loc’s superior robustness to illumination and seasonal changes, challenges where existing global description and transformer-based methods often fail.

4.5.2. Statistics of Image Tokenization

The storage efficiency of DMT-Loc is analyzed with a fixed feature dimension of 1536. As shown in Figure 7, the image tokenization scheme achieves significant compression ratios across eight VL datasets. For instance, the 7Scenes dataset (23.6 GB) is compressed to 287.4 MB of tokens and 163.6 MB of HNSW graphs, while the Cambridge Landmarks dataset (38.5 GB) is reduced to 88.2 MB of tokens and 52.7 MB of HNSW graphs. Similar compression rates are observed for other datasets, demonstrating that DMT-Loc enables lightweight deployment for MFVR while preserving essential geometric information.

4.5.3. Calibrations of Camera Frustums

Based on dense voxel reconstruction of each scene of 7Scenes dataset, we calibrate the corresponding camera poses within the reconstructed map as shown in Figure 8. This joint visualization not only illustrates the accuracy of pose estimation but also provides an intuitive assessment of geometric consistency across the entire test sequence, thereby supporting the robustness of DMT-Loc for MFVR.

5. Discussions

5.1. Efficiency Analysis

5.1.1. Efficiency of Image Retrieval

To evaluate the efficiency of DMT-Loc for fast and incremental IR, HNSW is compared against brute-force k-nearest neighbor (kNN) and other two popular approximate nearest neighbor algorithms, i.e., k-dimension tree (K-D Tree) [60] and locality-sensitive hashing (LSH) [61]. As shown in Figure 9, the recall–latency curves on the MSLS-challenge dataset demonstrate the superior performance of HNSW search. At 5000 queries, HNSW achieves a 520× speedup over brute-force kNN (0.43 s vs. 275.43 s) while maintaining a high recall of 0.91, compared to 0.93 for kNN. In contrast, K-D Tree and LSH are significantly faster than kNN ( 62 × and 237 × , respectively) but suffer from lower recall rates (0.80 and 0.72). These results highlight HNSW’s optimal balance between speed and accuracy for large-scale IR, making it well-suited for real-time VPR tasks.

5.1.2. Efficiency of Visual Encoders

Figure 10 visualizes attention heatmaps of VGG16, DINOv2, and our ViM encoder for indoor and outdoor scenes. ViM focuses on distinctive objects (e.g., telephones, billboards) while ignoring repetitive patterns (e.g., sculpture heads) and textureless regions (e.g., building walls). In contrast, VGG16 and DINOv2 attend to less informative areas. This explains the superior performance of DMT-Loc (using ViM) as listed in Table 2 and Table 4.

5.2. Generality Analysis

5.2.1. Descriptor Transfer

To investigate the transferability of VPR descriptors to the RPR task, a set of VPR descriptors are integrated with the GIPR module to evaluate their 6DoF poses. As shown in Table 5, the prominent advantage of DMT-Loc is consistent across 7Scenes and Cambridge Landmarks datasets. Notably, global descriptors from retrieval-oriented models such as NetVLAD or MixVPR exhibit a clear geometric inconsistency when applied to continuous pose regression, whereas the MxIT module of DMT-Loc preserves structural cues with feature reusing that are essential for both VPR and RPR. In addition, it is proven that the DAR module could provide more geometrically informative and transferable reference tokens for efficient MFVR.

5.2.2. Scene Generalization

Furthermore, the generalization capability of DMT-Loc is evaluated under a leave-one-scene-out training protocol. As shown in Table 6, DMT-Loc substantially outperforms all prior RPR baselines on both benchmark datasets under the more challenging scene-agnostic settings, where ReLoc3r is not included since it relies on DUSt3R’s inherent pre-training on large-scale multi-scene corpora. It is worth noting that the multi-view mode exhibits a slight performance degradation on unseen scenes compared to its pair-wise counterpart on the 7Scenes dataset, which can be attributed to the increased likelihood of false-positive matches when aggregating multiple anchors in an unfamiliar environment. Nevertheless, DMT-Loc-mv still achieves competitive performance (i.e., 0.59 m/0.72°) on Cambridge Landmarks dataset, underscoring the robustness of our design.

5.3. Ablation Study

5.3.1. Ablations on Model Components

Four key components (i.e., SKSA, TCDA, CMP, and SSG) are eliminated in turn to evaluate their contributions to the proposed method. As shown in Table 7, removing any component leads to noticeable performance degradation. The absence of CMP results in the largest error increase, particularly for orientation estimation (e.g., from 1.00° to 3.47° on Cambridge), highlighting its critical role in fusing complementary cues and reducing ambiguities between similar poses. Disabling SSG also leads to consistent performance drop (e.g., translation errors increase by ∼30% and rotation errors by ∼75% on 7Scenes), confirming its effectiveness in geometric feature interaction for pose regression. Removing SKSA or TCDA similarly raises translation and rotation errors, demonstrating that both the symmetric attention mechanism and token-level feature aggregation contribute to robust feature representation. The entire model, integrating all four components, consistently achieves the lowest errors across both indoor and outdoor datasets, showing their synergistic enhancement of relative pose estimation.

5.3.2. Ablations on Design Strategies

Table 8 validates the core design of DMT-Loc. Under the same ImageNet-21K pre-training, the ViM encoder outperforms CNN (VGG16, ResNet50) and ViT (DINOv2) backbones, confirming its superiority for feature extraction. The notably higher errors of DUSt3R underscore that geometric reconstruction priors alone are insufficient for robust feature aggregation. Within MxIT, the combined SKSA and TCDA design is proven to be essential; either ablating or replacing them with standard pooling (VLAD, GeM) significantly degrades performance. For DAR, HNSW offers an optimal efficiency–accuracy balance, while CMP emerges as crucial for robust matching compared to standard decoder alternatives. In GIPR, accurate pose estimation hinges on the SSG mechanism, with its symmetric swap and gating operations being more critical than specific activation function. Overall, these results demonstrate that each component uniquely contributes to DMT-Loc’s superior performance, with the full framework achieving the lowest errors and highest stability across both indoor and outdoor benchmarks.

5.3.3. Ablations on Key Hyperparameters

Figure 11 presents a systematic analysis of key hyperparameters in DMT-Loc. The results indicate that optimal performance is achieved with a feature dimension of 1536, 30 training epochs, 10 reference tokens for refinement, and a dual-path swap configuration. This combination effectively balances representational capacity, training efficiency, and geometric interaction. Notably, the SSG-MLP with two swap paths outperforms both single- and multi-path variants, enabling complementary feature reasoning without introducing redundancy or excessive computation. These well-tuned hyperparameters collectively contribute to DMT-Loc’s strong performance in terms of accuracy, speed, and generalization across diverse environments.
Table 9 further quantifies the sensitivity of several modular hyperparameters, reporting the maximum relative change in median pose error on the 7Scenes and Cambridge Landmarks datasets when varying each hyperparameter across its tested range while keeping others at default values. The results demonstrate consistently low sensitivity for each hyperparameter, while all of them are kept constant across datasets without per-dataset tuning, confirming that DMT-Loc’s performance stems from architectural design rather than overfitting. This aligns with its strong generalization in leave-one-scene-out evaluation.

5.4. Latency and Memory

Table 10 outlines the computational overheads of various RPE models processing a query image in 640 × 480 resolution. With superior indoor accuracy, DMT-Loc is 3.11 and 8.16 times faster than Map-free and ReLoc3r respectively in feature extraction. With the integration of SSG-MLPs for rapid convergence, DMT-Loc reduces pose regression time to just 6.09 ms. In contrast, ReLoc3r incurs a significant memory overhead exceeding 400 GB FLOPs due to implicit stereo computations, whereas DMT-Loc reduces this by 34.61%. These results confirm that DMT-Loc is more suitable for real-time robotic applications where both low latency and high precision are required.
To assess feasibility on edge deployment, we further estimate theoretical throughput on the NVIDIA Jetson AGX Orin. Based on its 275 TOPS INT8 and 204 GB/s bandwidth, DMT-Loc (274.5 GFLOPs) could achieve ∼15–20 FPS, which is sufficient for real-time robotics. Although SSM kernels are currently less mature than optimized CNNs, recent advances (e.g., official Mamba CUDA implementation) are rapidly bridging this gap.

6. Conclusions

This paper has presented DMT-Loc, a debiased multiplex tokenizer that reframes MFVR as a unified process of invariant feature aggregation and autoregressive anchor interaction. Beyond achieving SoTA accuracy and efficiency, our work establishes that explicit causal modeling of visual–geometric relationships is key to bridging discrete retrieval and continuous pose estimation. The synergistic integration of CMP and SSG-MLP offers a principled and validated MFVR framework.
Limitations: The proposed DMT-Loc highly depends on pre-trained 2D features in challenging conditions, while its causal modeling is applied solely during token matching. Despite demonstrating cross-scene generalization on held-out datasets, its zero-shot performance on radically heterogeneous domains remains to be validated. Extending causal reasoning throughout the feature encoding pipeline represents a significant avenue for improving robustness and interpretability.
Future work will focus on novel view synthesis for multi-view rendering to mitigate viewpoint redundancy and enhance model generalization. Moreover, it is also critical to validate DMT-Loc on physical edge devices (e.g., NVIDIA Jetson) and advance efficient SSM implementations for resource-constrained platforms, toward deploying robust spatial intelligence in real-world environments.

Author Contributions

Conceptualization, W.W. and H.L.; methodology, W.W. and H.L.; software, W.W. and D.C.; validation, W.W. and P.J.; formal analysis, W.W. and H.L.; investigation, W.W. and P.J.; resources, H.L., S.L. and R.D.; data curation, S.L. and R.D.; writing—original draft preparation, W.W.; writing—review and editing, W.W. and H.L.; visualization, W.W. and D.C.; supervision, H.L.; project administration, H.L. and R.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was jointly supported by grants from the National Key Research and Development Program of China (No. 2024YFB4709802), the National Natural Science Foundation of China (No. 62373009), the Guangdong S&T Program (No. 2024B0101050002), the Major Key Project of Pengcheng Laboratory (No. PCL2024A01), and the Mobile Information Networks-National Science and Technology Major Project (No. 2025ZD1302900).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data are contained within the article. Derived code supporting the findings is available on: https://github.com/wwsbot/DMT-Loc (accessed on 10 March 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MFVRMap-Free Visual Relocalization
APEAbsolute Pose Estimation
RPERelative Pose Estimation
VPRVisual Place Recognition
RPRRelative Pose Regression
MxITMultiplex Interacive Tokenization
SKSASparse Kernel Self-Attention
TCDATriplet Cross-Domain Aggregation
DARDebiased Anchor Registration
HNSWHierarchical Navigable Small World
CMPCausal Mamba Pointer
GIPRGeometry-Informed Pose Regression
SSG-MLPSymmetric Swap Gated Multi-Layer Perceptron

Appendix A. Encoder Structure and Versions

During the process of feature map encoding, MambaVision [45] is taken as the visual backbone to yield a preliminary feature map for each scene image. The pre-trained encoder is shown in Figure A1. It is a hybrid backbone that combines convolutional blocks with Mamba blocks effectively to perform local feature extraction and capture long-range spatial dependencies, respectively.
Figure A1. The pipeline of pre-trained visual backbone for DMT-Loc: MambaVision [45]. There are four stages with the first two convolution blocks and the last two Mamba blocks, while the needless average pooling layer and fully connected layer are omitted.
Figure A1. The pipeline of pre-trained visual backbone for DMT-Loc: MambaVision [45]. There are four stages with the first two convolution blocks and the last two Mamba blocks, while the needless average pooling layer and fully connected layer are omitted.
Make 08 00083 g0a1
Concretely, MambaVision comes in three versions as summarized in Table A1: tiny (MambaVison-T), base (MambaVison-B), and large (MambaVison-L). The large version achieves the best performance at the cost of greater overhead. To understand the impact of pre-training, MambaVision-L pre-trained on ImageNet-1K is also compared against the default 21K version, demonstrating that larger-scale pre-training unlocks additional potential of the Mamba architecture for visual representation.
Table A1. Model overheads and median errors of different versions for the pretrained MambaVision on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined.
Table A1. Model overheads and median errors of different versions for the pretrained MambaVision on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined.
ModelPretrainParams (MB) ↓FLOPs (GB) ↓7Scenes (cm/°) ↓Cambridge (cm/°) ↓
MambaVision-TImageNet-21K31.84.48.6/4.3116.9/1.57
MambaVision-BImageNet-21K97.715.07.9/3.8316.1/1.39
MambaVision-LImageNet-1K241.537.57.7/3.5815.8/1.26
MambaVision-LImageNet-21K241.537.57.4/3.2515.5/1.02

Appendix B. Token and Error Distributions

To analyze the discriminative power of the learned tokens, we visualize their distributions using t-SNE on the 7Scenes and Cambridge Landmarks datasets. As shown in Figure A2, tokens generated by DMT-Loc form more compact and well-separated clusters than those from NetVLAD, MixVPR, and SelaVPR. This clear structural separation indicates stronger discriminative power and aligns with DMT-Loc’s superior generalization performance in scene-agnostic evaluations (Section 5.2.1). The well-formed token distribution captures invariant scene characteristics with minimal inter-scene overlap, providing a robust foundation for both image retrieval and pose regression, and further supports the efficiency and versatility of DMT-Loc as demonstrated in the main experiments.
Figure A2. t-SNE visualizations of token distributions on (A) 7Scenes and (B) Cambridge Landmarks datasets, corresponding to: (a) NetVLAD; (b) MixVPR; (c) SelaVPR; and (d) our proposed DMT-Loc.
Figure A2. t-SNE visualizations of token distributions on (A) 7Scenes and (B) Cambridge Landmarks datasets, corresponding to: (a) NetVLAD; (b) MixVPR; (c) SelaVPR; and (d) our proposed DMT-Loc.
Make 08 00083 g0a2
To further validate the robustness of our debiased design, the full distribution of pose errors is analyzed beyond median statistics. Table A2 reports the 90th and 95th percentile errors of DMT-Loc compared with competitive baselines on the most challenging scenes (i.e., 7Scenes Stairs and Cambridge Church) as well as the average over all scenes of each dataset. DMT-Loc consistently achieves lower tail errors, e.g., reducing the 95th percentile translation error on the Stairs scene by 46.4% (0.15 m vs. 0.28 m) and rotation error on the Church scene from 1.8° to 0.9°. These results demonstrate that DMT-Loc not only improves average performance but also effectively mitigates large errors in difficult cases, confirming the robustness of its feature-level debiasing across diverse environments.
Table A2. The 90th and 95th percentile pose errors (cm/°) on representative scenes and overall averages of 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined.
Table A2. The 90th and 95th percentile pose errors (cm/°) on representative scenes and overall averages of 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined.
7Scenes (Stairs) ↓7Scenes (Average) ↓Cambridge (Church) ↓Cambridge (Average) ↓
Method P90 P95 P90 P95 P90 P95 P90 P95
Map-free [56]31/4.235/5.126.3/3.231.9/4.642/3.851/4.930.8/3.735.5/3.6
RelFormer [35]38/5.644/6.823.7/3.629.6/4.531/2.939/3.727.8/4.333.8/5.2
ReLoc3r [37]24/3.828/4.514.2/1.917.5/2.418/1.222/1.818.8/2.421.7/2.9
DMT-Loc (Ours)12/2.115/2.87.1/1.29.3/1.59/0.712/0.99.4/1.413.1/2.0

References

  1. Kim, J.; Kim, Y.M.; Zahreddine, R.; Welge, W.A.; Krishnan, G.; Ma, S.; Wang, J. Privacy-preserving visual localization with event cameras. IEEE Trans. Image Process. 2025, 34, 6215–6230. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Miao, J.; Jiang, K.; Wen, T.; Wang, Y.; Jia, P.; Wijaya, B.; Zhao, X.; Cheng, Q.; Xiao, Z.; Huang, J.; et al. A survey on monocular re-Localization: From the perspective of scene map representation. IEEE Trans. Intell. Veh. 2025, 10, 2519–2550. [Google Scholar] [CrossRef] [Scilit]
  3. Zhu, L.; Liao, B.; Zhang, Q.; Wang, X.; Liu, W.; Wang, X. Vision mamba: Efficient visual representation learning with bidirectional state space model. In International Conference on Machine Learning; PMLR; Association for Computing Machinery: Vienna, Austria, 2024; pp. 62429–62442. [Google Scholar]
  4. Cho, J.; Kim, J.; Kim, J.; Kim, M.; Kang, M.; Hong, S.; Oh, T.H.; Yu, Y. DisCoRD: Discrete tokens to continuous motion via rectified flow decoding. In IEEE International Conference on Computer Vision; IEEE: Honolulu, HI, USA, 2025; pp. 14602–14612. [Google Scholar]
  5. Sui, Y.; Mao, W.; Wang, S.; Wang, X.; Wu, J.; He, X.; Chua, T.S. Enhancing out-of-distribution generalization on graphs via causal attention learning. ACM Trans. Knowl. Discov. Data 2024, 18, 1–24. [Google Scholar] [CrossRef] [Scilit]
  6. Pearl, J. Causal Inference: History, perspectives, adventures, and unification (an interview with Judea Pearl). Obs. Stud. 2022, 8, 23–36. [Google Scholar] [CrossRef] [Scilit]
  7. Zeng, K.; Lin, H.; Yan, Z.; Fang, J.; Lai, T. Non-local self-attention network for image super-resolution. Appl. Intell. 2024, 54, 5336–5352. [Google Scholar] [CrossRef] [Scilit]
  8. Malkov, Y.A.; Yashunin, D.A. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 42, 824–836. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Shotton, J.; Glocker, B.; Zach, C.; Izadi, S.; Criminisi, A.; Fitzgibbon, A. Scene coordinate regression forests for camera relocalization in RGB-D images. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Portland, OR, USA, 2013; pp. 2930–2937. [Google Scholar]
  10. Kendall, A.; Grimes, M.; Cipolla, R. PoseNet: A convolutional network for real-time 6-DOF camera relocalization. In IEEE International Conference on Computer Vision; IEEE: Santiago, Chile, 2015; pp. 2938–2946. [Google Scholar]
  11. Liu, X.; Zhang, Y. Matrices over quaternion algebras. In Matrix and Operator Equations and Applications; Springer: Berlin/Heidelberg, Germany, 2023; pp. 139–183. [Google Scholar] [CrossRef] [Scilit]
  12. Arandjelovic, R.; Gronat, P.; Torii, A.; Pajdla, T.; Sivic, J. NetVLAD: CNN architecture for weakly supervised place recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Las Vegas, NV, USA, 2016; pp. 5297–5307. [Google Scholar]
  13. Jégou, H.; Douze, M.; Schmid, C.; Pérez, P. Aggregating local descriptors into a compact image representation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: San Francisco, CA, USA, 2010; pp. 3304–3311. [Google Scholar]
  14. Yang, M.; He, D.; Fan, M.; Shi, B.; Xue, X.; Li, F.; Ding, E.; Huang, J. DOLG: Single-stage image retrieval with deep orthogonal fusion of local and global features. In IEEE International Conference on Computer Vision; IEEE: Montreal, QC, Canada, 2021; pp. 11772–11781. [Google Scholar]
  15. Hausler, S.; Garg, S.; Xu, M.; Milford, M.; Fischer, T. Patch-NetVLAD: Multi-scale fusion of locally-global descriptors for place recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 14141–14152. [Google Scholar]
  16. Wang, R.; Shen, Y.; Zuo, W.; Zhou, S.; Zheng, N. TransVPR: Transformer-based place recognition with multi-level attention aggregation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New Orleans, LA, USA, 2022; pp. 13648–13657. [Google Scholar]
  17. Berton, G.; Masone, C.; Caputo, B. Rethinking visual geo-localization for large-scale applications. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New Orleans, LA, USA, 2022; pp. 4878–4888. [Google Scholar]
  18. Ali-Bey, A.; Chaib-Draa, B.; Giguere, P. MixVPR: Feature mixing for visual place recognition. In IEEE/CVF Winter Conference on Applications of Computer Vision; IEEE: Waikoloa, HI, USA, 2023; pp. 2998–3007. [Google Scholar]
  19. Izquierdo, S.; Civera, J. Optimal transport aggregation for visual place recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Seattle, WA, USA, 2024; pp. 17658–17668. [Google Scholar]
  20. Lu, F.; Zhang, L.; Lan, X.; Dong, S.; Wang, Y.; Yuan, C. Towards seamless adaptation of pre-trained models for visual place recognition. In International Conference on Learning Representations; ICLR: Vienna, Austria, 2024; pp. 1–22. [Google Scholar]
  21. Tzachor, I.; Lerner, B.; Levy, M.; Green, M.; Shalev, T.B.; Habib, G.; Samuel, D.; Zailer, N.K.; Shimshi, O.; Darshan, N.; et al. EffoVPR: Effective foundation model utilization for visual place recognition. In International Conference on Learning Representations; ICLR: Singapore, 2025; pp. 1–23. [Google Scholar]
  22. Oquab, M.; Darcet, T.; Moutakanni, T.; Vo, H.; Szafraniec, M.; Khalidov, V.; Fernandez, P.; Haziza, D.; Massa, F.; El-Nouby, A.; et al. DINOv2: Learning robust visual features without supervision. arXiv 2023, arXiv:2304.07193. [Google Scholar] [CrossRef] [Scilit]
  23. Sattler, T.; Leibe, B.; Kobbelt, L. Efficient and effective prioritized matching for large-scale image-based localization. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 1744–1756. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Giang, K.T.; Song, S.; Jo, S. Learning to produce semi-dense correspondences for visual localization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Seattle, WA, USA, 2024; pp. 19468–19478. [Google Scholar]
  25. Brachmann, E.; Rother, C. Visual camera re-localization from RGB and RGB-D images using DSAC. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 44, 5847–5865. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Brachmann, E.; Cavallari, T.; Prisacariu, V.A. Accelerated coordinate encoding: Learning to relocalize in minutes using RGB and poses. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Vancouver, BC, Canada, 2023; pp. 5044–5053. [Google Scholar]
  27. Wang, K.; Jiang, Z.; Dai, K.; Xie, T.; Jin, D.; Li, R.; Zhao, L.; Chen, X. SACNet: A scattered attention-based network with feature compensator for visual localization. IEEE Robot. Autom. Lett. 2024, 9, 3586–3593. [Google Scholar] [CrossRef] [Scilit]
  28. Moreau, A.; Piasco, N.; Tsishkou, D.; Stanciulescu, B.; de La Fortelle, A. Lens: Localization enhanced by nerf synthesis. In Conference on Robot Learning; PMLR; Association for Computing Machinery: Auckland, New Zealand, 2022; pp. 1347–1356. [Google Scholar]
  29. Chen, S.; Cavallari, T.; Prisacariu, V.A.; Brachmann, E. Map-relative pose regression for visual re-localization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Seattle, WA, USA, 2024; pp. 20665–20674. [Google Scholar]
  30. Sarlin, P.E.; Cadena, C.; Siegwart, R.; Dymczyk, M. From coarse to fine: Robust hierarchical localization at large scale. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Los Angeles, CA, USA, 2019; pp. 12716–12725. [Google Scholar]
  31. Saha, S.; Varma, G.; Jawahar, C.V. Improved visual relocalization by discovering anchor points. In British Machine Vision Conference; BMVA Press: Newcastle, UK, 2018. [Google Scholar]
  32. Laskar, Z.; Melekhov, I.; Kalia, S.; Kannala, J. Camera relocalization by computing pairwise relative poses using convolutional neural network. In IEEE International Conference on Computer Vision Workshops; IEEE: Venice, Italy, 2017; pp. 929–938. [Google Scholar]
  33. Balntas, V.; Li, S.; Prisacariu, V. RelocNet: Continuous metric learning relocalisation using neural nets. In European Conference on Computer Vision; Springer: Munich, Germany, 2018; pp. 751–767. [Google Scholar]
  34. Zhou, Q.; Sattler, T.; Pollefeys, M.; Leal-Taixe, L. To learn or not to learn: Visual localization from essential matrices. In IEEE International Conference on Robotics and Automation; IEEE: Paris, France, 2020; pp. 3319–3326. [Google Scholar]
  35. Idan, O.; Shavit, Y.; Keller, Y. Beyond familiar landscapes: Exploring the limits of relative pose regressors in new environments. Comput. Vis. Image Underst. 2024, 264, 104629. [Google Scholar] [CrossRef] [Scilit]
  36. Turkoglu, M.O.; Brachmann, E.; Schindler, K.; Brostow, G.J.; Monszpart, A. Visual camera re-localization using graph neural networks and relative pose supervision. In IEEE International Conference on 3D Vision; IEEE: London, UK, 2021; pp. 145–155. [Google Scholar]
  37. Dong, S.; Wang, S.; Liu, S.; Cai, L.; Fan, Q.; Kannala, J.; Yang, Y. Reloc3r: Large-scale training of relative camera pose regression for generalizable, fast, and accurate visual localization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Nashville, TN, USA, 2025; pp. 16739–16752. [Google Scholar]
  38. Wang, S.; Leroy, V.; Cabon, Y.; Chidlovskii, B.; Revaud, J. Dust3r: Geometric 3D vision made easy. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Seattle, WA, USA, 2024; pp. 20697–20709. [Google Scholar]
  39. Martins, A.; Astudillo, R. From softmax to sparsemax: A sparse model of attention and multi-label classification. In International Conference on Machine Learning; PMLR; Association for Computing Machinery: New York, NY, USA, 2016; pp. 1614–1623. [Google Scholar]
  40. Zhang, X.; Ding, H.; Xie, F.; Pan, L.; Zi, Y.; Wang, K.; Zhang, H. Beyond spatial domain: Cross-domain promoted fourier convolution helps single image dehazing. Proc. AAAI Conf. Artif. Intell. 2025, 39, 10221–10229. [Google Scholar] [CrossRef] [Scilit]
  41. Taira, H.; Okutomi, M.; Sattler, T.; Cimpoi, M.; Pollefeys, M.; Sivic, J.; Pajdla, T.; Torii, A. InLoc: Indoor visual localization with dense matching and view synthesis. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Salt Lake City, UT, USA, 2018; pp. 7199–7209. [Google Scholar]
  42. Toft, C.; Maddern, W.; Torii, A.; Hammarstrand, L.; Stenborg, E.; Safari, D.; Okutomi, M.; Pollefeys, M.; Sivic, J.; Pajdla, T.; et al. Long-term visual localization revisited. IEEE Trans. Pattern Anal. Mach. Intell. 2020, 44, 2074–2088. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Warburg, F.; Hauberg, S.; Lopez-Antequera, M.; Gargallo, P.; Kuang, Y.; Civera, J. Mapillary street-level sequences: A dataset for lifelong place recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Seattle, WA, USA, 2020; pp. 2626–2635. [Google Scholar]
  44. Sünderhauf, N.; Neubert, P.; Protzel, P. Are we there yet? Challenging SeqSLAM on a 3000 km journey across all four seasons. In IEEE International Conference on Robotics and Automation; IEEE: Karlsruhe, Germany, 2013; p. 2013. [Google Scholar]
  45. Hatamizadeh, A.; Kautz, J. MambaVision: A hybrid mamba-transformer vision backbone. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Nashville, TN, USA, 2025; pp. 25261–25270. [Google Scholar]
  46. Deng, J.; Dong, W.; Socher, R.; Li, L.J.; Li, K.; Fei-Fei, L. ImageNet: A large-scale hierarchical image database. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Miami, FL, USA, 2009; pp. 248–255. [Google Scholar]
  47. Amirian, M.; Schwenker, F. Radial basis function networks for convolutional neural networks to learn similarity distance metric and improve interpretability. IEEE Access 2020, 8, 123087–123097. [Google Scholar] [CrossRef] [Scilit]
  48. Sarlin, P.E.; Unagar, A.; Larsson, M.; Germain, H.; Toft, C.; Larsson, V.; Pollefeys, M.; Lepetit, V.; Hammarstrand, L.; Kahl, F.; et al. Back to the feature: Learning robust camera localization from pixels to pose. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 3247–3257. [Google Scholar]
  49. Polizzi, V.; Cannici, M.; Scaramuzza, D.; Kelly, J. FaVoR: Features via voxel rendering for camera relocalization. In IEEE/CVF Winter Conference on Applications of Computer Vision; IEEE: Tucson, AZ, USA, 2025; pp. 44–53. [Google Scholar]
  50. Tang, S.; Tang, S.; Tagliasacchi, A.; Tan, P.; Furukawa, Y. Neumap: Neural coordinate mapping by auto-transdecoder for camera localization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Vancouver, BC, Canada, 2023; pp. 929–939. [Google Scholar]
  51. Wang, S.; Laskar, Z.; Melekhov, I.; Li, X.; Zhao, Y.; Tolias, G.; Kannala, J. HSCNet++: Hierarchical scene coordinate classification and regression for visual localization with transformer. Int. J. Comput. Vis. 2024, 132, 2530–2550. [Google Scholar] [CrossRef] [Scilit]
  52. Bui, B.T.; Bui, H.H.; Tran, D.T.; Lee, J.H. D2S: Representing sparse descriptors and 3D coordinates for camera relocalization. IEEE Robot. Autom. Lett. 2024, 9, 11449–11456. [Google Scholar] [CrossRef] [Scilit]
  53. Shavit, Y.; Keller, Y. Camera pose auto-encoders for improving pose regression. In European Conference on Computer Vision; Springer: Tel Aviv, Israel, 2022; pp. 140–157. [Google Scholar]
  54. Chen, S.; Li, X.; Wang, Z.; Prisacariu, V.A. Dfnet: Enhance absolute pose regression with direct feature matching. In European Conference on Computer Vision; Springer: Tel Aviv, Israel, 2022; pp. 1–17. [Google Scholar]
  55. Lin, J.; Gu, J.; Wu, B.; Fan, L.; Chen, R.; Liu, L.; Ye, J. Learning neural volumetric pose features for camera localization. In European Conference on Computer Vision; Springer: MiCo, Milano, 2024; pp. 198–214. [Google Scholar]
  56. Arnold, E.; Wynn, J.; Vicente, S.; Garcia-Hernando, G.; Monszpart, A.; Prisacariu, V.; Turmukhambetov, D.; Brachmann, E. Map-free visual relocalization: Metric pose relative to a single image. In European Conference on Computer Vision; Springer: Tel Aviv, Israel, 2022; pp. 690–708. [Google Scholar] [CrossRef] [Scilit]
  57. Ding, M.; Wang, Z.; Sun, J.; Shi, J.; Luo, P. CamNet: Coarse-to-fine retrieval for camera re-localization. In IEEE International Conference on Computer Vision; IEEE: Seoul, South Korea, 2019; pp. 2871–2880. [Google Scholar]
  58. Sattler, T.; Zhou, Q.; Pollefeys, M.; Leal-Taixe, L. Understanding the limitations of CNN-based absolute camera pose regression. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Long Beach, CA, USA, 2019; pp. 3297–3307. [Google Scholar]
  59. Dusmanu, M.; Rocco, I.; Pajdla, T.; Pollefeys, M.; Sivic, J.; Torii, A.; Sattler, T. D2-net: A trainable CNN for joint description and detection of local features. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Long Beach, CA, USA, 2019; pp. 8092–8101. [Google Scholar]
  60. Ram, P.; Sinha, K. Revisiting kd-tree for nearest neighbor search. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: Anchorage, AK, USA, 2019; pp. 1378–1388. [Google Scholar]
  61. Slaney, M.; Casey, M. Locality-sensitive hashing for finding nearest neighbors. IEEE Signal Process. Mag. 2008, 25, 128–131. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Main paradigms of visual localization. For a query image, absolute pose estimation (APE) matches it directly to the 3D scene map, while relative pose estimation (RPE) and visual place recognition (VPR) need to retrieve the reference dataset. Moreover, RPE is supposed to make a better trade-off between scene scale and position accuracy.
Figure 1. Main paradigms of visual localization. For a query image, absolute pose estimation (APE) matches it directly to the 3D scene map, while relative pose estimation (RPE) and visual place recognition (VPR) need to retrieve the reference dataset. Moreover, RPE is supposed to make a better trade-off between scene scale and position accuracy.
Make 08 00083 g001
Figure 2. The pipeline of our proposed method. Four modules are designed and cascaded for relative pose regression (RPR): fronzen Pretrained ViM Encoder, Multiplex Interactive Tokenization (MxIT), Debiased Anchor Registration (DAR), and learnable Geometry-Informed Pose Regression (GIPR).
Figure 2. The pipeline of our proposed method. Four modules are designed and cascaded for relative pose regression (RPR): fronzen Pretrained ViM Encoder, Multiplex Interactive Tokenization (MxIT), Debiased Anchor Registration (DAR), and learnable Geometry-Informed Pose Regression (GIPR).
Make 08 00083 g002
Figure 3. Overview of the DMT-Loc framework. It sequentially performs self-attentive mapping from images to tokens and causal attentive regressing to poses. RBF, DeConv, and GpConv stand for radial basis function, deconvolution, and grouped convolution, respectively.
Figure 3. Overview of the DMT-Loc framework. It sequentially performs self-attentive mapping from images to tokens and causal attentive regressing to poses. RBF, DeConv, and GpConv stand for radial basis function, deconvolution, and grouped convolution, respectively.
Make 08 00083 g003
Figure 4. Structural comparison of CNN, ViT, and ViM. ViM offers the global receptive fields of ViT while maintaining linear computational complexity via state-space models (SSMs).
Figure 4. Structural comparison of CNN, ViT, and ViM. ViM offers the global receptive fields of ViT while maintaining linear computational complexity via state-space models (SSMs).
Make 08 00083 g004
Figure 5. An illustration of DMT-Loc’s pipeline on representative queries from 7Scenes dataset (rows A,B) and Cambridge Landmarks dataset (rows CE). From left to right: (a) raw image; (b) feature map from the ViM encoder; (c) attention heatmap from the SKSA module, with key regions highlighted by white dashed boxes; (df) retrieval results showing the top-1 match from HNSW (d), the re-ranked top-1 (e), and top-2–5 (f) matches from the CMP module; (g) 3D localization grid, with camera frustums indicating ground truth (red), nearest reference (yellow), and predicted pose (cyan). The main challenges and localization errors are indicated at the far right.
Figure 5. An illustration of DMT-Loc’s pipeline on representative queries from 7Scenes dataset (rows A,B) and Cambridge Landmarks dataset (rows CE). From left to right: (a) raw image; (b) feature map from the ViM encoder; (c) attention heatmap from the SKSA module, with key regions highlighted by white dashed boxes; (df) retrieval results showing the top-1 match from HNSW (d), the re-ranked top-1 (e), and top-2–5 (f) matches from the CMP module; (g) 3D localization grid, with camera frustums indicating ground truth (red), nearest reference (yellow), and predicted pose (cyan). The main challenges and localization errors are indicated at the far right.
Make 08 00083 g005
Figure 6. Rank-1 examples of VPR methods under challenging condition changes. (A) Query image from MSLS-challenge dataset with day–night transformation. (B) Query image from Nordland-test dataset with winter–fall transformation. Each method returns its most similar database image, with correct matches framed in green and incorrect matches in red.
Figure 6. Rank-1 examples of VPR methods under challenging condition changes. (A) Query image from MSLS-challenge dataset with day–night transformation. (B) Query image from Nordland-test dataset with winter–fall transformation. Each method returns its most similar database image, with correct matches framed in green and incorrect matches in red.
Make 08 00083 g006
Figure 7. Storage efficiency of image tokenization across VL benchmarks with feature dimension 1536. The logarithmic y-axis scale intuitively reflects that the proposed method compresses raw datasets by orders of magnitude into compact tokens and HNSW graphs for efficient MFVR.
Figure 7. Storage efficiency of image tokenization across VL benchmarks with feature dimension 1536. The logarithmic y-axis scale intuitively reflects that the proposed method compresses raw datasets by orders of magnitude into compact tokens and HNSW graphs for efficient MFVR.
Make 08 00083 g007
Figure 8. Qualitative results of camera calibration by DMT-Loc on the 7Scenes dataset. Each voxel map is reconstructed with 1000 frames per scene. Ground-truth and predicted 6DoF poses are visualized as red and green camera frustums, respectively.
Figure 8. Qualitative results of camera calibration by DMT-Loc on the 7Scenes dataset. Each voxel map is reconstructed with 1000 frames per scene. Ground-truth and predicted 6DoF poses are visualized as red and green camera frustums, respectively.
Make 08 00083 g008
Figure 9. Performance comparison of IR algorithms on MSLS-challenge dataset. HNSW achieves the best trade-off between speed and accuracy.
Figure 9. Performance comparison of IR algorithms on MSLS-challenge dataset. HNSW achieves the best trade-off between speed and accuracy.
Make 08 00083 g009
Figure 10. Attention heatmaps of visual encoders on indoor (A) and outdoor (B) scenes. (ad) correspond to the raw images and heatmaps of VGG16, DINOv2, and ViM (ours), respectively. Warmer (cooler) colors correspond to higher (lower) attention.
Figure 10. Attention heatmaps of visual encoders on indoor (A) and outdoor (B) scenes. (ad) correspond to the raw images and heatmaps of VGG16, DINOv2, and ViM (ours), respectively. Warmer (cooler) colors correspond to higher (lower) attention.
Make 08 00083 g010
Figure 11. Systematic hyperparameter analysis of DMT-Loc: (A) feature dimension; (B) training epochs; (C) reference tokens; and (D) swap paths. The left and right columns reflect translation errors (m) and rotation errors (°), respectively. Optimal settings are highlighted: 1536 dimension, 30 epochs, 10 tokens, and 2 swap paths.
Figure 11. Systematic hyperparameter analysis of DMT-Loc: (A) feature dimension; (B) training epochs; (C) reference tokens; and (D) swap paths. The left and right columns reflect translation errors (m) and rotation errors (°), respectively. Optimal settings are highlighted: 1536 dimension, 30 epochs, 10 tokens, and 2 swap paths.
Make 08 00083 g011
Table 1. Details of the adopted VL datasets. “★” and “✩” indicate presence and absence, respectively. Note that the MSLS dataset provides two distinct splits (i.e., MSLS-val and MSLS-challenge).
Table 1. Details of the adopted VL datasets. “★” and “✩” indicate presence and absence, respectively. Note that the MSLS dataset provides two distinct splits (i.e., MSLS-val and MSLS-challenge).
Dataset# Refer.# QueryMotionLightSeasonOcclusion
APE/RPE7Scenes [9]26.0k17.0k★★✩★✩✩✩✩✩✩✩✩
Cambridge [10]8.4k4.8k★★★★★✩✩✩✩★★✩
InLoc [41]10.0k329★★✩★★✩✩✩✩★★★
Aachenv1.1 [42]6.7k1.0k★★✩★★★✩✩✩★★★
VPRPitts250k-test [12]83.9k8.2k★★✩★★✩★✩✩★★✩
MSLS-val [43]18.9k740★★★★✩✩★★✩★✩✩
MSLS-challenge [43]38.8k27.1k★★✩★★★★★★★★★
Nordland-test [44]27.6k3.5k✩✩✩★✩✩★★★✩✩✩
Table 2. Median errors (cm/°) of baseline methods on benchmark VL datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined. Overall best results are marked in blue and second best are in green. “pw” and “mv” represent pair-wise and multi-view modes respectively. “–” means the value is unconverged or unobtainable. “” means the method is unreproducible to our effort.
Table 2. Median errors (cm/°) of baseline methods on benchmark VL datasets. “↓” indicates that lower values are better. Best RPR results are highlighted in bold and second best are underlined. Overall best results are marked in blue and second best are in green. “pw” and “mv” represent pair-wise and multi-view modes respectively. “–” means the value is unconverged or unobtainable. “” means the method is unreproducible to our effort.
7Scenes (Indoor, Normal) ↓Cambridge Landmarks (Outdoor, Normal) ↓
Method Chess Fire Heads Office Pumpkin Kitchen Stairs Average College Hospital Shop Church Average-4 Court
SbPAS [23]4/2.003/1.502/1.509/3.608/3.107/3.403/2.205.1/2.4742/0.6044/1.0012/0.4019/0.5029.3/0.63–/–
PixLoc [48]2/0.802/0.731/0.823/0.824/1.213/1.205/1.302.9/0.9814/0.2416/0.325/0.2310/0.3411.3/0.2830/0.14
DeViLoc [24]2/0.782/0.741/0.653/0.824/1.023/1.194/1.122.7/0.9012/0.2113/0.284/0.187/0.239.0/0.2318/0.11
FaVoR [49]1/0.201/0.401/0.602/0.401/0.301/0.306/1.601.9/0.5018/0.3027/0.505/0.3011/0.4015.3/0.3829/0.20
SCRDSAC-star [25]2/1.102/1.241/1.823/1.154/1.344/1.683/1.162.7/1.3618/0.3021/0.405/0.3015/0.6014.8/0.4049/0.30
ACE [26]2/1.102/1.802/1.103/1.403/1.303/1.303/1.202.7/1.3128/0.4031/0.605/0.3018/0.6020.5/0.4843/0.20
NeuMap [50]2/0.813/1.112/1.173/0.984/1.114/1.334/1.123.1/1.0919/0.1436/0.1925/0.0653/0.1733.3/0.1410/0.06
HSCNet++ [51]2/0.702/0.721/0.802/0.694/1.004/1.153/1.022.6/1.3619/0.3420/0.316/0.249/0.3013.5/0.3039/0.23
D2S [52]2/0.572/0.741/0.752/0.623/0.833/1.0413/2.023.7/0.947/0.1215/0.293/0.178/0.258.3/0.2123/0.11
SACNet [27]2/0.532/0.711/0.593/0.652/0.653/0.932/0.402.1/0.6417/0.3018/0.306/0.3012/0.3013.3/0.3147/0.32
APRPoseNet [10]32/8.1247/14.429/12.048/7.6847/8.4259/8.6447/13.844.1/10.4192/5.40231/5.40146/8.10266/8.50208.8/6.80–/–
PAE [53]12/4.9524/9.3114/12.519/5.7918/4.8918/6.1925/8.7418.6/7.4890/1.49207/2.5899/3.88164/4.16140.0/3.03–/–
DFNet [54]5/1.8817/6.456/3.638/2.4810/2.7822/5.4516/3.2912.0/3.7173/2.37200/2.9867/2.21137/4.03119.3/2.90–/–
LENS [28]3/1.3010/3.707/5.807/1.908/2.209/2.2014/3.608.3/2.9633/0.5044/0.9027/1.6053/1.6039.3/1.15–/–
PMNet [55]4/1.7010/4.517/4.237/1.9614/3.3314/3.3616/3.6210.3/3.24–/––/––/––/––/––/–
Marepo [29]2/1.242/1.392/2.033/1.264/1.484/1.716/1.673.3/1.54–/––/––/––/––/––/–
RPR-pwNN-Net [32]13/6.5026/12.714/12.321/7.4024/6.4024/8.0027/11.821.3/9.30–/––/––/––/––/––/–
ReLocNet [33]12/4.1026/10.414/10.518/5.3026/4.2023/5.1028/7.5021.0/6.73–/––/––/––/––/––/–
AnchorNet [31]8/4.1216/11.19/11.211/5.3814/3.5513/5.2921/11.913.1/7.5179/0.95211/3.0577/3.25122/3.02122.3/2.57589/3.53
NC-EssNet [34]12/5.6026/9.6014/10.720/6.7022/5.7022/6.3031/7.9021.0/7.5061/1.6095/2.7071/3.40112/3.6084.8/2.80–/–
Map-free [56]9/2.6613/4.5411/4.8111/2.7716/3.1114/3.4818/4.7013.1/3.72244/2.54373/5.2397/3.17291/5.10251.3/4.01840/4.56
RelFormer [35]11/4.0123/8.5717/10.916/4.9215/4.1519/4.8924/6.4617.8/6.2783/2.90184/3.8086/3.70117/4.10117.5/3.63367/3.80
DMT-Loc (Ours)8/3.597/3.534/2.609/3.818/3.559/3.516/2.197.3/3.2523/1.1918/1.029/0.8712/0.9815.5/1.0224/0.94
RPR-mvCamNet [57]4/1.733/1.745/1.984/1.624/1.644/1.634/1.514.0/1.69–/––/––/––/––/––/–
RelPoseGNN [36]8/2.7021/7.5013/8.7015/4.1015/3.5019/3.7022/6.5016.1/5.2448/1.00114/2.5048/2.50152/3.2090.5/2.30320/2.20
ReLoc3r [37]3/0.994/1.132/1.235/0.887/1.145/1.2312/2.255.4/1.2647/0.4187/0.6618/0.5341/0.7348.3/0.58171/0.94
DMT-Loc (Ours)2/0.743/0.952/1.184/0.725/0.974/1.164/1.803.6/1.129/0.548/0.565/0.376/0.447.0/0.4811/0.39
Table 3. Average accuracies (%) and training overheads of competitive methods on challenging VL datasets. “↑” indicates that higher values are better, and vice versa for “↓”. Overall best/second best results are marked in blue/green. Best/second best overheads are highlighted in bold/underlined.
Table 3. Average accuracies (%) and training overheads of competitive methods on challenging VL datasets. “↑” indicates that higher values are better, and vice versa for “↓”. Overall best/second best results are marked in blue/green. Best/second best overheads are highlighted in bold/underlined.
InLoc (Indoor, Difficult)Aachenv1.1 (Outdoor, Difficult)TrainingStorage
Acc.@(0.25/0.5/1.0 m, 10°)↑Acc.@(0.25/0.5/5.0 m, 2/5/10°)↑Time↓Size↓
Method DUC1 DUC2 Day Night (Hours) (GB)
VPRVLAD [13]0.20/12.5/18.70.30/13.8/19.10.00/0.10/22.80.00/1.00/19.4185.2
NetVLAD [12]8.20/24.7/48.96.40/26.3/54.90.00/0.20/18.90.00/0.00/14.3304.8
VLAD+In. [58]6.40/26.3/50.910.3/32.3/61.50.00/0.20/22.10.00/1.00/22.4347.1
APEAS [23]–/–/––/–/–85.3/92.2/97.939.8/49.0/64.3603.2
D2Net [59]44.4/58.6/71.231.3/49.6/67.984.8/92.6/97.584.7/90.8/96.9≥7222.3
PixLoc [48]25.5/47.3/68.832.4/54.7/79.574.3/79.3/87.461.0/65.8/79.3≥7248.5
HSCNet++ [51]–/–/––/–/–72.7/81.6/91.443.9/57.1/76.5≥7227.4
DeViLoc [24]55.8/63.8/88.961.0/72.5/89.487.4/94.8/98.287.8/93.9/100.0≥7215.9
RPEHLoc (SP+SG) [30]49.0/68.7/80.853.4/77.1/82.489.6/95.4/98.886.7/93.9/100.035.7
RelFormer [35]51.5/73.7/86.455.0/74.0/81.760.2/67.1/78.551.4/62.5/73.5278.5
ReLoc3r [37]59.6/79.3/90.971.2/87.0/91.661.5/77.0/89.653.8/63.7/75.8854.9
DMT-Loc (Ours)64.9/84.8/91.375.6/88.3/92.888.7/95.0/98.386.2/91.8/99.5≤2.50.2
Table 4. Recall@1/5/10 (%) comparisons on VPR datasets. “↑” indicates that higher values are better. Best results are in bold and second best are underlined.
Table 4. Recall@1/5/10 (%) comparisons on VPR datasets. “↑” indicates that higher values are better. Best results are in bold and second best are underlined.
MethodPitts250k-Test ↑MSLS-Val ↑MSLS-Challenge ↑Nordland-Test ↑
NetVLAD [12]81.9/91.2/93.752.4/64.7/69.431.5/42.1/46.210.9/19.2/24.5
DOLG [14]89.9/95.4/96.782.0/88.9/91.475.6/87.1/90.851.3/66.8/69.8
CosPlace [17]88.4/94.5/95.782.8/89.7/92.061.4/72.0/76.654.4/69.8/75.9
Patch-NetVLAD [15]87.5/94.5/96.079.5/86.2/87.748.1/57.6/60.544.9/50.2/52.2
TransVPR [16]89.0/94.9/96.286.8/91.2/92.463.9/74.0/77.561.3/71.7/75.6
MixVPR [18]91.5/95.5/96.388.0/92.7/94.664.0/75.9/80.658.4/74.6/80.0
SelaVPR [20]92.7/98.0/98.987.7/95.8/96.669.6/86.9/90.147.2/66.6/74.1
DMT-Loc (Ours)93.5/98.3/99.288.3/96.6/97.076.4/87.7/91.663.7/79.3/84.8
Table 5. Median errors (cm/°) of different descriptors (transfered with GIPR) on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined.
Table 5. Median errors (cm/°) of different descriptors (transfered with GIPR) on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined.
7Scenes (Indoor, Normal) ↓
MethodChessFireHeadsOfficePumpkinKitchenStairsAverage
NetVLAD [12]17/8.4719/10.314/11.223/10.124/10.821/10.018/6.2719.4/9.58
DOLG [14]43/11.543/13.225/14.640/17.535/11.154/15.030/7.7938.6/12.9
CosPlace [17]28/14.323/11.217/14.927/11.125/13.426/10.924/9.4424.3/12.2
Patch-NV [15]21/10.929/11.515/11.729/12.225/9.1924/13.118/7.1123.0/10.8
MixVPR [18]24/14.317/10.616/12.433/16.923/10.727/9.6419/7.0322.7/11.6
SelaVPR [20]26/15.122/16.815/14.732/19.521/13.637/21.416/8.9024.1/15.7
DMT-Loc (Ours)8/3.597/3.534/2.609/3.818/3.559/3.516/2.197.3/3.25
Cambridge Landmarks (Outdoor, Normal)
MethodCollegeHospitalShopChurchAverage-4CourtAverage-5Street
NetVLAD [12]182/5.40109/5.1266/8.28150/10.3127/7.28621/15.9226/9.00–/–
DOLG [14]392/6.73218/6.01291/10.4416/10.7329/8.46969/17.3457/10.2–/–
CosPlace [17]96/4.50119/6.0571/6.77111/6.7299/6.01157/4.92111/5.79–/–
Patch-NV [15]228/5.48119/5.96139/8.91237/12.2181/8.14840/16.2313/9.74955/24.8
MixVPR [18]61/4.5246/4.2732/4.7748/9.4347/5.7556/5.8849/5.77356/24.3
SelaVPR [20]59/5.9548/5.0937/5.8351/7.5249/6.1064/6.1752/6.11–/–
DMT-Loc (Ours)23/1.1918/1.029/0.8712/0.9815.5/1.0224/0.9417/1.0033/2.68
Table 6. Average errors of scene-specific/agnostic RPR on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined. “–” means the value is unconverged or unobtainable.
Table 6. Average errors of scene-specific/agnostic RPR on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined. “–” means the value is unconverged or unobtainable.
7Scenes (m/°) ↓Cambridge (m/°) ↓
Method Scene-Specific Scene-Agnostic Scene-Specific Scene-Agnostic
NN-Net [32]0.21/9.300.36/18.4–/––/–
ReLocNet [33]0.21/6.730.29/11.3–/––/–
EssNet [34]0.22/8.030.89/40.21.08/3.4210.4/85.8
NC-EssNet [34]0.21/7.500.82/26.20.85/2.837.98/24.4
RelPoseGNN [36]0.16/5.240.36/13.61.68/3.60–/–
Relformer [35]0.18/6.270.30/8.531.37/2.303.35/10.7
DMT-Loc-pw (Ours)0.07/3.250.16/6.090.17/1.001.59/4.36
DMT-Loc-mv (Ours)0.03/1.120.22/7.650.08/0.460.59/0.72
Table 7. Average errors ± standard deviations of DMT-Loc’s model components for ablation study on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined. “✓” denotes module presence.
Table 7. Average errors ± standard deviations of DMT-Loc’s model components for ablation study on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined. “✓” denotes module presence.
SKSATCDACMPSSG7Scenes (m/°) ↓Cambridge (m/°) ↓
0.073 ± 0.017/3.25 ± 0.560.173 ± 0.061/1.00 ± 0.11
0.118 ± 0.032/5.53 ± 0.850.196 ± 0.096/1.99 ± 0.64
0.129 ± 0.045/4.96 ± 0.970.203 ± 0.112/2.12 ± 0.77
0.153 ± 0.086/7.82 ± 1.650.281 ± 0.177/3.47 ± 1.08
0.095 ± 0.028/4.18 ± 0.730.183 ± 0.079/1.75 ± 0.39
Table 8. Average errors ± standard deviations of DMT-Loc’s design strategies for ablation study on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined.
Table 8. Average errors ± standard deviations of DMT-Loc’s design strategies for ablation study on 7Scenes and Cambridge Landmarks datasets. “↓” indicates that lower values are better. Best results are highlighted in bold and second best are underlined.
ModuleTechnique7Scenes (m/°) ↓Cambridge (m/°) ↓
EncoderViMVGG160.129 ± 0.026/5.96 ± 0.890.396 ± 0.102/3.12 ± 0.77
ResNet500.119 ± 0.023/5.42 ± 0.810.331 ± 0.094/2.75 ± 0.52
DINOv2-ViT0.101 ± 0.022/4.66 ± 0.750.273 ± 0.083/2.45 ± 0.23
DUSt3R0.096 ± 0.020/4.57 ± 0.720.315 ± 0.086/2.59 ± 0.44
MxITSKSANLSA0.103 ± 0.028/4.74 ± 0.710.212 ± 0.085/1.82 ± 0.60
w/o RBFConv0.097 ± 0.021/4.15 ± 0.660.195 ± 0.071/1.46 ± 0.29
w/o Sparsemax0.085 ± 0.019/3.93 ± 0.610.188 ± 0.069/1.37 ± 0.43
TCDAVLAD0.144 ± 0.033/7.49 ± 1.150.744 ± 0.781/4.69 ± 1.72
GeM0.156 ± 0.029/7.84 ± 0.910.971 ± 0.265/4.64 ± 1.09
w/o Spatial0.142 ± 0.026/6.62 ± 1.030.251 ± 0.108/2.58 ± 0.82
w/o Frequency0.096 ± 0.041/4.59 ± 1.150.207 ± 0.086/1.74 ± 0.93
w/o Channel0.129 ± 0.025/5.13 ± 0.770.235 ± 0.097/2.05 ± 0.59
DARHNSWkNN0.076 ± 0.018/3.14 ± 0.580.174 ± 0.057/1.21 ± 0.16
K-D Tree0.083 ± 0.024/3.82 ± 0.650.192 ± 0.074/1.48 ± 0.23
LSH0.095 ± 0.029/4.37 ± 0.780.236 ± 0.092/1.86 ± 0.31
CMPTransformer Decoder0.183 ± 0.070/5.05 ± 1.340.238 ± 0.172/2.19 ± 0.85
Mamba Decoder0.257 ± 0.182/7.49 ± 2.160.744 ± 0.781/4.69 ± 1.72
Mamba Pointer0.092 ± 0.027/3.65 ± 0.610.194 ± 0.083/1.33 ± 0.26
GIPRSSGw/o Gate0.121 ± 0.031/4.60 ± 0.790.214 ± 0.096/2.91 ± 0.68
w/o Swap0.096 ± 0.027/3.97 ± 0.670.192 ± 0.084/1.73 ± 0.35
w/o SiLU0.083 ± 0.023/3.49 ± 0.620.187 ± 0.082/1.65 ± 0.28
DMT-Loc (Ours)0.073 ± 0.017/3.25 ± 0.560.173 ± 0.061/1.00 ± 0.11
Table 9. Sensitivity analysis of modular hyperparameters. Sensitivity is reported as the maximum relative change in median pose errors (averaged over translation/rotation and both 7Scenes and Cambridge Landmarks datasets), varying each parameter within the tested range while keeping others at default. Performance plateaus after 6 CMP layers.
Table 9. Sensitivity analysis of modular hyperparameters. Sensitivity is reported as the maximum relative change in median pose errors (averaged over translation/rotation and both 7Scenes and Cambridge Landmarks datasets), varying each parameter within the tested range while keeping others at default. Performance plateaus after 6 CMP layers.
SymbolDescriptionEquationDefault ValueTested RangeSensitivity
γ Gaussian kernel scaleEquation (2)1.0[0.5, 2.0]<8%
α Spatial scaling factor 1Equation (4)0.5[0.3, 0.7]<5%
β Spatial scaling factor 2Equation (4)2.0[1.5, 2.5]<5%
ϵ Stability constantEquation (7) 1 × 10 4 { 10 5 , 10 3 }<1%
kNumber of HNSW candidatesEquation (8)10[5, 20]<6%
τ Number of CMP layers Equation (9)6[2, 10]<10%
λ Loss balance coefficient 1Equation (12)1[0.5, 1.5]<2%
μ Loss balance coefficient 2Equation (12)1[0.5, 1.5]<4%
Table 10. Latency and memory for online RPR inference on a single image within 640 × 480 resolution. “↓” indicates that lower values are better. (FLOPs: floating point operations). Best results are highlighted in bold and second best are underlined.
Table 10. Latency and memory for online RPR inference on a single image within 640 × 480 resolution. “↓” indicates that lower values are better. (FLOPs: floating point operations). Best results are highlighted in bold and second best are underlined.
MethodExtractionRegressionParamsFLOPs
Latency (ms) ↓ Latency (ms) ↓ (MB) ↓ (GB)↓
NN-Net [32]40.198.4147.3287.6
ReLocNet [33]41.809.3275.30116.4
Relformer [35]106.4718.92291.45359.8
Map-free [56]31.7111.2087.26107.1
RelPoseGNN [36]72.6328.28204.41284.2
ReLoc3r [37]83.09135.36353.89419.8
DMT-Loc-pw (Ours)10.186.09269.17274.5
DMT-Loc-mv (Ours)10.188.27269.17274.5
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, W.; Liu, H.; Li, S.; Jiang, P.; Che, D.; Ding, R. Debiased Multiplex Tokenization Using Mamba-Based Pointers for Efficient and Versatile Map-Free Visual Relocalization. Mach. Learn. Knowl. Extr. 2026, 8, 83. https://doi.org/10.3390/make8030083

AMA Style

Wang W, Liu H, Li S, Jiang P, Che D, Ding R. Debiased Multiplex Tokenization Using Mamba-Based Pointers for Efficient and Versatile Map-Free Visual Relocalization. Machine Learning and Knowledge Extraction. 2026; 8(3):83. https://doi.org/10.3390/make8030083

Chicago/Turabian Style

Wang, Wenshuai, Hong Liu, Shengquan Li, Peifeng Jiang, Dandan Che, and Runwei Ding. 2026. "Debiased Multiplex Tokenization Using Mamba-Based Pointers for Efficient and Versatile Map-Free Visual Relocalization" Machine Learning and Knowledge Extraction 8, no. 3: 83. https://doi.org/10.3390/make8030083

APA Style

Wang, W., Liu, H., Li, S., Jiang, P., Che, D., & Ding, R. (2026). Debiased Multiplex Tokenization Using Mamba-Based Pointers for Efficient and Versatile Map-Free Visual Relocalization. Machine Learning and Knowledge Extraction, 8(3), 83. https://doi.org/10.3390/make8030083

Article Metrics

Back to TopTop