Siamese-ViT: A Local–Global Feature Fusion Method for Real-Time Visual Navigation of UAVs in Real-World Environments
Highlights
- We propose a Siamese-ViT-based aerial image–satellite image mapping architecture for real-time visual navigation. The backbone network uses ViT as the global feature extractor and implements a weight-sharing mechanism to improve the model’s ability to handle cross-view geolocation. We employ a K-means-based local feature aggregation method to address the efficiency and matching complexity issues caused by high-dimensional features in visual scene matching tasks. This method aggregates local features into a fixed number of cluster centers, compressing high-dimensional features and effectively improving retrieval efficiency.
- To improve the real-time performance of matching, we use IPCA to reduce the dimensionality of the feature space. Furthermore, we construct a KD-tree structure from the feature vector library of satellite images, recursively transforming the high-dimensional space into a series of hyperrectangular regions for efficient searching.
- To address the navigation challenges in complex terrain environments under satellite denial, our method integrates local fine-grained information with global semantic information and uses IPCA to reduce the dimensionality of the feature space, providing a feasible solution for autonomous flight of UAVs.
- To address the challenge of real-time visual navigation in real-world scenarios, we collected aerial photography data from various complex real-world environments to validate our algorithms, laying the foundation for the application of deep learning in intelligent positioning.
Abstract
1. Introduction
- We propose an aerial image–satellite image mapping architecture based on Siamese-ViT. The backbone network uses ViT as the global feature extractor and implements a weight-sharing mechanism to improve the model’s ability to handle cross-view geolocation.
- To address the issues of retrieval efficiency and matching complexity caused by high-dimensional features in visual scene matching tasks, we employ a K-means local feature aggregation method on top of the ViT global feature extraction framework. This method aggregates local features into a fixed number of cluster centers, compressing high-dimensional features and effectively improving retrieval efficiency.
- To improve the real-time performance of matching, we use IPCA to reduce the dimensionality of the feature space. Furthermore, we construct a KD-tree structure from the feature vector library of satellite images, recursively transforming the high-dimensional space into a series of hyperrectangular regions for efficient searching.
2. Methods
2.1. Global Feature Extraction Based on ViT
2.2. Local Feature Aggregation Based on K-Means
2.3. Feature Space Dimensionality Reduction Based on IPCA
2.4. Fast Feature Retrieval Based on KD-Tree
2.5. Loss Function Design
2.5.1. CE Loss
2.5.2. Triplet Loss
3. Results
3.1. Datasets
3.2. Model Training Details
3.3. Model Performance Verification
3.4. The Impact of Local Feature Aggregation Based on K-Means
3.5. The Impact of Feature Space Dimensionality Reduction on Feature Matching
3.6. The Impact of KD-Tree Feature Matching on Computational Efficiency
3.7. Real Flight Test
3.7.1. Straight Path of Drone
3.7.2. Irregular Path of Drone
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Lowe, D.G. Distinctive Image Features from Scale-Invariant Keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef]
- Bay, H.; Tuytelaars, T.; Van Gool, L. Surf: Speeded up robust features. Eur. Conf. Comput. Vis. 2006, 3951, 404–417. [Google Scholar]
- Rublee, E.; Rabaud, V.; Konolige, K.; Bradski, G. ORB: An efficient alternative to SIFT or SURF. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Barcelona, Spain, 6–13 November 2011; pp. 2564–2571. [Google Scholar]
- Lepetit, V.; Moreno-Noguer, F.; Fua, P. EPnP: An accurate O(n) solution to the PnP problem. Int. J. Comput. Vis. 2008, 81, 155–166. [Google Scholar] [CrossRef]
- Besl, P.J.; McKay, N.D. Method for registration of 3D shapes. IEEE Trans. Pattern Anal. Mach. Intell. (TPAMI) 1992, 14, 239–256. [Google Scholar] [CrossRef]
- Cummins, M.; Newman, P. FAB-MAP: Probabilistic localization and mapping in the space of appearance. Int. J. Robot. Res. 2008, 27, 647–665. [Google Scholar] [CrossRef]
- Milford, M.; Wyeth, G. SeqSLAM: Visual route-based navigation for sunny summer days and stormy winter nights. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), St. Paul, MN, USA, 14–18 May 2012; pp. 1643–1649. [Google Scholar]
- Wang, Z.; Shi, D.; Qiu, C.; Jin, S.; Li, T.; Shi, Y.; Liu, Z.; Qiao, Z. Sequence matching for image-based uav-to-satellite geolocalization. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5607815. [Google Scholar] [CrossRef]
- Baykal, F.; Gedik, M.İ.; Reyes-Aldasoro, C.C.; Karabağ, C. Image Matching for UAV Geolocation: Classical and Deep Learning Approaches. J. Imaging 2025, 11, 409. [Google Scholar] [CrossRef] [PubMed]
- Hu, S.; Feng, M.; Nguyen, R.M.H.; Lee, G.H. CVM-Net: Cross-view matching network for image-based ground-to-aerial geo-localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; pp. 7258–7267. [Google Scholar]
- Shi, Y.; Liu, L.; Yu, X.; Li, H. Spatial-Aware Feature Aggregation for Image based Cross-View Geo-Localization. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019; p. 32. [Google Scholar]
- Zheng, Z.; Wei, Y.; Yang, Y. University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization. In Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA, 12–16 October 2020; pp. 1395–1403. [Google Scholar]
- Wang, T.; Zheng, Z.; Yan, C.; Zhang, J.; Sun, Y.; Zheng, B.; Yang, Y. Each Part Matters: Local Patterns Facilitate Cross-View Geo-Localization. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 867–879. [Google Scholar] [CrossRef]
- Arandjelović, R.; Gronat, P.; Torii, A.; Pajdla, T.; Sivic, J. NetVLAD: CNN architecture for weakly supervised place recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 5297–5307. [Google Scholar]
- Noh, H.; Araujo, A.; Sim, J.; Weyand, T.; Han, B. Large-Scale Image Retrieval with Attentive Deep Local Features. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 3456–3465. [Google Scholar]
- Hausler, S.; Garg, S.; Xu, M.; Milford, M.; Fischer, T. Patch-NetVLAD: Multi-scale fusion of locally-global descriptors for place recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Virtual Conference, 19–25 June 2021; pp. 14141–14152. [Google Scholar]
- Berton, G.; Masone, C.; Caputo, B. Rethinking Visual Geo-localization for Large-Scale Applications. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 4878–4888. [Google Scholar]
- Ali-bey, A.; Chaib-draa, B.; Giguère, P. MixVPR: Feature Mixing for Visual Place Recognition. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA, 3–7 January 2023; pp. 2998–3007. [Google Scholar]
- Liao, Y.; Su, J.; Ma, D.; Niu, C. Uav-satellite cross-view image matching based on adaptive threshold-guided ring partitioning framework. Remote Sens. 2025, 17, 2448. [Google Scholar] [CrossRef]
- Li, M.; Wang, Z.; Huo, G.; Chen, W.; Zhao, X. A Deep Learning Framework with Geographic Information Adaptive Loss for Remote Sensing Images based UAV Self-Positioning. arXiv 2025, arXiv:2502.16164. [Google Scholar] [CrossRef]
- Tian, Y.; Chen, C.; Shah, M. Cross-view image matching for geo-localization in urban environments. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 3608–3616. [Google Scholar]
- Tian, X.; Shao, J.; Ouyang, D.; Shen, H.T. UAV-satellite view synthesis for cross-view geo-localization. IEEE Trans. Circuits Syst. Video Technol. 2021, 32, 4804–4815. [Google Scholar] [CrossRef]
- Zhang, X.; Shore, T.; Chen, C.; Mendez, O.; Hadfield, S.; Wshah, S. VICI: VLM-Instructed Cross-view Image-localisation. In Proceedings of the 3rd International Workshop on UAVs in Multimedia: Capturing the World from a New Perspective, Dublin, Ireland, 27–31 October 2025; pp. 21–25. [Google Scholar]
- Zhang, H.; Liu, Y.; Kuang, Z. SkyLink: Unifying Street-Satellite Geo-Localization via UAV-Mediated 3D Scene Alignment. In Proceedings of the 3rd International Workshop on UAVs in Multimedia: Capturing the World from a New Perspective, Dublin, Ireland, 27 October 2025; pp. 26–30. [Google Scholar]
- Ji, Y.; He, B.; Tan, Z.; Wu, L. MMGeo: Multimodal Compositional Geo-Localization for UAVs. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Honolulu, HI, USA, 19–23 October 2025; pp. 25165–25175. [Google Scholar]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16×16 words: Transformers for image recognition at scale. In Proceedings of the International Conference on Learning Representations (ICLR), Virtual Conference, 3–7 May 2021; pp. 3–7. [Google Scholar]
- Dai, M.; Hu, J.; Zhuang, J.; Zheng, E. A Transformer-Based Feature Segmentation and Region Alignment Method for UAV-View Geo-Localization. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 4376–4389. [Google Scholar] [CrossRef]
- Yang, H.; Lu, X.; Zhu, Y. Cross-view geo-localization with layer-to-layer transformer. Neural Inf. Process. Syst. 2021, 34, 29009–29020. [Google Scholar]
- Zhu, S.; Sha, M.h; Chen, C. TransGeo: Transformer Is All You Need for Cross-View Image Geo-Localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 19–24 June 2022; pp. 1162–1171. [Google Scholar]
- Deuser, F.; Habel, K.; Oswald, N. Sample4Geo: Hard Negative Sampling for Cross-View Geo-Localisation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 16847–16856. [Google Scholar]
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Virtual Conference, 11–17 October 2021; pp. 10012–10022. [Google Scholar]
- Kannan, S.S.; Min, B.-C. PlaceFormer: Transformer-Based Visual Place Recognition Using Multi-Scale Patch Selection and Fusion. IEEE Robot. Autom. Lett. 2024, 9, 6552–6559. [Google Scholar] [CrossRef]
- Tian, Z.; Huang, W.; Chen, Z.; Sun, X.W. Robust Visual Localization via Semantic-Guided Multi-Scale Transformer. arXiv 2025, arXiv:2506.08526. [Google Scholar]
- Grainge, O.; Milford, M.; Bodala, I.; Ramchurn, S.D.; Ehsan, S. TAT-VPR: Ternary Adaptive Transformer for Dynamic and Efficient Visual Place Recognition. arXiv 2025, arXiv:2505.16447. [Google Scholar] [CrossRef]
- Zhang, F.; Ren, H.; Ma, F.; Yin, Q.; Zhou, Y. SMGeo: Cross-View Object Geo-Localization with Grid-Level Mixture-of-Experts. arXiv 2025, arXiv:2511.14093. [Google Scholar]
- Deng, W.; Zheng, L.; Ye, Q.; Kang, G.; Yang, Y.; Jiao, J. Image-image domain adaptation with preserved self-similarity and domain dissimilarity for person re-identification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 994–1003. [Google Scholar]
- Wang, T.; Zheng, Z.; Zhu, Z.; Gao, Y.; Yang, Y.; Yan, C. Learning Cross-view Geo-localization Embeddings via Dynamic Weighted Decorrelation Regularization. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5647112. [Google Scholar] [CrossRef]


















| Methods | Recall@1 | Recall@5 | Recall@10 | AP |
|---|---|---|---|---|
| Contrastive Loss | 52.39 | 78.67 | 85.23 | 57.44 |
| LPN | 75.93 | 84.93 | 90.02 | 79.14 |
| FSRA | 85.5 | 86.37 | 87.79 | 87.53 |
| LPN+DWDR | 81.51 | 83.25 | 85.63 | 84.11 |
| TransGeo | 84.01 | 85.31 | 88.97 | 86.31 |
| Siamese_ViT | 86.34 | 88.24 | 91.85 | 87.69 |
| IPCA | Recall@1 | Recall@5 | Recall@10 | AP | Time Consuming/s |
|---|---|---|---|---|---|
| Before | 71.05 | 88.21 | 91.86 | 74.92 | 0.28 |
| After | 71.60 | 88.54 | 92.08 | 75.41 | 0.13 |
| KD-Tree | Time Consuming/s |
|---|---|
| Before | 0.28 |
| After | 0.05 |
| Method | Recall@1 | Recall@5 | Recall@10 | AP | Time Consuming/s |
|---|---|---|---|---|---|
| Brute-force matching | 71.05 | 88.21 | 91.86 | 74.92 | 0.28 |
| IPCA | 71.60 | 88.54 | 92.08 | 75.41 | 0.13 |
| IPCA + KD-tree | 71.60 | 88.54 | 92.08 | 75.41 | 0.03 |
| Real Flight Test Type | Evaluation Indicators | Algorithm | Latitude Error/m | Longitude Error/m | Horizontal Error/m |
|---|---|---|---|---|---|
| Straight path of drone | MAE | SIFT | 9.2483 | 10.1593 | 15.2996 |
| SURF | 11.3403 | 12.3567 | 18.6705 | ||
| Siamese-ViT | 6.2063 | 6.7552 | 10.1922 | ||
| RMSE | SIFT | 11.6682 | 12.8127 | 17.3295 | |
| SURF | 14.3294 | 15.6081 | 21.1883 | ||
| Siamese-ViT | 7.8008 | 8.5001 | 11.5371 | ||
| MAX | SIFT | 86.1516 | 62.8514 | 86.2194 | |
| SURF | 80.6985 | 75.8746 | 81.9524 | ||
| Siamese-ViT | 46.1594 | 31.0473 | 47.0375 |
| Real Flight Test Type | Evaluation Indicators | Algorithm | Latitude Error/m | Longitude Error/m | Horizontal Error/m |
|---|---|---|---|---|---|
| Irregular path of drone | MAE | SIFT | 7.2511 | 7.1905 | 11.5583 |
| SURF | 9.2044 | 9.0961 | 14.4325 | ||
| Siamese-ViT | 4.9685 | 3.8587 | 6.8526 | ||
| RMSE | SIFT | 9.8681 | 9.6123 | 13.7759 | |
| SURF | 12.2220 | 11.6697 | 16.8985 | ||
| Siamese-ViT | 6.5794 | 5.1902 | 8.3801 | ||
| MAX | SIFT | 56.5541 | 41.6551 | 56.5865 | |
| SURF | 65.1151 | 50.4499 | 65.3702 | ||
| Siamese-ViT | 35.6408 | 26.2714 | 41.9643 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Cheng, Y.; Liu, X.; Chen, S.; Xu, C. Siamese-ViT: A Local–Global Feature Fusion Method for Real-Time Visual Navigation of UAVs in Real-World Environments. Remote Sens. 2026, 18, 1556. https://doi.org/10.3390/rs18101556
Cheng Y, Liu X, Chen S, Xu C. Siamese-ViT: A Local–Global Feature Fusion Method for Real-Time Visual Navigation of UAVs in Real-World Environments. Remote Sensing. 2026; 18(10):1556. https://doi.org/10.3390/rs18101556
Chicago/Turabian StyleCheng, Yu, Xixiang Liu, Shuai Chen, and Chuan Xu. 2026. "Siamese-ViT: A Local–Global Feature Fusion Method for Real-Time Visual Navigation of UAVs in Real-World Environments" Remote Sensing 18, no. 10: 1556. https://doi.org/10.3390/rs18101556
APA StyleCheng, Y., Liu, X., Chen, S., & Xu, C. (2026). Siamese-ViT: A Local–Global Feature Fusion Method for Real-Time Visual Navigation of UAVs in Real-World Environments. Remote Sensing, 18(10), 1556. https://doi.org/10.3390/rs18101556

