Next Article in Journal
Design and Optimization of a Distributed File System Based on RDMA
Next Article in Special Issue
Universal Adversarial Training Using Auxiliary Conditional Generative Model-Based Adversarial Attack Generation
Previous Article in Journal
An Improved Density Peak Clustering Algorithm Based on Chebyshev Inequality and Differential Privacy
Previous Article in Special Issue
Multivariate Relationship in Big Data Collection of Ocean Observing System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Graph Models for Traffic Prediction

Computer School, Central China Normal University, Wuhan 430079, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(15), 8673; https://doi.org/10.3390/app13158673
Submission received: 10 May 2023 / Revised: 16 July 2023 / Accepted: 24 July 2023 / Published: 27 July 2023

Abstract

:
Obtaining accurate road conditions is crucial for traffic management, dynamic route planning, and intelligent guidance services. The complex spatial correlation and nonlinear temporal dependence pose great challenges to obtaining accurate road conditions. Existing graph-based methods use a static adjacency matrix or a dynamic adjacency matrix to aggregate spatial information between nodes, which cannot fully represent the topological information. In this paper, we propose a Hybrid Graph Model (HGM) for accurate traffic prediction. The HGM constructs a static graph and a dynamic graph to represent the topological information of the traffic network, which is beneficial for mining potential and obvious spatial correlations. The proposed method combines a graph neural network, convolutional neural network, and attention mechanism to jointly extract complex spatial–temporal features. The HGM consists of two different sub-modules, called spatial–temporal attention module and dynamic graph convolutional network, to fuse complex spatial–temporal information. Furthermore, the proposed method designs a novel gated function to adaptively fuse the results from spatial–temporal attention and dynamic graph convolutional network to improve prediction performance. Extensive experiments on two real datasets show that the HGM outperforms comparable state-of-the-art methods.

1. Introduction

Traffic prediction is of great significance for optimizing urban traffic systems, improving traffic efficiency, reducing congestion, and improving environmental quality. Recently, many countries have been committed to developing intelligent transportation systems. As an indispensable part of traffic prediction, obtaining real-time traffic conditions can help people better arrange travel plans and share resources [1,2,3,4,5,6].
Traffic prediction aims to estimate future road conditions from the historical state recorded by the traffic system [7,8,9,10]. A real-time and accurate grasp of road conditions plays an important role in traffic management and resource allocation. However, the complex spatial correlation and nonlinear temporal dependence of the traffic network pose great challenges to obtaining accurate traffic prediction. Although many works have achieved excellent predictive performance, accurate traffic prediction still faces the following challenges, as shown in Figure 1:
(1) Complex spatial correlation. Node O received different impacts from adjacent nodes (such as A, B, C, D) at different time steps. Capturing the dynamic relationship between nodes is crucial to improving predictive performance.
(2) Nonlinear temporal dependence. Node B is influenced by its own node and adjacent nodes at the previous state and the influence weight β i changes dynamically over time.
Traditional traffic prediction methods such as the autoregressive integral moving average algorithm (ARIMA) [11] or Kalman filter extract time series information of the traffic network based on time stationary assumption. Traditional methods have achieved great success in traffic prediction. However, the flexibility of these methods is limited due to the complex spatial correlations and nonlinear temporal dependencies of the traffic network.
Due to the powerful feature representation ability of deep learning, deep learning-based methods have made breakthroughs in computer vision, natural language processing, and traffic prediction. Deep learning-based methods automatically learn the rich spatial–temporal information of traffic data through deep neural networks. The temporal signal of a traffic network can be regarded as a sequence-to-sequence model, and the temporal interactivity of nodes can be extracted by the 1D convolution operations in traffic prediction. Compared with 1D convolutional neural networks, recurrent neural networks (RNNs) have attracted extensive attention because these methods can model long-range temporal information [12]. However, RNNs learning-based methods are prone to the vanishing gradient, which makes the backbone network unable to effectively train and learn deep semantic information.
In the spatial dimension, convolutional neural networks (CNNs) have excellent feature extraction capabilities on the Euclidean data structure. However, the spatial distribution of the traffic network nodes can be regarded as a non-Euclidean data structure, which leads to the fact that CNNs learning-based methods have not been widely used in traffic prediction. In recent years, graph neural networks (GNNs) have received extensive attention due to their excellent results on non-Euclidean structures [13,14,15,16]. The GNNs, which can roughly be divided into the spectral domain and spatial domain, update the state of the current node by aggregating the information of adjacent nodes. However, the adjacency matrix generated based on distance or similarity has several limitations.These methods are subjective and incomplete and cannot represent the potential correlation of the traffic network. For example, as shown in Figure 1, node O represents a commercial area and node D is a residential area. Although node O and node D are far apart in space, they have a strong correlation.
In this paper, we propose a novel Hybrid Graph Model (HGM) to extract rich spatial–temporal information about the traffic network. To make full use of spatial information, the proposed method represents the topological information of the traffic network through a general graph structure. The HGM combines a graph neural network, convolutional neural network, and attention mechanism to jointly extract complex spatial–temporal information through different branches. The proposed method constructs the spatial information of distance-based nodesthrough a large amount of traffic data recorded by sensors, which we call static graph. Then, the HGM aggregates the spatial information of nodes using a graph convolutional neural network and combines attention to simultaneously extract temporal information. In order to mine the potential topological structure of the traffic network, the HGM updates the topological information during the model training process, which is called a dynamic graph, and then uses a 1D convolutional neural network to mine the temporal dependencies between nodes. Furthermore, we design a novel gated function to fuse the results from different branches. The gated function dynamically calculates weights for both components according to the branch results to improve the prediction performance. Experiments on two real-world traffic datasets demonstrate that the HGM achieves state-of-the-art performances. The main contributions of this research are summarized as follows:
(1) The proposed method constructs topological information of the network from different visions to fully represent the topological information. The HGM represents road information through a static graph and a dynamic graph, which is conducive to highlighting the information of adjacent nodes and mining the potential correlation between nodes.
(2) The proposed method uses different components to perform feature extraction on bigraph topology, which can fully capture the dynamic road information, and a gated function is designed for the adaptive fusion of results from different branches.
(3) We evaluate the HGM on two real-world traffic datasets and have demonstrated prediction performance over comparable state-of-the-art methods in both long-term and short-term predictions.
The remainder of this paper is organized as follows: Section 2 reviews the related work. The problem statement of traffic prediction is presented in Section 3. Section 4 details the proposed approach. Section 5 reports the experimental settings, followed by the discussion of experimental results in Section 6. Section 7 briefly concludes this work.

2. Related Work

An intelligent and smart traffic management system is essential for managing the increasing volume of vehicles and the human population in smart cities. Traffic prediction aims to predict the future road state through the historical information recorded by the traffic system. The complex spatial correlation and nonlinear temporal dependence of the traffic network pose great challenges to accurately obtaining future road conditions. Many works have been proposed and have achieved excellent classification performance in traffic prediction.

2.1. Traditional Method

Classic statistical and machine learning-based methods are two major representative works in traffic prediction [17,18]. Compared with statistics-based methods, machine learning-based methods such as support vector machines and autoregressive integral moving averages take into account the complex spatial–temporal information of the traffic network, and these methods achieve better predictive performance than linear models. These methods can effectively alleviate the complex spatial correlation and nonlinear temporal dependence of the traffic network. However, these methods rely on manual feature extraction and cannot effectively extract deep semantic information, and the predictive performance of these methods is limited.

2.2. Deep Learning Method

Since deep learning methods can extract deep semantic information and have powerful feature learning capabilities, deep learning-based methods have made breakthroughs in computer vision, natural language processing, and traffic prediction [19,20]. Convolutional neural networks use convolution operations to aggregate features of adjacent nodes to extract rich spatial–temporal information. Yao et al. [21] and Yu et al. [22] divided the traffic network according to geographic location and then fused the domain information through a convolutional neural network. However, the performance of CNN learning-based methods will drop sharply on non-Euclidean data structures. Due to the irregular distribution of sensors in the traffic network, the nodes of the traffic network are more suitable to be regarded as a non-Euclidean structure. Since the graph-based method can effectively represent the topological information between nodes, it has gradually become an alternative method and has received extensive attention. Zhao et al. [23] and Zhang et al. [24] used a graph to represent road spatial information and demonstrated the effectiveness of the proposed method. Yin et al. [25] proposed to set up different hops and consider the information of long-range adjacent nodes to provide rich spatial information. As shown in Figure 1b, although the distance between node O and node D is large, they have a strong correlation. Previous methods construct the topological information of the network distance-based or similarity-based between nodes, which cannot discover the potential interactivity.
Many works have started to reflect other factors apart from distance information [26,27]. Li et al. [26] modified the distance map by adding additional information, such as inflow/outflow and reachability. Lv et al. [28] considered multi-graph convolutions to provide rich spatial–temporal information for traffic prediction. In order to achieve better prediction performance, Wu et al. [29] proposed to dynamically generate the topology structure between nodes during the model training process to mine the potential information between nodes. However, these methods do not utilize static and dynamic topology information at the same time, which can also lead to information loss. In the temporal dimension, the information of adjacent moments is extracted by means of 1D CNNs or RNNs in the early stage. Guo et al. [30] and Yu et al. [31] adopted CNNs to construct nonlinear temporal dependencies for different time steps. Recurrent neural networks such as long short-term memory or gated recurrent units have been successfully applied to traffic prediction due to their ability to model long-range temporal information. However, recurrent neural networks for sequence learning require iterative training, which may introduce error accumulation and cause a vanishing gradient.

2.3. Attention

The attention mechanism uses limited resources to quickly select high-value information from a large amount of information [32]. Attention-based methods have been widely used and achieved great successes in various tasks, such as natural language processing [33,34], computer vision [35], and speech recognition [36]. To characterize the spatial correlations and temporal dependencies, several works apply attention mechanisms to model spatial–temporal information. Chen et al. [37] applied attention to aggregate spatial information of different scales. Yao et al. [21] used LSTM and attention mechanism to extract temporal information. Zheng et al. [38] and Guo et al. [30] employed attention to capture the relationships between intersequence and intrasequence nodes. Inspired by the above research methods, in order to capture the topology and complex spatial–temporal patterns of the traffic network, the proposed method uses graph convolution and attention mechanisms to model the network structure.

3. Preliminaries

3.1. Traffic Prediction on Road Graphs

In this paper, we define the traffic network as a directed graph G = ( V , E , A ) , where V is a set with | V | = N nodes, E is a set of edges representing the connectivity between the nodes, and A R N × N denotes the adjacent matrix of the graph representing the proximity between nodes. The intelligent transportation system records the road conditions X = { X 0 , X 1 , , X t , } of all nodes in the traffic network, where X t = { x 1 , t , x 2 , t , , x N , t } R N × 1 represents the road information at time t. The goal of traffic prediction is to predict the future state based on the observed historical state. In this paper, we formulate the traffic prediction problem as finding a function F to predict the next Q time steps based on historical P steps of historical data:
Y ^ = { X t + 1 , X t + 2 , , X t + Q } = F θ ( X t , X t 1 , , X t P + 1 )
where θ denotes learnable parameters.

3.2. Graph Neural Network

As shown in Figure 2a, previous studies [21,22] have demonstrated that the CNN learning-based method exhibits excellent performance in grid-structured data (e.g., images, videos). The convolutional neural network is usually used as an effective method for feature extraction in image processing. Given image X R M × N and filter W R U × V , the output of convolution operation at position ( i , j ) can be defined as:
y i , j = u = 1 U v = 1 V w u , v x i u + 1 , j v + 1
As the number of hidden layers of the convolutional neural network increases, the computing resources required by the model also increase sharply. Due to the irregular distribution of sensors, the Euclidean data structure cannot truly reflect road information. Graph neural networks can be roughly divided into spectral-based methods and spatial-based methods. Spectral-based methods define graph convolution operations by introducing filters from the perspective of graph signal processing [39], which are interpreted as removing noise from graph signals. Spatial-based methods [16,40,41] formulate the graph convolution operation as aggregating the information of adjacent nodes, which can roughly be seen as a type of CNN. Spatial-based methods have developed rapidly due to their attractive efficiency, flexibility, and generality.
Thomas et al. [42] introduced a simple yet flexible model f ( X , A ) for information propagation on graphs and considered GCNs on a graph with a symmetric adjacency matrix A, which can be defined as:
H l = f ( X , A ) = A H l 1 W
where X R N × H denotes the input signals and W R H × D represents learnable parameters.

4. Methodology

Figure 3 is the framework of the proposed HGM. The proposed method aggregates traffic network information from different visions, which is beneficial for strengthening the shallow information and can dynamically mine potential correlations between nodes. The HGM captures complex spatial correlations and nonlinear temporal dependencies through the spatial–temporal attention (STA) module and the dynamic graph convolution network (DGCN). Specifically, the HGM constructs a distance-based static adjacency matrix to represent topology information and combine spatial–temporal attention to synchronously extract spatial–temporal information in the STA module. In addition, in order to characterize the potential dependencies between nodes, the proposed method randomly generates a dynamic adjacency matrix, which can better represent the topology of the network in the DGCN. The DGCN extracts complex spatial information and nonlinear temporal dependencies at the same time through spatial domain-based graph convolutional neural network and convolutional neural network, respectively. Finally, the HGM uses a gated function to adaptively fuse the results of both branches to improve the prediction performance. Next, we introduce the main components STA module and DGCN in detail.

4.1. STA Module

In this paper, we follow the idea of [38] to design a spatial–temporal attention module, which mainly includes temporal attention and spatial attention, to extract features of historical traffic conditions. In the spatial–temporal attention, the HGM obtains spatial embedding E v i S R D and temporal embedding E t T R 7 + q by using word2vec and one-hot encoding methods, respectively. To obtain both temporal and spatial information, the method obtains the spatial–temporal embedding S T E v i , t = ( E t T + E v i S ) R ( T P + T Q ) × N × D through linear projection and concatenation operations, where v i V , T ( t P + 1 , , t , t + 1 , , t + Q ) and D represents the output dimensions of the model. Then, the proposed method uses a multi-head attention to simultaneously extract spatial correlations h S A and temporal dependencies h T A , and the extracted information is dynamically fused through a novel gated function.

4.1.1. Temporal Attention and Spatial Attention

In recent years, attention mechanisms have been widely used in various tasks and have achieved excellent performance. The goal of the attention mechanism is to select valuable information for the current task from all inputs. As shown in Figure 1b, historical traffic conditions can also have an impact on future road conditions, and it presents a nonlinear relationship. As shown in Figure 4, in the STA module, the proposed method employs temporal attention and spatial attention to extract nonlinear temporal dependencies and complex spatial correlations, respectively. Instead of the idea of extracting spatial–temporal information in stages, spatial–temporal attention simultaneously extracts road information to improve accuracy.
In the temporal dimension, the HGM uses a novel attention mechanism, which can dynamically capture long-range temporal information. The proposed method uses a multi-head attention mechanism to stabilize the training process of the proposed method. Multi-head attention can focus on information in different subspaces, which is beneficial for extracting rich spatial–temporal information.
As shown in Figure 5, the kth attention score of node between t and t j time steps can be defined as:
ω t , t j k = < h v i , t l 1 | | S T E v i , t , h v i , t j l 1 | | S T E v i , t j > d k
β t , t j k = e x p ( ω t , t j k ) t j = t 1 t h e x p ( ω t , t j k )
where | | represents the vector concatenation operation, h v i , t l 1 is the hidden layer state of the node v i at time t, < · , · > denotes the inner product operator, and d k = D K means the output dimension of the kth attention head. Therefore, the dynamic information extracted by the node v i at the lth layer through temporal attention at time t can be defined as:
h t v i , t l = | | k = 1 K { t j = t 1 T P β t , t j k · h v i , t j l 1 }
It can be seen from Figure 1 that the influence relationship between nodes is changing dynamically at different time steps. Similar to temporal attention, the HGM also takes multi-head attention to extract spatial information. Spatial attention assigns different weights at different times according to the correlation between nodes. The proposed method comprehensively considers the dynamic spatial and temporal correlation, which is beneficial to improving the prediction performance.

4.1.2. Gated Function

To fuse the results from different branches, the proposed method designs a novel gated function as shown in Figure 6. Instead of assigning fixed weights, the gated function aims to calculate a dynamic weight based on the result from branches A and B, which can be defined as:
C = z × A + ( 1 z ) × B
z = σ ( ϵ 1 A + ϵ 2 B + b )
where A , B indicate different components, ϵ 1 , ϵ 2 R N × N and b R D represent the trainable parameters, and σ ( · ) is the sigmoid activation function. The gated function effectively combines the results from different branches. In this paper, the proposed method mainly uses the gated function to fuse the results from the spatial attention and temporal attention and to fuse the results from the STA module branch and DGCN branch.

4.2. DGCN Block

As shown in Figure 7, the HGM uses a graph convolutional network to mine potential topological information. The HGM dynamically updates the adjacency matrix during model training to construct topological information of the traffic network. Meanwhile, the DGCN adopts the 1D convolution to extract nonlinear temporal dependencies. The previous GNN-based methods mainly construct the topology information of the traffic network through distance or similarity between nodes. The adjacency matrix is considered prior knowledge and is fixed during the model training process. These methods are subjective and incomplete and may cause a huge impact on the predictive performance. Veličković et al. [43] combined attention with a graph to reflect the dynamic information of the network, but it still relies on prior knowledge to a certain extent. However, the constructed distance-based adjacency matrix cannot fully represent the topological information of the traffic network.
The HGM proposes a novel way of generating network topology information. Specifically, as shown in Figure 8, the proposed method randomly initializes two node embeddings E 1 , E 2 R N × D d with learnable parameters, which can be updated during the model training process and can be defined as:
A a d p = s o f t m a x ( R E L U ( E 1 E 2 T ) )
The proposed method multiplies E 1 and E 2 to calculate the adaptive adjacency matrix, removes the weak correlation of the adaptive adjacency matrix by the ReLU activation function, and normalizes the adjacency matrix through the softmax function. From a spatial-based perspective, the graph convolutional neural network updates the signal of the current node by aggregating and transforming the information of adjacent nodes. After obtaining the dynamic adjacency matrix, the graph convolutional neural network in the proposed method can be defined as:
h l = A a d p h l 1 W
where A a d p represents the proposed dynamic adjacency matrix, h l 1 and h l denote the input and output of the hidden layer, and W indicates trainable weights.
In the temporal dimension, instead of building a complex neural network, a 1D convolutional neural network is used to extract nonlinear temporal dependencies after aggregating spatial signals through a dynamic adjacency matrix. Specifically, the proposed method sets the size of the 1D convolution kernel to s i z e = 3 , and the sliding step size to s = 1 to extract temporal features, and then the size of the time dimension is converted into Q through linear projection operations to obtain the future road conditions.
As mentioned above, we detail the core principles of the STA module and the DGCN. As shown in Figure 3, in order to extract deep features, the proposed method adopts a residual network to stack L layers of STA module and DGCN. The extraction of static and dynamic information is achieved through different branches. In addition, the HGM dynamically calculates weights according to branch results to improve the predictive performance of the model.

5. Experiments

5.1. Settings

The proposed method evaluates the prediction performance of the HGM on two public traffic datasets, METR-LA and PEMS-BAY. The proposed method uses mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE) to evaluate the performance of the HGM [1,2]. MAPE is the average value of the absolute value of the relative percentage error, which can be used to evaluate the prediction results. The calculation formula can be defined as follows:
M A P E = 100 % n i = 1 n y ^ y y
where y ^ represents the predicte value, y is the real data, and n denotes the total number of samples. M A E is the average absolute error, and the calculation method can be expressed:
M A E = 1 n i = 1 n y ^ y y
R M S E is used to measure the deviation between ground truth and predict value, which can be defined as:
R M S E = 1 n i = 1 n y ^ y 2

5.2. Parameter Settings

The HGM predicts the road conditions at Q future time steps based on the historical traffic conditions at P = 12 time steps. The proposed method uses the Adam optimizer to update network parameters. The HGM sets the learning rate, the number of iterations, and output dimension as l r = 0.001 , e p o c h = 150 , and D = 64 . The proposed method stacks L = 3 layers of the STA module and DGCN to extract spatial–temporal information from different components, respectively. Furthermore, to avoid unnecessary overhead, the proposed method uses an early stopping strategy during the model training process. In other words, if the validation loss does not decrease within 15 epochs, we consider the proposed method to have converged. In addition, all experiments run on the computer with Nvidia_V100 GPU, 16 G RAM, and Intel I9700 CPU.

5.3. Compared Methods

In order to further verify the effectiveness of the proposed method, we compare the predicted results of the proposed method with the following compared methods:
  • HA: HA uses the average of historical data to predict future road conditions.
  • ARIMA [11]: ARIMA employs autoregressive and moving average methods for traffic prediction.
  • SVR [44]: SVR uses support vector machine to extract spatial–temporal features of the traffic network.
  • FC-LSTM [45]: FC-LSTM uses LSTM to analyze spatial–temporal dependencies.
  • DCRNN [26]: DCRNN extracts spatial–temporal correlations with diffusion convolution and recurrent neural network.
  • STGCN [31]: STGCN combines graph convolution and 1D convolution operations to extract spatial–temporal dependencies.
  • GraphWaveNet [29]: GraphWaveNet proposes a hybrid model of graph convolution and dilated convolution to dynamically extract features.
  • ASTGCN [30]: ASTGCN extracts spatial and temporal correlations through a convolutional neural network and attention mechanism.
  • MTGNN [46]: MTGNN is a GNN-based and CNN-based model which employs adaptive graph, mix–hop propagation layers, and dilated inception layers to capture spatial–temporal correlations.
  • GMAN [38]: GMAN captures spatial–temporal information using a spatial–temporal attention mechanism.
  • MRA-DGCN [27]: MRA-DGCN captures complex dependencies among nodes using a dynamic adjacency matrix.

6. Experimental Results

6.1. Predictive Performance

Table 1 shows the performance comparison of the proposed method and compared methods on the METR-LA and PeMS datasets. On the PeMS-BAY and METR-LA datasets, the proposed method achieves the best prediction results at different time steps. In order to mine the potential correlation between nodes, the HGM uses a dynamic adjacency matrix to represent the spatial information of the traffic network and uses a convolutional neural network to extract nonlinear temporal dependencies, which is beneficial for achieving better predictive performance. For example, on the METR-LA dataset, the error of the proposed method drops to 6.60%, 8.19%, and 9.65% at 3, 6, and 12 future time steps on MAPE, respectively, which shows that the proposed method achieves the best predictive performance for both short-range and long-range. From the experimental results in Table 1, the following results can be drawn.
First, since traditional time series prediction methods such as HA and ARIMA focus on historical records and ignore the spatial characteristics of the traffic network, these methods cannot compete with the proposed method. Compared with HA and ARIMA, SVR further considers the spatial correlation and achieves better performance. Due to the complex spatial–temporal correlation of road conditions and high-dimensional feature information, the performance of traditional time series prediction methods is limited. The proposed method adopts a deep learning-based approach to build models, which is beneficial for extracting complex spatial–temporal information.
Second, deep learning-based methods (such as FC-LSTM, STGCN, DCRNN, MTGCN, ASTGCN, etc.) alleviate the shortcomings of traditional methods. These methods utilize deep neural networks to automatically mine the complex spatial–temporal features of the traffic network for better predictive performance. However, LSTM considers temporal features while ignoring spatial features, which leads to poor predictive performance. Other methods represent spatial information through a static adjacency matrix, which cannot effectively model the global correlation. The proposed method devises a dynamic adjacency matrix to represent the topology of the transportation network. The HGM dynamically updates the correlation between nodes during the model training process, which is conducive to mining potential correlations, and has achieved the best performance in MAE, RMSE, and MAPE. For example, on the PeMS-BAY dataset, the proposed method achieves a reduction of 0.61% and 1.71% on MAPE over 12 future time steps compared to DCRNN and ASTGCN, respectively.
Finally, the proposed method constructs the topology information from different visions, and the STA module and DGCN are designed to perform information extraction on different graph structures. Compared to Graph WaveNet and GMAN, the proposed method simultaneously considers shallow and potential relationships between nodes through a dynamic and static adjacency matrix. The importance of adjacent nodes can be highlighted through different network topology information and the hidden relationship between nodes can be captured in the proposed method. On the METR-LA dataset, the HGM reduces the RMSE metric by 0.36 and 0.42 over 12 future time steps compared to Graph WaveNet and GMAN, respectively.

6.2. Ablation Studies

Some experiments are performed to analyze the impact of different modules in the proposed method on the predictive performance. In the ablation analysis, we mainly explore the impact of STA module and DGCN. In addition, in order to analyze the impact of the gated function of the information fusion of different components, we also performed related experiments.

6.2.1. Impact of STA Module

The proposed method uses the STA module which mainly includes spatial attention and temporal attention to extract complex spatial–temporal features. Some experiments are conducted to evaluate the impact of the STA module on the proposed method. We analyze the impact of different variants on the predictive performance based on the proposed method. The HGM-V1 uses 1D convolutions instead of temporal attention to extract temporal information. The HGM-V2 indicates that the spatial–temporal attention module consists of static graph convolution and 1D convolution operations. HGM-V3 performs graph convolution operations on static adjacency matrices. The HGM-V4 represents the extraction of spatial–temporal information of traffic networks in stages. In other words, the features extracted by spatial attention are used as the input information of temporal attention. The HGM-V5 indicates that the model only considers dynamically generated topology. Table 2 records the predictive performance of different methods on the two datasets. According to the experimental results, it can be concluded that the proposed method achieves the best prediction performance.
Compared with the HGM-V1, the proposed method uses temporal attention to extract temporal information. On the PeMS-BAY and METR-LA datasets, MAPE decreases by 0.28% and 0.49% over the next 12 time steps, respectively. The HGM-V2 combines 1D convolution and static graph convolution operations to extract nonlinear temporal dependencies and complex spatial correlations. Compared with the HGM-V2, the proposed method shows a significant drop in both long-range and short-range predictive performance. On the PeMS-BAY and METR-LA datasets, the proposed method outperforms the HGM-V2 by 0.81 and 1.34 in MAE over the next 12 time steps. The HGM-V3 performs graph convolution operations in a static adjacency matrix to aggregate topological information of the traffic network, which cannot represent the potential topological information and has limited predictive performance. In the HGM-V4 model, we try to extract spatial–temporal information in stages. According to the experimental results in Table 2, the HGM-V4 did not achieve excellent prediction performance. On the METR-LA dataset, MAE, RMSE, and MAPE increase by 0.2, 0.44, and 0.56% over the next 12 time steps, respectively, compared to our proposed method. The HGM-V5 ignores the spatial information contained in the static adjacency matrix, but we all know that the nodes directly adjacent to the current node have a great influence on the current one. From the experimental results in Table 2, we can see that our proposed method achieves the best prediction performance. By combining dynamic and static adjacency matrices, the HGM model can not only strengthen the relationship between nodes but also mine the underlying topology information.

6.2.2. Impact of DGCN

In order to verify the importance of DGCN, some experiments were conducted to analyze the impact of different variants of DGCN on predictive performance. The HGM-V6 uses temporal attention to model temporal information in DGCN and the HGM-V7 removes the entire DGCN branch. The experimental results are recorded in Table 3. Compared with the HGM, the HGM-V6 uses temporal attention to extract information. Since the proposed method continuously updates the dynamic adjacency matrix during the model training process, the dynamic adjacency matrix cannot effectively represent the topological information of the network at the initial stage, so temporal attention does not perform well on the dynamic adjacency matrix. Furthermore, if the proposed method removes the DGCN branch, the predictive performance can also drop. On the METR-LA dataset, MAE, RMSE, and MAPE decreased by 0.22, 0.46, and 0.89% over the next 12 time steps, respectively.

6.2.3. Impact of Gated Function

In order to verify the effectiveness of the proposed method to dynamically fuse information from different branches, we conducted experiments on the PeMS-BAY and METR-LA datasets. Figure 9 records the experimental results under different weights. From the experimental results, it can be seen that assigning different weights to different branches affects the prediction performance, which verifies the effectiveness of the proposed gated function. It is not easy to obtain the optimal performance of the model by artificially specifying fixed weights. Therefore, in the HGM model, the method calculates the corresponding weights according to the branch results to realize the dynamic fusion of different components in the experiment.

6.3. Time Cost

Some experiments are conducted to explore the training time and inference time of the proposed method and compared methods. The experiments run on the computer with Nvidia_V100 GPU, 16 G RAM, Intel I9700 CPU. Table 4 records the experimental results of different methods in the next 60 min on the METR-LA dataset. According to the experimental results in Table 4, traditional statistics-based methods and machine learning-based methods require less training time. Since FC-LSTM, DCRNN, STGCN, and Graph WaveNet use a single topology to predict road conditions, the training time is less than the proposed method. The proposed method uses a graph neural network, convolutional neural network, and attention mechanism to capture complex spatial–temporal information of the traffic network, and designs a learnable adjacency matrix to represent the potential topology of the network. Although the proposed method requires more training time than most of the compared methods, it achieves the best prediction performance due to the superiority of the proposed method.

7. Conclusions

Traffic prediction is of great significance for travel arrangement and resource planning. In this paper, we propose a graph-based approach to extract complex spatial–temporal information about traffic networks, which achieves excellent predictive performance. The proposed method constructed diverse topology information of traffic network and used different branches to extract complex spatial–temporal dependencies. A dynamic adjacency matrix is used to represent the underlying topology of the traffic network to provide richer information. Furthermore, the gated function improves the fusion results from different branches. In the future, we will try to design a more lightweight network to capture the spatial–temporal information of the traffic network to further reduce the number of network parameters.

Author Contributions

Conceptualization, R.C. and H.Y.; methodology, R.C. and H.Y.; validation, R.C.; formal analysis, H.Y.; investigation, R.C.; resources, H.Y.; writing—original draft preparation, R.C.; writing—review and editing, R.C. and H.Y.; visualization, R.C.; supervision, H.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

In this paper we conduct extensive experiments using two open-source datasets. We can get datasets from https://gitcode.net/mirrors/liyaguang/DCRNN (accessed on 9 May 2023).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dai, G.; Ma, C.; Xu, X. Short-term traffic flow prediction method for urban road sections based on space–time analysis and GRU. IEEE Access 2019, 7, 143025–143035. [Google Scholar] [CrossRef]
  2. Li, F.; Feng, J.; Yan, H.; Jin, G.; Yang, F.; Sun, F.; Jin, D.; Li, Y. Dynamic graph convolutional recurrent network for traffic prediction: Benchmark and solution. ACM Trans. Knowl. Discov. Data 2023, 17, 1–21. [Google Scholar]
  3. Medina-Salgado, B.; Sanchez-DelaCruz, E.; Pozos-Parra, P.; Sierra, J.E. Urban traffic flow prediction techniques: A review. Sustain. Comput. Inform. Syst. 2022, 35, 100739. [Google Scholar]
  4. Ye, X.; Fang, S.; Sun, F.; Zhang, C.; Xiang, S. Meta graph transformer: A novel framework for spatial–temporal traffic prediction. Neurocomputing 2022, 491, 544–563. [Google Scholar] [CrossRef]
  5. Kashyap, A.A.; Raviraj, S.; Devarakonda, A.; Nayak K, S.R.; KV, S.; Bhat, S.J. Traffic flow prediction models—A review of deep learning techniques. Cogent Eng. 2022, 9, 2010510. [Google Scholar] [CrossRef]
  6. Bui, K.H.N.; Cho, J.; Yi, H. Spatial-temporal graph neural network for traffic forecasting: An overview and open research issues. Appl. Intell. 2022, 52, 2763–2774. [Google Scholar] [CrossRef]
  7. Lohrasbinasab, I.; Shahraki, A.; Taherkordi, A.; Delia Jurcut, A. From statistical-to machine learning-based network traffic prediction. Trans. Emerg. Telecommun. Technol. 2022, 33, e4394. [Google Scholar] [CrossRef]
  8. Zhou, X.; Zhang, Y.; Li, Z.; Wang, X.; Zhao, J.; Zhang, Z. Large-scale cellular traffic prediction based on graph convolutional networks with transfer learning. Neural Comput. Appl. 2022, 34, 5549–5559. [Google Scholar] [CrossRef]
  9. Jin, J.; Rong, D.; Zhang, T.; Ji, Q.; Guo, H.; Lv, Y.; Ma, X.; Wang, F. A GAN-based short-term link traffic prediction approach for urban road networks under a parallel learning framework. IEEE Trans. Intell. Transp. Syst. 2022, 23, 16185–16196. [Google Scholar] [CrossRef]
  10. Jiang, W. Internet traffic prediction with deep neural networks. Internet Technol. Lett. 2022, 5, e314. [Google Scholar] [CrossRef]
  11. Box, G.E.P.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; John Wiley & Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
  12. Ghimire, S.; Deo, R.C.; Wang, H.; Al-Musaylh, M.S.; Casillas-Pérez, D.; Salcedo-Sanz, S. Stacked LSTM sequence-to-sequence autoencoder with feature selection for daily solar radiation prediction: A review and new modeling results. Energies 2022, 15, 1061. [Google Scholar] [CrossRef]
  13. Fan, W.; Ma, Y.; Li, Q.; He, Y.; Zhao, E.; Tang, J.; Yin, D. Graph neural networks for social recommendation. In Proceedings of the World Wide Web Conference, San Francisco, CA, USA, 13–17 May 2019; pp. 417–426. [Google Scholar]
  14. Jiang, W.; Luo, J. Graph neural network for traffic forecasting: A survey. Expert Syst. Appl. 2022, 207, 117921. [Google Scholar] [CrossRef]
  15. Zeng, Z.; Huang, Y.; Wu, T.; Deng, H.; Xu, J.; Zheng, B. Graph-based Weakly Supervised Framework for Semantic Relevance Learning in E-commerce. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, 17–21 October 2022; pp. 3634–3643. [Google Scholar]
  16. Zhou, J.; Cui, G.; Hu, S.; Zhang, Z.; Yang, C.; Liu, Z.; Wang, L.; Li, C.; Sun, M. Graph neural networks: A review of methods and applications. AI Open 2020, 1, 57–81. [Google Scholar]
  17. Pan, B.; Demiryurek, U.; Shahabi, C. Utilizing real-world transportation data for accurate traffic prediction. In Proceedings of the 2012 IEEE 12th International Conference on Data Mining, Brussels, Belgium, 10–13 December 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 595–604. [Google Scholar]
  18. Boukerche, A.; Wang, J. Machine learning-based traffic prediction models for intelligent transportation systems. Comput. Netw. 2020, 181, 107530. [Google Scholar] [CrossRef]
  19. Zhang, W.; Zhu, F.; Lv, Y.; Tan, C.; Liu, W.; Zhang, X.; Wang, F.Y. AdapGL: An adaptive graph learning algorithm for traffic prediction based on spatiotemporal neural networks. Transp. Res. Part C Emerg. Technol. 2022, 139, 103659. [Google Scholar] [CrossRef]
  20. Zhou, J.; Han, T.; Xiao, F.; Gui, G.; Adebisi, B.; Gacanin, H.; Sari, H. Multiscale network traffic prediction method based on deep echo-state network for internet of things. IEEE Internet Things J. 2022, 9, 21862–21874. [Google Scholar] [CrossRef]
  21. Yao, H.; Tang, X.; Wei, H.; Zheng, G.; Li, Z. Revisiting spatial-temporal similarity: A deep learning framework for traffic prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 5668–5675. [Google Scholar]
  22. Yu, H.; Wu, Z.; Wang, S.; Wang, Y.; Ma, X. Spatiotemporal recurrent convolutional networks for traffic prediction in transportation networks. Sensors 2017, 17, 1501. [Google Scholar] [CrossRef] [Green Version]
  23. Zhao, L.; Song, Y.; Zhang, C.; Liu, Y.; Wang, P.; Lin, T.; Deng, M.; Li, H. T-gcn: A temporal graph convolutional network for traffic prediction. IEEE Trans. Intell. Transp. Syst. 2019, 21, 3848–3858. [Google Scholar] [CrossRef] [Green Version]
  24. Zhang, X.; Huang, C.; Xu, Y.; Xia, L.; Dai, P.; Bo, L.; Zhang, J.; Zheng, Y. Traffic flow forecasting with spatial-temporal graph diffusion network. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021; Volume 35, pp. 15008–15015. [Google Scholar]
  25. Yin, X.; Wu, G.; Wei, J.; Shen, Y.; Qi, H.; Yin, B. Multi-stage attention spatial-temporal graph networks for traffic prediction. Neurocomputing 2021, 428, 42–53. [Google Scholar] [CrossRef]
  26. Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv 2017, arXiv:1707.01926. [Google Scholar]
  27. Yao, H.; Chen, R.; Xie, Z.; Yang, J.; Hu, M.; Guo, J. MRA-DGCN: Multi-Range Attention-Based Dynamic Graph Convolutional Network for Traffic Prediction. In Proceedings of the 2022 IEEE International Conference on Big Data (Big Data), Osaka, Japan, 17–20 December 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 1613–1621. [Google Scholar]
  28. Lv, M.; Hong, Z.; Chen, L.; Chen, T.; Zhu, T.; Ji, S. Temporal multi-graph convolutional network for traffic flow prediction. IEEE Trans. Intell. Transp. Syst. 2020, 22, 3337–3348. [Google Scholar] [CrossRef]
  29. 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]
  30. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 922–929. [Google Scholar]
  31. Yu, B.; Yin, H.; Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv 2017, arXiv:1709.04875. [Google Scholar]
  32. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar] [CrossRef]
  33. Young, T.; Hazarika, D.; Poria, S.; Cambria, E. Recent trends in deep learning based natural language processing. IEEE Comput. Intell. Mag. 2018, 13, 55–75. [Google Scholar] [CrossRef]
  34. Dai, Z.; Yang, Z.; Yang, Y.; Carbonell, J.; Le, Q.V.; Salakhutdinov, R. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv 2019, arXiv:1901.02860. [Google Scholar]
  35. Hossain MD, Z.; Sohel, F.; Shiratuddin, M.F.; Laga, H. A comprehensive survey of deep learning for image captioning. ACM Comput. Surv. (CsUR) 2019, 51, 1–36. [Google Scholar] [CrossRef] [Green Version]
  36. Deng, L.; Hinton, G.; Kingsbury, B. New types of deep neural network learning for speech recognition and related applications: An overview. In Proceedings of the 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada, 26–31 May 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 8599–8603. [Google Scholar]
  37. Chen, W.; Chen, L.; Xie, Y.; Cao, W.; Gao, Y.; Feng, X. Multi-range attentive bicomponent graph convolutional network for traffic forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 3529–3536. [Google Scholar]
  38. Zheng, C.; Fan, X.; Wang, C.; Qi, J. Gman: A graph multi-attention network for traffic prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 1234–1241. [Google Scholar]
  39. Shuman, D.I.; Narang, S.K.; Frossard, P.; Ortega, A.; Vandergheynst, P. The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and other irregular domains. IEEE Signal Process. Mag. 2013, 30, 83–98. [Google Scholar] [CrossRef] [Green Version]
  40. Micheli, A. Neural network for graphs: A contextual constructive approach. IEEE Trans. Neural Netw. 2009, 20, 498–511. [Google Scholar] [CrossRef]
  41. Oloulade, B.M.; Gao, J.; Chen, J.; Lyu, T.; Al-Sabri, R. Graph neural architecture search: A survey. Tsinghua Sci. Technol. 2021, 27, 692–708. [Google Scholar] [CrossRef]
  42. Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
  43. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
  44. Wu, C.-H.; Ho, J.-M.; Lee, D.T. Travel-time prediction with support vector regression. IEEE Trans. Intell. Transp. Syst. 2004, 5, 276–281. [Google Scholar] [CrossRef] [Green Version]
  45. Graves, A.; Graves, A. Long short-term memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Springer: Berlin/Heidelberg, Germany, 2012; pp. 37–45. [Google Scholar]
  46. 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]
Figure 1. Complex spatial–temporal correlations.
Figure 1. Complex spatial–temporal correlations.
Applsci 13 08673 g001
Figure 2. Convolutional neural network and graph neural network. The black node represents the central node and the light blue node is the adjacent node of the black node.
Figure 2. Convolutional neural network and graph neural network. The black node represents the central node and the light blue node is the adjacent node of the black node.
Applsci 13 08673 g002
Figure 3. Model framework.
Figure 3. Model framework.
Applsci 13 08673 g003
Figure 4. Spatial–temporal attention module.
Figure 4. Spatial–temporal attention module.
Applsci 13 08673 g004
Figure 5. Temporal attention.
Figure 5. Temporal attention.
Applsci 13 08673 g005
Figure 6. Gated function.
Figure 6. Gated function.
Applsci 13 08673 g006
Figure 7. Dynamic graph convolution network.
Figure 7. Dynamic graph convolution network.
Applsci 13 08673 g007
Figure 8. Dynamic adjacency matrix.
Figure 8. Dynamic adjacency matrix.
Applsci 13 08673 g008
Figure 9. Effect of different branch weights on prediction performance. λ represents the weight ratio. For example, λ = 9 indicates that the proposed method sets the weights of STA branch and DGCN branch to 0.9 and 0.1, respectively.
Figure 9. Effect of different branch weights on prediction performance. λ represents the weight ratio. For example, λ = 9 indicates that the proposed method sets the weights of STA branch and DGCN branch to 0.9 and 0.1, respectively.
Applsci 13 08673 g009
Table 1. Performance comparison of different methods on METR-LA and PeMS datasets.
Table 1. Performance comparison of different methods on METR-LA and PeMS datasets.
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
PeMSHA2.885.596.80%2.885.596.80%2.885.596.80%
ARIMA1.623.303.50%2.334.765.40%3.386.508.30%
SVR1.853.593.82%2.485.185.50%3.287.088.00%
FC-LSTM2.054.194.80%2.204.555.20%2.374.965.70%
DCRNN1.382.952.90%1.743.973.90%2.074.744.90%
STGCN1.362.962.90%1.814.274.17%2.495.695.79%
Graph WaveNet1.302.742.73%1.633.703.67%1.954.524.63%
ASTGCN1.533.133.22%2.014.274.48%2.615.426.00%
MTGCN1.322.792.77%1.653.743.69%1.944.494.53%
GMAN1.342.822.81%1.623.723.63%1.864.324.31%
MRA-DGCN1.282.752.68%1.593.623.60%1.874.334.42%
HGM (Ours)1.252.662.64%1.543.573.47%1.854.314.29%
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
METR-LAHA4.167.8013.00%4.167.8013.00%4.167.8013.00%
ARIMA3.998.219.60%5.1510.4512.70%6.9013.2317.40%
SVR3.998.459.30%5.0510.8712.10%6.7213.7616.70%
FC-LSTM3.446.309.60%3.777.2310.90%4.378.6913.20%
DCRNN2.775.387.30%3.156.458.80%3.607.6010.50%
STGCN2.885.747.62%3.477.249.57%4.599.4012.70%
Graph WaveNet2.695.156.90%3.076.228.37%3.537.3710.01%
ASTGCN4.869.279.21%5.4310.6110.13%6.5112.5211.64%
MTGCN2.695.186.86%3.056.178.19%3.497.239.87%
GMAN2.805.557.41%3.126.498.73%3.447.3510.07%
MRA-DGCN2.625.146.68%3.016.138.05%3.387.229.98%
HGM (Ours)2.585.066.60%3.046.108.19%3.357.039.65%
Table 2. Prediction results of different variants of STA module. The HGM-V1 stands for using 1D convolution instead of temporal attention. The HGM-V2 means that the spatial–temporal attention module is composed of static graph convolution and 1D convolution operation. The HGM-V3 performs a static graph convolution operation on static graph. The HGM-V4 means extracting spatial–temporal information in stages. The HGM-V5 means using dynamic graphs instead of static graphs.
Table 2. Prediction results of different variants of STA module. The HGM-V1 stands for using 1D convolution instead of temporal attention. The HGM-V2 means that the spatial–temporal attention module is composed of static graph convolution and 1D convolution operation. The HGM-V3 performs a static graph convolution operation on static graph. The HGM-V4 means extracting spatial–temporal information in stages. The HGM-V5 means using dynamic graphs instead of static graphs.
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
PeMSHGM-V11.332.762.74%1.663.713.68%1.954.474.57%
HGM-V21.503.153.10%2.024.544.52%2.665.936.59%
HGM-V31.322.782.75%1.703.953.80%1.934.454.58%
HGM-V41.322.792.73%1.643.713.64%1.974.524.60%
HGM-V51.302.742.67%1.623.693.60%1.904.414.48%
HGM1.252.662.64%1.543.573.47%1.854.314.29%
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
METR-LAHGM-V12.665.116.86%3.036.158.35%3.457.2010.14%
HGM-V23.196.098.41%3.837.6010.74%4.699.2014.55%
HGM-V32.655.086.77%3.046.158.42%3.507.3410.36%
HGM-V42.705.256.97%3.126.428.64%3.557.4710.21%
HGM-V52.675.176.84%3.106.308.57%3.577.4910.54%
HGM2.585.066.60%3.046.108.19%3.357.039.65%
Table 3. Prediction results of different variants of DGCN. The HGM-V6 uses temporal attention to model temporal information in DGCN and the HGM-V7 removes the DGCN module.
Table 3. Prediction results of different variants of DGCN. The HGM-V6 uses temporal attention to model temporal information in DGCN and the HGM-V7 removes the DGCN module.
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
PeMSHGM-V61.302.732.68%1.623.683.62%1.934.494.60%
HGM-V71.302.742.67%1.623.693.60%1.904.414.48%
HGM1.252.662.64%1.543.573.47%1.854.314.29%
DataMethodMAE15 min
RMSE
MAPEMAE30 min
RMSE
MAPEMAE60 min
RMSE
MAPE
METR-LAHGM-V62.685.186.87%3.066.218.42%3.537.4410.43%
HGM-V72.675.176.84%3.106.308.57%3.577.4910.54%
HGM2.585.066.60%3.046.108.19%3.357.039.65%
Table 4. Time cost (s) of the proposed method and compared methods.
Table 4. Time cost (s) of the proposed method and compared methods.
DatasetMethodsHAARIMASVRFC-LSTMDCRNNSTGCNGraph WaveNetASTGCNMTGCNGMANMRA-DGCNHGM
METR-LATraining time0.0064.2184.37463.494598.656021.555967.326218.357463.746458.568165.257489.54
Inference0.110.740.421.210.981.310.981.561.011.321.791.01
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

Chen, R.; Yao, H. Hybrid Graph Models for Traffic Prediction. Appl. Sci. 2023, 13, 8673. https://doi.org/10.3390/app13158673

AMA Style

Chen R, Yao H. Hybrid Graph Models for Traffic Prediction. Applied Sciences. 2023; 13(15):8673. https://doi.org/10.3390/app13158673

Chicago/Turabian Style

Chen, Renyi, and Huaxiong Yao. 2023. "Hybrid Graph Models for Traffic Prediction" Applied Sciences 13, no. 15: 8673. https://doi.org/10.3390/app13158673

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