Vehicle interactive perception trajectory prediction system and method based on graph convolution

Through the vehicle interaction perception trajectory prediction system based on graph convolution, multi-semantic information between vehicles is extracted and future trajectories are predicted, which solves the problem of insufficient extraction of interaction information between vehicles in the existing technology and significantly improves the accuracy of trajectory prediction of autonomous vehicles. sex and safety.

CN118570763AActive Publication Date: 2024-08-30GUANGDONG UNIV OF TECH

Patent Information

Application Number
CN202410618387.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30
Estimated Expiration
2044-05-17

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively extract the spatio-temporal interaction information between vehicles, and cannot fully handle the differences in trajectory interactions between vehicles, resulting in insufficient accuracy in trajectory prediction of autonomous vehicles and affecting safety.

Method used

A vehicle interaction perception trajectory prediction system based on graph convolution is used to generate the feature matrix and graph topology structure through the input preprocessing module, using dynamic group graph convolution (DG-GCN), enhanced channel attention mechanism (SCA) and temporal convolution layer (TCN) extracts multi-semantic information and predicts future trajectories through the GRU encoder-decoder module.

Benefits of technology

It improves the accuracy of vehicle trajectory prediction, especially in complex scenarios, reduces prediction errors and improves the safety of autonomous vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570763A
    Figure CN118570763A
Patent Text Reader

Abstract

The invention discloses a vehicle interactive perception trajectory prediction system and method based on graph convolution. The prediction system comprises an input preprocessing module, a DGAC module and a trajectory prediction module which are connected in sequence. Collected vehicle data are input into the preprocessing module to generate a feature matrix and graph topological data, then multi-semantic graph spatial and temporal features are extracted through the multi-layer DGAC module, the attention mechanism is utilized to selectively pay attention to the difference between the spatial dimension, the time dimension and the channel dimension and key information, and finally the trajectory prediction module is utilized to predict the trajectory of the vehicle. And generating a predicted trajectory of the surrounding environment vehicle in a future period of time. According to the method, experimental verification is carried out through two real data sets, and experiments show that the model has higher graph representation capability and is more suitable for the field of vehicle track prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle interaction, and more specifically, to a vehicle interaction perception trajectory prediction method based on graph convolution. Background Art

[0002] Autonomous driving has been coming into people's vision more and more frequently in recent years. Whether it is from the initial idea to the current major mainstream companies have unveiled their test vehicles, it is proving that autonomous driving technology is gradually becoming a reality and is a major trend in intelligent transportation. As one of the main research directions in the field of artificial intelligence, autonomous driving is receiving focus from academia and industry. Today, the perception, decision-making and control modules of autonomous driving have achieved rapid development, but the full deployment of autonomous driving requires verification of its safety first. In order to achieve safe and efficient driving, autonomous driving vehicles need to autonomously and reasonably perceive the motion status of surrounding traffic participants and accurately predict the future trajectory trends of surrounding traffic participants, thereby assisting the vehicle in making safe and immediate decisions.

[0003] The focus and purpose of this invention is to propose a vehicle trajectory prediction method suitable for multiple scenarios to improve the accuracy of trajectory prediction of surrounding traffic participants and thus improve the safety of autonomous driving vehicles.

[0004] The current research and technology status at home and abroad is mainly as follows:

[0005] First, it is impossible to fully extract the spatiotemporal interaction information between moving vehicles. The latest existing research mainly uses graph neural networks to extract interaction information, treating the target vehicle as a node, the surrounding vehicles as adjacent nodes, and the interaction between vehicles as edges. Finally, the graph neural network is used to obtain the dependency relationship between each traffic participant, and then model the interaction relationship between the target vehicle and the surrounding vehicles. However, most of these studies use static graph structures. Since the number of adjacent nodes of each node changes over time, they cannot better explain the dynamic spatial interaction between moving vehicles.

[0006] Second, the influence of surrounding vehicles on trajectory interaction is different. Most existing methods use attention mechanisms to simultaneously focus on the differences in time and space dimensions between vehicles. However, most trajectory prediction models only consider using attention mechanisms to focus on the differences in spatial dimensions (interaction information) and time dimensions (frame time information) between vehicles, but do not consider using attention mechanisms on channel dimensions (position, speed and other features of trajectory data) to selectively enhance the importance of different features. Compared with traditional physical model methods, when modeling complex interactions between vehicles based on graph neural network methods, there is a change in the interaction relationship between vehicles over time, so it cannot be regarded as a static graph structure. Due to the fixed topological structure of the static graph, the graph neural network will lack modeling of multi-level semantic information in different layers as the number of layers increases, thus failing to fully express the dynamic interaction between vehicles. In addition, the interactive influence of surrounding vehicles on the target vehicle is different, and how to deal with the differences is an important issue to improve prediction accuracy. Summary of the invention

[0007] In order to solve the above problems, the present invention first proposes a vehicle interaction perception trajectory prediction system based on graph convolution.

[0008] A vehicle interactive perception trajectory prediction system based on graph convolution, comprising an input preprocessing module, a DGAC module and a trajectory prediction module connected in sequence;

[0009] The collected vehicle data is input into the preprocessing module to create a feature matrix and graph topology structure, and then passes through the multi-layer DGAC module to extract multi-semantic graph information and use attention to selectively focus on the differences in spatial dimensions, time dimensions, channel dimensions and key information. Finally, it passes through the trajectory prediction module to generate the predicted trajectories of all vehicles in the future.

[0010] The input data X of the input preprocessing module is all the observed vehicles at the historical time step t h The position and velocity in

[0011]

[0012] in,

[0013]

[0014] p (t) Represents the position coordinates (x, y) and speed (u, v) of N vehicles within the observed range at time t;

[0015] The data Y output by the trajectory prediction module is the data of all observed vehicles from time t h+1 to h +t fPrediction of future speed, t f is the range of future prediction time steps;

[0016]

[0017] in,

[0018]

[0019] The input preprocessing module includes creating a feature matrix and a graph topology structure, and the specific implementation process is as follows:

[0020] (1) Create feature matrix: Given a traffic scenario, assume that in the past T h V vehicles are observed at the time step, and the raw data is preprocessed into a three-dimensional tensor Set C to represent the coordinates (x, y) and speeds (u, v) of the vehicle in the scene at different time steps, and normalize all coordinates and speeds to the range of (-1, 1);

[0021] (2) Create graph topology: For each observed time step t, an undirected graph G is constructed. t =(V t ,E t ), where node V t Represents the vehicle and edge E at time t t represents the spatial interaction between vehicles; where the node set at time step t is defined as The edge set E t At time step t, it is defined as

[0022] At each time step t, spatial interactions are defined to occur only at the distance Between two cars within the close The threshold is settable and defines that vehicles must belong to neighboring lanes or the same lane. Therefore, at each time step t, E t The adjacency matrix represented by Defined by:

[0023]

[0024] Assume that n is the current number of vehicles observed at time step t, and n must be less than V, where V is the maximum number of vehicles in the scene within the manually set time step t. Therefore, given the trajectory of observed vehicles n≤V and time step T h , the present invention can obtain the adjacency matrix as described above Finally, the feature matrix And the adjacency matrix with time information Input them into the model (i.e. DGAC module) together.

[0025] The DGAC module includes a dynamic group graph convolution DG-GCN unit, an enhanced channel attention mechanism SCA unit and a temporal convolution layer TCN unit;

[0026] The dynamic group graph convolution DG-GCN unit groups feature information and then uses multiple different types of graph convolution operations to extract multi-semantic spatial information; its input information is first processed into K groups of feature information through a 1×1 convolution, each feature group consists of C / K channels; then each feature group is combined with the corresponding A i Perform graph convolution operation; finally, concatenate the K feature groups along the channel dimension, and then perform a 1×1 convolution operation on the combined feature information to generate an output with multi-level graph semantics;

[0027] The enhanced channel attention mechanism SCA unit consists of three subunits: spatial attention subunit SAM, temporal attention subunit TAM and channel attention subunit CAM; the input feature map is fed into the three subunits in sequence to generate attention maps along different dimensions; the attention map is multiplied with the original feature map to strengthen the corresponding features;

[0028] The temporal convolutional layer TCN unit is a new feature generated after passing through the DG-GCN and SCA units. Input into the multi-scale temporal convolution layer TCN; the sizes of the convolution kernels of TCN are set to (1×3), (1×5), and (1×7) to force them to process data along different time dimensions.

[0029] The trajectory prediction module uses a GRU-based encoder-decoder module to predict the future trajectories of all observed vehicles. Specifically, in the first decoding step, the encoder's hidden features and all vehicle speed data in the last observed time step are fed into the decoder to predict the vehicle's speed; in the next decoding step, the decoder uses its own hidden features and the predicted speeds of all objects in the previous time step as input for prediction; then, all the expected future time steps t are obtained. f The result (predicted speed) is averaged, and then the average speed (Δx, Δy) is added to the final historical position of the vehicle, and the result is successfully converted into (x, y) coordinates.

[0030] The present invention uses time-series trajectory data, further processes it to obtain graph structure data and feature expression matrix that change with time, puts the processed new data into the model DGAC-NET, extracts multi-semantic vehicle dynamic spatiotemporal interaction information, and finally predicts the future trajectory of surrounding vehicles and the future trajectory of the target vehicle through the encoding-decoding method. And through experimental verification in two real data sets, the experiment shows that the model has stronger graph representation ability and is more suitable for the field of vehicle trajectory prediction.

[0031] A vehicle interaction perception trajectory prediction method based on graph convolution is applied to the system.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] (1) A dynamic group graph convolution (DG-GCN) unit is proposed to extract multi-semantic vehicle dynamic interaction information in the feature matrix, and its reliability is verified.

[0034] (2) A lightweight enhanced channel attention mechanism (SCA) unit is proposed and embedded into each graph convolutional layer. This unit can help the system model learn to selectively focus on important information about vehicle interactions and important information about frames, thereby enhancing the expression of channel information (position, speed, etc.).

[0035] (3) The proposed method model DGAC-NET was verified in simple highway intersection scenarios and complex urban road scenarios, and compared with other prediction models, proving the effectiveness of the present invention.

[0036] Training and verification were carried out on two public datasets (NGSIM dataset and ApolloScape trajectory dataset). The results show that the method model proposed in the present invention can predict more realistic future vehicle motion trajectories in both simple highway intersection scenarios and complex urban road scenarios. Moreover, in congested highway intersection scenarios (the number of vehicles is greater than or equal to 10), the root mean square error (RMSE) of the predicted trajectory is reduced by 29% compared to the classic model CS-LSTM. In complex urban road scenarios, compared with the official benchmark model (TrafficPredict), the accuracy of the weighted average displacement error (WSADE) is improved by nearly 87%, and the accuracy of the weighted final displacement error (WSFDE) is improved by nearly 91%. In summary, it can be seen that the DGAC module proposed in the present invention can effectively enhance the prediction accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is the overall architecture diagram of the trajectory prediction model.

[0038] Figure 2 This is the DG-GCN architecture diagram.

[0039] Figure 3 This is the SCA architecture diagram.

[0040] Figure 4 This is the vehicle trajectory prediction module diagram.

[0041] Figure 5 Trajectory prediction visualization for the NGSIM dataset. DETAILED DESCRIPTION

[0042] The drawings are only used for illustrative purposes and should not be construed as limiting the present invention. In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged, or reduced, and do not represent the size of the actual product.

[0043] For those skilled in the art, it is understandable that some well-known structures and their descriptions may be omitted in the drawings. The technical solution of the present invention is further described below in conjunction with the drawings and embodiments.

[0044] The present invention formulates the trajectory prediction problem as predicting the future trajectory of all objects in the scene based on their historical trajectories. Considering that it is easier to predict the speed of an object than its position, the historical position and speed are input into the model of the present invention, and the model is allowed to predict the future speed. Then, the final position prediction is obtained by accumulating the future predicted speed and the last observed position.

[0045] The input X of the proposed model is all the observed vehicles at t h Position and velocity in the history time step.

[0046]

[0047] in,

[0048]

[0049] Represents the position coordinates (x, y) and speed (u, v) of N vehicles within the observed range at time t. The output Y is the total number of all observed vehicles from time t h+1 to h +t f Prediction of future speed, t f is the range of future prediction time steps.

[0050]

[0051] in,

[0052]

[0053] The overall framework of this method model is as follows Figure 1 As shown in the figure: This model is divided into an input preprocessing module, a DGAC module, and a trajectory prediction module. The vehicle data is fed into the input preprocessing module to generate the corresponding feature matrix and graph topology data. The multi-layer DGAC module extracts the multi-semantic graph information and uses attention to selectively focus on the spatial dimension (inter-vehicle interaction information), the time dimension (information of each frame), and the channel dimension (position, speed characteristics, etc.) and the differences in key information. Finally, the trajectory prediction module generates the predicted trajectory of all vehicles for a period of time in the future.

[0054] The specific implementation steps of the above system model are as follows:

[0055] 1. Feature Matrix Creation and Graph Structure Construction

[0056] (1) Creation of feature matrix

[0057] Given a traffic scenario, suppose that in the past T h V vehicles are observed at the time step, and the present invention preprocesses the raw data into a three-dimensional tensor like Figure 1 In this embodiment, C is set to represent the coordinates (x, y) and speeds (u, v) of the vehicle in the scene at different time steps, and all coordinates and speeds are normalized to the range of (-1, 1).

[0058] (2) Creation of graph topology

[0059] In traffic scenarios, the movement of a vehicle is greatly affected by the movement of the vehicles around it. Therefore, the present invention considers that it is effective to represent the interdependence between vehicles as an undirected graph. Specifically, for each observed time step t, an undirected graph G is constructed. t =(V t ,E t ), where node V t Represents the vehicle and edge E at time t t represents the spatial interaction between vehicles. The node set at time step t is defined as The edge set E t At time step t, it is defined as At each time step t, it is defined that spatial interactions only occur within a distance D, where Between two cars, where T close The threshold is configurable, and the present invention defines that vehicles must belong to neighbor lanes or the same lane, that is, Therefore, at each time step t, E t The adjacency matrix represented by Defined by:

[0060]

[0061] Assume that n is the current number of vehicles observed at time step t, and n must be less than V, where V is the maximum number of vehicles in the scene within the manually set time step t. Therefore, given the trajectory of observed vehicles n≤V and time step T h , the present invention can obtain the adjacency matrix as described above Finally, the feature matrix And the adjacency matrix with time information are input into the model together.

[0062] 2. Extracting Multi-semantic Spatiotemporal Information Between Vehicles

[0063] The DGAC module is composed of a dynamic graph convolution DG-GCN unit, an enhanced channel attention mechanism SCA unit, and a temporal convolution TCN unit. The main function of the DGAC module is to use dynamic graphs to aggregate multi-semantic spatiotemporal graph structure information, and combine the attention mechanism to selectively enhance the vehicle interaction information, time information, and channel (position and speed) information. Finally, the enhanced multi-semantic spatial information feature matrix X s The data is input into the next module, namely the temporal convolution TCN unit, to extract multi-scale temporal information.

[0064] Dynamic Group Graph Convolution DG-GCN Unit

[0065] The present invention designs a dynamic group graph convolution DG-GCN unit to group feature information and then use multiple different types of graph convolution operations to extract multi-semantic spatial information. In DG-GCN, the input is first processed into K groups of feature information through a 1×1 convolution (each feature group consists of C / K channels). Then each feature group is combined with the corresponding A i Finally, the K feature groups are concatenated along the channel dimension, and the combined feature information is then subjected to a 1×1 convolution operation to generate an output with multi-level graph semantics. Figure 2 As shown:

[0066] Among them A i It consists of two learnable parts. First, OA i It is constructed from the original data according to Formula 5. Secondly, the present invention learns the data-related dynamic term DA i and CA i The difference between these two dynamic terms is that DA i is independent of the channel, while CA i It is related to the channel. Figure 2 It can be seen that the two dynamic terms are obtained by giving an input feature X and performing average pooling along the time dimension to obtain Xa and X b , and then get the dynamic item DA according to different operations i and CA i .

[0067] Among them, DA i is defined as follows:

[0068]

[0069] In the formula: DA i is a dynamic term related to the non-channel information of the input features. X is the input feature matrix, AvgPool t (·) represents average pooling along the time dimension, g represents a convolutional layer with a 1×1 convolution kernel, T represents the transpose operation of the matrix, and Softmax(·) represents the Softmax operation.

[0070] Among them, CA i is defined as follows:

[0071] CA i =Tanh(Pairwise(X a -X b )) (7)

[0072] Where: CA i is a dynamic term related to the channel of the input feature, Pairwise(X a -X b ) indicates the calculation of the pairwise distance between two matrices, and Tanh(·) indicates the Tanh activation function.

[0073] Among them A i It consists of three parts, namely the adjacency matrix OA of the graph topology i and two dynamic terms DA i and CA i , where α and β are learnable parameters, the formula is as follows:

[0074] A i =OA i +α×DA i +β×CA i (8)

[0075] Where: A i is the dynamically expanded adjacency matrix, where OA i is the data-generated graph topology adjacency matrix, and α and β are learnable model parameters.

[0076] Strengthen channel attention mechanism SCA unit

[0077] It consists of three submodules: spatial attention subunit SAM, temporal attention subunit TAM, and channel attention subunit CAM. The multi-semantic feature map representation output from the DG-GCN unit of the previous layer is fed into the three subunits in turn to generate attention scores that capture spatial, temporal, and channel dependencies along different dimensions. These attention maps are then multiplied with the original feature maps to strengthen the corresponding features. A residual connection is added to all attention modules to stabilize training.

[0078] Spatial Attention Subunit SAM: This module helps the upper module to obtain the multi-semantic spatial graph representation X G Capturing the spatial dependencies of key vehicle interactions, the calculation formula is as follows:

[0079] M s =σ(g s (AvgPool t (X G ))) (9)

[0080] X s =M S X G +X G (10)

[0081] Where: Input The graph representation generated by the previous layer unit DG-GCN covers multiple semantic space information, where is the spatial attention score, AvgPool t Indicates the average pooling of the feature matrix along the time dimension. g s Indicates a one-dimensional convolution in the spatial dimension. σ indicates the sigmoid activation function. X s A graph representation that captures spatial dependencies.

[0082] Temporal Attention Subunit TAM: This module helps to identify the key information of where the vehicle is in a certain frame, thereby successfully capturing the temporal dependencies in the data. The calculation formula is as follows:

[0083] M t =σ(g t (AvgPool s (X s ))) (11)

[0084] X st =M t X s +X s (12)

[0085] Where: is the temporal attention score. AvgPool sIndicates the average pooling of the feature matrix along the spatial dimension. g t Indicates a one-dimensional convolution in the time dimension. st A graph representation that captures spatiotemporal dependencies.

[0086] Channel attention subunit CAM: This module can help the model strengthen the channel (vehicle position, speed) characteristics according to the spatial and temporal differences of the input samples. The calculation formula is as follows:

[0087] M t =σ(g c2 (δ(g c1 (AvgPool st (X st ))+g c1 (MaxPool st (X st ))))) (13)

[0088] X stc =M c X st +X st (14)

[0089] In the formula: is the channel attention score, AvgPool st 、MaxPool st Respectively represent average pooling and maximum pooling along the spatial and temporal dimensions. c1 and g c2 are two linear layers operating along the channel dimension. δ represents the ReLU activation function. The representation captures the spatial and temporal differences of the input samples, thereby strengthening the channel (vehicle position, speed) feature map representation.

[0090] TCN temporal convolutional layer unit

[0091] The present invention generates new features after DG-GCN and SCA attention mechanism Input to the temporal convolution unit. The present invention sets the convolution kernel size in the temporal convolution unit to (1×3), (1×5), (1×7) to force them to perform multi-scale data extraction along the time dimension, so that richer temporal information dependencies can be extracted. By adding appropriate padding and stride, ensure that each layer has an output feature map of the expected size Its dimension is consistent with the input features.

[0092] 3. Trajectory Prediction Module

[0093] The present invention adopts a GRU-based encoder-decoder module to predict the future trajectories of all observed vehicles. Figure 4 As shown in the figure, the feature matrix of the last layer is fed into the encoder-decoder module to obtain the final future trajectory. In the first decoding step, the encoder's hidden features and all vehicle speed data in the last observation time step are fed into the decoder to predict the vehicle's speed. In the next decoding step, the decoder uses its own hidden features and the predicted speed of all objects in the previous time step as input for prediction. Then, all the expected time steps t in the future are obtained. f The result (predicted speed) is averaged, and then the average speed (Δx, Δy) is added to the final historical position of the vehicle, and the result is successfully converted into (x, y) coordinates. Since the vehicle does not move at a constant speed, the present invention adds a residual connection ( Figure 4 The dashed line in the figure is used to simulate the change of the model prediction speed.

[0094] IV. Experimental Verification

[0095] 1. Datasets and Measurement Methods

[0096] The present invention uses two existing trajectory datasets (NGSIM's I-80 (literature: J. Colyar and J. Halkias, "Us highway 80 dataset," Federal Highway Administration (FHWA), Tech. Rep. FHWA-HRT-07-030, 2007.), US-101 (literature: "Us highway 101 dataset," Federal Highway Administration (FHWA), Tech. Rep. FHWA-HRT-07-030, 2007.) and ApolloScape trajectory dataset (literature: Y. Ma, X. Zhu, S. Zhang, R. Yang, W. Wang, and D. Manocha, "Trafficpredict: Trajectory prediction for heterogeneous traffic-agents," arXiv preprint arXiv:1811.02146, 2018.) to evaluate the proposed scheme.

[0097] The NGSIM datasets are all captured at a frequency of 10 Hz within 45 minutes and are divided into 15 minutes of light, moderate and congested traffic conditions. The present invention divides the two datasets into training sets and test sets according to Deo et al. (Literature: N.Deo and MMTrivedi, "Multi-modaltrajectory prediction of surrounding vehicles with maneuver based LSTMs," inProc.IEEE Intell.Vehicles Symp.(IV),Jun.2018. and Deo N,Trivedi MM.Convolutional social pooling for vehicle trajectory prediction[C] / / Proceedings of the IEEE Conference on Computer Vision and Pattern RecognitionWorkshops.2018.). Each trajectory is divided into 8-second segments, the first 3 seconds are used to observe the historical trajectory, and the remaining 5 seconds are used to predict the real trajectory. In order to make a fair comparison, the present invention downsamples each segment by 2 times as Deo et al., that is, 5 frames per second. The data set is split into training set, validation set and test set in a ratio of 0.7:0.1:0.2.

[0098] The ApolloScape trajectory dataset is collected by running the Apollo collection car in urban areas during rush hour (reference: X. Huang, P. Wang, X. Cheng, D. Zhou, Q. Geng, and R. Yang, "The apolloscape open dataset for autonomous driving and its application," 2018.). Traffic data, including camera-based images and lidar-based point clouds, are collected, and object trajectories are calculated using object detection and tracking algorithms. In total, the trajectory dataset includes 53 minutes of training sequences and 50 minutes of test sequences, captured at 2 frames per second. Object id, object type, object position, object size, and orientation angle are provided.

[0099] The present invention adopts two evaluation measurement methods, in which the NGSIM data set uses the root mean square error (RMSE) to evaluate the performance of the model. The constructed model and the comparison model are used for training and verification.

[0100]

[0101] Where: n is the number of samples, m is the number of vehicles observed in the scene, and ij are the predicted value of the future trajectory and the true value of the actual trajectory, respectively. Where i = 1, 2, ..., m represents different vehicle nodes, and j = 1, 2, ..., T represents the predicted time frame.

[0102] In the ApolloScape trajectory dataset, the present invention uses the weighted average displacement error (WSADE) and weighted final displacement error (WSFDE) to evaluate the performance of the model in accordance with official requirements. The average displacement error (ADE) is the average Euclidean distance between all predicted positions and true positions within the prediction time, and the final displacement error (FDE) is the average Euclidean distance between the final predicted position and the corresponding true position. The formula is as follows:

[0103]

[0104] Where: m is the number of vehicles observed in each driving scene, T is the length of the prediction window, and ij are the predicted value of the future trajectory and the true value of the actual trajectory, respectively, where i=1,2,...,m represents different vehicle nodes and j=1,2,...,T represents the predicted time frame.

[0105]

[0106] Where: and iT They are the predicted value of the future trajectory of the last frame and the true value of the actual trajectory, respectively.

[0107] WSADE=D v ×ADE v +D p ×ADE p +D b ×ADE b (18)

[0108] WSFDE=D v ×FDE v +D p ×FDE p +D b ×FDE b (19)

[0109] In the formula: D v , D p , D bCorrelated to the inverse of the average speeds of vehicles, pedestrians, and bicycles in the dataset, the official set the values ​​of these three variables to 0.20, 0.58, and 0.22, respectively, while the subscript v represents vehicle, p represents pedestrian, and p represents bicycle or electric bicycle.

[0110] 2. Experimental Details

[0111] The model built in the experiment was implemented using the pytorch1.9.0 platform. The DGAC layer in the model was set to 6 layers, of which the hidden size was set to 64, and the GRU of the trajectory prediction module was set to 2 layers. The sample batch was set to 128, and the model was trained for 5 generations (Epoch). The Adam optimizer with a learning rate of 0.001 was used. The hardware environment of the experiment was the Linux operating system, 12vCPU Intel(R) Xeon(R) Silver 4214R CPU@2.40GHz, 90GB of memory, and RTX 3080 Ti (12GB) was used to accelerate the neural network during the training process.

[0112] 3. Ablation Experiment

[0113] The present invention also conducts an ablation study on the proposed DG-GCN and the lightweight SCA attention mechanism. The baseline adopts the GRIP++ (literature: Li, X.; Ying, X.; Chuah, MCGRIP++: Enhanced Graph-Based Interaction-Aware Trajectory Prediction for Autonomous Driving. arXiv2020, arXiv: 2007.) model, and adopts the graph construction method proposed in the present invention for modeling. The remaining graph operation (GC) layers are set to 3 layers, and the hidden layer is set to 64. The prediction modules all adopt the SeqtoSeq framework of GRU and the parameters are consistent with it. The ablation analysis results are shown in Table 1.

[0114] The present invention sets the parameters of the DGAC module consistent with the Baseline, where DGC-Baseline replaces the graph convolution GCN module in the graph operation layer with the DG-GCN module proposed in the present invention; GAC-Baseline introduces the SCA attention mechanism after the original GCN in the graph operation layer; DGAC-Baseline adds the DG-GCN module proposed in the present invention to replace the original graph convolution GCN module and adds a lightweight SCA attention mechanism.

[0115] Table 1 Ablation experiments of different modules

[0116]

[0117] As shown in Table 1, the performance of the proposed DGAC module is well explored. It can be seen that the improvement of using different modules separately is relatively weak, but when the two modules are combined together, the performance of the model in trajectory prediction can be greatly improved. This shows that when the two modules are combined together, the ability of graph representation can be greatly improved, thereby improving the prediction accuracy.

[0118] 4. Comparison and results of different models in NGSIM dataset.

[0119] In the NGSIM dataset, the comparison models are as follows: V-LSTM is a single-input-single-output model that does not consider the interaction with surrounding vehicles; CS-LSTM (reference: N.Deo and MMTrivedi, "Multi-modal trajectory prediction of surrounding vehicles with maneuver based LSTMs," in Proc.IEEE Intell. Vehicles Symp. (IV), Jun. 2018.), a deep learning model that considers the interaction between vehicles; MATF (reference: T.Zhao et al., "Multi-agent tensor fusion for contextual trajectory prediction," in Proc.IEEE / CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Jun. 2019.), STA (reference: LIN L, LI WZ, BI HK, et al. Vehicle trajectory prediction using LSTMs with spatial-temporal attention mechanisms [J]. IEEE Intelligent Transportation Systems Magazine, 2021.), SIT (reference: LI XL, XIAJ, CHEN XY, et al. SIT: a spatial interaction-aware transformer-based model for freewaytrajectory prediction [J]. ISPRS International Journal of Geo-Information, 2022.), is the latest method of trajectory prediction with attention mechanism. And GRIP++ (Literature: Li, X.; Ying, X.; Chuah, MCGRIP++: Enhanced Graph-Based Interaction-Aware Trajectory Prediction for Autonomous Driving. arXiv 2020, arXiv: 2007.) is a model that uses graph neural network for trajectory prediction. This model is a model for trajectory prediction of a single vehicle in a scene. This embodiment re-uses this model to predict the trajectories of all vehicles. The comparison results are shown in Table 2.

[0120] Table 2 Comparison of prediction performance of different models on the NGSIM dataset

[0121]

[0122] As shown in Table 2, compared with other models, the DGAC-NET model proposed in the present invention is closer to other models in long-term prediction, and has a lower RMSE evaluation index in the medium and short time. In addition, in the case of congestion (surrounding vehicles are greater than or equal to 10), the RMSE evaluation index of the predicted vehicle trajectory in 5s is reduced by 29% compared with the CS-LSTM model. It is further explained that the higher the complexity of the spatial interaction between vehicles in the road scene, the stronger the graph representation ability of DGAC-NET is, and it is more suitable for the field of vehicle trajectory prediction in complex scenes.

[0123] The vehicle trajectory visualization effect of the NGSIM dataset is as follows Figure 5 As shown, the figure represents the vehicle trajectory distribution diagram of the current frame (after 3 seconds of history), and the left side of the figure represents the prediction situation of the surrounding vehicles less than 10, and the right side of the figure represents the prediction situation of the surrounding vehicles greater than 10. Wherein the blue square represents the target vehicle, the black square represents the vehicles (less than 50feet) interacting with the target vehicle around, and the white represents the vehicles not within the field of view of the target vehicle. Wherein the black line is the historical trajectory of the first three seconds, the blue line is the real trajectory position of the next 5 seconds, and the yellow dotted line represents the predicted future trajectory position. It can be seen from the present invention that when there are no vehicles around, the prediction will have a slight error, but when there are surrounding vehicles interacting, the effect of vehicle trajectory prediction is better. Often when there are no vehicles around, the degree of freedom of the vehicle is higher, so that the prediction accuracy will decrease. However, after the surrounding vehicles are more, the target vehicle will have more restrictions, so that its trajectory prediction is more accurate. When the cumulative number of vehicles in the scene exceeds 10, the present invention refers to the scene as a congestion scene. According to Table 2, when the complexity of the spatial interaction between vehicles in the road scene is higher, the overall error of the vehicle's future trajectory prediction is smaller, which can further prove that the model is more capable of extracting spatial interaction information in complex environments.

[0124] 5. Comparison and results of different models in ApolloScape trajectory dataset

[0125] In the ApolloScape dataset, the comparison models are as follows: TrafficPredict (Literature: Ma Y, Zhu X, Zhang S, et al. Trafficpredict: Trajectory prediction for heterogeneous traffic-agents [C] / / Proceedings of the AAAI conference on artificial intelligence. 2019, 33 (01): 6120-6127.), which uses a layered LSTM model for trajectory prediction and is also the benchmark model of the ApolloScape dataset, StarNet (Literature: Zhu Y, Qian D, Ren D, et al. Starnet: Pedestrian trajectory prediction using deep neural network in startopology [C] / / 2019 IEEE / RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2019: 8075-8080.), which uses a star topology structure to model the interaction between pedestrians and uses an LSTM network to predict the future trajectory of pedestrians, Transformer (Giuliari F,Hasan I,Cristani M,et al.Transformer networks for trajectory forecasting[C] / / 202025th international conference on pattern recognition(ICPR).IEEE,2021:10335-10342.),This model proposes to use the original Transformer to predict pedestrian trajectories. Each person is modeled separately without considering any complex interactions between people or between people and scenes. The comparison results are shown in Table 3.

[0126] In Table 3, the model proposed in the present invention is compared with the official benchmark model TrafficPredict in the ApolloScape trajectory dataset. In terms of prediction results, the model proposed in the present invention is more accurate than the benchmark model. Compared with the benchmark model, the proposed model has improved the accuracy by nearly 86%. In addition, if the data contains 5 features (position x value, position y value, object length, object width, heading value), adding new features: length and width, this can enable the model to better judge the type of object, thereby improving the accuracy of the GRIP++ model by nearly 5%. As shown in the table, this model has significantly reduced the average displacement error (ADE) and final displacement error (FDE) in predicting vehicles, pedestrians, bicycles and electric vehicles. Therefore, it can be seen that the module proposed in the present invention can fully extract dynamic spatiotemporal information, thereby enhancing the trajectory prediction ability of the model.

[0127] Table 3: Results on the ApolloScape trajectory dataset

[0128]

[0129] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A vehicle interactive perception trajectory prediction system based on graph convolution, characterized in that: It includes an input preprocessing module, a DGAC module and a trajectory prediction module connected in sequence; The collected vehicle data is input into the preprocessing module to create a feature matrix and graph topology structure, and then passes through the multi-layer DGAC module to extract multi-semantic graph information and use attention to selectively focus on the differences in spatial dimensions, time dimensions, channel dimensions and key information. Finally, it passes through the trajectory prediction module to generate the predicted trajectory of the surrounding vehicles in the future.

2. The vehicle interaction perception trajectory prediction system based on graph convolution according to claim 1 is characterized in that: The input data X of the input preprocessing module is all the observed vehicles at the historical time step t h The position and velocity in in, p (t) Represents the position coordinates (x, y) and speed (u, v) of N vehicles within the observed range at time t; The data Y output by the trajectory prediction module is the data of all observed vehicles from time t h+1 to h +t f The prediction of the future speed, where t f is the range of future prediction time steps; in, 3. The vehicle interactive perception trajectory prediction system based on graph convolution according to claim 2 is characterized in that: The input preprocessing module includes creating a feature matrix and a graph topology structure, and the specific implementation process is as follows: Create feature matrix: Given a traffic scenario, assume that in the past T h V vehicles are observed at the time step, and the raw data is preprocessed into a three-dimensional tensor Set C to represent the coordinate (x, y) and velocity (u, v) characteristics of the vehicle in the scene at different time steps, and normalize all coordinates and velocities to the range of (-1, 1); Create graph topology: For each observed time step t, an undirected graph G is constructed t =(V t ,E t ), where node V t Represents the vehicle and edge E at time t t represents the spatial interaction between vehicles; where the node set at time step t is defined as The edge set E t At time step t, it is defined as At each time step t, it is defined that spatial interactions only occur at distance Between two cars within the close The threshold is configurable and defines that vehicles must belong to neighboring lanes or the same lane. Therefore, at each time step t, E t The adjacency matrix represented by Defined by: Assume that n is the current number of vehicles observed at time step t, and n must be less than V, V is the maximum number of vehicles in the scene within the manually set time step t; therefore, given the trajectory of observed vehicles n≤V and time step T h , the present invention can obtain the adjacency matrix as described above Finally, the feature matrix And the adjacency matrix with time information are input into the model together.

4. The vehicle interactive perception trajectory prediction system based on graph convolution according to claim 3 is characterized in that: The DGAC module includes a dynamic group graph convolution DG-GCN unit, an enhanced channel attention mechanism SCA unit and a temporal convolution layer TCN unit; The dynamic group graph convolution DG-GCN unit groups feature information and then uses multiple different types of graph convolution operations to extract multi-semantic spatial information; its input information is first processed into K groups of feature information through a 1×1 convolution, each feature group consists of C / K channels; then each feature group is combined with the corresponding A i Perform graph convolution operation; finally, concatenate the K feature groups along the channel dimension, and then perform a 1×1 convolution operation on the combined feature information to generate an output with multi-level graph semantics; The enhanced channel attention mechanism SCA unit consists of three subunits: spatial attention subunit SAM, temporal attention subunit TAM and channel attention subunit CAM; the input feature map is fed into the three subunits in sequence to generate attention maps along different dimensions; the attention map is multiplied with the original feature map to strengthen the corresponding features; The temporal convolutional layer TCN unit is a new feature generated after passing through the DG-GCN and SCA units. Input into the multi-scale temporal convolution layer TCN; the sizes of the convolution kernels of TCN are set to (1×3), (1×5), and (1×7) to force them to process data along different time dimensions.

5. The vehicle interaction perception trajectory prediction system based on graph convolution according to claim 4 is characterized in that: The trajectory prediction module uses a GRU-based encoder-decoder module to predict the future trajectories of all observed vehicles. Specifically, in the first decoding step, the encoder's hidden features and all vehicle speed data in the last observed time step are fed into the decoder to predict the vehicle's speed; in the next decoding step, the decoder uses its own hidden features and the predicted speeds of all objects in the previous time step as input for prediction; then, all the expected future time steps t are obtained. f The result (predicted speed) is averaged, and then the average speed (Δx, Δy) is added to the final historical position of the vehicle, and the result is successfully converted into (x, y) coordinates.

6. A vehicle interactive perception trajectory prediction method based on graph convolution, characterized in that: The invention is a method applied to the system described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Vehicle track prediction method based on dynamic interaction graph convolution

    CN114802296A

  • Multi-modal space-time model for accurate motion prediction based on visual fusion

    CN117315603A

  • A computer-implemented method for predicting a joint set of trajectories for autonomous vehicles in a traffic environment

    GB202216330D0

  • Vehicle trajectory prediction method and system, computer device and storage medium

    WO2023221348A1

  • A computer-implemented method for forecasting traffic indicators in a road network

    WO2024068527A1

Cited By

  • Vehicle trajectory prediction method and system fusing large kernel convolution and attention mechanism

    CN119848632A

  • A Vehicle Trajectory Prediction Method and System Incorporating Large-Core Convolution and Attention Mechanism

    CN119848632B

  • Hybrid electric vehicle NHemission prediction method based on TCN + Feam + Transform

    CN120337411A

  • Vehicle track prediction method and system

    CN121191117A

  • Trajectory prediction method based on spatio-temporal interaction feature fusion

    WO2026153158A1