AIS-Based Radar Error Correction Using a Vision Transformer Variant for Range and Azimuth Error Reduction
Abstract
1. Introduction
2. Materials and Methods
2.1. Problem Formulation
2.2. Dataset Description
2.3. Training Data Acquisition
2.3.1. Data Preprocessing
2.3.2. Error Sequence Calculation
2.3.3. Feature Extraction
2.4. Vision Transformer Variant Framework
2.4.1. Data Representation and Tokenisation
2.4.2. Training Algorithm
| Algorithm 1 ViT Variant Training for Radar Error Correction |
|
2.4.3. Network Architecture
2.4.4. Loss Function
2.4.5. Training Procedure
2.5. Error Correction and Target Localisation
3. Results
3.1. Experimental Setup
3.1.1. Evaluation Metrics
3.1.2. Baseline Methods
3.1.3. Implementation Details
3.2. Quantitative Results
3.2.1. Overall Performance Comparison
3.2.2. Cross-Validation Results
3.2.3. Statistical Significance Analysis
3.3. Qualitative Analysis
3.3.1. Trajectory Correction Visualisation
3.3.2. Error Distribution Analysis
3.4. Ablation Study
3.4.1. Effect of Encoder Layers
3.4.2. Effect of Attention Heads
3.4.3. Effect of Patch Size
4. Discussion
4.1. Analysis of ViT Variant Effectiveness
4.2. Comparison with Existing Methods
4.2.1. Architectural Contribution vs. Training Budget
4.2.2. Comparison with Alternative Architectures
4.3. Practical Implications
4.4. On the Plausibility of the 98.5% Error Reduction
4.5. Limitations and Future Work
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AIS | Automatic Identification System |
| ViT | Vision Transformer |
| MTDSP | Maritime Target Detection and Tracking |
| MAE | Mean Absolute Error |
| RMSE | Root Mean Square Error |
| IR | Improvement Ratio |
| UP | Uniform Partitioning |
| NUP | Non-uniform Partitioning |
| SVR | Support Vector Regression |
| STDNN | Single-Task Deep Neural Network |
| DNN | Deep Neural Network |
| MSA | Multi-Head Self-Attention |
| FFN | Feed-Forward Network |
| LN | Layer Normalisation |
| SNR | Signal-to-Noise Ratio |
| CLS | Classification Token |
Appendix A. Trajectory Correction Visualisation



Appendix B. Ablation Study: Effect of Encoder Layers

References
- Bloisi, D.D.; Previtali, F.; Pennisi, A.; Nardi, D.; Fiorini, M. Enhancing Automatic Maritime Surveillance Systems with Visual Information. IEEE Trans. Intell. Transp. Syst. 2017, 18, 824–833. [Google Scholar] [CrossRef]
- Muntoni, G.; Montisci, G.; Pisanu, T.; Andronico, P.; Valente, G. Crowded Space: A Review on Radar Measurements for Space Debris Monitoring and Tracking. Appl. Sci. 2021, 11, 1364. [Google Scholar] [CrossRef]
- Jian, L.; Wen, G. Maritime Target Detection and Tracking. In Proceedings of the 2019 IEEE 2nd International Conference on Automation, Electronics and Electrical Engineering (AUTEEE), Shenyang, China, 22–24 November 2019; pp. 309–314. [Google Scholar] [CrossRef]
- Bychkovskiy, V.; Megerian, S.; Estrin, D.; Potkonjak, M. A Collaborative Approach to In-Place Sensor Calibration. In Proceedings of the Information Processing in Sensor Networks; Zhao, F., Guibas, L., Eds.; Springer: Berlin/Heidelberg, Germany, 2003; pp. 301–316. [Google Scholar] [CrossRef]
- Shi, H.; Wang, D.; Wei, L.; Liang, S. A Sequential Kalman-Newton-KM Framework for AIS and Radar Data Fusion in Restricted Inland Waterways. Sensors 2026, 26, 2255. [Google Scholar] [CrossRef] [PubMed]
- Wang, B.; Wang, Z.; Wei, J. Research on AIS and Radar Based Ship Track Fusion Method. In Proceedings of the International Joint Conference on Civil and Marine Engineering (JCCME 2023), Dalian, China, 3–6 November 2023; IET Conference Publications CP867; Institution of Engineering and Technology: London, UK, 2024; pp. 171–178. [Google Scholar] [CrossRef]
- Atlas, D. RADAR CALIBRATION: SOME SIMPLE APPROACHES. Bull. Am. Meteorol. Soc. 2002, 83, 1313–1316. [Google Scholar] [CrossRef]
- Munir, A.; Aved, A.; Blasch, E. Situational Awareness: Techniques, Challenges, and Prospects. AI 2022, 3, 55–77. [Google Scholar] [CrossRef]
- Dong, Y.; Huang, G.; Li, B. A Radar Partition Calibration Method for Non-Uniform Systematic Errors. Electron. Opt. Control. 2020, 27, 69–74. [Google Scholar]
- Ma, H.; Mao, X.; Qu, Y.; Gao, Y. An Efficient Method for Amplitude–Phase Error Calibration in Direct Localization for Distributed Multi-Station Systems. Remote Sens. 2025, 17, 661. [Google Scholar] [CrossRef]
- Meng, T.; Jing, X.; Yan, Z.; Pedrycz, W. A Survey on Machine Learning for Data Fusion. Inf. Fusion 2020, 57, 115–129. [Google Scholar] [CrossRef]
- Sansot, G.; Négrier, R.; Labarthe, C.; Menudier, C. Radar Auto-Calibration Using Kalman Filter Data-Fusion. In Proceedings of the 2025 IEEE Radar Conference (RadarConf25), Krakow, Poland, 4–10 October 2025; pp. 467–471. [Google Scholar] [CrossRef]
- Jiang, B.; Sun, L.; Zhou, W.; Guan, J.; He, Y. A Multi-Target Joint Estimation Method for Radar Calibration Based on Real-Time AIS Data. In Proceedings of the 2016 CIE International Conference on Radar (RADAR), Guangzhou, China, 10–13 October 2016; pp. 1–5. [Google Scholar] [CrossRef]
- Jiang, B.; Sun, L.; Zhou, W.; Wang, G.; Guan, J. An AIS-Based Multi-Target Joint Error Estimation Method for Sea-Surface Surveillance Radar. Fire Control Command Control 2017, 42, 25–29, 33. [Google Scholar]
- Tao, Z.; Xiaoming, T. High-Accuracy Radar Calibration Based on ADS-B. In Proceedings of the IET International Radar Conference 2015, Hangzhou, China, 14–16 October 2015; pp. 1–6. [Google Scholar] [CrossRef]
- Liu, L.; Ji, H.; Zhang, W.; Liao, G. Multi-Sensor Multi-Target Tracking Using Probability Hypothesis Density Filter. IEEE Access 2019, 7, 67745–67760. [Google Scholar] [CrossRef]
- Li, P.; Fan, E.; Yuan, C. A Specific Iterative Closest Point Algorithm for Estimating Radar System Errors. IEEE Access 2020, 8, 6417–6428. [Google Scholar] [CrossRef]
- Jia, T.; Liu, H.; Wang, P.; Wang, R.; Gao, C. Sensor Error Calibration and Optimal Geometry Analysis of Calibrators. Signal Process. 2024, 214, 109249. [Google Scholar] [CrossRef]
- Zhai, Y. Automatic Radar Calibration Method Based on UAV. In Proceedings of the 2024 6th International Conference on Electronics and Communication, Network and Computer Technology (ECNCT), Guangzhou, China, 19–21 July 2024; pp. 7–11. [Google Scholar] [CrossRef]
- Liu, Y.; Shi, Z.; Fu, B.; Xu, H. Radar Error Correction Method Based on Improved Sparrow Search Algorithm. Appl. Sci. 2024, 14, 3714. [Google Scholar] [CrossRef]
- Austel, A.; Panneke, L.; Piotrowski, J.; Wetzig, N.; Steidel, M.; Westphal, B. Using Monitoring of Maritime Traffic Scenarios in the Validation of Maritime Systems. In Proceedings of the 2025 Symposium on Maritime Informatics and Robotics (MARIS), Syros, Greece, 26–27 June 2025; pp. 1–8. [Google Scholar] [CrossRef]
- Geng, Z.; Yan, H.; Zhang, J.; Zhu, D. Deep-Learning for Radar: A Survey. IEEE Access 2021, 9, 141800–141818. [Google Scholar] [CrossRef]
- Lu, X.; Pan, Z.; Zhou, H. Cross-Attention Transformer for Coherent Detection in Radar Under Low-SNR Conditions. Sensors 2025, 25, 7588. [Google Scholar] [CrossRef]
- Tang, Z.; Shen, H.; Lam, C.T. Automatic Recognition of Dual-Component Radar Signals Based on Deep Learning. Sensors 2025, 25, 1809. [Google Scholar] [CrossRef] [PubMed]
- Kim, J.; Jeong, T.; Lee, S. DNN-Based Estimation for Misalignment State of Automotive Radar Sensor. Sensors 2023, 23, 6472. [Google Scholar] [CrossRef]
- Han, K.; Wang, Y.; Chen, H.; Chen, X.; Guo, J.; Liu, Z.; Tang, Y.; Xiao, A.; Xu, C.; Xu, Y.; et al. A Survey on Vision Transformer. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 87–110. [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; ukasz Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. In Proceedings of the Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
- Liu, N.; Li, J.; Wang, G.; Chen, B.; Cao, Z.; Dong, Y.; Guan, J.; Jiang, X.; Zhang, Z.; Xue, W. Maritime Target Detection and Tracking Experiments and Target Characteristic Data Acquisition: A Multi-Source Observation Dataset for Maritime Targets. J. Radars 2025, 14, 754–780. [Google Scholar]
- Zhang, F.; O’Donnell, L.J. Chapter 7—Support Vector Regression. In Machine Learning; Mechelli, A., Vieira, S., Eds.; Academic Press: Cambridge, MA, USA, 2020; pp. 123–140. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Kendall, A.; Gal, Y.; Cipolla, R. Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semantics. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; pp. 7482–7491. [Google Scholar]
- Zhu, X.; Jia, Y.; Jian, S.; Gu, L.; Pu, Z. ViTT: Vision Transformer Tracker. Sensors 2021, 21, 5608. [Google Scholar] [CrossRef]
- Wang, Y.; Yang, G.; Li, S.; Li, Y.; He, L.; Liu, D. Arrhythmia Classification Algorithm Based on Multi-Head Self-Attention Mechanism. Biomed. Signal Process. Control 2023, 79, 104206. [Google Scholar] [CrossRef]
- Kim, H.; Ko, B.C. Rethinking Attention Mechanisms in Vision Transformers with Graph Structures. Sensors 2024, 24, 1111. [Google Scholar] [CrossRef]
- Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the 3rd International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar] [CrossRef]
- Tolstikhin, I.; Houlsby, N.; Kolesnikov, A.; Beyer, L.; Zhai, X.; Unterthiner, T.; Yung, J.; Steiner, A.; Keysers, D.; Uszkoreit, J.; et al. MLP-Mixer: An All-MLP Architecture for Vision. arXiv 2021, arXiv:2103.03206. [Google Scholar]
- Huang, X.; Khetan, A.; Cvitkovic, M.; Karnin, Z. TabTransformer: Tabular Data Modeling Using Contextual Embeddings. arXiv 2020, arXiv:2012.06678. [Google Scholar] [CrossRef]
- Jaegle, A.; Gimeno, F.; Brock, A.; Zisserman, A.; Vinyals, O.; Carreira, J. Perceiver: General Perception with Iterative Attention. arXiv 2021, arXiv:2103.03206. [Google Scholar] [CrossRef]
- Gu, A.; Dao, T. Mamba: Linear-Time Sequence Modeling with Selective State Spaces. arXiv 2023, arXiv:2103.03206. [Google Scholar]



| Method | Range Error (m) | Azimuth Error (°) | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | P95 | MAE | RMSE | P95 | |
| Uncalibrated | 514.76 | 519.40 | 556.75 | 1.37 | 1.53 | 2.98 |
| UP | 43.41 | 114.83 | 396.21 | 0.65 | 0.83 | 1.78 |
| NUP | 24.01 | 55.70 | 118.83 | 0.57 | 0.77 | 1.75 |
| SVR | 30.87 | 40.12 | 92.09 | 0.61 | 0.78 | 1.76 |
| XGBoost | 26.22 | 34.19 | 81.36 | 0.43 | 0.60 | 1.36 |
| STDNN | 18.00 | 21.00 | 39.95 | 0.30 | 0.42 | 0.92 |
| Deep MLP (Eq. Cap.) | 9.41 | 12.44 | 23.86 | 0.15 | 0.22 | 0.44 |
| MLP-Mixer | 9.20 | 12.52 | 24.94 | 0.13 | 0.19 | 0.45 |
| TabTransformer | 7.82 | 11.07 | 22.83 | 0.15 | 0.21 | 0.42 |
| Transformer (Vanilla) | 8.01 | 12.11 | 28.21 | 0.15 | 0.23 | 0.53 |
| Transformer (Eq. Cap.) | 7.51 | 10.88 | 23.16 | 0.15 | 0.21 | 0.43 |
| ViT Variant | 7.77 | 11.18 | 23.01 | 0.14 | 0.21 | 0.41 |
| Metric | Model A | Mean A ± Std | Model B | Mean B ± Std | Impr. | p-Value | Cohen’s d |
|---|---|---|---|---|---|---|---|
| ViT Variant vs. Transformer (Vanilla) | |||||||
| Range MAE (m) | Transformer (Vanilla) | 8.01 ± 0.03 | ViT | 7.77 ± 0.03 | 3.0% | < *** | 0.72 (medium) |
| Range RMSE (m) | Transformer (Vanilla) | 12.11 ± 0.03 | ViT | 11.18 ± 0.05 | 7.7% | < *** | 0.89 (large) |
| Range P95 (m) | Transformer (Vanilla) | 28.21 ± 0.06 | ViT | 23.01 ± 0.14 | 18.4% | < *** | 1.21 (large) |
| Azimuth MAE (°) | Transformer (Vanilla) | 0.15 ± 0.01 | ViT | 0.14 ± 0.01 | 6.7% | 0.008 ** | 0.48 (small) |
| Azimuth RMSE (°) | Transformer (Vanilla) | 0.23 ± 0.01 | ViT | 0.21 ± 0.01 | 8.7% | < *** | 0.68 (medium) |
| Azimuth P95 (°) | Transformer (Vanilla) | 0.53 ± 0.01 | ViT | 0.41 ± 0.01 | 22.6% | < *** | 1.32 (large) |
| Attention Heads | Range MAE (m) | Range RMSE (m) | Azimuth MAE (°) | Training Time (s) |
|---|---|---|---|---|
| 1 head | 11.39 | 15.33 | 0.20 | 1696.64 |
| 2 heads | 11.59 | 15.71 | 0.20 | 1431.57 |
| 4 heads | 10.33 | 14.31 | 0.19 | 1985.32 |
| 6 heads | 11.47 | 15.70 | 0.22 | 1734.30 |
| 8 heads | 12.18 | 16.44 | 0.20 | 1120.44 |
| 10 heads | 10.00 | 13.86 | 0.19 | 838.20 |
| 12 heads | 10.00 | 13.95 | 0.20 | 782.72 |
| Patch Size | Range MAE (m) | Range RMSE (m) | Azimuth MAE (°) | Training Time (s) |
|---|---|---|---|---|
| 1 | 9.85 | 13.70 | 0.18 | 2580.28 |
| 2 | 9.88 | 13.88 | 0.18 | 1619.73 |
| 3 | 9.69 | 13.66 | 0.16 | 1578.15 |
| 4 | 9.93 | 13.72 | 0.18 | 1251.28 |
| 6 | 10.03 | 13.94 | 0.18 | 673.59 |
| 12 | 9.82 | 13.72 | 0.17 | 527.27 |
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
Fan, Z.; Liu, G.; Peng, B.; Chen, J. AIS-Based Radar Error Correction Using a Vision Transformer Variant for Range and Azimuth Error Reduction. Sensors 2026, 26, 3782. https://doi.org/10.3390/s26123782
Fan Z, Liu G, Peng B, Chen J. AIS-Based Radar Error Correction Using a Vision Transformer Variant for Range and Azimuth Error Reduction. Sensors. 2026; 26(12):3782. https://doi.org/10.3390/s26123782
Chicago/Turabian StyleFan, Zhaohui, Gandong Liu, Bo Peng, and Jinyong Chen. 2026. "AIS-Based Radar Error Correction Using a Vision Transformer Variant for Range and Azimuth Error Reduction" Sensors 26, no. 12: 3782. https://doi.org/10.3390/s26123782
APA StyleFan, Z., Liu, G., Peng, B., & Chen, J. (2026). AIS-Based Radar Error Correction Using a Vision Transformer Variant for Range and Azimuth Error Reduction. Sensors, 26(12), 3782. https://doi.org/10.3390/s26123782

