Road network traffic space-time state uncertainty calculation method based on graph convolution model

Through the calculation method of road network traffic spatio-temporal state uncertainty based on the graph convolution model, the problem that the traditional point prediction method cannot measure the volatility and uncertainty of traffic flow is solved, and a more comprehensive and effective understanding of the traffic flow state is achieved. traffic management support.

CN118865684AActive Publication Date: 2024-10-29BEIHANG UNIV

Patent Information

Application Number
CN202410957844.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-29
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Traditional point prediction methods cannot effectively measure the volatility and uncertainty of traffic flow, and cannot provide enough information to describe the high uncertainty of traffic flow status, especially due to unpredictable factors such as emergencies, weather changes, and holiday effects. caused traffic fluctuations.

Method used

The road network traffic spatio-temporal state uncertainty calculation method based on the graph convolution model is used to construct the road network traffic state point prediction model through the DCRNN model. The MC-Dropout of the Bayesian framework is combined with the MC-Dropout of the Bayesian framework for traffic state uncertainty training to establish a description of accidental The loss function of uncertainty uses diffusion convolution and GRU to capture spatiotemporal features and predict the possible range of changes in traffic status.

Benefits of technology

It provides the possible range of changes in future traffic conditions and the credibility of the prediction results. It expresses the maximum and minimum traffic flow through upper and lower bounds, helps traffic management and dispatch provide more flexible and comprehensive decision support, and improves the stability of the transportation system. Adaptability and responsiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865684A_ABST
    Figure CN118865684A_ABST
Patent Text Reader

Abstract

The invention discloses a road network traffic space-time state uncertainty calculation method based on a graph convolution model. The method comprises the following steps: collecting historical traffic space-time data; constructing a road network traffic state point prediction model based on a DCRNN model; establishing a loss function method for describing accidental uncertainty, and performing traffic state uncertainty training on the road network traffic state point prediction model based on MC-Dropout of a Bayesian framework by using historical traffic spatio-temporal data to obtain a trained road network traffic state interval range prediction model; and inputting to-be-predicted traffic spatio-temporal data into the trained road network traffic state interval range prediction model to obtain a traffic state in a predicted time range. According to the method, the uncertainty of the traffic state is quantified more deeply and effectively by combining the deep learning technology and the Bayesian framework, and more flexible and comprehensive decision support is provided for traffic management and scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of traffic prediction, and in particular to a method for calculating the uncertainty of spatiotemporal state of road network traffic under a graph convolution model framework. Background Art

[0002] With the continuous improvement of traffic information collection technology, the acquisition of real-time traffic data has become more convenient and accurate, making it possible to predict traffic status in real time. This technological advancement provides a large amount of real-time or near-real-time data for traffic management and prediction, greatly promoting the development of traffic flow prediction models. However, although the traditional point prediction method can predict the traffic flow at a certain moment in the future, it cannot effectively measure the volatility and uncertainty of traffic flow. The volatility of traffic flow is mainly caused by various unpredictable factors, such as emergencies, weather changes, and holiday effects. These factors lead to a high degree of uncertainty in traffic flow status, and a single point prediction value cannot provide enough information to describe this uncertainty.

[0003] Therefore, how to provide a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model that can predict the possible range of changes in future traffic conditions is a technical problem that needs to be urgently solved by technicians in this field. Summary of the invention

[0004] In response to the above research status, the present invention provides a method for calculating the uncertainty of the spatiotemporal state of road network traffic based on a graph convolution model. By using the graph convolution model as a spatiotemporal prediction framework, a method for calculating the uncertainty of the spatiotemporal state of road network traffic is established, which can more intuitively quantify the traffic fluctuations caused by uncertain factors and support more effective management and guidance of traffic flow.

[0005] The present invention provides a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model, comprising the following steps:

[0006] S1: Collect historical traffic spatiotemporal data, including road network traffic space data, and traffic status time series data under the road network traffic space;

[0007] S2: Construct a road network traffic status point prediction model based on the DCRNN model, taking the historical traffic status time series data and road network traffic spatial data as input, and the spatiotemporal prediction point value of the road network traffic status and the variance of the prediction point value as output;

[0008] S3: Establish a loss function method to describe accidental uncertainty, and use the historical traffic spatiotemporal data to train the road network traffic state point prediction model based on MC-Dropout of the Bayesian framework to obtain a trained road network traffic state interval range prediction model;

[0009] S4: Inputting the to-be-predicted traffic spatiotemporal data into the trained road network traffic status interval prediction model to obtain the predicted traffic status within the time range.

[0010] Preferably, the road network structure data in S1 includes: road connection information, road length and actual distance between roads; the traffic status time series data under the road network structure includes: road traffic volume and average speed of road sections at uniform time intervals.

[0011] Preferably, the road network traffic spatial data in S1 also includes constructing a spatial correlation matrix according to the actual spatial distance between two road sections, which is used to characterize the weight between the two road sections.

[0012] Preferably, S2 includes the step of modeling the time characteristics:

[0013] The traffic status time series data is processed using GRU to capture dynamic changes in time, and the final hidden state is output by setting an update gate, a reset gate and candidate hidden states.

[0014] Preferably, S2 includes the step of modeling the spatial features:

[0015] The diffusion convolution method is used to process network traffic spatial data and capture the spatial dependencies between nodes.

[0016] Preferably, the DCRNN model captures the structural information of the road network traffic space data through bilateral random walks in the diffusion convolution step, including:

[0017] The spatial association matrix is ​​used to construct a traffic network graph G = (V, E), where V represents a set of road segments and E represents a set of edges representing the association relationship between road segments;

[0018]

[0019] Among them, H represents the output matrix of the aggregated input feature X after the diffusion process, K represents the number of diffusion steps, X represents the input feature matrix, including the traffic status data of each node, and the diffusion operator D is used to capture the information propagation and influence relationship between nodes. k Represents the weight matrix that needs to be learned in the diffusion convolution model. By learning the parameters of the weight matrix, the model adaptively adjusts the internal calculation to make the output result as close to the actual traffic flow as possible.

[0020] Preferably, the method for establishing a loss function describing accidental uncertainty in S3 includes:

[0021] By using the conditional variance function σ(x i ) 2To model the variance of the output noise, where N is the input data x i The number of, θ is the model parameter, y i and Represent the true value and the predicted value of the model, respectively, i For the input traffic status data, establish the loss function:

[0022]

[0023] Preferably, S4 includes:

[0024] Dropout is applied to sample from the posterior distribution to estimate the epistemic uncertainty of the output; the total prediction variance and the total prediction interval are obtained by the following expressions:

[0025]

[0026] Where T is the sampling times of MC-Dropout, represents the predicted value obtained by the tth sampling, u(y) and l(y) represent the upper and lower bounds of the prediction interval, respectively, and z α / 2 It is the critical value corresponding to the confidence level (1-α)% in the standard normal distribution.

[0027] The method for calculating the uncertainty of spatiotemporal state of road network traffic based on graph convolution model proposed in this invention has the following beneficial effects compared with the prior art:

[0028] The present invention uses prediction intervals to represent the possible range of changes in future traffic conditions, which helps to more fully understand the uncertainty of traffic flow. The prediction interval not only gives the predicted value, but also provides information about the credibility of the prediction result, and represents the possible maximum and minimum traffic flow through upper and lower bounds, thereby providing more flexible and comprehensive decision support for traffic management and scheduling. This method based on prediction intervals can more effectively deal with uncertainties and risks in traffic management and improve the adaptability and response speed of the traffic system. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work.

[0030] Figure 1 A flow chart of a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model provided by an embodiment of the present invention;

[0031] Figure 2A schematic diagram of the prediction results of a detector interval for a certain road section provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] like Figure 1 As shown, the present invention provides a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model, comprising the following steps:

[0034] S1: Collect historical traffic spatiotemporal data, including road network traffic spatial data and traffic status time series data under road network traffic space;

[0035] S2: Construct a road network traffic status point prediction model based on the DCRNN model, taking the historical traffic status time series data and road network traffic spatial data as input, and the spatiotemporal prediction point value of the road network traffic status and the variance of the prediction point value as output;

[0036] S3: Establish a loss function method to describe accidental uncertainty, and use historical traffic spatiotemporal data to train the road network traffic state point prediction model based on the Bayesian framework MC-Dropout to obtain a trained road network traffic state interval range prediction model;

[0037] S4: Input the traffic spatiotemporal data to be predicted into the trained road network traffic state interval prediction model to obtain the traffic state within the predicted time range.

[0038] In one embodiment, the road network structure data in S1 includes: road connection information, road length and actual distance between roads; the traffic status time series data under the road network structure includes: road traffic volume and average speed of road sections at uniform time intervals.

[0039] In this embodiment, a detector is used to detect the road traffic volume, and data is collected at specified time intervals (such as 5 minutes) to obtain time series information at uniform intervals.

[0040] In one embodiment, the road network traffic spatial data in S1 also includes: the spatial structure information of the road segment is represented by the longitude and latitude of the midpoint of the road segment, and the actual spatial distance d (v i ,v j ) and use this to construct a spatial correlation matrix to represent the weight A between two road sections ij, which is used to describe the correlation between the road segments in the road network.

[0041] The specific calculation method of the two-point spatial correlation matrix is ​​determined by the following expression:

[0042]

[0043] A ij is the weight value between the two sections i and j. The weight value shows the size of the spatial connection between the two points. i ,v j ) is the actual spatial distance between the two sections, σ 2 Represents the variance parameter of the Gaussian kernel, affecting the two sections v i and v j The rate at which the correlation between them decreases as the distance increases.

[0044] In one embodiment, the traffic state prediction model based on diffusion graph convolution is established in S2, which can be divided into modeling of time features and modeling of space features, wherein the step of modeling time features is:

[0045] GRU (Gated Recurrent Unit) is used to process the traffic status time series data to capture the dynamic changes in time. The final hidden state is output by setting the update gate, reset gate and candidate hidden state.

[0046] In the specific implementation, it is assumed that the input time series is {x1,x2,...,x T}, where x T Represents the input features of the Tth time step;

[0047] At each time step, the GRU updates the hidden state h t , which is updated as follows:

[0048] z t =σ(W z x t +U z h t-1 +b z )

[0049] r t =σ(W r x t +U r h t-1 +b r )

[0050]

[0051] Among them, z t ,r t , They represent the update gate, reset gate and candidate hidden state respectively. The final hidden state can be used as output or further passed to subsequent layers. Through the above process, DCRNN can capture the dynamic changes and long-term and short-term dependencies of time series data.

[0052] In one embodiment, the traffic state prediction model based on diffusion graph convolution is established in S2, which can be divided into modeling of time features and modeling of spatial features, wherein the step of modeling of spatial features is:

[0053] The diffusion convolution method is used to process network traffic spatial data and capture the spatial dependencies between nodes.

[0054] In one embodiment, the DCRNN model captures the structural information of the road network traffic spatial data through bilateral random walks in the diffusion convolution step, including:

[0055] The traffic network is represented as a graph G = (V, E), where V is a set of nodes and E is a set of edges, which represents the relationship between roads, that is, the spatial association matrix. ij Calculated from S1.

[0056] Diffused convolution captures graph structure information through a diffusion process (random walk):

[0057]

[0058] Among them, H represents the output matrix of the aggregated input feature X after the diffusion process, K represents the number of diffusion steps, X represents the input feature matrix, specifically the traffic status data of each node, and the diffusion operator D is used to capture the information propagation and influence relationship between nodes. k Represents the weight matrix that needs to be learned in the diffusion convolution model. By learning the parameters of the weight matrix, the model adaptively adjusts the internal calculation to make the output result as close to the actual traffic flow as possible.

[0059] In one embodiment, DCRNN uses an encoder-decoder architecture to process spatiotemporal sequence data. First, the encoder is used to process the input sequence and convert it into a hidden state vector. The decoder generates a predicted sequence based on the hidden state vector generated by the encoder. Specifically, it includes:

[0060] Encoder stage:

[0061] First, DCRNN receives historical traffic spatiotemporal data as input during the training phase. The input data includes flow data from multiple traffic monitoring points at different time points.

[0062] In the encoder, convolutional layers are used to extract local spatial features, which helps capture the correlation between traffic monitoring points at different locations.

[0063] The diffusion layer uses the graph structure (the road network structure in the transportation network) to propagate information. This step allows longer-range spatial dependencies to be taken into account.

[0064] Next, the GRU layer is used to process time series data, capturing dynamic features that change over time, and effectively capturing long-term and short-term dependencies through its gating mechanism (including update gates and reset gates). This helps the model understand patterns and trends in time series.

[0065] The last GRU hidden state of the encoder serves as a context vector, which contains important information of all input sequences.

[0066] Decoder stage:

[0067] The decoder uses the context vector generated by the encoder as the initial state and generates the future traffic flow sequence through the GRU layer.

[0068] At each time step, the decoder generates a prediction for the next time step based on the current hidden state and the previous output.

[0069] The final output layer converts the hidden state of the decoder into a predicted spatiotemporal sequence to obtain the future traffic flow prediction results.

[0070] In one embodiment, the step of performing traffic state uncertainty training on the road network traffic state point prediction model based on MC-Dropout in a Bayesian framework in S3 includes:

[0071] 1. MC-Dropout Initialization DCRNN Model Based on Bayesian Framework

[0072] Initialize the CDRNN model, making sure to include a Dropout layer in each RNN layer, convolutional layer, or fully connected layer. The Dropout layer will remain activated during the training and testing phases to introduce model uncertainty.

[0073] 2. Training phase

[0074] During the training phase, the Dropout layer randomly turns off some neurons, which helps prevent overfitting and introduces uncertainty in the model during training. The training process is as follows:

[0075] The historical traffic spatiotemporal data are fed into the DCRNN model as input sequences.

[0076] Convolutional layers are applied to extract local spatial features, and Dropout layers are used after the convolutional layers. Diffusion layers are used to propagate graph structure information and capture spatial dependencies in traffic networks. GRU layers are applied to process time series data to capture dynamic features in time, and Dropout layers are used after each GRU layer. The loss function is used to calculate the gap between the model prediction and the actual label.

[0077] Use the back propagation algorithm to update the network weights to minimize the loss function. Through continuous iteration, the model parameters are optimized.

[0078] 3. Inference stage (MC-Dropout)

[0079] In the inference phase, the key to MC-Dropout is to run the model multiple times and collect the prediction results. The steps are as follows:

[0080] For a given input sequence, the CDRNN model is repeatedly run multiple times (e.g., T times), with a different Dropout mask used in each run.

[0081] The output of each run is collected and the average of these outputs is calculated as the final prediction. The purpose of this step is to approximate Bayesian inference through multiple sampling.

[0082] The variance or standard deviation of the output is calculated as an uncertainty measure to assess the uncertainty of the model's prediction for a specific input. A larger variance indicates a higher uncertainty, and vice versa. In one embodiment, the aleatory uncertainty reflects the noise in the data itself, which is usually introduced during the data generation or collection process. The loss function method for describing the aleatory uncertainty in S3 includes:

[0083] By using the conditional variance function σ(x i ) 2 To model the variance of the output noise, where N is the input data x i The number of, θ is the model parameter, y i and Represent the true value and the predicted value of the model, respectively, i For the input traffic status data, establish the loss function:

[0084]

[0085] The model is trained and optimized using this loss function, and the predicted value and variance of the predicted value are obtained. The latter can reflect the variability of the output prediction due to the different characteristics of the input data, and can therefore be used to quantify the accidental uncertainty of the model.

[0086] In one embodiment, epistemic uncertainty is caused by the prediction model, which is due to the incompleteness of the model itself or the limited understanding of the data; the MC-Dropout method based on the Bayesian framework is to express the parameter value of the model as a probability under a distribution, and obtain the posterior probability of the parameter by combining the prior probability and statistical data with the Bayesian theorem. S4 includes the following specific steps:

[0087] Dropout is applied to sample from the posterior distribution to estimate the epistemic uncertainty of the output; the total prediction variance and the total prediction interval are obtained by the following expressions:

[0088]

[0089] Where T is the sampling times of MC-Dropout, represents the predicted value obtained by the tth sampling, u(y) and l(y) represent the upper and lower bounds of the prediction interval, respectively, and z α / 2 It is the critical value corresponding to the confidence level (1-α)% in the standard normal distribution.

[0090] The present invention is described below in conjunction with specific implementation examples:

[0091] This implementation takes 100 detector nodes within a certain range of a city as an example. Each detector records the traffic flow every 5 minutes for a month, and the traffic flow of all detectors will be predicted. The steps required for this embodiment are described in detail:

[0092] S1: Use detectors to detect road traffic volume, collect data at specified time intervals (5 minutes), and obtain time series information at uniform intervals; collect road section information, the spatial structure information of the road section is represented by the longitude and latitude of the midpoint of the road section, and calculate the actual spatial distance d (v i ,v j ) and use this to construct a spatial correlation matrix;

[0093] A ij is the weight value between the two sections i and j. The weight value shows the size of the spatial connection between the two points. i ,v j ) is the actual spatial distance between the two sections, σ 2 Represents the variance parameter of the Gaussian kernel, affecting the two sections v i and v j The speed at which the correlation between two points decreases as the distance increases. The specific calculation method of the spatial correlation matrix of two points is determined by the following expression:

[0094]

[0095] S2: The point prediction model based on diffusion graph convolution is established in step 2, which can be divided into modeling of time features and modeling of spatial features;

[0096] For temporal feature modeling: a GRU with 3 layers and 128 neurons is used to capture the dynamic changes of the time series. The sequence length is set to 12. Assume that the input time series is {x1, x2, …, x 12}, where x i Represents the input features of the i-th time step;

[0097] At each time step, the GRU updates the hidden state h t , which is updated as follows:

[0098] z t =σ(W z x t +U z h t-1 +b z )

[0099] r t =σ(W r x t +U r h t-1 +b r )

[0100]

[0101] Among them, z t ,r t , They represent the update gate, reset gate and candidate hidden state respectively. The final hidden state can be used as output or further passed to subsequent layers. Through the above process, DCRNN can capture the dynamic changes and long-term and short-term dependencies of time series data;

[0102] For spatial feature modeling, graph convolution is used. Specifically, a method called diffusion convolution is used to capture the spatial dependencies between nodes.

[0103] The traffic network is represented as a graph G = (V, E), where V is a set of nodes and E is a set of edges (representing the association relationship between roads. The adjacency matrix of the graph is the spatial association matrix A ij Calculated by step 1. Diffusion convolution captures graph structure information through bilateral random walks. K is used to represent the number of diffusion steps, X is the input feature matrix, X is the input feature matrix, and the diffusion operator D is used to capture the information propagation and mutual influence between nodes. Θ k is the weight matrix to be learned:

[0104]

[0105] The encoder-decoder architecture is used to process spatiotemporal sequence data. The encoder and decoder each contain 3 diffusion convolution loop layers with 128 neurons. First, the encoder is used to process the input sequence X input And convert it into a hidden state vector to generate a prediction sequence. The decoder generates a prediction sequence Y based on the hidden state vector generated by the encoder. pred ;

[0106] S3: By using the conditional variance function σ(x i ) 2 To model the variance of the output noise, where N is the number of input data 100, θ is the model parameter, and y i and Respectively represent the true value and the predicted value of the model, and establish the loss function:

[0107]

[0108] Use this loss function to train and optimize the model and get the predicted value of the model and the variance of the predicted value σ(x i ) 2 ;

[0109] S4: Set the Dropout rate in the test phase to 0.2, sample the trained model parameters 50 times, and obtain the mean and standard deviation of the 50 prediction results.

[0110] The forecast mean, total forecast variance, and total forecast interval are obtained by the following expressions:

[0111]

[0112] Among them, T is the sampling number of MC-Dropout, 50, represents the predicted value obtained by the tth sampling, u(y) and l(y) represent the upper and lower bounds of the prediction interval, respectively, and z α / 2 is the critical value corresponding to the 95% confidence level in the standard normal distribution.

[0113] Figure 2 The three figures in the figure show the effects of different uncertainties in the traffic flow prediction task. Specifically, each figure shows the actual traffic flow (blue solid line), predicted value (red solid line), confidence interval and other related information of a certain node (Node 35). The following is a supplementary explanation of these three figures:

[0114] The first figure shows the actual traffic flow, the predicted value, and the epistemic uncertainty of the prediction. The comparison between the predicted value (solid red line) and the actual value (solid blue line) shows the prediction effect of the model. The green shaded area indicates the range of epistemic uncertainty of the prediction, which reflects the incompleteness of the model itself or the limited understanding of the data;

[0115] The second figure shows the actual traffic flow, the predicted value, and the accidental uncertainty of the prediction. The comparison between the predicted value (red solid line) and the actual value (blue solid line) shows the prediction effect of the model. The green shaded area indicates the accidental uncertainty range of the prediction, reflecting the impact of the noise of the data itself on the prediction;

[0116] The third figure shows the actual traffic flow, the predicted value, and the total prediction interval. The comparison between the predicted value (red solid line) and the actual value (blue solid line) shows the prediction effect of the model. The total prediction interval is the sum of the accidental uncertainty and epistemic uncertainty, which includes the accidental uncertainty and epistemic uncertainty of the above two figures. It is the widest interval on the outside; it is the interval prediction result at the 95% confidence level.

[0117] The above is a detailed introduction to the method for calculating the uncertainty of the spatiotemporal state of road network traffic based on the graph convolution model provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0118] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolutional model, characterized by: The steps include: S1: Collect historical traffic spatiotemporal data, including road network traffic space data, and traffic status time series data under the road network traffic space; S2: Construct a road network traffic status point prediction model based on the DCRNN model, taking the historical traffic status time series data and road network traffic spatial data as input, and the spatiotemporal prediction point value of the road network traffic status and the variance of the prediction point value as output; S3: Establish a loss function method to describe accidental uncertainty, and use the historical traffic spatiotemporal data to train the road network traffic state point prediction model based on MC-Dropout of the Bayesian framework to obtain a trained road network traffic state interval range prediction model; S4: Inputting the to-be-predicted traffic spatiotemporal data into the trained road network traffic status interval prediction model to obtain the predicted traffic status within the time range.

2. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The road network structure data in S1 includes: road connection information, road length and actual distance between roads; the traffic status time series data under the road network structure includes: road traffic volume and average speed of road sections at uniform time intervals.

3. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The road network traffic spatial data in S1 also includes constructing a spatial association matrix according to the actual spatial distance between two road sections, which is used to characterize the weight between the two road sections.

4. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The S2 includes the steps of modeling the temporal features: The traffic status time series data is processed using GRU to capture dynamic changes in time, and the final hidden state is output by setting an update gate, a reset gate and candidate hidden states.

5. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The S2 includes the steps of modeling the spatial feature characteristics: The diffusion convolution method is used to process network traffic spatial data and capture the spatial dependencies between nodes.

6. According to claim 5, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The DCRNN model captures the structural information of road network traffic spatial data through bilateral random walks in the diffusion convolution step, including: The spatial association matrix is ​​used to construct a traffic network graph G = (V, E), where V represents a set of road segments and E represents a set of edges representing the association relationship between road segments; Among them, H represents the output matrix of the aggregated input feature X after the diffusion process, K represents the number of diffusion steps, X represents the input feature matrix, including the traffic status data of each node, and the diffusion operator D is used to capture the information propagation and influence relationship between nodes. k Represents the weight matrix that needs to be learned in the diffusion convolution model. By learning the parameters of the weight matrix, the model adaptively adjusts the internal calculation to make the output result as close to the actual traffic flow as possible.

7. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The loss function method for describing accidental uncertainty in S3 includes: By using the conditional variance function σ(x i ) 2 To model the variance of the output noise, where N is the input data x in a batch i The number of, θ is the model parameter, y i and Represent the true value and the predicted value of the model, respectively, i For the input traffic status data, establish the loss function:

8. According to claim 1, a method for calculating the uncertainty of spatiotemporal state of road network traffic based on a graph convolution model is characterized in that: The S4 includes: Dropout is applied to sample from the posterior distribution to estimate the epistemic uncertainty of the output; the total prediction variance and the total prediction interval are obtained by the following expressions: Where T is the sampling times of MC-Dropout, represents the predicted value obtained by the tth sampling, u(y) and l(y) represent the upper and lower bounds of the prediction interval, respectively, and z α / 2 It is the critical value corresponding to the confidence level (1-α)% in the standard normal distribution.

Citation Information

Patent Citations

  • Traffic network data prediction method based on graph space-time self-encoding network

    CN114565187A

  • Construction method of traffic flow prediction model based on space-time multi-scale graph convolutional network and traffic flow prediction method

    CN114611383A

  • Traffic flow prediction method based on dynamic graph convolution and time sequence convolution network

    CN115376317A

  • Traffic flow prediction method and system based on Bayesian method and graph convolution

    CN115660135A

  • Dynamic short-time road network traffic state prediction model and prediction method

    CN115938104A

Cited By

  • Dam osmotic pressure space-time early warning method and device

    CN119691586A

  • Photovoltaic power generation prediction method and system based on uncertainty graph convolution

    CN121052461A