Beyond First-Order: Learning Riemannian Geometries for Invariant Visual Place Recognition
Authors: Jintao Cheng, Weibin Li, Jiazheng Huang, Mingkai Jia, Xieyuanli Chen, Zhijian He, Jin Wu, Chi Man Vong, Wei Zhang
Organizations: The Hong Kong University of Science and Technology, Hong Kong, China · University of Macau, Macau, China · University of Science and Technology Beijing, Beijing, China
Visual Place Recognition (VPR) demands representations robust to drastic environmental and viewpoint shifts. Existing aggregation paradigms either depend on extensive supervised training or rely on first-order pooling, often struggling to preserve structural correlations under extreme shifts or incurring high adaptation costs. In this work, we propose Riemannian Invariant Aggregation (RIA), a unified geometric framework that explicitly models second-order scene structure on the Symmetric Positive Definite (SPD) manifold. By treating perturbations as tractable congruence transformations, RIA leverages geometry-aware Riemannian mappings to project covariance descriptors into a linearized Euclidean space, effectively preserving invariant structural components while suppressing noise. Extensive evaluations demonstrate that RIA achieves zero-shot performance comparable to supervised methods, and establishes state-of-the-art accuracy with simple fine-tuning, particularly in unstructured environments. The source code will be released.
Figures & tables
Figure 1. Illustration of the two fundamental challenges in Visual Place Recognition (VPR). (a) Condition Invariance: The system must identify the correct match (right) despite drastic illumination and weather changes (e.g., sunny day vs. rainy night), while rejecting perceptually similar scenes from different locations (middle). (b) Viewpoint Invariance: The system must recognize the same landmark (right) under significant changes in scale and camera pose, distinguishing it from other similar-looking structures (middle).
Figure 2. Schematic overview of the proposed Riemannian Invariant Aggregation (RIA) framework. The pipeline transforms local features from a frozen backbone into a robust global descriptor through four geometric phases: Stage 1: High-dimensional features are projected onto a lower-dimensional subspace to ensure a full-rank covariance estimation. Stage 2: We compute the sample covariance and apply ReCov to suppress spurious noise. Stage 3: The covariance descriptor on the SPD manifold is mapped to a linearized tangent space via the PEM, approximated by Newton-Schulz iterations. Stage 4: The matrix is flattened using isometric vectorization (scaling off-diagonals by 2 ) and L2 normalized to produce the final retrieval-ready descriptor.
Method
Desc. Dim.
17places
Pitts30k
Gardens
Oxford
St. Lucia
R@1
R@5
R@1
R@5
R@1
R@5
R@1
R@5
R@1
R@5
Supervised Learning
NetVLAD ( Arandjelovic et al., 2016 )
32,768
61.6
77.8
86.1
92.7
58.5
85.0
57.6
79.1
57.9
73.0
CosPlace ( Berton et al., 2022 )
512
61.1
76.1
90.4
95.7
74.0
94.5
95.3
99.5
99.6
99.9
MixVPR ( Ali-Bey et al., 2023 )
4,096
63.8
78.8
91.5
95.5
91.5
96.0
92.7
99.5
99.7
100.0
SALAD ( Izquierdo and Civera, 2024 )
8,448
64.3
78.8
92.3
96.2
96.0
99.5
99.0
100.0
100.0
100.0
Table 1. Comparison across multiple VPR benchmarks.
Method
Dim.
Hawkins
Laurel
Nardo-Air
Mid-Atlantic
R@1
R@5
R@1
R@5
R@1
R@5
R@1
R@5
Supervised Learning
NetVLAD ( Arandjelovic et al., 2016 )
32,768
34.8
71.2
39.3
71.4
19.7
39.4
25.7
53.5
CosPlace ( Berton et al., 2022 )
512
31.4
59.3
24.1
47.3
0.0
1.4
40.6
20.8
MixVPR ( Ali-Bey et al., 2023 )
4,096
27.1
58.5
31.3
64.3
33.8
43.7
25.7
59.4
SALAD ( Izquierdo and Civera, 2024 )
8,448
38.1
77.1
52.7
81.3
38.0
76.1
14.9
46.5
Table 2. Comparison across unstructured VPR benchmarks.
Method
Dim.
Hawkins
Laurel Caverns
Nardo-Air
R@1
R@5
R@1
R@5
R@1
R@5
MixVPR + RIA
2080
34.75
65.25
38.39
70.54
46.48
52.11
SALAD + RIA
2080
47.46
88.14
48.21
81.25
70.42
76.06
SelaVPR + RIA
2080
36.44
77.12
66.96
91.07
28.17
92.96
Table 3. Performance comparison of RIA head across various backbones in unstructured environments. Each backbone is evaluated using the RIA aggregation head with a fixed descriptor dimension (Dim.) of 2080. We report Recall@1 / Recall@5.
Representation Method
Statistical Order
Geometric Mapping
Operator
Pitts30k R@1
Nardo-Air R@1
Magnitude Pooling
1st Order
Euclidean
Mean (GeM)
83.6
71.8
Euclidean Covariance
2nd Order
Euclidean
Identity
82.2
70.4
Log-Euclidean Covariance
2nd Order
Riemannian
Matrix Log
86.1
63.4
Power-Euclidean Covariance
2nd Order
Riemannian
Matrix Sqrt
86.7
76.1
Table 4. Analysis of Statistical Order and Manifold Geometry. We compare representations with different statistical orders (1st vs. 2nd) and geometric mappings (Euclidean vs. Riemannian).
Power Parameter
Pitts30k
Nardo-Air
R@1
R@5
R@1
R@5
α=1.0 (Euclidean)
82.2
92.6
70.4
100.0
α=0.75
83.5
93.2
75.5
100.0
α=0.5 (Ours)
86.7
93.8
76.1
100.0
α=0.25
85.6
93.7
64.8
98.6
α=0.1
86.0
93.8
54.9
97.2
Table 5. Impact of the Power Parameter α on Pitts30k and Nardo-Air. The parameter α controls the degree of metric deformation, interpolating between the Euclidean geometry ( α=1.0 ) and the Log-Euclidean geometry ( α→0 ).
Figure 3. Feature distance drift under synthetic perturbations. We measure 1−cosine_similarity between original and perturbed descriptors on Pitts30k-test (top) and Nardo-Air (bottom) under brightness reduction (left) and planar rotation (right).
Variant
τ (ReCov)
ϵ (ReEig)
Solver
NS Iter
Pitts30k R@1
Nardo-Air R@1
Base PE-Cov
–
–
Exact
–
85.8
82.4
+ Rectification (mild)
10−6
–
Exact
–
85.9
82.4
+ Rectification (default)
10−5
–
Exact
–
86.1
82.9
+ SPD Regularization
10−5
10−6
Exact
–
86.2
83.1
+ Stronger SPD Regularization
10−5
10−4
Exact
–
85.3
80.8
Ours
10−5
10−4
NS
3
86.7
84.5
Table 6. Ablation of stabilization and matrix square-root implementation. All variants use the same backbone features, projection dimension d=64 , and power parameter α=0.5 .
Proj. Dim d
Output Dim
Solver
NS Iter
Pitts30k R@1
Nardo-Air R@1
Speedup
32
528
Exact
–
82.5
70.5
1.43 ×
64
2080
Exact
–
85.3
80.8
1.00 ×
128
8256
Exact
–
86.0
83.5
0.66 ×
64
2080
NS
1
84.2
78.6
1.54 ×
64
2080
NS
3
86.7
84.5
1.39 ×
64
2080
NS
5
86.1
83.0
1.25 ×
Table 7. Projection dimension and Newton–Schulz trade-off. We fix covariance rectification and SPD regularization to the best settings from Tab. 6 , and vary the projection dimension and matrix square-root approximation. Speedup is relative to the Exact, d=64 setting on Pitts30k (higher is faster).
Figure 4. Qualitative top-1 retrieval on unstructured benchmarks. From top to bottom: Hawkins, Laurel Caverns, and Mid-Atlantic Ridge. Each row shows the query (left) and the top-1 result from MixVPR, SALAD, SelaVPR, and DINOv2-RIA (ours).
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Notation
Explanation
Spaces and Sets
S++d
The Riemannian manifold of d×d SPD matrices
Sym(d)
The vector space of d×d symmetric matrices
O(d)
The Orthogonal Group of d×d matrices ( Q⊤Q=I )
Scalars and Hyperparameters
Din
Native feature dimension of the backbone
Appendix
Table 8. Summary of Mathematical Notations.
Abbreviation
Explanation
VPR
Visual Place Recognition
SPD
Symmetric Positive Definite
RIA
Riemannian Invariant Aggregation
ReCov
Rectified Covariance
PEM
Power Euclidean Metric
LEM
Log-Euclidean Metric
Appendix
Table 9. Summary of Abbreviations.
NS Iterations K
Pitts30k-test
Nardo-Air
Hawkins
K=1
0.506717 ± 0.006906
0.507902 ± 0.004183
0.510287 ± 0.003775
K=3
0.280311 ± 0.012339
0.282664 ± 0.007795
0.294421 ± 0.004216
K=5
0.082801 ± 0.011338
0.079275 ± 0.007487
0.095820 ± 0.004164
K=10
0.000101 ± 0.000242
0.000576 ± 0.000833
0.000071 ± 0.000011
Appendix
Table 10. Newton–Schulz approximation error. Relative Frobenius error ∥YK−C1/2∥F/∥C1/2∥F (mean ± std) across all covariance matrices in each dataset, for different iteration counts K .
Seed
17Places
Pitts30k
Gardens
Hawkins
Mid-Atlantic
0
64.78
86.53
96.00
50.85
27.72
1
63.30
86.56
96.00
50.85
25.74
10
63.79
86.41
97.00
45.76
31.68
42
63.55
86.36
97.00
52.54
31.68
101
65.02
85.87
96.00
50.00
37.62
1001
63.55
85.74
97.00
46.61
27.72
Appendix
Table 11. Random projection seed sensitivity. R@1 across 10 random seeds for the projection matrix P . All other hyperparameters are fixed. We report individual seed results and summary statistics.
Projection
Pitts30k
Nardo-Air
Hawkins
Laurel
Random Orthogonal (default)
86.36
90.14
52.54
48.21
PCA (database-fitted)
84.76
81.69
43.22
47.32
PCA (ImageNet-fitted)
85.48
63.38
36.44
33.93
Appendix
Table 12. Projection strategy comparison. R@1 under different dimensionality reduction methods with d=64 .
Table 13. Pitts30k R@1 under varying τ and ϵ . Best result per column in bold.
Table 14. Nardo-Air R@1 under varying τ and ϵ . Best result per column in bold.
Rectification Method
Pitts30k
Nardo-Air
Hawkins
Laurel
None (raw covariance)
86.41
90.14
52.54
49.11
Hard Thresholding (ReCov, default)
86.36
90.14
52.54
48.21
Ledoit–Wolf Shrinkage
86.41
90.14
52.54
49.11
Oracle Approx. Shrinkage (OAS)
86.40
90.14
52.54
49.11
Appendix
Table 15. Covariance rectification strategy comparison. R@1 under different covariance estimation/regularization approaches.
Configuration
Learnable Proj.
Multi-head
MLP
Unfreeze BB
Pitts30k
Training-free RIA
×
×
×
×
86.7
+ Backbone Unfreeze
×
×
×
✓
89.3
+ Learnable Projection
✓
×
×
✓
90.8
+ Multi-head ( H=4 )
✓
✓
×
✓
92.0
+ Per-head MLP (full)
✓
✓
✓
✓
93.5
Appendix
Table 16. Component-wise ablation of DINOv2-RIA-FT. Starting from training-free RIA, we incrementally add backbone unfreezing, learnable projection, multi-head design, and per-head MLP compression. R@1 is reported.
Figure 5. Feature distance drift under random homography perturbations. We apply projective transformations of increasing magnitude and compare descriptor drift for MixVPR, SALAD, and RIA. Across both the structured pair (17Places, Gardens) and the cross-regime pair (Pitts30k, Hawkins), RIA consistently exhibits the lowest drift curve over the perturbation range.
Visual Place Recognition (VPR) determines a query image's geographic location by matching it against geotagged databases. However, existing methods struggle with perceptual aliasing caused by irrelevant regions and inefficient re-ranking due to rigid candidate scheduling. To address these issues, we introduce FoL++, a method combining robust discriminative region modeling with adaptive re-ranking. Specifically, we propose a Reliability Estimation Branch to generate spatial reliability maps that explicitly model occlusion resistance. This representation is further optimized by two spatial alignment losses (SAL and SCEL) to effectively align features and highlight salient regions. For weakly supervised learning without manual annotations, a pseudo-correspondence strategy generates dense local feature supervision directly from aggregation clusters. Our Adaptive Candidate Scheduler dynamically resizes candidate pools based on global similarity. By weighting local matches by reliability and adaptively fusing global and local evidence, FoL++ surpasses traditional independent matching systems. Extensive experiments across seven benchmarks demonstrate that FoL++ achieves state-of-the-art performance with a lightweight memory footprint, improving inference speed by 40% over FoL. Code and models will be released (and merged with FoL) at https://github.com/chenshunpeng/FoL.
Shunpeng Chen, Yukun Song, Changwei Wang +6
School of Artificial Intelligence, Beijing University of Posts and Telecommunications, Beijing 100876, China. · Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Shandong Computer Science Center, Qilu University of Technology. · Spatialtemporal AI. +1
Visual Place Recognition (VPR) has been traditionally formulated as a single-image retrieval task. Using multiple views offers clear advantages, yet this setting remains relatively underexplored and existing methods often struggle to generalize across diverse environments. In this work we introduce UniPR-3D, the first VPR architecture that effectively integrates information from multiple views. UniPR-3D builds on a VGGT backbone capable of encoding multi-view 3D representations, which we adapt by designing feature aggregators and fine-tune for the place recognition task. To construct our descriptor, we jointly leverage the 3D tokens and intermediate 2D tokens produced by VGGT. Based on their distinct characteristics, we design dedicated aggregation modules for 2D and 3D features, allowing our descriptor to capture fine-grained texture cues while also reasoning across viewpoints. To further enhance generalization, we incorporate both single- and multi-frame aggregation schemes, along with a variable-length sequence retrieval strategy. Our experiments show that UniPR-3D sets a new state of the art, outperforming both single- and multi-view baselines and highlighting the effectiveness of geometry-grounded tokens for VPR. Our code and models will be made publicly available on Github https://github.com/dtc111111/UniPR-3D.
Tianchen Deng, Xun Chen, Ziming Li +5
Shanghai Jiao Tong University · Nanyang Technological University · University of Macau +1
Visual Place Recognition (VPR) in natural environments remains challenging due to repetitive vegetation, sparse distinctive landmarks, and substantial appearance and viewpoint variation across traversals. While visual observations of the same place can change considerably, their underlying spatial structure is often more persistent. We exploit this complementary geometric consistency through Depth-Aware Distillation (DAD), which conditions the token representations of a pretrained Vision Foundation Model (VFM) on geometry inferred by a Geometric Foundation Model (GFM), without any depth sensor. Rather than treating geometry as an additional input modality, DAD projects image-aligned depth into the VFM token space and selectively modulates visual representations through channel-wise geometric conditioning. A two-stage teacher-guided learning strategy first anchors the geometry-conditioned representation to the pretrained appearance space, before refining it for place discrimination. Evaluated on the WildCross benchmark, DAD improves average inter-sequence Recall@1 from 61.41% to 66.37% and Recall@5 from 65.86% to 72.49% over a matched appearance-only baseline, with the largest gains under reverse traversal and long-term appearance variation. These results show that GFM-derived geometry can provide a persistent structural prior for VPR when visual appearance becomes unreliable.
Walter Nedov, Saimunur Rahman, Kavindie Katuwandeniya +3
CSIRO Robotics, CSIRO, Australia · Queensland University of Technology, Australia