Interpolation-Based Inference of Vessel Trajectory Waypoints from Sparse AIS Data in Maritime
Abstract
:1. Introduction
- An algorithm based on the multidimensional dynamic features of vessels for detecting waypoints of a single trajectory with missing or insufficient data using interpolation methods has been proposed. The proposed algorithm incorporates multiple motion features for the waypoint detection of an AIS-based trajectory.
- Various interpolation methods for improving the resolution of AIS message-based trajectories in critical areas have been investigated.
- Two types of waypoints are detected by the waypoint detection algorithm: waypoints on interpolated AIS messages and waypoints on observed AIS messages. To ensure safety, historical data can be used to replace interpolated waypoints with nearby AIS messages from the historical AIS data (or available true waypoints).
- Numerical results are presented that showcase the effectiveness of various interpolation methods before the waypoint detection algorithms are applied. Furthermore, numerical experiments provide a comparison of the proposed algorithm with an existing algorithm for waypoint detection.
2. Related Work
3. Background
3.1. Definitions
- Trajectory point: A minimal trajectory point () is defined as , where is the longitude of a moving object, is the latitude, and is the time that and were collected. is a set of features related to the motion of the vessel, such as course over the ground, speed over the ground, etc. is the identifier of a moving object, and is the set of all trajectory points. A trajectory point can include additional elements that represent the diverse features of a moving object in an application. The sequence of spatio-temporal points characterizes a trajectory.
- Trajectory: A trajectory is a time-ordered sequence of spatio-temporal points. A formal definition of a raw trajectory for a moving object o is given by , where . A trajectory can be split into smaller parts, called segments or sub-trajectories, which are defined next.
- Segment or Sub-Trajectory: A segment or sub-trajectory is a set of consecutive trajectory points between two waypoints belonging to a raw trajectory that represents a useful pattern or behavior of a moving object.
- Trajectory Point Feature: The trajectory point feature is an attribute that describes the state of a moving object. Examples of trajectory point features include the speed over ground, the course over ground, and acceleration. These features can be present in the observations of trajectory samples or computed from these observations. A combination of these point trajectory features can be exploited to detect the waypoints.
- True Waypoint: The true waypoint is a waypoint that maritime domain experts have manually placed by exploiting all the available information, such as navigation charts, regulations, and the history of navigation in the area.
3.2. Interpolation Methods
3.2.1. Linear Interpolation
3.2.2. Cubic Spline Interpolation
3.2.3. Cubic Hermite Spline Interpolation
4. Waypoint Detection in Sparse AIS Data
4.1. Model and Problem Formulation
4.2. Proposed Solution for Reference Route Detection Using Interpolation
4.3. Waypoint Detection Algorithm
Algorithm 1 Waypoint Detection Using Hybrid Reactive Buffering Window (Hybrid RBW) Algorithm. |
Input: Buffering window length w, distance threshold , variations threshold r, mean , and covariance |
Output: A list of trajectory waypoints |
Initialization: |
|
5. Experimental Evaluation
- RQ1. How do different interpolation methods perform during the prediction/fitting of AIS messages in vessel trajectories?
- RQ2. How do different interpolation methods affect the performance of the waypoint detection algorithms applied to trajectories with missing or insufficient AIS messages?
- RQ3. How does the proposed methodology perform when compared to other waypoint detection algorithms?
5.1. Maritime Datasets
5.2. Performance Evaluation Metrics
- Mean Squared Error: To evaluate how well the interpolation methods can predict the missing AIS messages in a vessel trajectory, we utilize mean squared error (MSE), given by
- Harmonic Mean of Purity and Coverage: Popular metrics for evaluating the performance of segmentation trajectories include purity and coverage. Purity and coverage were formally introduced as the evaluation criteria for segmentation algorithms [42]. We measured the purity and coverage of the estimated segments by comparing them with ground truth data. Purity shows the degree to which a trajectory segment is divided correctly compared with subject-matter expert segmentation. The coverage quantifies the extent to which the algorithm can cover the segments identified by a subject matter expert. Purity is mathematically defined as [42]
5.3. RQ 1: Performance of Interpolation Methods for Interpolating AIS Trajectories
- Experimental Setup. In order to evaluate the interpolation methods, we removed a number of AIS messages from the trajectories and then predicted these messages using various interpolation methods. Given the missing probability of an AIS message, each AIS message is uniformly selected for removal from the trajectory. It is pertinent to mention that the missing probability of an AIS message cannot be increased beyond a certain limit, as we cannot eliminate a large number of AIS messages from a trajectory and then interpolate the missing ones based on the remaining messages. MSE (defined in Equation (2)) is used to illustrate the performance of the interpolation methods. In this research question, the MSE values for all the methods are averaged across 50 trajectories.
- Results. A comparison of the performance of the interpolation methods, i.e., linear, cubic, and cubic Hermite interpolation, is shown in Figure 5. The MSE is presented against several missing probabilities of an AIS message in a trajectory. It can be observed for all the cases that when the missing probability increases, the MSE of the interpolation methods also exhibits an increasing trend. The cubic Hermite spline interpolation outperformed the other interpolation methods for lower values of missing probabilities. However, when the missing probability is increased beyond a certain limit, the MSE of the cubic Hermite interpolation method becomes higher than those of the linear and cubic interpolation methods. This is expected because interpolation methods require a reasonable amount of data to work properly, and they cannot work in scenarios when there are no adequate data available. This confirms that cubic Hermite interpolation can be used to interpolate AIS messages in the vessel trajectories. To corroborate this observation further, Figure 6 presents a comparison of how these interpolation methods perform while interpolating AIS message-based trajectories. Blue dots denote the observed AIS messages, whereas green, orange, and brown dots indicate cubic Hermite splines, cubic splines, and linear interpolation, respectively. Both linear and cubic spline interpolations can result in positions very close to the islands, whereas cubic Hermite splines yield interpolated locations comparatively in a safer area.
5.4. RQ2: Interpolation Methods’ Effects on the Waypoint Detection Algorithm
- Experimental Setup. To answer this research question, we exploited the true labeled data. The true waypoints of a reference route between Ålesund and Måløy were used to evaluate the performance of the proposed methodology for waypoint detection. True labeled data were generated as follows. Given the interpolated trajectory and true waypoints, the closest AIS message in the interpolated trajectory to the true waypoint of the NCA reference route is labeled as a true waypoint of the given interpolated trajectory. This procedure is followed because the given representative trajectory is not exactly the same as the NCA reference route. Hence, the estimated waypoints of the representative route will lie in the vicinity of the NCA true waypoints. To evaluate the performance, we assign the label of true waypoints to the AIS messages along the representative interpolated merged trajectory based on the minimum distance. To illustrate this further, we display an overview of the observed AIS messages, true waypoints from the NCA reference route, estimated waypoints, and labeled waypoints for each representative trajectory containing both the observed and interpolated AIS messages in one area in Figure 7. As discussed, if the representative trajectory closely follows the true waypoints, then the labeled waypoints will also be closer to the true waypoints. In this case, in Figure 7, the representative trajectory of the vessel is following the true waypoints or the true reference route near the bridge but not closely following it in other areas. Consequently, in an area where the representative route follows the true reference route, the labeled waypoints are closer to the true waypoints from the NCA route, compared to areas where the representative trajectory is at a distance from the NCA reference route.
- Results. The numerical results are presented in Figure 8; performance in terms of the harmonic mean of purity and coverage for the waypoint detection algorithm with various covariance estimators is shown. True labels were manually generated by observing the interpolated trajectory. Different covariance estimators, i.e., shrunk covariance [44], Oracle Approximating Shrinkage (OAS) [44], minimum covariance determinant [45], elliptical envelope [46], and Ledoit-Wolf [47] estimators, have been tested to be used in hybrid RBW for covariance estimation. These are different covariance estimators with diverse properties. The figure demonstrates that all these estimators have almost the same performance in terms of the harmonic mean of purity and coverage. However, the shrunk covariance estimator has a slightly higher harmonic mean of purity and coverage than the other covariance estimators. Moreover, a comparison of the different interpolation methods for waypoint detection performance in the form of the harmonic mean of purity and coverage is illustrated in Figure 9. The figure demonstrates that cubic Hermite interpolation is suitable for waypoint detection when the (representative) trajectory contains insufficient AIS messages. Finally, to have an overview of the waypoint estimation for a representative trajectory, a comparison of the true and estimated waypoints is presented in Figure 10. It can be observed that the estimated waypoints mostly match the locations of the true waypoints. The true waypoints were manually selected according to the trajectory. The trajectory was interpolated using cubic Hermite spline interpolation.
5.5. RQ3: Comparison with Other Waypoint Detection Algorithms
- Experimental Setup. We consider a comparison with the CUSUM algorithm [48] applied to the dynamic feature of course over ground. We used the implementation of CUSUM available in [49]. The waypoints of a representative trajectory with inadequate AIS messages are detected. The same interpolation method (i.e., cubic Hermite interpolation) is used for both waypoint detection algorithms.
- Results. Figure 11 compares the proposed method and the commonly known benchmark CUSUM algorithm for waypoint detection. This result is based on the representative trajectory between Ålesund and Måløy. The hyperparameters of CUSUM are tuned such that a high harmonic mean of purity and coverage is obtained. Similarly, the hyperparameters of hybrid RBW are also selected so that a high value of the harmonic mean of purity and coverage is produced. The proposed method has a higher harmonic mean of purity and coverage (0.82) than that of the CUSUM algorithm (0.79); hence, the proposed algorithm outperforms CUSUM in the envisaged scenario for the waypoint detection of a trajectory with sparse data.
5.6. Discussion of the Results
6. Conclusions
6.1. Limitations
6.2. Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
AIS | Automatic identification system |
CUSUM | Cumulative sum |
GGS | Greedy Gaussian segmentation |
IMO | International Maritime Organization |
MSE | Mean squared error |
NCA | Norwegian Coastal Administration |
RBW | Reactive buffering window |
References
- Le Tixerant, M.; Le Guyader, D.; Gourmelon, F.; Queffelec, B. How can Automatic Identification System (AIS) data be used for maritime spatial planning? Ocean Coast. Manag. 2018, 166, 18–30. [Google Scholar] [CrossRef] [Green Version]
- Tu, E.; Zhang, G.; Rachmawati, L.; Rajabally, E.; Huang, G.B. Exploiting AIS Data for Intelligent Maritime Navigation: A Comprehensive Survey From Data to Methodology. IEEE Trans. Intell. Transp. Syst. 2018, 19, 1559–1582. [Google Scholar] [CrossRef]
- Lee, E.; Mokashi, A.J.; Moon, S.Y.; Kim, G. The Maturity of Automatic Identification Systems (AIS) and Its Implications for Innovation. J. Mar. Sci. Eng. 2019, 7, 287. [Google Scholar] [CrossRef] [Green Version]
- Dominguez, A.G. Smart Ships: Mobile Applications, Cloud and Big Data on Marine Traffic for Increased Safety and Optimized Costs Operations. In Proceedings of the International Conference on Artificial Intelligence, Modelling and Simulation, Madrid, Spain, 18–20 November 2014; pp. 303–308. [Google Scholar]
- Claramunt, C.; Ray, C.; Salmon, L.; Camossi, E.; Hadzagic, M.; Jousselme, A.; Andrienko, G.; Andrienko, N.; Theodoridis, Y.; Vouros, G. Maritime data integration and analysis: Recent progress and research challenges. Adv. Database Technol. EDBT 2017, 2017, 192–197. [Google Scholar]
- Last, P.; Bahlke, C.; Hering-Bertram, M.; Linsen, L. Comprehensive analysis of automatic identification system (AIS) data in regard to vessel movement prediction. J. Navig. 2014, 67, 791–809. [Google Scholar] [CrossRef] [Green Version]
- Kontopoulos, I.; Chatzikokolakis, K.; Zissis, D.; Tserpes, K.; Spiliopoulos, G. Real-time maritime anomaly detection: Detecting intentional AIS switch-off. Int. J. Big Data Intell. 2020, 7, 85–96. [Google Scholar] [CrossRef]
- Mazzarella, F.; Vespe, M.; Alessandrini, A.; Tarchi, D.; Aulicino, G.; Vollero, A. A novel anomaly detection approach to identify intentional AIS on-off switching. Expert Syst. Appl. 2017, 78, 110–123. [Google Scholar] [CrossRef]
- Ray, C.; Gallen, R.; Iphar, C.; Napoli, A.; Bouju, A. DeAIS project: Detection of AIS spoofing and resulting risks. In Proceedings of the OCEANS, Genova, Italy, 18–21 May 2015; pp. 1–6. [Google Scholar]
- Ikonomakis, A.; Nielsen, U.D.; Holst, K.K.; Dietz, J.; Galeazzi, R. Validation and correction of auto-logged position measurements. Commun. Transp. Res. 2022, 2, 100051. [Google Scholar] [CrossRef]
- Wu, L.; Xu, Y.; Wang, Q.; Wang, F.; Xu, Z. Mapping global shipping density from AIS data. J. Navig. 2017, 70, 67–81. [Google Scholar] [CrossRef]
- Onyango, S.O.; Owiredu, S.A.; Kim, K.I.; Yoo, S.L. A Quasi-Intelligent Maritime Route Extraction from AIS Data. Sensors 2022, 22, 8639. [Google Scholar] [CrossRef]
- Arguedas, V.F.; Pallotta, G.; Vespe, M. Maritime traffic networks: From historical positioning data to unsupervised maritime traffic monitoring. IEEE Trans. Intell. Transp. Syst. 2017, 19, 722–732. [Google Scholar] [CrossRef]
- Vespe, M.; Visentini, I.; Bryan, K.; Braca, P. Unsupervised learning of maritime traffic patterns for anomaly detection. In Proceedings of the IET Data Fusion & Target Tracking Conference: Algorithms & Applications, London, UK, 16–17 May 2012. [Google Scholar]
- Long, J.A. Kinematic interpolation of movement data. Int. J. Geogr. Inf. Sci. 2016, 30, 854–868. [Google Scholar] [CrossRef] [Green Version]
- Nguyen, V.S.; Im, N.k.; Lee, S.m. The interpolation method for the missing AIS data of ship. J. Navig. Port Res. 2015, 39, 377–384. [Google Scholar] [CrossRef] [Green Version]
- Lee, J.S.; Lee, H.T.; Cho, I.S. Maritime Traffic Route Detection Framework Based on Statistical Density Analysis From AIS Data Using a Clustering Algorithm. IEEE Access 2022, 10, 23355–23366. [Google Scholar] [CrossRef]
- Zygouras, N.; Spiliopoulos, G.; Zissis, D. Detecting representative trajectories from global AIS datasets. In Proceedings of the IEEE International Intelligent Transportation Systems Conference (ITSC), Indianapolis, IN, USA, 19–22 September 2021; pp. 2278–2285. [Google Scholar]
- Besse, P.C.; Guillouet, B.; Loubes, J.M.; Royer, F. Review and perspective for distance-based clustering of vehicle trajectories. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3306–3317. [Google Scholar] [CrossRef] [Green Version]
- Lee, J.S.; Son, W.J.; Lee, H.T.; Cho, I.S. Verification of novel maritime route extraction using kernel density estimation analysis with automatic identification system data. J. Mar. Sci. Eng. 2020, 8, 375. [Google Scholar] [CrossRef]
- Silveira, P.; Teixeira, A.; Guedes-Soares, C. AIS based shipping routes using the Dijkstra algorithm. TransNav Int. J. Mar. Navig. Saf. Sea Transp. 2019, 13, 565–571. [Google Scholar] [CrossRef]
- Lei, P.R.; Tsai, T.H.; Peng, W.C. Discovering maritime traffic route from AIS network. In Proceedings of the Asia-Pacific Network Operations and Management Symposium (APNOMS), Kanazawa, Japan, 5–7 October 2016; pp. 1–6. [Google Scholar]
- Wang, G.; Meng, J.; Han, Y. Extraction of maritime road networks from large-scale AIS data. IEEE Access 2019, 7, 123035–123048. [Google Scholar] [CrossRef]
- Zhang, S.K.; Shi, G.Y.; Liu, Z.J.; Zhao, Z.W.; Wu, Z.L. Data-driven based automatic maritime routing from massive AIS trajectories in the face of disparity. Ocean Eng. 2018, 155, 240–250. [Google Scholar] [CrossRef]
- Hallac, D.; Nystrup, P.; Boyd, S. Greedy Gaussian segmentation of multivariate time series. Adv. Data Anal. Classif. 2019, 13, 727–751. [Google Scholar] [CrossRef] [Green Version]
- Lamm, A.; Hahn, A. Detecting maneuvers in maritime observation data with CUSUM. In Proceedings of the IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), Bilbao, Spain, 18–20 December 2017; pp. 122–127. [Google Scholar]
- Dobrkovic, A.; Iacob, M.E.; Van Hillegersberg, J. Using machine learning for unsupervised maritime waypoint discovery from streaming AIS data. In Proceedings of the Proceedings of the International Conference on Knowledge Technologies and Data-driven Business, Graz, Austria, 18–21 October 2015; pp. 1–8. [Google Scholar]
- Dobrkovic, A.; Iacob, M.E.; van Hillegersberg, J. Maritime pattern extraction and route reconstruction from incomplete AIS data. Int. J. Data Sci. Anal. 2018, 5, 111–136. [Google Scholar] [CrossRef] [Green Version]
- Liu, C.; Chen, X. Vessel track recovery With incomplete AIS data using tensor CANDECOM/PARAFAC decomposition. J. Navig. 2014, 67, 83–99. [Google Scholar] [CrossRef]
- Jie, X.; Chaozhong, W.; Zhijun, C.; Xiaoxuan, C. A novel estimation algorithm for interpolating ship motion. In Proceedings of the International Conference on Transportation Information and Safety (ICTIS), Banff, AB, Canada, 8–10 August 2017; pp. 557–562. [Google Scholar]
- Guo, S.; Mou, J.; Chen, L.; Chen, P. Improved kinematic interpolation for AIS trajectory reconstruction. Ocean Eng. 2021, 234, 109256. [Google Scholar] [CrossRef]
- Kontopoulos, I.; Varlamis, I.; Tserpes, K. A distributed framework for extracting maritime traffic patterns. Int. J. Geogr. Inf. Sci. 2021, 35, 767–792. [Google Scholar] [CrossRef]
- Zhang, D.; Li, J.; Wu, Q.; Liu, X.; Chu, X.; He, W. Enhance the AIS data availability by screening and interpolation. In Proceedings of the International Conference on Transportation Information and Safety (ICTIS), Banff, AB, Canada, 8–10 August 2017; pp. 981–986. [Google Scholar]
- Abreu, F.H.; Soares, A.; Paulovich, F.V.; Matwin, S. A trajectory scoring tool for local anomaly detection in maritime traffic using visual analytics. ISPRS Int. J. Geo-Inf. 2021, 10, 412. [Google Scholar] [CrossRef]
- Lee, W.; Cho, S.W. AIS Trajectories Simplification Algorithm Considering Topographic Information. Sensors 2022, 22, 7036. [Google Scholar] [CrossRef] [PubMed]
- Guo, S.; Mou, J.; Chen, L.; Chen, P. An Anomaly Detection Method for AIS Trajectory Based on Kinematic Interpolation. J. Mar. Sci. Eng. 2021, 9, 609. [Google Scholar] [CrossRef]
- Pallotta, G.; Vespe, M.; Bryan, K. Vessel Pattern Knowledge Discovery from AIS Data: A Framework for Anomaly Detection and Route Prediction. Entropy 2013, 15, 2218–2245. [Google Scholar] [CrossRef] [Green Version]
- Johnson, R.A.; Wichern, D.W. Applied Multivariate Statistical Analysis; Prentice Hall: Upper Saddle River, NJ, USA, 2014; Volume 6. [Google Scholar]
- Bajorski, P. Statistics for Imaging, Optics, and Photonics; John Wiley & Sons: Hoboken, NJ, USA, 2011; Volume 808. [Google Scholar]
- Available online: https://navtor.com/ (accessed on 2 March 2023).
- Available online: https://routeinfo.no/ (accessed on 2 March 2023).
- Soares Júnior, A.; Moreno, B.N.; Times, V.C.; Matwin, S.; Cabral, L.d.A.F. GRASP-UTS: An algorithm for unsupervised trajectory segmentation. Int. J. Geogr. Inf. Sci. 2015, 29, 46–68. [Google Scholar] [CrossRef]
- Etemad, M. Novel Algorithms for Trajectory Segmentation Based on Interpolation-Based Change Detection Strategies. Ph.D. Thesis, Dalhousie University, Halifax, NS, Canada, 2020. [Google Scholar]
- Chen, Y.; Wiesel, A.; Eldar, Y.C.; Hero, A.O. Shrinkage Algorithms for MMSE Covariance Estimation. IEEE Trans. Signal Process. 2010, 58, 5016–5029. [Google Scholar] [CrossRef] [Green Version]
- Rousseeuw, P.J. Least median of squares regression. J. Am. Stat. Assoc. 1984, 79, 871–880. [Google Scholar] [CrossRef]
- Rousseeuw, P.J.; Driessen, K.V. A fast algorithm for the minimum covariance determinant estimator. Technometrics 1999, 41, 212–223. [Google Scholar] [CrossRef]
- Ledoit, O.; Wolf, M. A well-conditioned estimator for large-dimensional covariance matrices. J. Multivar. Anal. 2004, 88, 365–411. [Google Scholar] [CrossRef] [Green Version]
- Gustafsson, F.; Gustafsson, F. Adaptive Filtering and Change Detection; Wiley: New York, NY, USA, 2000; Volume 1. [Google Scholar]
- Duarte, M. Detecta: A Python Module to Detect Events in Data. Available online: https://github.com/demotu/detecta (accessed on 2 March 2023).
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zaman, B.; Marijan, D.; Kholodna, T. Interpolation-Based Inference of Vessel Trajectory Waypoints from Sparse AIS Data in Maritime. J. Mar. Sci. Eng. 2023, 11, 615. https://doi.org/10.3390/jmse11030615
Zaman B, Marijan D, Kholodna T. Interpolation-Based Inference of Vessel Trajectory Waypoints from Sparse AIS Data in Maritime. Journal of Marine Science and Engineering. 2023; 11(3):615. https://doi.org/10.3390/jmse11030615
Chicago/Turabian StyleZaman, Bakht, Dusica Marijan, and Tetyana Kholodna. 2023. "Interpolation-Based Inference of Vessel Trajectory Waypoints from Sparse AIS Data in Maritime" Journal of Marine Science and Engineering 11, no. 3: 615. https://doi.org/10.3390/jmse11030615
APA StyleZaman, B., Marijan, D., & Kholodna, T. (2023). Interpolation-Based Inference of Vessel Trajectory Waypoints from Sparse AIS Data in Maritime. Journal of Marine Science and Engineering, 11(3), 615. https://doi.org/10.3390/jmse11030615