Next Article in Journal
Numerical Modeling of Nearshore Wave Transformation and Breaking Processes in the Yellow River Delta with FUNWAVE-TVD Wave Model
Next Article in Special Issue
Ship Autonomous Berthing Simulation Based on Covariance Matrix Adaptation Evolution Strategy
Previous Article in Journal
Analysis of the Reliability of Subsea Clamp Connector Based on Multiple Response Surface Methodology
Previous Article in Special Issue
A Ship Tracking and Speed Extraction Framework in Hazy Weather Based on Deep Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Multi-Port Ship Traffic Prediction Method Based on Spatiotemporal Graph Neural Networks

1
Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China
2
Merchant Marine College, Shanghai Maritime University, Shanghai 201306, China
3
Navigation College, Jimei University, Xiamen 361021, China
4
Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100086, China
5
School of Computer Science, University of Auckland, Auckland 1010, New Zealand
*
Authors to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(7), 1379; https://doi.org/10.3390/jmse11071379
Submission received: 3 June 2023 / Revised: 3 July 2023 / Accepted: 4 July 2023 / Published: 6 July 2023
(This article belongs to the Special Issue Application of Artificial Intelligence in Maritime Transportation)

Abstract

:
The intelligent maritime transportation system has emerged as a pivotal component in port management, owing to the rapid advancements in artificial intelligence and big data technology. Its essence lies in the application of digital modeling techniques, which leverage extensive ship data to facilitate efficient operations. In this regard, effective modeling and accurate prediction of the fluctuation patterns of ship traffic in multiple port regions will provide data support for trade analysis, port construction planning, and traffic safety management. In order to better express the potential interdependencies between ports, inspired by graph neural networks, this paper proposes a data-driven approach to construct a multi-port network and designs a spatiotemporal graph neural network model. The model incorporates graph attention networks and a dilated causal convolutional architecture to capture the temporal and spatial dimensions of traffic variation patterns. It also employs a gated-mechanism-based spatiotemporal bi-dimensional feature fusion strategy to handle the potential unequal relationships between the two dimensions of features. Compared to existing methods for port traffic prediction, this model fully considers the network characteristics of the overall port and fills the research gap in multi-port scenarios. In the experiments, real port ship traffic datasets were constructed using data from the Automatic Identification System (AIS) and port geographical information data for model validation. The results demonstrate that the model exhibits outstanding robustness and performs well in predicting traffic in multiple sub-regional port clusters.

1. Introduction

Maritime transportation, characterized by its substantial carrying capacity, cost-effectiveness, and remarkable adaptability to diverse environmental conditions, plays a significant role in international trade as an important mode of transportation. The accurate prediction of ship traffic flow holds immense significance, as it offers invaluable data support for the advancement of the national maritime industry and the strategic planning of international trade initiatives. Furthermore, it plays a crucial role in facilitating port layout planning, thereby addressing the prevalent challenge of aligning the port capacity with the escalating number of vessels arising from the rapid growth of the maritime industry. Additionally, this predictive capability contributes to the reduction of traffic congestion and the mitigation of accidents within maritime areas, consequently enhancing the overall efficiency of port infrastructure utilization [1].
This paper primarily concentrates on the prediction of maritime traffic flow in multi-port scenarios. Traffic flow prediction entails a typical task of time series forecasting, wherein the objective is to capture inherent patterns within traffic flow and speed data, characterized by their temporal sequences. By effectively discerning such patterns, it becomes feasible to infer future traffic flow states [2]. The primary challenge in time series prediction lies in accurately extracting a consistent temporal pattern. In practice, numerous factors, including environmental fluctuations, seasonal variations, and unforeseen accidents, can disrupt these theoretically stable patterns, thereby adding a considerable level of complexity to time series prediction problems. Consequently, time series prediction methods necessitate the incorporation of diverse influencing factors [3].
In the past, linear methods such as Autoregressive Integrated Moving Average (ARIMA) models and historical average analysis were limited in handling complex external factors. Scholars have attempted to use nonlinear machine learning methods such as backpropagation networks [4] and support vector machines [5] to uncover hidden patterns in time series data. However, these methods often suffer from slow convergence and algorithmic incompleteness, resulting in unsatisfactory solutions to time series prediction problems.
Consequently, researchers have turned to the application of deep learning techniques as a means to tackle practical time series prediction challenges. Deep neural networks exhibit the inherent capability to capture and model nonlinear relationships. By leveraging the stacking of multiple layers, these models can effectively capture a multitude of hidden factors and intricate variables within the data. Recurrent neural networks (RNN) [6], long short-term memory (LSTM) [7], and subsequent models such as gated recurrent units (GRU) [8], WaveNet [9], and Transformer [10,11], have demonstrated outstanding performance in the field of time series prediction.
With the rapid development of graph neural networks in recent years, spatial-convolution-based graph neural network models led by graph convolutional networks (GCN) [12] and graph attention networks (GAN) [13] have gained significant attention. In graph neural networks, a graph is composed of a set of vertices (nodes) that are interconnected by a set of edges. By performing convolutions on graphs with arbitrary structures, graph neural networks can learn rich spatial features. In recent years, they have been successfully applied in various domains, such as trajectory prediction [14,15] and traffic flow prediction [16].
In traffic flow prediction methods, conventional approaches often consider traffic intersections or sensors as entities, represented as individual nodes. Simultaneously, the road network, which accommodates these traffic entities, serves as the edges that symbolize the relationships between these nodes. Graph neural-network-based traffic flow prediction methods aggregate traffic flow information from neighboring nodes within a local spatial range, thereby predicting the potential information of nodes in the traffic subnetwork.
Nevertheless, relying solely on spatial information to predict traffic flow states is not rigorous and can lead to a significant loss of temporal information. To address this limitation, researchers have extended their efforts by incorporating temporal prediction learning methods into graph neural networks [17]. By leveraging techniques such as gate units and recurrent neural networks (RNN), they have introduced “spatiotemporal graph” models, which effectively capture both the spatial and temporal features of traffic flow prediction [18,19]. These spatiotemporal graph models take into account both temporal patterns and the spatial correlation structure of traffic entities. They can effectively capture the underlying meanings and interactions of nodes and edges within complex systems, resulting in superior prediction performance in traffic flow prediction.
In recent years, numerous excellent spatiotemporal graph models have been proposed and applied in the field of urban traffic prediction. Representative works include Multivariate Time Series Forecasting with Graph Neural Networks (MTGNN) [20], Diffusion Convolutional Recurrent Neural Networks (DCRNN) [21], Spatiotemporal Graph Convolutional Networks (STGCN) [18], and others.
However, the application traffic flow prediction methods in the maritime domain still faces two major challenges. Firstly, there is a scarcity of public datasets that can be directly used for analysis. The process of constructing maritime traffic flow datasets is arduous and complex. Secondly, the maritime traffic flow prediction scenarios do not possess the same traffic network structures as urban settings, rendering it difficult to directly apply spatiotemporal graph methods developed for urban traffic flow prediction [22]. Existing port flow prediction methods typically focus on single-port scenarios and do not fully consider the characteristics of port networks. They fail to consider the patterns of flow changes from the perspective of the overall port distribution structure, resulting in a relative scarcity of research in multi-port scenarios [23].
The scarcity of maritime traffic datasets stems primarily from the extensive geographical distribution, intricate structural arrangements, and challenges in regulating the maritime networks comprising ports across diverse countries. The widespread adoption of the Automatic Identification System (AIS) has significantly addressed the data gap in the maritime domain. The AIS is an onboard broadcast response system that has been gradually deployed on international vessels since 2002 and now has achieved widespread coverage through satellite networks. Vessels equipped with AIS devices regularly transmit navigational status data such as position points, speed, heading, and identity to ground-based stations and satellite receivers [24]. This enables data exchange between vessels and assists in navigation.
Despite the development of AIS, there are significant challenges related to the noise contamination in the raw AIS data, which limits their application in maritime traffic systems [25]. In this study, we address this issue by combining AIS data with spatial information from various ports worldwide and employing various big data processing techniques, similar to [26]. Through these approaches, we are able to effectively filter out noisy AIS data to the maximum extent possible and reconstruct realistic maritime traffic flow scenarios. As a result, we have constructed a multi-port flow dataset that can assist in conducting in-depth research on ship traffic flow prediction and validating the effectiveness of models under fair conditions.
The second challenge is that most existing research focuses on specific and single-port traffic flow scenarios, while studies on wide-scale, networked, and multi-port ship traffic flow prediction are relatively scarce. For example, ref. [27] combines Kalman filtering with regression analysis to improve short-term ship traffic flow prediction performance. Ref. [28] proposes a multi-variable extended CNN model based on convolutional methods, which specifically considers the impact of extreme weather events on ship traffic flow changes. However, the experimental settings in [28] involve geographically close ship traffic statistical areas, failing to consider the complex correlation structures among multiple regions. Ref. [29] uses AIS data to analyze the hourly ship traffic volume in a specific area near Ningbo and achieves ship traffic flow prediction for multiple time periods using an improved GRU-based time series prediction model. Nevertheless, it is also limited to the task of predicting traffic flow in a single maritime area.
This article tackles the challenge of ship traffic forecasting in a scenario involving multiple ports, employing a spatiotemporal graph model. Our proposed approach adopts a data-driven methodology that leverages actual data to construct a comprehensive multi-port graph structure, thereby establishing a realistic representation of the traffic network for the accurate prediction of maritime traffic flow. Subsequently, we utilize graph neural networks to capture the intricate message-passing patterns occurring between nodes within the port network. This enables the timely identification of abnormal traffic fluctuations in neighboring port nodes, thus enhancing the model’s capacity to capture and exploit complex temporal dependencies. The incorporation of these techniques leads to improved prediction performance and effectively addresses the need for coordinated management in the context of multiple ports.
In summary, this paper contributes to the research in the following ways:
  • It proposes a data-driven method for the construction of a multi-port network based on historical data and creates a realistic port ship traffic dataset using AIS data.
  • It presents a traffic prediction model specifically designed for maritime scenarios, utilizing a spatiotemporal graph neural network. The novel model addresses the issue of imbalanced temporal and spatial features in the spatiotemporal dataset.
  • The improved model’s effectiveness is validated through experiments conducted on multiple port group datasets.

2. Methods

This study focuses on the task of forecasting ship traffic flow in multiple ports, which is a typical time series prediction problem. This problem can be formulated as follows:
X t τ + 1 , X t τ + 2 , , X t f ( ) X t + 1 , X t + 2 , , X t + n
As mentioned above, in this task, the model is given historical data of τ consecutive time steps as input. After being transformed through the function f ( ) , the model predicts the future states of port traffic data for n consecutive time steps. Here, N represents the number of ports, C represents the feature dimension of the data, and X t R N × C represents the traffic state of each port at time t. Since the purpose of this study is to forecast the inbound and outbound traffic of ports, the initial value of C is 2 (for outbound traffic and inbound traffic).

2.1. Spatiotemporal Blocks

In the context of multi-port traffic flow prediction, we consider each individual port as a distinct node and employ a data-driven methodology to establish edge relationships between ports, thereby constructing the port network based on historical data. The collection of nodes and edges represents the graph structure of the multi-port network.
The previous study [30] presented in this paper demonstrated that existing spatiotemporal graph models do not exhibit significant advantages over traditional time series prediction models when applied to multi-port traffic flow prediction. The spatial exploration capability of the spatiotemporal graph network was found to be underutilized. We propose two potential explanations for these experimental results. Firstly, the multi-port network structure in this scenario may inadequately represent the connectivity and spatial relationships between ports. Secondly, there may exist an inherent imbalance between the temporal and spatial features, with the roles of time and space varying across different datasets. To address the first conjecture, we optimize the existing data-driven method for the construction of the multi-port network structure. Additionally, we conduct theoretical research based on the second conjecture and make targeted improvements to the existing spatiotemporal graph framework.
Firstly, this paper summarizes the existing general framework of spatiotemporal graphs, as shown in Figure 1. The combination of the temporal layer and the spatial layer is referred to as a “spatiotemporal block.” In the spatiotemporal block, the temporal layer captures the temporal patterns of historical traffic flow data for each port, while the spatial layer handles the relationships among port nodes across different time dimensions. The sequential arrangement of multiple spatiotemporal blocks forms a deep spatiotemporal graph neural network model.
From a holistic perspective, the framework directly utilizes the output of the temporal layer as the input for the subsequent spatial layer, and the output of the spatial layer becomes the input for the next temporal layer. After several iterations of these spatiotemporal blocks, the predicted results are generated through the output layer. There is no specific handling between the temporal and spatial layers in this architecture. The advantage of this approach lies in its ability to fully preserve the features processed by the temporal and spatial layers. However, it overlooks the potential master–slave relationship between the temporal and spatial layers.
Inspired by [31], this paper employs a gating mechanism to determine the propagation and forgetting of information, in order to simulate the imbalance between time and space. As shown in Figure 2, the model first duplicates the input tensor into two identical copies. One copy is processed through the temporal layer and then passed through a t a n h activation function for output. The other copy is processed through the spatial layer and mapped to the range of 0 to 1 using a s i g m o i d function, treating it as a filtering net for spatial information. Finally, the two parts of the output are combined using element-wise multiplication (Hadamard product). In other words, this structure treats the spatial hidden features as a filter, using spatial features to filter important temporal features, which are then outputted in the form of temporal features to enter the next hidden layer. This structure enhances the model’s sensitivity to temporal flow data while reducing the influence of the graph structure on feature information. It can effectively simulate the imbalance between time and space.
In summary, the spatiotemporal graph framework used in this paper is illustrated in Figure 3.

2.2. Temporal Layer

The fundamental concept behind the temporal layer is based on dilated convolution. By incorporating dilated convolution, the model can effectively expand its receptive field while maintaining the sequential nature of data modeling. This allows the model to capture longer temporal feature patterns with fewer computational costs, thereby capturing temporal dependencies over a larger time span.
Dilated convolution is a convolutional operation. As shown in Figure 4a, during the convolution process, fixed-sized “holes” are introduced between the elements of the convolution kernel, expanding the kernel. This means that, with the same computational cost, a larger effective filter size is used for convolution. Compared to a convolutional kernel of the same size, dilated convolution offers higher computational efficiency. In particular, dilated convolution with a dilation factor of 1 is equivalent to a regular convolution.
To accommodate different time step lengths, this paper adopts a dilation factor pattern of “1, 2, 4, 8” as the base and cycles through it as the model’s hidden layers increase. Let us apply this to the scenario of port traffic flow prediction, assuming that the input historical flow data have a time step length of 14 and the convolution kernel size is 3.
In the first layer of the temporal layer, the dilation factor is 1, which means that fine-grained time feature processing is performed at the level of 1 time step. As the network goes deeper, the second layer of the temporal layer has a dilation factor of 2; the process of applying time convolutions involves making leapfrog-like strides over the input sequence. This approach results in less fine-grained time feature processing, but, correspondingly, the same-sized convolutional kernel can handle twice the length of time steps.
By repeating this process, the temporal convolutional layer with a dilation factor of 8 can cover the entire input sequence, thereby extracting long-term historical features. This enables the model to capture temporal dependencies over a larger time span.
On the other hand, as a key to the success of recurrent neural networks, gating mechanisms preserve the non-linear capabilities while addressing the vanishing gradient problem, leading to better performance in tasks involving long-term dependencies. WaveNet [9] incorporates gating activation structures into causal convolutions, proposing the WaveNet structure shown in Figure 4b. The formula can be represented as
h l ( X ) = t a n h X W δ ( X V )
where X represents the feature tensor, and l denotes the current layer. W and V represent two dilated convolution kernels, δ ( ) represents the s i g m o i d function, and ⊙ denotes the element-wise multiplication operator.
Based on this gating structure, the temporal layer can easily perform feature selection on the input data. Compared to linear processing methods, this nonlinear structure possesses stronger modeling capabilities for time series features.

2.3. Spatial Layer

The non-Euclidean nature, irregularity, and sparsity of graphs pose challenges in directly applying convolutional neural networks (CNNs) to process graph features. This limitation has impeded progress in graph representation within the field of machine learning. However, in recent years, researchers have made strides by combining spectral graph theory with Fourier transforms, allowing the definition of convolutional kernels in the spectral domain. This breakthrough has enabled graph convolutions in the spectral domain and has laid the foundation for graph convolutional networks (GCN) [12]. By simplifying the computation process, GCNs have facilitated rapid advancements in graph neural network models.
Subsequently, the graph attention network (GAT) [13] was proposed as a graph neural network model based on attention mechanisms. GAT controls the aggregation of information from nodes and edges by assigning different learning weights to their neighbors. This allows the model to extract more valuable hidden features. Compared to GCN, GAT offers a more flexible node feature aggregation process, addressing the limitation of GCN in which the fixed adjacency matrix prevents the graph structure from being expandable.
GAT can be divided into two stages: Stage 1 involves computing global similarity coefficients, while Stage 2 focuses on computing node features based on local attention coefficients.
Take a graph G = (V, E) with N port nodes as an example, where the historical flow features of each port can be represented as X i R T × C , with T being the time dimension and C being the feature dimension. In the graph attention layer, a trainable shared weight matrix W is first used to linearly transform the initial features of all nodes. Based on the edge relationships, the transformed node features are then used to calculate the similarity coefficients e i j between adjacent nodes on each edge. The formula for this stage is as follows, where N is the set of first-order neighboring nodes of the target node i, l is the current neural network layer, and the mapping function a ( ) is used to compute the similarity between the flow features of port nodes i and j.
e i j ( l ) = a W ( l ) X i ( l ) W ( l ) X j ( l ) , j N i
In the aggregation stage, the model uses s o f t m a x to normalize the similarity coefficients of all nodes within the first-order neighborhood of the target node i. The normalized coefficients represent the attention coefficients for each node within the neighborhood. The specific formula for the calculation of the attention coefficients is as follows:
α i j ( l ) = exp L e a k y R e L U e i j ( l ) k N i e x p L e a k y R e L U e i k ( l )
Subsequently, the features of each node are weighted and aggregated based on the calculated attention coefficients, resulting in the new feature X i ( l ) of the central node i at layer l. Here, σ ( ) represents an optional activation function.
h l X i = σ j N i α i j ( l ) W ( l ) X j ( l )
Repeating Formulas (4) and (5), we perform feature aggregation for all nodes in the graph, completing the processing of a GAT layer.
In summary, the overall calculation formula for the spatiotemporal block of the model can be summarized as follows:
h l X ( l 1 ) = t a n h W a v e N e t X ( l 1 ) W + b δ G A T X ( l 1 ) V + c

3. Scenario and Data Sources

The experimental dataset in this study consists of 2019 AIS data and global port geospatial data.
Firstly, we employed big data techniques to process the vast amount of raw AIS data. To ensure data accuracy, we cross-referenced the information with vessel Lloyds Register profiles and applied data cleaning techniques to eliminate erroneous data. Subsequently, we integrated the trajectory data with spatial boundary information from global port geospatial data. This integration enabled us to infer the departure and arrival details of vessels, resulting in the creation of a global vessel port origin–destination (OD) dataset for the year 2019. The dataset comprised 154,205 vessels, 2697 ports, and a total of 5,275,645 records. Finally, leveraging the origin and destination port IDs, along with the recorded arrival and departure times in the OD dataset, we calculated the daily inflow and outflow of vessels for each port. This enabled us to quantify the daily traffic volume of ships entering and leaving each port.
Following the acquisition of historical port traffic data, the creation of a multi-port spatial graph structure emerged as a pressing research challenge. Figure 5 illustrates that employing the physical distance alone as the basis for constructing the port graph structure would result in a significant loss of information. For instance, in the case of the Netherlands, Rotterdam Port exhibits considerably different average daily vessel traffic in comparison to nearby ports such as Leiden Port and Arnhem Port. This difference is also reflected in the scale of the ports, where Rotterdam Port is classified as a large-sized port with a maximum draught of 18 m, whereas Leiden Port and Arnhem Port fall under the category of medium-sized ports. Such disparities would introduce substantial errors during the feature aggregation stage within the graph convolutional layer.
To tackle this problem, the present study introduces a methodology for the construction of a dynamic port correlation graph utilizing historical data. The fundamental concept behind this approach is to employ actual maritime traffic patterns as an evaluative criterion. By quantifying the frequency of vessel movement between two ports, a spatial interconnection relationship is established, thereby creating an extensive multi-port correlation network.
Specifically, the initial step involves utilizing the previously generated 2019 global vessel port OD dataset, which is derived from the flow data calculation procedure, as the foundation for the construction of the graph. The direct count of vessel traffic between each pair of ports is computed on a monthly basis, encompassing global coverage. For the purpose of experimentation, three months of OD data are randomly selected for the computation process. A unidirectional edge relationship is established between two ports if the vessel traffic count surpasses a predefined threshold. In the experiment, this threshold was set to 10 to distinguish the level of closeness in the navigational relationship between two ports. To prevent the graph structure from becoming overly dense or sparse, we comprehensively consider the port scale and previous experiments, and determine the optimal range for this threshold as 5 to 10, guided by prior knowledge, which allows us to achieve the optimal solution in terms of computational costs and experimental effectiveness.
Moreover, taking into account the extensive number of ports globally and the substantial volume of OD data involved, we adopt a strategy to mitigate the computational overhead. This involves constructing independent sub-networks comprising port clusters, with several prominent ports across the world serving as central hubs. In our experiment, the central hubs selected were Rotterdam Port, Shanghai Port, Singapore Port, Boston Port, Antwerp Port, Hong Kong Port, and Incheon Port. This approach allows for the more efficient processing of the data while still capturing the essential connectivity among ports.
Using Rotterdam Port as an illustration, we initially filter the OD dataset to include only maritime shipping data where Rotterdam Port is either the origin or destination. We then identify the destination (or origin) ports that exhibit a mutual traffic count that satisfies the threshold constraint, thereby indicating direct connections to Rotterdam. Through this procedure, we identify a total of 250 port nodes that are directly linked to Rotterdam Port.
Subsequently, we shift our attention to these 251 ports and proceed to compute the direct vessel traffic count between each pair of ports. Employing a similar methodology as before, if the traffic count surpasses the predefined threshold, a unidirectional edge relationship is established between the two ports.
Finally, we obtain a sub-network structure comprising multiple ports, with Rotterdam Port as the central hub. The corresponding adjacency matrix is generated as a result. Figure 6 provides a visual representation of the schematic diagram depicting the multi-port graph structure centered around Rotterdam Port.
The geographical coordinates and location information of the seven central ports are displayed in Figure 7. The comprehensive data attributes of the port cluster network scene, centered around these seven ports, are recorded in Table 1.

4. Results

4.1. Experimental Environment

This study utilized a 2080ti GPU to conduct the experiments. To ensure a fair and consistent testing environment, the experiments were conducted on the Libcity platform [32], utilizing standardized hyperparameter configurations, with the hidden feature dimensions uniformly set to 32. The input window for time series data was defined as 21, while the output window was set to 7, meaning that the models aimed to predict the future 7-day traffic changes based on the preceding 21 days of data.
Specifically, the models employed in the study consisted of eight hidden layers. For models incorporating the multi-head attention mechanism, eight heads were used. In the case of models employing the diffusion convolution mechanism, the dilated factors were cyclically set as “1, 2, 4, 8”.

4.2. Baseline and Metric

In the experiment, the baseline models were divided into two major categories, spatiotemporal graph models and temporal models, based on whether they handled spatial features. RNN, AE [33], Seq2Seq [34], WaveNet [9], and Transformer [10] are classical temporal prediction methods that have proven effective in various domains, such as NLP and traffic prediction. STGCN [18], AGCRN [35], and the proposed model GAGW in this paper belong to spatiotemporal graph models. On the other hand, based on different time layer processing strategies, models can be further categorized into RNN-based prediction models led by RNN and DCRNN [21], TCN models such as GWNET [36] and STMGAT [37], and self-attention-mechanism-based models such as STTN [38].
The evaluation metrics used in the experiment include commonly employed measures in traffic flow prediction, MAE, MAPE, and RMSE, as depicted in Equations (7)–(9), respectively. MAE, known as the mean absolute error, is a widely used performance metric in regression tasks, directly quantifying the average difference between predicted values and actual values. MAPE, built upon MAE, measures the average percentage error of the experimental results. RMSE, or the root mean square error, in comparison to MAE, is more sensitive to large errors, thus challenging the stability and robustness of the predictive model.
M A E = 1 n i = 1 n y ^ i y i
M A P E = 1 n i = 1 n y i ^ y i y i 100 %
R M S E = 1 n i = 1 n y ^ i y i 2

4.3. Experimental Results

In the experiment, we extracted the consecutive 21-day inflow and outflow data for each port from the test set as input and expected the model to generate predictions for the next 7 days of each port in a single output. Taking the Rotterdam sub-scenario as an example, which comprises 251 port nodes, the input should include an adjacency matrix with 251 nodes and an initial tensor of shape [32, 251, 21, 2]. Here, “32” represents the specified batch size, and “2” indicates that the initial features only include inflow and outflow. Correspondingly, the model’s output should be a tensor of shape [32, 251, 7, 2]. By comparing the predicted 7-day traffic variations with the ground truth values, the predictive capability of the model can be evaluated.
As presented in Table 2, cross-validation experiments were conducted across seven major multi-port network scenarios centered around the seven central ports. The GAGW model proposed in this study incorporates a weighted relationship to address the imbalance between spatial and temporal features. Consequently, the model demonstrates consistent and superior predictive performance across all scenarios, achieving the best results in the majority of experimental scenarios.
Through a comprehensive comparison of the experimental results, it has been observed that the majority of the existing spatiotemporal graph models outperform the temporal prediction models. This indicates that the incorporation of graph neural networks indeed enhances the performance of predictive models in various scenarios and effectively captures intricate traffic flow patterns. Among the temporal prediction models, Transformer and WaveNet exhibit significantly superior performance compared to traditional temporal prediction models and even outperform certain spatiotemporal graph models in specific scenarios. This highlights the significance of capturing temporal patterns in maritime traffic flow prediction scenarios, thereby affirming the importance of time features in the field of traffic prediction.
In the comparison of spatiotemporal graph models, the overall predictive performance of the STGCN model is relatively poor, which can be attributed to its use of a coarse-grained temporal processing strategy. The relatively simple gate convolution structure of STGCN is unable to fully capture the complex traffic flow variations in maritime scenarios, resulting in its performance being inferior to that of more sophisticated temporal prediction models such as Transformer.
In this experiment, the performance of the STTN model, which integrates self-attention mechanisms in both the temporal and spatial layers, did not meet our expectations. Despite adjusting certain hyperparameters, we were unable to obtain satisfactory experimental results. We speculate that the underlying reason for this lies in the spatial feature capturing strategy based on self-attention mechanisms. In the maritime context of this study, this strategy fails to effectively represent the data-driven, cross-spatial graph correlation structures, thereby leading to a decline in model performance.
The STMGAT, GWNET, and the proposed model in this paper all employ a time-convolution-based temporal layer processing strategy. The experimental results demonstrate that gate-based processing structures centered around causal convolutions can better capture the long-term variations in traffic flow data, enabling the fine-grained analysis of temporal features and obtaining more accurate prediction results.
The training curves of the top-performing three spatiotemporal graph models in the traffic flow scenario centered around the Rotterdam Port cluster are shown in Figure 8. The proposed model in this paper achieves more accurate predictive performance by utilizing a multi-head attention mechanism similar to STTN and STMGAT in the graph convolutional layer. However, this improvement in accuracy comes at the expense of sacrificing some training speed, resulting in a convergence speed that is not state-of-the-art. As illustrated in Figure 9, our model’s traffic flow predictions exhibit better adherence to the actual flow variation patterns compared to other baseline models and demonstrate good fitting capability for significant flow fluctuation curves.
To further investigate the stability of the model in the small-sample maritime test scenario, we extracted the traffic flow data from June to September as a specific monthly dataset for independent testing (Table 3). These four months are characterized by substantial fluctuations in port traffic, without a discernible pattern in the context of international shipping. Moreover, the navigation relationships among ports during this period are more intricate, placing higher demands on the predictive capabilities of the models. In this challenging scenario, the GAGW model stands out among numerous spatiotemporal prediction models and exhibits exceptional adaptability to the limited coverage of the specific monthly dataset. This further confirms the effectiveness of the new architecture.
To validate the issue of the unequal treatment of spatial and temporal features, we conducted ablation experiments by modifying some existing spatiotemporal graph model architectures to incorporate the proposed gate-based mechanism for spatiotemporal feature fusion. The experimental results, as shown in Table 4, indicate that the spatiotemporal graph models with the inclusion of the feature fusion structure generally outperform the models with the original architectures in the port traffic prediction scenario of this paper. Among them, since the baseline models AGCRN and DCRNN both belong to iterative architectures based on RNN, it is difficult to incorporate the fusion module. Therefore, we introduced the ASTGCN [39] model, which simultaneously uses attention mechanisms and temporal convolution strategies, as the new baseline model.
To validate the relationship weights between time and spatial features, we conducted ablation experiments on the temporal and spatial layers of the GAGW model. In Table 5, “w/o T” represents the removal of all temporal hidden layers in the model, while “w/o S” indicates the removal of all graph structure processing methods. The experimental results demonstrate that ablating the temporal layer has a more severe impact on spatiotemporal graph models, leading to a significant decrease in predictive performance. In comparison, the performance decline is relatively limited when the spatial layer is ablated, further confirming the inequality between time and spatial features.
To demonstrate the superior performance of the proposed model in traffic flow prediction, we also conducted experiments on METR_LA, which is a renowned dataset comprising urban highway traffic speed data. As shown in Table 6, the GAGW model performs at an advanced level in the urban traffic dataset as well. This confirms that the phenomenon of unequal treatment between time and spatial features also exists in urban traffic scenarios.
In summary, the proposed model has demonstrated strong predictive capabilities in various experiments conducted in the multi-port traffic flow prediction scenario.

5. Conclusions

In this study, a comprehensive dataset of real port traffic and a port topology structure were constructed using global AIS data, Lloyd’s ship archive, and port geospatial data. To explore different modeling approaches, a variety of comparative models were reproduced using an open-source spatiotemporal graph model training framework [32].
Subsequently, a novel fine-grained multi-port traffic flow prediction spatiotemporal graph network model called GAGW was designed and implemented. This new model aimed to address the challenge of imbalanced temporal and spatial hidden features. Drawing inspiration from gate-based structures, the GAGW model processed temporal and spatial features in parallel, departing from the traditional sequential “time–space–time” processing pattern. The model incorporated distinct mapping functions for temporal and spatial feature vectors, placing greater emphasis on the influence of temporal features on prediction outcomes while reducing the sensitivity to spatial features.
To evaluate the effectiveness of the GAGW model, comparative experiments were conducted using maritime datasets, special monthly datasets, and urban road datasets. The results demonstrated the reliability and robustness of the proposed model. The GAGW model achieved advanced levels of prediction performance and robustness, among other evaluation metrics.
Overall, this research contributes to the field of port traffic flow prediction by introducing a novel spatiotemporal graph model that effectively handles imbalanced temporal and spatial features. The proposed GAGW model demonstrates superior prediction performance and adaptability, making it a promising approach for multi-port traffic forecasting applications.
Although the new framework has demonstrated the inequality of spatiotemporal features in experiments, there is room for further improvement in the construction of dynamic port graph structures. The proposed method for dynamic graph construction solely considers the spatial correlation between ports based on ship traffic, without incorporating the objective geographical relationships that exist between ports. In future work, the paper aims to focus on constructing flow datasets that encompass multi-port scenarios of practical significance, such as Europe and coastal regions of China.
Additionally, this paper only utilized AIS source data from the year 2019, which may be considered insufficient in capturing the full variability in port traffic patterns at a daily level. In future research, the study intends to incorporate AIS data from multiple consecutive years to augment the volume of data available for model training.
In summary, the future research endeavors of this paper will concentrate on two main aspects: optimizing the design of dynamic graph structures and refining the strategies for the processing of temporal layers in the model.

Author Contributions

Conceptualization, Y.L. and Z.L.; methodology, Z.L. and Q.M.; software, W.H., Z.W. and W.X.; validation, Y.L., Z.L. and Q.M.; formal analysis, Q.M.; investigation, Y.Y. and Y.C.; resources, Y.L. and P.W.; data curation, Z.L., W.H. and Z.W.; writing—original draft preparation, Z.L.; writing—review and editing, Y.L. and Q.M.; visualization, W.X.; supervision, Y.L. and P.W.; project administration, Y.L.; funding acquisition, Y.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China: [Grant Number 71804059]; Natural Science Foundation of Fujian Province: [Grant Number 2021J01821]; Shanghai Science and Technology Committee: [Grant Number 18DZ1206300]; the National Key Research and Development Program of China: [Grant Number 2018YFC1407400].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, R.W.; Chen, J.; Liu, Z.; Li, Y.; Liu, Y.; Liu, J. Vessel traffic flow separation-prediction using low-rank and sparse decomposition. In Proceedings of the 2017 IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017; pp. 1–6. [Google Scholar]
  2. Lara-Benítez, P.; Carranza-García, M.; Riquelme, J.C. An experimental review on deep learning architectures for time series forecasting. Int. J. Neural Syst. 2021, 31, 2130001. [Google Scholar] [CrossRef] [PubMed]
  3. Yin, J.; Rao, W.; Yuan, M.; Zeng, J.; Zhao, K.; Zhang, C.; Li, J.; Zhao, Q. Experimental study of multivariate time series forecasting models. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2019; pp. 2833–2839. [Google Scholar]
  4. Rumelhart, D.E.; Hinton, G.E.; Williams, R.J. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef]
  5. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  6. Nguyen, D.; Vadaine, R.; Hajduch, G.; Garello, R.; Fablet, R. A multi-task deep learning architecture for maritime surveillance using AIS data streams. In Proceedings of the 2018 IEEE 5th International Conference on Data Science and Advanced Analytics (DSAA), Turin, Italy, 1–3 October 2018; pp. 331–340. [Google Scholar]
  7. Gao, M.; Shi, G.; Li, S. Online prediction of ship behavior with automatic identification system sensor data using bidirectional long short-term memory recurrent neural network. Sensors 2018, 18, 4211. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Shi, J.h.; Liu, Z.j. Deep learning in unmanned surface vehicles collision-avoidance pattern based on AIS big data with double GRU-RNN. J. Mar. Sci. Eng. 2020, 8, 682. [Google Scholar] [CrossRef]
  9. Oord, A.v.d.; Dieleman, S.; Zen, H.; Simonyan, K.; Vinyals, O.; Graves, A.; Kalchbrenner, N.; Senior, A.; Kavukcuoglu, K. Wavenet: A generative model for raw audio. arXiv 2016, arXiv:1609.03499. [Google Scholar]
  10. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems 30, Proceedings of the Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA, 4–9 December 2017; Curran Associates, Inc.: Red Hook, NY, USA, 2017. [Google Scholar]
  11. Nguyen, D.; Fablet, R. TrAISformer-a generative transformer for ais trajectory prediction. arXiv 2021, arXiv:2109.03958. [Google Scholar]
  12. Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
  13. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
  14. Gouareb, R.; Can, F.; Ferdowsi, S.; Teodoro, D. Vessel destination prediction using a graph-based machine learning model. In Proceedings of the Network Science: 7th International Winter Conference, NetSci-X 2022, Porto, Portugal, 8–11 February 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 80–93. [Google Scholar]
  15. Mohamed, A.; Qian, K.; Elhoseiny, M.; Claudel, C. Social-stgcnn: A social spatio-temporal graph convolutional neural network for human trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 14424–14432. [Google Scholar]
  16. Huang, R.; Huang, C.; Liu, Y.; Dai, G.; Kong, W. LSGCN: Long Short-Term Traffic Prediction with Graph Convolutional Networks. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI-20), Online, 7–15 January 2020; Volume 7, pp. 2355–2361. [Google Scholar]
  17. Eljabu, L.; Etemad, M.; Matwin, S. Anomaly detection in maritime domain based on spatio-temporal analysis of ais data using graph neural networks. In Proceedings of the 2021 5th International Conference on Vision, Image and Signal Processing (ICVISP), Kuala Lumpur, Malaysia, 18–20 December 2021; pp. 142–147. [Google Scholar]
  18. Yu, B.; Yin, H.; Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, Stockholm, Sweden, 13–19 July 2018; pp. 3634–3640. [Google Scholar]
  19. Seo, Y.; Defferrard, M.; Vandergheynst, P.; Bresson, X. Structured sequence modeling with graph convolutional recurrent networks. In Proceedings of the International Conference on Neural Information Processing, Siem Reap, Cambodia, 13–16 December 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 362–373. [Google Scholar]
  20. Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Chang, X.; Zhang, C. Connecting the dots: Multivariate time series forecasting with graph neural networks. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Virtual, 6–10 July 2020; pp. 753–763. [Google Scholar]
  21. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv 2017, arXiv:1707.01926. [Google Scholar]
  22. Liang, M.; Liu, R.W.; Zhan, Y.; Li, H.; Zhu, F.; Wang, F.Y. Fine-Grained Vessel Traffic Flow Prediction with a Spatio-Temporal Multigraph Convolutional Network. IEEE Trans. Intell. Transp. Syst. 2022, 23, 23694–23707. [Google Scholar] [CrossRef]
  23. Yan, R.; Wang, S.; Zhen, L.; Laporte, G. Emerging approaches applied to maritime transport research: Past and future. Commun. Transp. Res. 2021, 1, 100011. [Google Scholar] [CrossRef]
  24. Qiang, M.; Lin, W.; Peng, P.; Peng, Z.; Jinhai, C. Typical Spatial Distribution of Merchant Vessels and Trade Flow in South China Sea. J. Geo-Inf. Sci. 2018, 20, 8. [Google Scholar]
  25. Ribeiro, C.V.; Paes, A.; de Oliveira, D. AIS-based maritime anomaly traffic detection: A review. Expert Syst. Appl. 2023, 231, 120561. [Google Scholar] [CrossRef]
  26. Iphar, C.; Ray, C.; Napoli, A. Data integrity assessment for maritime anomaly detection. Expert Syst. Appl. 2020, 147, 113219. [Google Scholar] [CrossRef]
  27. He, W.; Zhong, C.; Sotelo, M.A.; Chu, X.; Liu, X.; Li, Z. Short-term vessel traffic flow forecasting by using an improved Kalman model. Clust. Comput. 2019, 22, 7907–7916. [Google Scholar] [CrossRef]
  28. Wang, X.; Li, J.; Zhang, T. A machine-learning model for zonal ship flow prediction using ais data: A case study in the south atlantic states region. J. Mar. Sci. Eng. 2019, 7, 463. [Google Scholar] [CrossRef] [Green Version]
  29. Xu, X.; Bai, X.; Xiao, Y.; He, J.; Xu, Y.; Ren, H. A Port Ship Flow Prediction Model Based on the Automatic Identification System and Gated Recurrent Units. J. Mar. Sci. Appl. 2021, 20, 572–580. [Google Scholar] [CrossRef]
  30. Zhaoxuan, L.; Qiang, M.; Yong, L.; Peng, W.; Yang, Y.; Wenlong, H. Prediction and analysis of ship traffic flow based on a space-time graph traffic computing framework. In Proceedings of the 2022 IEEE 20th International Conference on Embedded and Ubiquitous Computing (EUC), Wuhan, China, 9–11 December 2022; pp. 28–35. [Google Scholar]
  31. Dauphin, Y.N.; Fan, A.; Auli, M.; Grangier, D. Language modeling with gated convolutional networks. In Proceedings of the International Conference on Machine Learning, PMLR, Sydney, Australia, 6–11 August 2017; pp. 933–941. [Google Scholar]
  32. Wang, J.; Jiang, J.; Jiang, W.; Li, C.; Zhao, W.X. Libcity: An open library for traffic prediction. In Proceedings of the 29th International Conference on Advances in Geographic Information Systems, New York, NY, USA, 2–5 November 2021; pp. 145–148. [Google Scholar]
  33. Lv, Y.; Duan, Y.; Kang, W.; Li, Z.; Wang, F.Y. Traffic flow prediction with big data: A deep learning approach. IEEE Trans. Intell. Transp. Syst. 2014, 16, 865–873. [Google Scholar] [CrossRef]
  34. Sutskever, I.; Vinyals, O.; Le, Q.V. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems 27, Proceedings of the 28th Annual Conference on Neural Information Processing Systems 2014, Montreal, QC, Canada, 8–13 December 2014; Curran Associates, Inc.: Red Hook, NY, USA, 2014. [Google Scholar]
  35. Bai, L.; Yao, L.; Li, C.; Wang, X.; Wang, C. Adaptive graph convolutional recurrent network for traffic forecasting. Adv. Neural Inf. Process. Syst. 2020, 33, 17804–17815. [Google Scholar]
  36. Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Zhang, C. Graph WaveNet for Deep Spatial-Temporal Graph Modeling. arXiv 2019, arXiv:1906.00121. [Google Scholar]
  37. Tian, K.; Guo, J.; Ye, K.; Xu, C.Z. St-mgat: Spatial-temporal multi-head graph attention networks for traffic forecasting. In Proceedings of the 2020 IEEE 32nd International Conference on Tools with Artificial Intelligence (ICTAI), Baltimore, MD, USA, 9–11 November 2020; pp. 714–721. [Google Scholar]
  38. Xu, M.; Dai, W.; Liu, C.; Gao, X.; Lin, W.; Qi, G.J.; Xiong, H. Spatial-Temporal Transformer Networks for Traffic Flow Forecasting. arXiv 2020, arXiv:2001.02908. [Google Scholar]
  39. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. Proc. AAAI Conf. Artif. Intell. 2019, 33, 922–929. [Google Scholar] [CrossRef] [Green Version]
Figure 1. General framework of spatiotemporal graph model.
Figure 1. General framework of spatiotemporal graph model.
Jmse 11 01379 g001
Figure 2. Structure of a spatiotemporal block.
Figure 2. Structure of a spatiotemporal block.
Jmse 11 01379 g002
Figure 3. Overall framework of the Gated Attention Graph WaveNet model.
Figure 3. Overall framework of the Gated Attention Graph WaveNet model.
Jmse 11 01379 g003
Figure 4. Structure of temporal layer. (a) Stacked dilated convolutional layers; (b) WaveNet structure with gating mechanism.
Figure 4. Structure of temporal layer. (a) Stacked dilated convolutional layers; (b) WaveNet structure with gating mechanism.
Jmse 11 01379 g004
Figure 5. Fluctuation in ship flow between different ports in the Netherlands. (a) The locations of four closely located ports within the Netherlands; (b) Rotterdam Port 2019 daily inbound and outbound traffic curve; (c) Arnhem Port traffic curve; (d) Leiden Port traffic curve.
Figure 5. Fluctuation in ship flow between different ports in the Netherlands. (a) The locations of four closely located ports within the Netherlands; (b) Rotterdam Port 2019 daily inbound and outbound traffic curve; (c) Arnhem Port traffic curve; (d) Leiden Port traffic curve.
Jmse 11 01379 g005
Figure 6. A multi-port graph structure with Rotterdam as the central port.
Figure 6. A multi-port graph structure with Rotterdam as the central port.
Jmse 11 01379 g006
Figure 7. Distribution of locations of central ports.
Figure 7. Distribution of locations of central ports.
Jmse 11 01379 g007
Figure 8. Comparison of MAE training curves for top three models.
Figure 8. Comparison of MAE training curves for top three models.
Jmse 11 01379 g008
Figure 9. Comparison of GAGW and other models with ground truth inbound flow.
Figure 9. Comparison of GAGW and other models with ground truth inbound flow.
Jmse 11 01379 g009
Table 1. Dataset attributes for seven port subnetworks.
Table 1. Dataset attributes for seven port subnetworks.
Central Port NamePort NodesEdgesData Size
Rotterdam251303691,615
Shanghai24110,87687,965
Singapore38810,017141,620
Boston121105444,165
Antwerp217270679,205
Hong Kong182773166,430
Incheon86273331,390
Table 2. Results of multi-port dataset.
Table 2. Results of multi-port dataset.
RotterdamBostonAntwerpHong Kong
MAEMAPERMSEMAEMAPERMSEMAEMAPERMSEMAEMAPERMSE
RNN4.58130.649323.13543.25880.67226.47182.50070.63924.970916.35161.078233.7049
Auto Encoder4.0841.183511.45713.20340.6256.32422.39230.66874.494918.30661.754432.9607
Seq2Seq4.82280.693224.6953.33920.69436.73352.48290.62095.068816.68190.905633.5273
WaveNet2.54650.43159.45522.23620.43964.10071.87450.53853.22378.64310.43218.5065
Transformer2.51010.48918.4012.19020.4733.792.08190.58733.80748.53050.456417.6556
STGCN3.23070.71869.54922.26470.4983.95392.18250.59373.672513.19730.986227.4965
AGCRN3.23960.586913.61822.54930.51114.76922.01790.52073.64719.87960.550121.5886
DCRNN2.87180.6169.89862.10440.44623.82341.79070.49093.1918.96930.554918.5956
STTN3.86640.644912.98452.26960.48274.04932.30980.58584.115316.92110.944333.6544
STMGAT2.7620.52318.61712.23090.48163.85711.79590.50383.06269.04160.692717.7191
GWNET2.48310.44989.01112.18610.44214.01431.91330.52163.42568.54960.448917.6672
GAGW2.39640.44858.5142.09830.4343.76631.76690.47193.02368.2160.443617.2679
ShanghaiSingaporeIncheon
MAEMAPERMSEMAEMAPERMSEMAEMAPERMSE
RNN18.10331.869836.820610.15210.832631.228218.49911.314137.6816
Auto Encoder17.55391.864535.22728.53570.744824.047719.68171.801237.5785
Seq2Seq14.81961.184629.909410.19130.865731.030319.04041.345240.7782
WaveNet7.44230.443715.985.16190.505714.88078.76690.422919.9683
Transformer7.53310.456715.92314.30120.428811.53238.55540.424518.5527
STGCN11.87220.680225.15727.99831.856816.068811.82750.78326.6319
AGCRN8.50640.639817.71524.79810.547512.99659.62830.511920.6766
DCRNN7.69330.604616.19444.82150.559212.62218.97040.505219.4997
STTN14.64551.133230.75439.2790.802525.841919.60881.216340.3185
STMGAT7.62630.451815.7184.91130.6512.32159.76280.735419.699
GWNET7.5250.525916.27274.4260.507711.80649.42970.495622.2984
GAGW7.3060.441815.68744.37810.42811.82288.74030.467219.8435
Table 3. Results of specific month dataset.
Table 3. Results of specific month dataset.
RotterdamBostonAntwerpHong Kong
MAEMAPERMSEMAEMAPERMSEMAEMAPERMSEMAEMAPERMSE
STGCN10.04713.314819.15712.77660.5585.02162.24050.56033.747921.78331.733444.5805
AGCRN4.02850.537523.33632.70570.51865.1182.03340.50323.752224.7651.423653.009
DCRNN6.73080.757536.23793.69360.55069.07073.59090.71699.120623.45731.699545.0641
STTN7.33410.781637.13142.84980.5085.64223.47850.60618.228325.10631.654950.5299
STMGAT4.06490.533420.02612.72240.51655.03362.06790.49683.665318.20111.573639.1712
GWNET3.620.529419.43322.79680.48755.36942.21340.51584.183914.01730.886131.1028
GAGW3.36880.57915.51152.69280.47535.00812.14460.50084.086113.30740.824229.6616
ShanghaiSingaporeIncheon
MAEMAPERMSEMAEMAPERMSEMAEMAPERMSE
STGCN21.84221.701245.838617.1223.669336.772526.86991.836560.105
AGCRN23.0381.528247.746512.07590.936634.208621.91691.385544.5575
DCRNN21.61961.809341.172314.50291.292739.014929.83651.658965.2048
STTN22.52621.944444.548416.93811.228644.579823.61241.127759.0685
STMGAT24.55652.693346.03916.93510.671219.774513.70490.677532.9118
GWNET13.58860.973429.51136.90780.79720.040515.56240.645340.8259
GAGW11.95131.071626.26676.74020.631920.93714.91410.678139.1262
Table 4. Ablation experiment on spatiotemporal feature fusion module.
Table 4. Ablation experiment on spatiotemporal feature fusion module.
w/o Feature Fusionw/Feature Fusion
MAERMSER2MAERMSER2
STGCN13.748423.75320.914511.981921.28910.9319
STTN21.669936.05660.808918.885733.18190.8384
GWNET10.295420.13260.940210.323319.81690.943
ASTGCN13.018422.81630.922911.380121.24280.9346
GAGW10.975220.25160.938510.19419.6910.9428
Table 5. Ablation experiment of temporal and spatial layers.
Table 5. Ablation experiment of temporal and spatial layers.
MAERMSER2
w/o T12.524421.35580.9323
w/o S10.288220.03380.9406
GAGW10.187919.90070.9412
Table 6. Results of METR_LA.
Table 6. Results of METR_LA.
METR_LARNNAESeq2SeqWaveNetTransformerSTGCNAGCRNDCRNNSTTNSTMGATGWNETGAGW
MAE4.114.533.713.983.813.863.193.123.494.153.173.12
RMSE8.178.777.198.988.738.346.336.197.928.246.396.11
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

Li, Y.; Li, Z.; Mei, Q.; Wang, P.; Hu, W.; Wang, Z.; Xie, W.; Yang, Y.; Chen, Y. Research on Multi-Port Ship Traffic Prediction Method Based on Spatiotemporal Graph Neural Networks. J. Mar. Sci. Eng. 2023, 11, 1379. https://doi.org/10.3390/jmse11071379

AMA Style

Li Y, Li Z, Mei Q, Wang P, Hu W, Wang Z, Xie W, Yang Y, Chen Y. Research on Multi-Port Ship Traffic Prediction Method Based on Spatiotemporal Graph Neural Networks. Journal of Marine Science and Engineering. 2023; 11(7):1379. https://doi.org/10.3390/jmse11071379

Chicago/Turabian Style

Li, Yong, Zhaoxuan Li, Qiang Mei, Peng Wang, Wenlong Hu, Zhishan Wang, Wenxin Xie, Yang Yang, and Yuhaoran Chen. 2023. "Research on Multi-Port Ship Traffic Prediction Method Based on Spatiotemporal Graph Neural Networks" Journal of Marine Science and Engineering 11, no. 7: 1379. https://doi.org/10.3390/jmse11071379

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop