WO2023221348A1 - Vehicle trajectory prediction method and system, computer device and storage medium - Google Patents

Vehicle trajectory prediction method and system, computer device and storage medium Download PDF

Info

Publication number
WO2023221348A1
WO2023221348A1 PCT/CN2022/119688 CN2022119688W WO2023221348A1 WO 2023221348 A1 WO2023221348 A1 WO 2023221348A1 CN 2022119688 W CN2022119688 W CN 2022119688W WO 2023221348 A1 WO2023221348 A1 WO 2023221348A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
predicted
data
hidden state
trajectory
Prior art date
Application number
PCT/CN2022/119688
Other languages
French (fr)
Chinese (zh)
Inventor
刘占文
李超
员惠莹
王洋
樊星
李文倩
杨楠
靳引利
赵彬岩
范颂华
范锦
程娟茹
薛志彪
肖方伟
Original Assignee
长安大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长安大学 filed Critical 长安大学
Publication of WO2023221348A1 publication Critical patent/WO2023221348A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06Q50/40

Definitions

  • the invention belongs to the field of automatic driving and relates to a vehicle trajectory prediction method, system, computer equipment and storage medium.
  • trajectory prediction methods based on driving strategy classification have become a research direction.
  • This type of method first predicts the future driving strategy of the vehicle, such as going straight, changing lanes left, changing lanes right, etc., and then performs microscopic trajectories based on the driving strategy. Prediction.
  • this type of method solves some of the lane change trajectory prediction problems, it also makes the trajectory prediction accuracy completely dependent on the prediction accuracy of the driving strategy.
  • the model predicts the driving strategy incorrectly, the trajectory prediction accuracy drops significantly.
  • the long-term prediction ability of the LSTM-based model is poor, and its prediction error increases sharply as the prediction time increases.
  • the Transformer model which has strong long-term prediction capabilities, its model parameters and calculations are huge, making the model too complex.
  • the purpose of the present invention is to overcome the shortcomings of low vehicle trajectory prediction accuracy in the above-mentioned prior art and provide a vehicle trajectory prediction method, system, computer equipment and storage medium.
  • a vehicle trajectory prediction method includes:
  • the preset multi-dimensional dynamic scene feature extraction function Through the preset multi-dimensional dynamic scene feature extraction function, the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted are extracted, and the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained;
  • the traffic perception information and historical motion state data of the vehicle to be predicted are encoded to obtain the hidden state information of the vehicle to be predicted;
  • the hybrid attention matrix of the vehicle to be predicted is obtained, and the weight is assigned to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then through maximum pooling and full connection in sequence Process to obtain the trajectory prediction value of the vehicle to be predicted.
  • each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
  • extracting the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted through a preset multi-dimensional dynamic scene feature extraction function, and obtaining the multi-dimensional dynamic scene feature vector of the vehicle to be predicted includes:
  • the preset multi-dimensional dynamic scene feature extraction function extract the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction. Based on the position data, speed data and acceleration data, the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained.
  • the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence;
  • the first convolution layer is used to fuse the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction, to obtain the vehicle to be predicted and the vehicle to be predicted.
  • the second convolutional layer is used to fuse the first fusion features of the vehicle to be predicted and any adjacent vehicles among the adjacent vehicles of the vehicle to be predicted, to obtain the second fusion feature;
  • the maximum pooling layer is used for maximum pooling to process the second fusion feature
  • the fully connected layer is used to fully connect the second fusion feature after the maximum pooling process to obtain the traffic perception information of the vehicle to be predicted.
  • the preset temporal feature encoder is a long short-term memory network encoder.
  • obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes:
  • the hybrid attention matrix ⁇ of the vehicle to be predicted is obtained by the following formula:
  • softmax is the normalized exponential function
  • ⁇ t is the time weight vector
  • ⁇ f is the feature weight vector
  • g t (H, h t+1 ) Hh T
  • g f (H, h t+1 ) h t+ 1(W f H)
  • g f is the feature weight cosine correlation function
  • g t is the time weight cosine correlation function
  • W f is the feature matrix of the vehicle to be predicted in the historical T h frame
  • H is the hidden state information of the vehicle to be predicted in the historical T h frame
  • h t is the hidden state data of the vehicle to be predicted at time t
  • h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
  • assigning weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then sequentially performing maximum pooling processing and full connection processing to obtain the trajectory prediction value of the vehicle to be predicted includes:
  • the trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
  • is the multiplication of the corresponding elements of the matrix
  • o t is the most beneficial moment to improve the prediction accuracy
  • O i,j is the hidden state information of the vehicle to be predicted after assigning weights
  • h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing.
  • W 1 and W 2 are preset weights.
  • a vehicle trajectory prediction system includes:
  • the data acquisition module is used to obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
  • the data preprocessing module is used to extract the historical motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted through the preset multi-dimensional dynamic scene feature extraction function, and obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted;
  • the information extraction module is used to extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through a preset information extraction neural network to obtain the traffic perception information of the vehicle to be predicted;
  • the encoding module is used to encode the traffic perception information and historical motion state data of the vehicle to be predicted through a preset time feature encoder to obtain the hidden state information of the vehicle to be predicted;
  • the prediction module is used to obtain the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then pass through the maximum pool in sequence ization processing and full connection processing to obtain the trajectory prediction value of the vehicle to be predicted.
  • a third aspect of the present invention is a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, the vehicle trajectory is realized. Prediction steps.
  • a fourth aspect of the present invention is a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the steps of vehicle trajectory prediction are implemented.
  • the present invention has the following beneficial effects:
  • the vehicle trajectory prediction method of the present invention uses the historical movement trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted, and performs feature extraction through a preset multi-dimensional dynamic scene feature extraction function to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
  • the traffic perception information of the vehicle to be predicted is obtained through the information extraction neural network, thereby representing the dynamic dependencies between the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and the driver's
  • the subjective driving intention is then passed through the temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted to obtain the hidden state information of the vehicle to be predicted, and then based on the hidden state information of the vehicle to be predicted, a mixture of the vehicle to be predicted is obtained attention matrix, and finally allocate weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and selectively reuse the historical trajectory information through the hybrid attention mechanism to improve the long-term prediction ability of the model, and then in turn Through maximum pooling processing and full connection processing, the trajectory prediction value of the vehicle to be predicted is obtained, making the vehicle trajectory prediction more reasonable and accurate.
  • Figure 1 is a flow chart of a vehicle trajectory prediction method according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of the traffic scene and static coordinate system according to the embodiment of the present invention.
  • Figure 3 is a schematic diagram of the construction of a multi-dimensional dynamic scene feature map according to an embodiment of the present invention.
  • Figure 4 is a schematic structural diagram of an information extraction neural network according to an embodiment of the present invention.
  • Figure 5 is a schematic diagram of the principle of the hybrid attention mechanism according to an embodiment of the present invention.
  • Figure 6 is a schematic diagram of the prediction principle based on the hybrid attention mechanism according to the embodiment of the present invention.
  • Figure 7 is a schematic diagram of the principle of the vehicle trajectory prediction method according to the embodiment of the present invention.
  • Figure 8 is a data preprocessing flow chart according to the embodiment of the present invention.
  • Figure 9 is a schematic diagram of data distribution before normalization according to the embodiment of the present invention.
  • Figure 10 is a schematic diagram of normalized data distribution according to the embodiment of the present invention.
  • Figure 11 is a schematic diagram of the relationship between the initial learning rate and the number of iterations according to the embodiment of the present invention.
  • Figure 12 is a trajectory prediction diagram of the vehicle trajectory prediction method of the present invention according to the embodiment of the present invention.
  • Figure 13 is a trajectory prediction diagram of the existing transformer model according to the embodiment of the present invention.
  • Figure 14 is a schematic diagram of the relationship between the RMSE of a sample trajectory and the number of predicted frames according to an embodiment of the present invention
  • Figure 15 is a schematic diagram of the relationship between the MAEx of a sample trajectory and the number of predicted frames according to the embodiment of the present invention.
  • Figure 16 is a schematic diagram of the relationship between MAEy and the number of predicted frames for a sample trajectory according to an embodiment of the present invention
  • Figure 17 is a schematic diagram of the relationship between the RMSE of another sample trajectory and the number of predicted frames according to an embodiment of the present invention.
  • Figure 18 is a schematic diagram of the relationship between MAEx and the number of predicted frames of another sample trajectory according to an embodiment of the present invention.
  • Figure 19 is a schematic diagram of the relationship between MAEy and the number of predicted frames of another sample trajectory according to an embodiment of the present invention.
  • one embodiment of the present invention provides a vehicle trajectory prediction method, which solves the problem of low prediction accuracy and poor long-term prediction ability due to existing methods that do not consider the driver's subjective driving intention.
  • the vehicle trajectory prediction method includes the following steps:
  • S2 Through the preset multi-dimensional dynamic scene feature extraction function, extract the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
  • S3 Extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network, and obtain the traffic perception information of the vehicle to be predicted.
  • S4 Use the preset temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted, and obtain the hidden state information of the vehicle to be predicted.
  • S5 According to the hidden state information of the vehicle to be predicted, obtain the hybrid attention matrix of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then proceed through maximum pooling and Fully connected processing to obtain the trajectory prediction value of the vehicle to be predicted.
  • the vehicle trajectory prediction method of the present invention uses the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and performs feature extraction through a preset multi-dimensional dynamic scene feature extraction function to obtain the multi-dimensional dynamics of the vehicle to be predicted.
  • Scene feature vector and based on the multi-dimensional dynamic scene feature vector of the vehicle to be predicted, the traffic perception information of the vehicle to be predicted is obtained through the information extraction neural network, and the dynamic dependence between the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted is represented.
  • the temporal feature encoder uses the temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted to obtain the hidden state information of the vehicle to be predicted, and then based on the hidden state information of the vehicle to be predicted, the vehicle to be predicted is obtained
  • the hybrid attention matrix of the vehicle finally assigns weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted.
  • the historical trajectory information is selectively reused through the hybrid attention mechanism to improve the long-term prediction ability of the model. , and then through maximum pooling processing and full connection processing in sequence, the trajectory prediction value of the vehicle to be predicted is obtained, making the vehicle trajectory prediction more reasonable and accurate.
  • FIG. 2 shows a feasible traffic scene and static coordinate system during the specific implementation of the vehicle trajectory prediction method of the present invention.
  • the traffic scene is a two-way eight-lane road, and a fixed reference frame is used to determine the position of each vehicle.
  • the starting points of both the x-axis and the y-axis are the upper left corner of the road.
  • the x-axis is parallel to the direction of vehicle movement on the highway, and the y-axis is perpendicular to the direction of travel.
  • the y-axis direction there are 1-8 lanes. Among them, vehicles in lanes 1-4 travel along the positive direction of the x-axis, and vehicles in lanes 5-8 travel in the negative direction of the x-axis.
  • a traffic scene is taken as an example for schematic description, but the sequence is not limited.
  • each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
  • extracting the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted through a preset multi-dimensional dynamic scene feature extraction function, and obtaining the multi-dimensional dynamic scene feature vector of the vehicle to be predicted includes: using the preset The multi-dimensional dynamic scene feature extraction function extracts the position of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction from the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted. Data, speed data and acceleration data are used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
  • the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is extracted through the preset information extraction neural network.
  • the specific extraction process can be completed by constructing a multi-dimensional dynamic scene feature map.
  • the multi-dimensional dynamic scene feature map is constructed with the vehicle to be predicted as the center and the vehicles in eight directions around it, namely the front, rear, left, right, left front, left rear, right front and right rear of the predicted vehicle.
  • the 3*3 rectangular area is divided into 9 units, and adjacent vehicles are mapped to corresponding units according to their relative positions.
  • the position layer, velocity layer and acceleration layer in the X and Y directions are constructed respectively, forming a total of 6 rectangles with a dimension of 3*3, and finally superimposed to form a multi-dimensional dynamic scene feature map with a dimension of 6*3*3 .
  • the definition function of the feature map is Then the multi-dimensional dynamic scene characteristics at time t can be expressed as:
  • x t represents the motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted at time t.
  • the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence.
  • the first convolution layer is used to fuse the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction, to obtain the vehicle to be predicted and the vehicle to be predicted.
  • the second convolutional layer is used to fuse the first fusion feature of the vehicle to be predicted and any adjacent vehicle among the adjacent vehicles of the vehicle to be predicted to obtain the second fusion feature;
  • the maximum pooling layer is used The second fusion feature is processed by maximum pooling;
  • the fully connected layer is used to fully connect the second fused feature after maximum pooling to obtain the traffic perception information of the vehicle to be predicted.
  • the first convolutional layer of 6*1*1 is used to perform feature fusion on the 6-dimensional features of each vehicle, which can capture the driving behavior of each vehicle. member’s intentions. Then, each vehicle interacts with surrounding vehicles through a second convolutional layer of 2*2 to extract the interaction between vehicles. Finally, the traffic force constraint information p that reflects the driver's driving intention and the interaction between vehicles is obtained through the maximum pooling layer Maxpool and the fully connected layer FC.
  • the above process is defined as a convolution operation in which the mapping function is traf, and the traffic perception information p t is extracted from the multi-dimensional dynamic scene feature vector F t at time t through the traf function:
  • the preset temporal feature encoder is a long short-term memory network (LSTM) encoder.
  • LSTM long short-term memory network
  • the forgetting gate f t in the LSTM encoder determines what information is discarded, the input gate i t controls what new information is updated and stored, and the output gate o t controls the output of the candidate layer, the value is the candidate unit, and the cell state c t of the LSTM encoder is the cell state c t-1 at the previous moment and the current candidate state
  • the final output gate o of the LSTM encoder will determine which cell states are output.
  • is the sigmoid function
  • is the multiplication of the corresponding elements of the matrix
  • x t and h t are the input vector and hidden layer state at time t respectively.
  • f, i and o are the forgetting gate, input gate and output gate respectively
  • W and b are model parameters
  • W fz is the forgetting gate input weight matrix
  • W fh is the forgetting gate hidden layer weight matrix
  • W iz is the input gate input weight matrix
  • W ih is the input gate hidden layer weight matrix
  • W oz is the output gate input weight matrix
  • W oh is the output gate hidden layer weight matrix
  • W cz is the cell state input weight matrix
  • W ch is the cell state hidden layer weight matrix
  • b f is the forget gate bias
  • b i is the input gate bias
  • b o is the output gate bias
  • b c is the cell state bias.
  • obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes: obtaining the hybrid attention matrix ⁇ of the vehicle to be predicted by the following formula:
  • softmax is the normalized exponential function
  • ⁇ t is the time weight vector
  • ⁇ f is the feature weight vector
  • g t (H, h t+1 ) Hh T
  • g f (H, h t+1 ) h t+1 (W f H)
  • g f is the feature weight cosine correlation function
  • g t is the time weight cosine correlation function
  • W f is the feature matrix of the vehicle to be predicted in the historical T h frame
  • H is the hidden state information of the vehicle to be predicted in the historical T h frame
  • h t is the hidden state data of the vehicle to be predicted at time t
  • h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
  • the vehicle trajectory prediction method of the present invention fuses temporal attention and feature attention.
  • the hybrid attention mechanism can comprehensively consider the moments and features that have a great impact on the output accuracy, and provide a prediction for each moment at each moment.
  • a feature independently assigns attention weights.
  • H is the hidden state information of the vehicle to be predicted in the historical Th frame, that is, the hidden state of the LSTM encoder.
  • the hidden state of the LSTM encoder is set to n dimensions, then Assuming that the hidden state at time t+1 is h t+1 ⁇ R 1 ⁇ n , then the time-weighted cosine correlation function g t and the feature weight cosine correlation function g f are used to calculate the relationship between H and h t+1 at time and feature Dimensional correlation.
  • the hidden state information of the vehicle to be predicted is assigned a weight through the hybrid attention matrix of the vehicle to be predicted, and then the trajectory prediction of the vehicle to be predicted is obtained through maximum pooling processing and full connection processing in sequence.
  • the values include:
  • the trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
  • is the multiplication of the corresponding elements of the matrix
  • o t is the most beneficial moment to improve the prediction accuracy
  • O i,j is the hidden state information of the vehicle to be predicted after assigning weights
  • h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing.
  • W 1 and W 2 are the preset weights of the two fully connected layers respectively.
  • the implementation principle of the vehicle trajectory prediction method of the present invention integrates the traffic force-aware LSTM encoder and the LSTM decoder based on the hybrid attention mechanism.
  • x pre is the historical trajectory data of the vehicle to be predicted
  • z t and h t respectively represents the vector splicing result and hidden state of LSTM at time t.
  • the LSTM decoder gives the prediction result y t+1 at time t+1 .
  • the vehicle trajectory prediction method of the present invention includes the preset multi-dimensional dynamic scene feature extraction function, the preset information extraction neural network, the preset temporal feature encoder, and the maximum pooling and full connection processing.
  • the network layers are pre-trained to determine their specific parameters. Among them, during the pre-training process, the trajectory data of the vehicle in the past 50 frames (the vehicle's position data, speed data and acceleration data in the x and y directions) are used to predict the trajectory of the next 50 frames, so a total of 100 frames of complete data are needed. Through data cleaning, vehicle data that appears for less than 100 frames will be deleted.
  • German high-speed public data set highD was used for testing, and 110,660 trajectories were selected for model training and 50,787 trajectories were used for model testing.
  • Figures 9 and 10 show the data distribution before and after normalization in the data preprocessing.
  • Figure 11 shows the different initial learning rates used in different training stages during the model training process.
  • Figures 12 and 13 show the prediction results of 50 consecutive frames between the vehicle trajectory prediction method of the present invention and the existing Transformer model.
  • Figures 14 to Figures 19 is the comparison of various evaluation indicators between the vehicle trajectory prediction method of the present invention and the existing Transformer model.
  • the specific instructions are as follows:
  • FIG. 12 a comparison chart of trajectory prediction between the vehicle trajectory prediction method of the present invention and the existing Transformer model is shown.
  • the prediction results of this method are more accurate when the vehicle maneuvers laterally, while the Transformer model tends to offset the left and right maneuvers in the lateral direction; as can be seen from Figure 13, as the prediction length increases, , the predicted points of the Transformer model are further and further away from the real trajectory points, but the vehicle trajectory prediction method of the present invention can still make more accurate predictions.
  • hist represents the historical trajectory coordinates
  • gt represents the future real trajectory coordinates
  • ours represents the vehicle trajectory prediction method of the present invention
  • tf represents the Transformer model
  • the horizontal coordinate is the vehicle x-direction coordinate
  • the vertical coordinate is the vehicle y-direction coordinate.
  • FIG. 14 to 19 the changes of the evaluation indicators RMSE, MAEx and MAEy with the frame length are shown, where RMSE, MAEx and MAEy respectively represent the root mean square error, the mean absolute error in the x direction and the mean absolute error in the y direction,
  • the abscissa frame represents the time frame.
  • Figure 14, Figure 15 and Figure 16 respectively show the changes of RMSE, MAEx and MAEy of a sample trajectory with the frame length.
  • Figure 17, Figure 18 and Figure 19 respectively show the changes of RMSE, MAEx and MAEy with the frame length of another sample trajectory. It can be seen that as the prediction frame length increases, the RMSE of the Transformer model increases almost exponentially, and MAEx and MAEy also increase linearly.
  • the RMSE of the vehicle trajectory prediction method of the present invention can maintain a low level fluctuation. This shows that the long-term prediction ability of the vehicle trajectory prediction method of the present invention is strong; at the same time, the MAEx of the vehicle trajectory prediction method of the present invention is smaller than Transformer, which also shows that the prediction results of the vehicle trajectory prediction method of the present invention are more accurate when the vehicle is maneuvering sideways.
  • a vehicle trajectory prediction system which can be used to implement the above vehicle trajectory prediction method.
  • the vehicle trajectory prediction system includes a data acquisition module, a data preprocessing module, an information extraction module, and a coding module. modules as well as prediction modules.
  • the data acquisition module is used to obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
  • the data preprocessing module is used to extract the vehicle to be predicted and the vehicles to be predicted through a preset multi-dimensional dynamic scene feature extraction function
  • the historical motion trajectory data of each adjacent vehicle is used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted;
  • the information extraction module is used to extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
  • the encoding module is used to encode the traffic perception information and historical motion state data of the vehicle to be predicted through a preset time feature encoder to obtain the hidden state information of the vehicle to be predicted;
  • the prediction module is used to obtain the hidden state information of the vehicle to be predicted; State information, obtain the hybrid attention matrix of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then sequentially perform maximum pooling processing and full connection processing to obtain the vehicle to be predicted trajectory prediction value.
  • each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
  • the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted is extracted through a preset multi-dimensional dynamic scene feature extraction function, and a multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained.
  • the position data, speed data and acceleration data in the vertical direction are used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
  • the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence; wherein the first convolution layer is used for fusion
  • the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the traveling direction and the vertical direction of the traveling direction are used to obtain the first fusion characteristics of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
  • the two convolutional layers are used to fuse the first fusion features of the vehicle to be predicted and any adjacent vehicles among the adjacent vehicles of the vehicle to be predicted to obtain the second fusion feature;
  • the maximum pooling layer is used to process the second fusion feature by maximum pooling;
  • the fully connected layer is used to fully connect the second fusion feature after the maximum pooling process to obtain the traffic perception information of the vehicle to be predicted.
  • the preset temporal feature encoder is a long short-term memory network encoder.
  • obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes: obtaining the hybrid attention matrix ⁇ of the vehicle to be predicted by the following formula:
  • softmax is the normalized exponential function
  • ⁇ t is the time weight vector
  • ⁇ f is the feature weight vector
  • g t (H, h t+1 ) Hh T
  • g f (H, h t+1 ) h t+1 (W f H)
  • g f is the feature weight cosine correlation function
  • g t is the time weight cosine correlation function
  • W f is the feature matrix of the vehicle to be predicted in the historical T h frame
  • H is the hidden state information of the vehicle to be predicted in the historical T h frame
  • h t is the hidden state data of the vehicle to be predicted at time t
  • h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
  • the hidden state information of the vehicle to be predicted is assigned a weight through the hybrid attention matrix of the vehicle to be predicted, and then the trajectory prediction of the vehicle to be predicted is obtained through maximum pooling processing and full connection processing in sequence.
  • the values include:
  • the trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
  • is the multiplication of the corresponding elements of the matrix
  • o t is the most beneficial moment to improve the prediction accuracy
  • O i,j is the hidden state information of the vehicle to be predicted after assigning weights
  • h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing.
  • W 1 and W 2 are preset weights.
  • each step involved in the foregoing embodiments of the vehicle trajectory prediction method can be referred to the functional description of the corresponding functional modules of the vehicle trajectory prediction system in the embodiments of the present invention, and will not be described again here.
  • the division of modules in the embodiments of the present invention is schematic and is only a logical function division. In actual implementation, there may be other division methods.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit. In the device, it can exist physically alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • a computer device in yet another embodiment, includes a processor and a memory.
  • the memory is used to store a computer program.
  • the computer program includes program instructions.
  • the processor is used to execute the computer program.
  • a storage medium stores program instructions.
  • the processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or off-the-shelf programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, and are suitable for implementing one or more instructions, specifically suitable for Load and execute one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used to operate the vehicle trajectory prediction method.
  • CPU Central Processing Unit
  • DSP digital signal processor
  • ASIC
  • the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory).
  • the computer-readable storage medium is a memory device in a computer device and is used to store programs and data.
  • the computer-readable storage medium here may include a built-in storage medium in the computer device, and of course may also include an extended storage medium supported by the computer device.
  • the computer-readable storage medium provides storage space, and the storage space stores the operating system of the terminal.
  • one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space. These instructions may be one or more computer programs (including program codes).
  • the computer-readable storage medium here may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor to implement the corresponding steps of the vehicle trajectory prediction method in the above embodiments.
  • embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

Abstract

The present invention relates to the field of automatic driving. Disclosed are a vehicle trajectory prediction method and system, a computer device and a storage medium. The method comprises: extracting historical motion trajectory data of a vehicle to be predicted and adjacent vehicles of the vehicle to be predicted to obtain a multi-dimensional dynamic scene feature vector of the vehicle to be predicted; extracting the multi-dimensional dynamic scene feature vector of the vehicle to be predicted to obtain traffic sensing information of the vehicle to be predicted; encoding the traffic sensing information and historical motion state data of the vehicle to be predicted to obtain hidden state information of the vehicle to be predicted; and obtaining, according to the hidden state information of the vehicle to be predicted, a hybrid attention matrix of the vehicle to be predicted, allocating a weight to the hidden state information of the vehicle to be predicted by means of the hybrid attention matrix of the vehicle to be predicted, and then sequentially performing maximum pooling processing and full connection processing to obtain a trajectory prediction value of the vehicle to be predicted, so that the vehicle trajectory prediction accuracy is effectively improved.

Description

车辆轨迹预测方法、系统、计算机设备及存储介质Vehicle trajectory prediction method, system, computer equipment and storage medium 技术领域Technical field
本发明属于自动驾驶领域,涉及一种车辆轨迹预测方法、系统、计算机设备及存储介质。The invention belongs to the field of automatic driving and relates to a vehicle trajectory prediction method, system, computer equipment and storage medium.
背景技术Background technique
自动车辆与网联汽车将在未来道路交通和运输发展中发挥着关键作用,为了能够在复杂的交通环境中快速安全的通行,网联汽车必须基于周围车辆的未来轨迹通过路径规划算法与驾驶策略决定何时加速及变道等。然而,由于受到驾驶员主观驾驶意图及车辆间客观存在的动态相互作用的影响,车辆轨迹通常表现出高度非线性,因此,预测车辆未来轨迹是一个极具挑战性的问题。Autonomous vehicles and connected cars will play a key role in the future development of road traffic and transportation. In order to be able to travel quickly and safely in complex traffic environments, connected cars must use path planning algorithms and driving strategies based on the future trajectories of surrounding vehicles. Decide when to accelerate, change lanes, etc. However, due to the influence of the driver's subjective driving intention and the objective dynamic interactions between vehicles, vehicle trajectories usually exhibit high nonlinearity. Therefore, predicting the future trajectory of the vehicle is a very challenging problem.
目前,在进行轨迹预测时仅考虑车辆间的交互作用,而忽略了司机的主观驾驶意图对车辆未来轨迹的影响,导致轨迹预测准确率较低,尤其是在车辆横向机动时。为了解决这一问题,基于驾驶策略分类的轨迹预测方法成为一个研究方向,这类方法首先对车辆未来驾驶策略进行预测,比如直行、左变道及右变道等,然后基于驾驶策略进行微观轨迹的预测。这类方法虽然解决了部分变道轨迹的预测问题,但也使得轨迹预测精度完全依赖于驾驶策略的预测准确率,使得模型在驾驶策略预测错误时,轨迹预测准确率大幅下降。除此之外,基于LSTM的模型长时预测能力较差,其预测误差随预测时长的增加而急剧增加。而对于长时预测能力较强的Transformer模型,其模型参数量与计算量巨大,使得模型过于复杂。Currently, only the interaction between vehicles is considered when conducting trajectory prediction, and the impact of the driver's subjective driving intention on the vehicle's future trajectory is ignored, resulting in low trajectory prediction accuracy, especially when the vehicle maneuvers laterally. In order to solve this problem, trajectory prediction methods based on driving strategy classification have become a research direction. This type of method first predicts the future driving strategy of the vehicle, such as going straight, changing lanes left, changing lanes right, etc., and then performs microscopic trajectories based on the driving strategy. Prediction. Although this type of method solves some of the lane change trajectory prediction problems, it also makes the trajectory prediction accuracy completely dependent on the prediction accuracy of the driving strategy. When the model predicts the driving strategy incorrectly, the trajectory prediction accuracy drops significantly. In addition, the long-term prediction ability of the LSTM-based model is poor, and its prediction error increases sharply as the prediction time increases. As for the Transformer model, which has strong long-term prediction capabilities, its model parameters and calculations are huge, making the model too complex.
发明内容Contents of the invention
本发明的目的在于克服上述现有技术中,车辆轨迹预测准确率较低的缺点,提供一种车辆轨迹预测方法、系统、计算机设备及存储介质。The purpose of the present invention is to overcome the shortcomings of low vehicle trajectory prediction accuracy in the above-mentioned prior art and provide a vehicle trajectory prediction method, system, computer equipment and storage medium.
为达到上述目的,本发明采用以下技术方案予以实现:In order to achieve the above objectives, the present invention adopts the following technical solutions to achieve:
本发明第一方面,一种车辆轨迹预测方法,包括:The first aspect of the present invention, a vehicle trajectory prediction method, includes:
获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据;Obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量;Through the preset multi-dimensional dynamic scene feature extraction function, the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted are extracted, and the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained;
通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息;Extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network to obtain the traffic perception information of the vehicle to be predicted;
通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得 到待预测车辆的隐状态信息;Through the preset time feature encoder, the traffic perception information and historical motion state data of the vehicle to be predicted are encoded to obtain the hidden state information of the vehicle to be predicted;
根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。According to the hidden state information of the vehicle to be predicted, the hybrid attention matrix of the vehicle to be predicted is obtained, and the weight is assigned to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then through maximum pooling and full connection in sequence Process to obtain the trajectory prediction value of the vehicle to be predicted.
可选的,所述待预测车辆各相邻车辆包括待预测车辆的前、后、左、右、左前、左后、右前以及右后八个方向的相邻车辆。Optionally, each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
可选的,所述通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量包括:Optionally, extracting the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted through a preset multi-dimensional dynamic scene feature extraction function, and obtaining the multi-dimensional dynamic scene feature vector of the vehicle to be predicted includes:
通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据中,待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆的多维动态场景特征向量。Through the preset multi-dimensional dynamic scene feature extraction function, extract the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction. Based on the position data, speed data and acceleration data, the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained.
可选的,所述信息提取神经网络包括依次连接的第一卷积层、第二卷积层、最大池化层和全连接层;Optionally, the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence;
其中,第一卷积层用于融合待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆及待预测车辆各相邻车辆的第一融合特征;Among them, the first convolution layer is used to fuse the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction, to obtain the vehicle to be predicted and the vehicle to be predicted. The first fusion feature of adjacent vehicles;
第二卷积层用于融合待预测车辆及待预测车辆各相邻车辆中任意相邻车辆的第一融合特征,得到第二融合特征;The second convolutional layer is used to fuse the first fusion features of the vehicle to be predicted and any adjacent vehicles among the adjacent vehicles of the vehicle to be predicted, to obtain the second fusion feature;
最大池化层用于最大池化处理第二融合特征;The maximum pooling layer is used for maximum pooling to process the second fusion feature;
全连接层用于全连接处理最大池化处理后的第二融合特征,得到待预测车辆的交通感知信息。The fully connected layer is used to fully connect the second fusion feature after the maximum pooling process to obtain the traffic perception information of the vehicle to be predicted.
可选的,所述预设的时间特征编码器为长短期记忆网络编码器。Optionally, the preset temporal feature encoder is a long short-term memory network encoder.
可选的,所述根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵包括:Optionally, obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes:
通过下式得到待预测车辆的混合注意力矩阵α:The hybrid attention matrix α of the vehicle to be predicted is obtained by the following formula:
α t=softmax(g t(H,h t+1)) α t =softmax(g t (H,h t+1 ))
α f=softmax(g f(H,h t+1)) α f =softmax(g f (H, h t+1 ))
α=α tα f α=α t α f
其中,softmax为归一化指数函数,α t为时间权重向量,α f为特征权重向量,g t(H,h t+1)=Hh T,g f(H,h t+1)=h t+1(W fH),
Figure PCTCN2022119688-appb-000001
g f为特征权重余弦相关度 函数,g t为时间权重余弦相关度函数,W f为历史T h帧待预测车辆的特征矩阵,H为历史T h帧待预测车辆的隐状态信息,h t为t时刻待预测车辆的隐状态数据,h t+1为t+1时刻待预测车辆的隐状态数据。
Among them, softmax is the normalized exponential function, α t is the time weight vector, α f is the feature weight vector, g t (H, h t+1 ) = Hh T , g f (H, h t+1 ) = h t+ 1(W f H),
Figure PCTCN2022119688-appb-000001
g f is the feature weight cosine correlation function, g t is the time weight cosine correlation function, W f is the feature matrix of the vehicle to be predicted in the historical T h frame, H is the hidden state information of the vehicle to be predicted in the historical T h frame, h t is the hidden state data of the vehicle to be predicted at time t, h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
可选的,所述通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值包括:Optionally, assigning weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then sequentially performing maximum pooling processing and full connection processing to obtain the trajectory prediction value of the vehicle to be predicted includes:
通过下式得到待预测车辆的轨迹预测值y t+1The trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
O=α⊙HO=α⊙H
Figure PCTCN2022119688-appb-000002
Figure PCTCN2022119688-appb-000002
Figure PCTCN2022119688-appb-000003
Figure PCTCN2022119688-appb-000003
h′ t+1=contact(h t+1,o t,o f) h′ t+1 =contact(h t+1 ,o t ,o f )
y t+1=h′ t+1W 2W 1 y t+1 =h′ t+1 W 2 W 1
其中,⊙为矩阵对应元素相乘,o t为对提高预测精度最有利的时刻,
Figure PCTCN2022119688-appb-000004
为在时间维度进行最大池化,O i,j为通过分配权重后的待预测车辆的隐状态信息,o f为对提高预测精度最有利的特征,
Figure PCTCN2022119688-appb-000005
为在特征维度进行最大池化处理,h′ t+1为将o t、o f和h t+1进行全连接处理得到的t+1时刻待预测车辆的隐状态信息,contact为全连接处理,W 1和W 2为预设权重。
Among them, ⊙ is the multiplication of the corresponding elements of the matrix, o t is the most beneficial moment to improve the prediction accuracy,
Figure PCTCN2022119688-appb-000004
In order to perform maximum pooling in the time dimension, O i,j is the hidden state information of the vehicle to be predicted after assigning weights, of is the most beneficial feature to improve prediction accuracy,
Figure PCTCN2022119688-appb-000005
In order to perform maximum pooling processing in the feature dimension, h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing. , W 1 and W 2 are preset weights.
本发明第二方面,一种车辆轨迹预测系统,包括:The second aspect of the present invention, a vehicle trajectory prediction system, includes:
数据获取模块,用于获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据;The data acquisition module is used to obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
数据预处理模块,用于通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量;The data preprocessing module is used to extract the historical motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted through the preset multi-dimensional dynamic scene feature extraction function, and obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted;
信息提取模块,用于通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息;The information extraction module is used to extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through a preset information extraction neural network to obtain the traffic perception information of the vehicle to be predicted;
编码模块,用于通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息;The encoding module is used to encode the traffic perception information and historical motion state data of the vehicle to be predicted through a preset time feature encoder to obtain the hidden state information of the vehicle to be predicted;
预测模块,用于根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。The prediction module is used to obtain the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then pass through the maximum pool in sequence ization processing and full connection processing to obtain the trajectory prediction value of the vehicle to be predicted.
本发明第三方面,一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在 所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述车辆轨迹预测的步骤。A third aspect of the present invention is a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle trajectory is realized. Prediction steps.
本发明第四方面,一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述车辆轨迹预测的步骤。A fourth aspect of the present invention is a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of vehicle trajectory prediction are implemented.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明车辆轨迹预测方法,通过利用待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,通过预设的多维动态场景特征提取函数进行特征提取,得到待预测车辆的多维动态场景特征向量,并基于待预测车辆的多维动态场景特征向量,通过信息提取神经网络得到待预测车辆的交通感知信息,依此表征待预测车辆及待预测车辆各相邻车辆之间的动态依赖关系和司机的主观驾驶意图,接着通过时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息,然后基于待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,最终通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,通过混合注意力机制对历史轨迹信息进行选择性重利用,提高模型的长时预测能力,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值,使得车辆轨迹预测更合理准确。The vehicle trajectory prediction method of the present invention uses the historical movement trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted, and performs feature extraction through a preset multi-dimensional dynamic scene feature extraction function to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted. , and based on the multi-dimensional dynamic scene feature vector of the vehicle to be predicted, the traffic perception information of the vehicle to be predicted is obtained through the information extraction neural network, thereby representing the dynamic dependencies between the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and the driver's The subjective driving intention is then passed through the temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted to obtain the hidden state information of the vehicle to be predicted, and then based on the hidden state information of the vehicle to be predicted, a mixture of the vehicle to be predicted is obtained attention matrix, and finally allocate weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and selectively reuse the historical trajectory information through the hybrid attention mechanism to improve the long-term prediction ability of the model, and then in turn Through maximum pooling processing and full connection processing, the trajectory prediction value of the vehicle to be predicted is obtained, making the vehicle trajectory prediction more reasonable and accurate.
附图说明Description of the drawings
图1为本发明实施例的车辆轨迹预测方法流程图;Figure 1 is a flow chart of a vehicle trajectory prediction method according to an embodiment of the present invention;
图2为本发明实施例的交通场景及静态坐标系示意图;Figure 2 is a schematic diagram of the traffic scene and static coordinate system according to the embodiment of the present invention;
图3为本发明实施例的多维动态场景特征图构建示意图;Figure 3 is a schematic diagram of the construction of a multi-dimensional dynamic scene feature map according to an embodiment of the present invention;
图4为本发明实施例的信息提取神经网络结构示意图;Figure 4 is a schematic structural diagram of an information extraction neural network according to an embodiment of the present invention;
图5为本发明实施例的混合注意力机制原理示意图;Figure 5 is a schematic diagram of the principle of the hybrid attention mechanism according to an embodiment of the present invention;
图6为本发明实施例的基于混合注意力机制预测原理示意图;Figure 6 is a schematic diagram of the prediction principle based on the hybrid attention mechanism according to the embodiment of the present invention;
图7为本发明实施例的车辆轨迹预测方法原理示意图;Figure 7 is a schematic diagram of the principle of the vehicle trajectory prediction method according to the embodiment of the present invention;
图8为本发明实施例的数据预处理流程图;Figure 8 is a data preprocessing flow chart according to the embodiment of the present invention;
图9为本发明实施例的归一化前数据分布示意图;Figure 9 is a schematic diagram of data distribution before normalization according to the embodiment of the present invention;
图10为本发明实施例的归一化后数据分布示意图;Figure 10 is a schematic diagram of normalized data distribution according to the embodiment of the present invention;
图11为本发明实施例的初始学习率与迭代次数关系示意图;Figure 11 is a schematic diagram of the relationship between the initial learning rate and the number of iterations according to the embodiment of the present invention;
图12为本发明实施例的本发明车辆轨迹预测方法的轨迹预测图;Figure 12 is a trajectory prediction diagram of the vehicle trajectory prediction method of the present invention according to the embodiment of the present invention;
图13为本发明实施例的现有transformer模型的轨迹预测图;Figure 13 is a trajectory prediction diagram of the existing transformer model according to the embodiment of the present invention;
图14为本发明实施例的一样本轨迹的RMSE与预测帧数的关系示意图;Figure 14 is a schematic diagram of the relationship between the RMSE of a sample trajectory and the number of predicted frames according to an embodiment of the present invention;
图15为本发明实施例的一样本轨迹的MAEx与预测帧数的关系示意图;Figure 15 is a schematic diagram of the relationship between the MAEx of a sample trajectory and the number of predicted frames according to the embodiment of the present invention;
图16为本发明实施例的一样本轨迹的MAEy与预测帧数的关系示意图;Figure 16 is a schematic diagram of the relationship between MAEy and the number of predicted frames for a sample trajectory according to an embodiment of the present invention;
图17为本发明实施例的另一样本轨迹的RMSE与预测帧数的关系示意图;Figure 17 is a schematic diagram of the relationship between the RMSE of another sample trajectory and the number of predicted frames according to an embodiment of the present invention;
图18为本发明实施例的另一样本轨迹的MAEx与预测帧数的关系示意图;Figure 18 is a schematic diagram of the relationship between MAEx and the number of predicted frames of another sample trajectory according to an embodiment of the present invention;
图19为本发明实施例的另一样本轨迹的MAEy与预测帧数的关系示意图。Figure 19 is a schematic diagram of the relationship between MAEy and the number of predicted frames of another sample trajectory according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the invention described herein are capable of being practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
下面结合附图对本发明做进一步详细描述:The present invention will be described in further detail below in conjunction with the accompanying drawings:
参见图1,本发明一实施例中,提供一种车辆轨迹预测方法,解决了现有方法未考虑驾驶人员主观驾驶意图导致预测精度低且长时预测能力差的问题。具体的,该车辆轨迹预测方法包括以下步骤:Referring to Figure 1, one embodiment of the present invention provides a vehicle trajectory prediction method, which solves the problem of low prediction accuracy and poor long-term prediction ability due to existing methods that do not consider the driver's subjective driving intention. Specifically, the vehicle trajectory prediction method includes the following steps:
S1:获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据。S1: Obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted.
S2:通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量。S2: Through the preset multi-dimensional dynamic scene feature extraction function, extract the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
S3:通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息。S3: Extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network, and obtain the traffic perception information of the vehicle to be predicted.
S4:通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息。S4: Use the preset temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted, and obtain the hidden state information of the vehicle to be predicted.
S5:根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。S5: According to the hidden state information of the vehicle to be predicted, obtain the hybrid attention matrix of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then proceed through maximum pooling and Fully connected processing to obtain the trajectory prediction value of the vehicle to be predicted.
具体的,本发明车辆轨迹预测方法,通过利用待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,通过预设的多维动态场景特征提取函数进行特征提取,得到待预测车辆的多维动态场景特征向量,并基于待预测车辆的多维动态场景特征向量,通过信息提取神经网络得到待预测车辆的交通感知信息,依此表征待预测车辆及待预测车辆各相邻车辆之间的动态依赖关系和司机的主观驾驶意图,接着通过时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息,然后基于待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,最终通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,通过混合注意力机制对历史轨迹信息进行选择性重利用,提高模型的长时预测能力,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值,使得车辆轨迹预测更合理准确。Specifically, the vehicle trajectory prediction method of the present invention uses the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, and performs feature extraction through a preset multi-dimensional dynamic scene feature extraction function to obtain the multi-dimensional dynamics of the vehicle to be predicted. Scene feature vector, and based on the multi-dimensional dynamic scene feature vector of the vehicle to be predicted, the traffic perception information of the vehicle to be predicted is obtained through the information extraction neural network, and the dynamic dependence between the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted is represented. and the driver's subjective driving intention, and then use the temporal feature encoder to encode the traffic perception information and historical motion state data of the vehicle to be predicted to obtain the hidden state information of the vehicle to be predicted, and then based on the hidden state information of the vehicle to be predicted, the vehicle to be predicted is obtained The hybrid attention matrix of the vehicle finally assigns weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted. The historical trajectory information is selectively reused through the hybrid attention mechanism to improve the long-term prediction ability of the model. , and then through maximum pooling processing and full connection processing in sequence, the trajectory prediction value of the vehicle to be predicted is obtained, making the vehicle trajectory prediction more reasonable and accurate.
首先,参见图2,本发明车辆轨迹预测方法在具体实施时,一种可行的交通场景及静态坐标系。交通场景为双向的八车道,使用一个固定的参考系来确定每辆车的位置。x轴和y轴的起点都是道路的左上角,x轴是平行于高速公路的车辆运动方向,y轴是垂直于行驶方向。沿y轴方向,有1-8条车道。其中,1-4车道车辆沿x轴正方向行驶,5-8车道车辆沿x轴负方向行驶。下述实施例中以交通场景为例进行示意性说明,但不依次为限。First, refer to Figure 2, which shows a feasible traffic scene and static coordinate system during the specific implementation of the vehicle trajectory prediction method of the present invention. The traffic scene is a two-way eight-lane road, and a fixed reference frame is used to determine the position of each vehicle. The starting points of both the x-axis and the y-axis are the upper left corner of the road. The x-axis is parallel to the direction of vehicle movement on the highway, and the y-axis is perpendicular to the direction of travel. Along the y-axis direction, there are 1-8 lanes. Among them, vehicles in lanes 1-4 travel along the positive direction of the x-axis, and vehicles in lanes 5-8 travel in the negative direction of the x-axis. In the following embodiments, a traffic scene is taken as an example for schematic description, but the sequence is not limited.
在一种可能的实施方式中,所述待预测车辆各相邻车辆包括待预测车辆的前、后、左、右、左前、左后、右前以及右后八个方向的相邻车辆。In a possible implementation, each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
可选的,所述通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量包括:通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据中,待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆的多维动态场景特征向量。Optionally, extracting the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted through a preset multi-dimensional dynamic scene feature extraction function, and obtaining the multi-dimensional dynamic scene feature vector of the vehicle to be predicted includes: using the preset The multi-dimensional dynamic scene feature extraction function extracts the position of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction from the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted. Data, speed data and acceleration data are used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
具体的,参见图3,通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,可以采用构建多维动态场景特征图的方式完成具体的提取过程。其中,多维动态场景特征图以待预测车辆为中心,与其周围八个方向上的车辆,即被预测车辆的前、后、左、右、左前、左后、右前及右后八个方向,构建3*3的矩形区域并划分为9个单元,相邻车辆根据相对位置 映射到相应的单元中。按照这种规则分别构造X、Y方向上的位置层、速度层和加速度层,共形成6个维度为3*3的矩形,最终叠加形成的维度为6*3*3的多维动态场景特征图。假设特征图的定义函数为
Figure PCTCN2022119688-appb-000006
则t时刻的多维动态场景特征可以表示为:
Specifically, see Figure 3. The multi-dimensional dynamic scene feature vector of the vehicle to be predicted is extracted through the preset information extraction neural network. The specific extraction process can be completed by constructing a multi-dimensional dynamic scene feature map. Among them, the multi-dimensional dynamic scene feature map is constructed with the vehicle to be predicted as the center and the vehicles in eight directions around it, namely the front, rear, left, right, left front, left rear, right front and right rear of the predicted vehicle. The 3*3 rectangular area is divided into 9 units, and adjacent vehicles are mapped to corresponding units according to their relative positions. According to this rule, the position layer, velocity layer and acceleration layer in the X and Y directions are constructed respectively, forming a total of 6 rectangles with a dimension of 3*3, and finally superimposed to form a multi-dimensional dynamic scene feature map with a dimension of 6*3*3 . Assume that the definition function of the feature map is
Figure PCTCN2022119688-appb-000006
Then the multi-dimensional dynamic scene characteristics at time t can be expressed as:
Figure PCTCN2022119688-appb-000007
Figure PCTCN2022119688-appb-000007
其中,x t表示待预测车辆及及待预测车辆各相邻车辆t时刻的运动轨迹数据。 Among them, x t represents the motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted at time t.
在一种可能的实施方式中,所述信息提取神经网络包括依次连接的第一卷积层、第二卷积层、最大池化层和全连接层。In a possible implementation, the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence.
其中,第一卷积层用于融合待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆及待预测车辆各相邻车辆的第一融合特征;第二卷积层用于融合待预测车辆及待预测车辆各相邻车辆中任意相邻车辆的第一融合特征,得到第二融合特征;最大池化层用于最大池化处理第二融合特征;全连接层用于全连接处理最大池化处理后的第二融合特征,得到待预测车辆的交通感知信息。Among them, the first convolution layer is used to fuse the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction, to obtain the vehicle to be predicted and the vehicle to be predicted. The first fusion feature of adjacent vehicles; the second convolutional layer is used to fuse the first fusion feature of the vehicle to be predicted and any adjacent vehicle among the adjacent vehicles of the vehicle to be predicted to obtain the second fusion feature; the maximum pooling layer is used The second fusion feature is processed by maximum pooling; the fully connected layer is used to fully connect the second fused feature after maximum pooling to obtain the traffic perception information of the vehicle to be predicted.
具体的,参见图4,针对6*3*3的多维动态场景量,使用6*1*1的第一卷积层对每辆车的6维特征进行特征融合,可以捕捉到每辆车驾驶员的意图。然后,通过2*2的第二卷积层将每辆车与周围各车辆进行交互,提取车辆间的交互作用。最后通过最大池化层Maxpool和全连接层FC获得反映驾驶员驾驶意图和车辆间交互的交通力约束信息p。将上述过程定义为映射函数为traf的卷积操作,通过traf函数从t时刻的多维动态场景特征向量F t中提取交通感知信息p tSpecifically, see Figure 4. For the multi-dimensional dynamic scene volume of 6*3*3, the first convolutional layer of 6*1*1 is used to perform feature fusion on the 6-dimensional features of each vehicle, which can capture the driving behavior of each vehicle. member’s intentions. Then, each vehicle interacts with surrounding vehicles through a second convolutional layer of 2*2 to extract the interaction between vehicles. Finally, the traffic force constraint information p that reflects the driver's driving intention and the interaction between vehicles is obtained through the maximum pooling layer Maxpool and the fully connected layer FC. The above process is defined as a convolution operation in which the mapping function is traf, and the traffic perception information p t is extracted from the multi-dimensional dynamic scene feature vector F t at time t through the traf function:
p t=traf(F t)。 p t =traf(F t ).
在一种可能的实施方式中,所述预设的时间特征编码器为长短期记忆网络(LSTM)编码器。具体的,在通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息时,将交通感知信息p t与待预测车辆的历史运动轨迹数据
Figure PCTCN2022119688-appb-000008
拼接,作为LSTM编码器的输入,通过下式实现对历史状态的编码处理:
In a possible implementation, the preset temporal feature encoder is a long short-term memory network (LSTM) encoder. Specifically, when the traffic sensing information and historical motion state data of the vehicle to be predicted are encoded through the preset temporal feature encoder to obtain the hidden state information of the vehicle to be predicted, the traffic sensing information p t and the historical motion of the vehicle to be predicted are trajectory data
Figure PCTCN2022119688-appb-000008
Splicing, as the input of the LSTM encoder, encodes the historical state through the following formula:
Figure PCTCN2022119688-appb-000009
Figure PCTCN2022119688-appb-000009
f t=σ(W fzzt+W fhh t-1+b f) f t =σ(W fz zt+W fh h t-1 +b f )
i t=σ(W izz t+W ihh t-1+b i) i t =σ(W iz z t +W ih h t-1 +b i )
o t=σ(W ozz t+W ohh t-1+b o) o t =σ(W oz z t +W oh h t-1 +b o )
Figure PCTCN2022119688-appb-000010
Figure PCTCN2022119688-appb-000010
Figure PCTCN2022119688-appb-000011
Figure PCTCN2022119688-appb-000011
其中,LSTM编码器中的遗忘门f t决定丢弃哪些信息,输入门i t控制更新和存储哪些新信息,输出门o t则控制候选层的输出,值
Figure PCTCN2022119688-appb-000012
是候选单元,LSTM编码器的细胞状态c t是前一时刻细胞状态c t-1和当前候选状态
Figure PCTCN2022119688-appb-000013
的组合,最终LSTM编码器的输出门o t将决定哪些细胞状态被输出。
Among them, the forgetting gate f t in the LSTM encoder determines what information is discarded, the input gate i t controls what new information is updated and stored, and the output gate o t controls the output of the candidate layer, the value
Figure PCTCN2022119688-appb-000012
is the candidate unit, and the cell state c t of the LSTM encoder is the cell state c t-1 at the previous moment and the current candidate state
Figure PCTCN2022119688-appb-000013
The combination of , the final output gate o of the LSTM encoder will determine which cell states are output.
然后通过下式得到待预测车辆的隐状态信息:Then the hidden state information of the vehicle to be predicted is obtained through the following formula:
h t=o t⊙tanh(c t) h t =o t ⊙tanh(c t )
其中,σ为sigmoid函数,⊙为矩阵对应元素相乘,x t和h t分别为时刻t的输入向量和隐藏层状态。f,i和o分别为遗忘门、输入门和输出门,W和b为模型参数,W fz为遗忘门输入权重矩阵,W fh为遗忘门隐层权重矩阵,W iz为输入门输入权重矩阵,W ih为输入门隐层权重矩阵,W oz为输出门输入权重矩阵,W oh为输出门隐层权重矩阵,W cz为细胞状态输入权重矩阵,W ch为细胞状态隐层权重矩阵,b f为遗忘门偏置,b i为输入门偏置,b o为输出门偏置,b c为细胞状态偏置。 Among them, σ is the sigmoid function, ⊙ is the multiplication of the corresponding elements of the matrix, x t and h t are the input vector and hidden layer state at time t respectively. f, i and o are the forgetting gate, input gate and output gate respectively, W and b are model parameters, W fz is the forgetting gate input weight matrix, W fh is the forgetting gate hidden layer weight matrix, W iz is the input gate input weight matrix , W ih is the input gate hidden layer weight matrix, W oz is the output gate input weight matrix, W oh is the output gate hidden layer weight matrix, W cz is the cell state input weight matrix, W ch is the cell state hidden layer weight matrix, b f is the forget gate bias, b i is the input gate bias, b o is the output gate bias, and b c is the cell state bias.
在一种可能的实施方式中,所述根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵包括:通过下式得到待预测车辆的混合注意力矩阵α:In a possible implementation, obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes: obtaining the hybrid attention matrix α of the vehicle to be predicted by the following formula:
α t=softmax(g t(H,h t+1)) α t =softmax(g t (H,h t+1 ))
α f=softmax(g f(H,h t+1)) α f =softmax(g f (H, h t+1 ))
α=α tα f α=α t α f
其中,softmax为归一化指数函数,α t为时间权重向量,α f为特征权重向量,g t(H,h t+1)=Hh T,g f(H,h t+1)=h t+1(W fH),
Figure PCTCN2022119688-appb-000014
g f为特征权重余弦相关度函数,g t为时间权重余弦相关度函数,W f为历史T h帧待预测车辆的特征矩阵,H为历史T h帧 待预测车辆的隐状态信息,h t为t时刻待预测车辆的隐状态数据,h t+1为t+1时刻待预测车辆的隐状态数据。
Among them, softmax is the normalized exponential function, α t is the time weight vector, α f is the feature weight vector, g t (H, h t+1 ) = Hh T , g f (H, h t+1 ) = h t+1 (W f H),
Figure PCTCN2022119688-appb-000014
g f is the feature weight cosine correlation function, g t is the time weight cosine correlation function, W f is the feature matrix of the vehicle to be predicted in the historical T h frame, H is the hidden state information of the vehicle to be predicted in the historical T h frame, h t is the hidden state data of the vehicle to be predicted at time t, h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
具体的,参见图5,本发明车辆轨迹预测方法,对时间注意力和特征注意力进行融合,该混合注意力机制可综合考虑对输出准确率影响大的时刻与特征,为每一时刻的每一特征独立分配注意力权重。H为历史 Th帧待预测车辆的隐状态信息,即LSTM编码器的隐状态,若LSTM编码器的隐状态设为n维,则
Figure PCTCN2022119688-appb-000015
假设t+1时刻的隐状态为h t+1∈R 1×n,则由时间权重余弦相关度函数g t与特征权重余弦相关度函数g f来计算H与h t+1在时间与特征维度上的相关性。
Specifically, see Figure 5. The vehicle trajectory prediction method of the present invention fuses temporal attention and feature attention. The hybrid attention mechanism can comprehensively consider the moments and features that have a great impact on the output accuracy, and provide a prediction for each moment at each moment. A feature independently assigns attention weights. H is the hidden state information of the vehicle to be predicted in the historical Th frame, that is, the hidden state of the LSTM encoder. If the hidden state of the LSTM encoder is set to n dimensions, then
Figure PCTCN2022119688-appb-000015
Assuming that the hidden state at time t+1 is h t+1 ∈R 1×n , then the time-weighted cosine correlation function g t and the feature weight cosine correlation function g f are used to calculate the relationship between H and h t+1 at time and feature Dimensional correlation.
然后通过Softmax函数将余弦相关度转换为时间权重向量
Figure PCTCN2022119688-appb-000016
与特征权重向量α f∈R 1×n,并最终通过向量乘法得到混合注意力矩阵
Figure PCTCN2022119688-appb-000017
Then convert the cosine correlation into a time weight vector through the Softmax function
Figure PCTCN2022119688-appb-000016
with the feature weight vector α f ∈R 1×n , and finally obtain the hybrid attention matrix through vector multiplication
Figure PCTCN2022119688-appb-000017
在一种可能的实施方式中,所述通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值包括:通过下式得到待预测车辆的轨迹预测值y t+1In a possible implementation, the hidden state information of the vehicle to be predicted is assigned a weight through the hybrid attention matrix of the vehicle to be predicted, and then the trajectory prediction of the vehicle to be predicted is obtained through maximum pooling processing and full connection processing in sequence. The values include: The trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
O=α⊙HO=α⊙H
Figure PCTCN2022119688-appb-000018
Figure PCTCN2022119688-appb-000018
Figure PCTCN2022119688-appb-000019
Figure PCTCN2022119688-appb-000019
h′ t+1=contact(h t+1,o t,o f) h′ t+1 =contact(h t+1 ,o t ,o f )
y t+1=h′ t+1W 2W 1 y t+1 =h′ t+1 W 2 W 1
其中,⊙为矩阵对应元素相乘,o t为对提高预测精度最有利的时刻,
Figure PCTCN2022119688-appb-000020
为在时间维度进行最大池化,O i,j为通过分配权重后的待预测车辆的隐状态信息,o f为对提高预测精度最有利的特征,
Figure PCTCN2022119688-appb-000021
为在特征维度进行最大池化处理,h′ t+1为将o t、o f和h t+1进行全连接处理得到的t+1时刻待预测车辆的隐状态信息,contact为全连接处理,W 1和W 2分别为两个全连接层的预设权重。
Among them, ⊙ is the multiplication of the corresponding elements of the matrix, o t is the most beneficial moment to improve the prediction accuracy,
Figure PCTCN2022119688-appb-000020
In order to perform maximum pooling in the time dimension, O i,j is the hidden state information of the vehicle to be predicted after assigning weights, of is the most beneficial feature to improve prediction accuracy,
Figure PCTCN2022119688-appb-000021
In order to perform maximum pooling processing in the feature dimension, h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing. , W 1 and W 2 are the preset weights of the two fully connected layers respectively.
具体的,参见图6,首先利用混合注意力矩阵α为H分配权重;然后进行时间维度与特征维度的最大池化,得到
Figure PCTCN2022119688-appb-000022
与o f∈R 1×n;最后将h t+1、o t以及o f连接,通过全连接层得到t+1 时刻的轨迹预测值y t+1
Specifically, see Figure 6. First, use the mixed attention matrix α to assign weights to H; then perform maximum pooling in the time dimension and feature dimension, and get
Figure PCTCN2022119688-appb-000022
and of f ∈R 1×n ; finally, h t+1 , o t and of are connected, and the trajectory prediction value y t+1 at time t+1 is obtained through the fully connected layer.
参见图7,本发明车辆轨迹预测方法的实现原理,集成了交通力感知的LSTM编码器和基于混合注意力机制的LSTM解码器,x pre为待预测车辆的历史运动轨迹数据,z t和h t分别表示LSTM在时刻t的向量拼接结果和隐藏状态,最后,LSTM解码器给出了t+1时刻的预测结果y t+1Referring to Figure 7, the implementation principle of the vehicle trajectory prediction method of the present invention integrates the traffic force-aware LSTM encoder and the LSTM decoder based on the hybrid attention mechanism. x pre is the historical trajectory data of the vehicle to be predicted, z t and h t respectively represents the vector splicing result and hidden state of LSTM at time t. Finally, the LSTM decoder gives the prediction result y t+1 at time t+1 .
可选的,本发明车辆轨迹预测方法,所述的预设的多维动态场景特征提取函数、预设的信息提取神经网络、预设的时间特征编码器以及进行最大池化处理和全连接处理的网络层,均经过预训练确定其具体参数。其中,在预训练过程中,利用车辆过去50帧的运动轨迹数据(车辆x和y方向上的位置数据、速度数据和加速度数据)预测未来50帧的轨迹,因此共需要100帧的完整数据,通过数据清洗将出现时间不足100帧的车辆数据删除。Optionally, the vehicle trajectory prediction method of the present invention includes the preset multi-dimensional dynamic scene feature extraction function, the preset information extraction neural network, the preset temporal feature encoder, and the maximum pooling and full connection processing. The network layers are pre-trained to determine their specific parameters. Among them, during the pre-training process, the trajectory data of the vehicle in the past 50 frames (the vehicle's position data, speed data and acceleration data in the x and y directions) are used to predict the trajectory of the next 50 frames, so a total of 100 frames of complete data are needed. Through data cleaning, vehicle data that appears for less than 100 frames will be deleted.
为验证本发明车辆轨迹预测方法的有效性,采用德国高速公开数据集highD进行测试,选取110660条轨迹用于模型训练,50787条轨迹用于模型测试。In order to verify the effectiveness of the vehicle trajectory prediction method of the present invention, the German high-speed public data set highD was used for testing, and 110,660 trajectories were selected for model training and 50,787 trajectories were used for model testing.
实验前数据的预处理过程如图8所示,图9、图10即为数据预处理中归一化前和归一化后的数据分布。图11为模型训练过程中,在不同的训练阶段所采用的不同的初始学习率,图12和图13为本发明车辆轨迹预测方法与现有Transformer模型连续50帧的预测结果,图14至图19则是本发明车辆轨迹预测方法与现有Transformer模型在各项评价指标上的对比。具体说明如下:The preprocessing process of the data before the experiment is shown in Figure 8. Figures 9 and 10 show the data distribution before and after normalization in the data preprocessing. Figure 11 shows the different initial learning rates used in different training stages during the model training process. Figures 12 and 13 show the prediction results of 50 consecutive frames between the vehicle trajectory prediction method of the present invention and the existing Transformer model. Figures 14 to Figures 19 is the comparison of various evaluation indicators between the vehicle trajectory prediction method of the present invention and the existing Transformer model. The specific instructions are as follows:
参见图11,为模型在不同训阶段所采用的初始学习率,通过这种方式可以使模型性能接近最优时减小波动,以更快的速度到达最优点。See Figure 11, which shows the initial learning rate used by the model in different training stages. In this way, the fluctuation of the model performance can be reduced when it is close to the optimal, and the optimal point can be reached faster.
参见图12和13,为本发明车辆轨迹预测方法与现有Transformer模型的轨迹预测对比图。从图12中可以看出,当车辆发生横向机动时本方法的预测结果更加准确,而Transformer模型倾向于将横向上的左右机动相互抵消;从图13中可以看出,随着预测长度的增加,Transformer模型的预测点与真实轨迹点相差越来越远,而本发明车辆轨迹预测方法仍然可以做出较准确的预测。其中,hist表示历史轨迹坐标,gt表示未来真实轨迹坐标,ours表示本发明车辆轨迹预测方法,tf表示Transformer模型,横坐标为车辆x方向坐标,竖坐标为车辆y方向坐标。Referring to Figures 12 and 13, a comparison chart of trajectory prediction between the vehicle trajectory prediction method of the present invention and the existing Transformer model is shown. As can be seen from Figure 12, the prediction results of this method are more accurate when the vehicle maneuvers laterally, while the Transformer model tends to offset the left and right maneuvers in the lateral direction; as can be seen from Figure 13, as the prediction length increases, , the predicted points of the Transformer model are further and further away from the real trajectory points, but the vehicle trajectory prediction method of the present invention can still make more accurate predictions. Among them, hist represents the historical trajectory coordinates, gt represents the future real trajectory coordinates, ours represents the vehicle trajectory prediction method of the present invention, tf represents the Transformer model, the horizontal coordinate is the vehicle x-direction coordinate, and the vertical coordinate is the vehicle y-direction coordinate.
参见图14至19,示出了评价指标RMSE、MAEx及MAEy随帧长的变化,其中,RMSE、MAEx及MAEy分别表示均方根误差、x方向的平均绝对误差及y方向的平均绝对误差,横坐 标frame表示时间帧。其中,图14、图15和图16分别为一个样本轨迹的RMSE、MAEx及MAEy随帧长的变化。图17、图18和图19分别为另一个样本轨迹的RMSE、MAEx及MAEy随帧长的变化。可以看出,随着预测帧长的增加,Transformer模型的RMSE几乎呈指数增长,MAEx与MAEy也在呈线性增长,而本发明车辆轨迹预测方法的RMSE能够保持在一个较低水平范围内波动,这说明了本发明车辆轨迹预测方法的长时预测能力较强;同时,本发明车辆轨迹预测方法的MAEx小于Transformer,也说明本发明车辆轨迹预测方法车辆横行机动时预测结果更加准确。Referring to Figures 14 to 19, the changes of the evaluation indicators RMSE, MAEx and MAEy with the frame length are shown, where RMSE, MAEx and MAEy respectively represent the root mean square error, the mean absolute error in the x direction and the mean absolute error in the y direction, The abscissa frame represents the time frame. Among them, Figure 14, Figure 15 and Figure 16 respectively show the changes of RMSE, MAEx and MAEy of a sample trajectory with the frame length. Figure 17, Figure 18 and Figure 19 respectively show the changes of RMSE, MAEx and MAEy with the frame length of another sample trajectory. It can be seen that as the prediction frame length increases, the RMSE of the Transformer model increases almost exponentially, and MAEx and MAEy also increase linearly. However, the RMSE of the vehicle trajectory prediction method of the present invention can maintain a low level fluctuation. This shows that the long-term prediction ability of the vehicle trajectory prediction method of the present invention is strong; at the same time, the MAEx of the vehicle trajectory prediction method of the present invention is smaller than Transformer, which also shows that the prediction results of the vehicle trajectory prediction method of the present invention are more accurate when the vehicle is maneuvering sideways.
下述为本发明的装置实施例,可以用于执行本发明方法实施例。对于装置实施例中未披露的细节,请参照本发明方法实施例。The following are device embodiments of the present invention, which can be used to perform method embodiments of the present invention. For details not disclosed in the device embodiment, please refer to the method embodiment of the present invention.
本发明再一实施例中,提供一种车辆轨迹预测系统,能够用于实现上述的车辆轨迹预测方法,具体的,该车辆轨迹预测系统包括数据获取模块、数据预处理模块、信息提取模块、编码模块以及预测模块。In yet another embodiment of the present invention, a vehicle trajectory prediction system is provided, which can be used to implement the above vehicle trajectory prediction method. Specifically, the vehicle trajectory prediction system includes a data acquisition module, a data preprocessing module, an information extraction module, and a coding module. modules as well as prediction modules.
其中,数据获取模块用于获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据;数据预处理模块用于通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量;信息提取模块用于通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息;编码模块用于通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息;预测模块用于根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。Among them, the data acquisition module is used to obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted; the data preprocessing module is used to extract the vehicle to be predicted and the vehicles to be predicted through a preset multi-dimensional dynamic scene feature extraction function The historical motion trajectory data of each adjacent vehicle is used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted; the information extraction module is used to extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted. Traffic perception information; the encoding module is used to encode the traffic perception information and historical motion state data of the vehicle to be predicted through a preset time feature encoder to obtain the hidden state information of the vehicle to be predicted; the prediction module is used to obtain the hidden state information of the vehicle to be predicted; State information, obtain the hybrid attention matrix of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then sequentially perform maximum pooling processing and full connection processing to obtain the vehicle to be predicted trajectory prediction value.
在一种可能的实施方式中,所述待预测车辆各相邻车辆包括待预测车辆的前、后、左、右、左前、左后、右前以及右后八个方向的相邻车辆。In a possible implementation, each of the adjacent vehicles of the vehicle to be predicted includes adjacent vehicles in eight directions: front, rear, left, right, front left, rear left, front right and rear right of the vehicle to be predicted.
在一种可能的实施方式中,所述通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量包括:通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据中,待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆的多维动态场景特征向量。In a possible implementation, the historical motion trajectory data of the vehicle to be predicted and each adjacent vehicle of the vehicle to be predicted is extracted through a preset multi-dimensional dynamic scene feature extraction function, and a multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained. Including: extracting the historical motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted through the preset multi-dimensional dynamic scene feature extraction function, and the driving direction and driving direction of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted. The position data, speed data and acceleration data in the vertical direction are used to obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted.
在一种可能的实施方式中,所述信息提取神经网络包括依次连接的第一卷积层、第二卷积 层、最大池化层和全连接层;其中,第一卷积层用于融合待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆及待预测车辆各相邻车辆的第一融合特征;第二卷积层用于融合待预测车辆及待预测车辆各相邻车辆中任意相邻车辆的第一融合特征,得到第二融合特征;最大池化层用于最大池化处理第二融合特征;全连接层用于全连接处理最大池化处理后的第二融合特征,得到待预测车辆的交通感知信息。In a possible implementation, the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence; wherein the first convolution layer is used for fusion The position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the traveling direction and the vertical direction of the traveling direction are used to obtain the first fusion characteristics of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted; The two convolutional layers are used to fuse the first fusion features of the vehicle to be predicted and any adjacent vehicles among the adjacent vehicles of the vehicle to be predicted to obtain the second fusion feature; the maximum pooling layer is used to process the second fusion feature by maximum pooling; The fully connected layer is used to fully connect the second fusion feature after the maximum pooling process to obtain the traffic perception information of the vehicle to be predicted.
在一种可能的实施方式中,预设的时间特征编码器为长短期记忆网络编码器。In a possible implementation, the preset temporal feature encoder is a long short-term memory network encoder.
在一种可能的实施方式中,所述根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵包括:通过下式得到待预测车辆的混合注意力矩阵α:In a possible implementation, obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes: obtaining the hybrid attention matrix α of the vehicle to be predicted by the following formula:
α t=softmax(g t(H,h t+1)) α t =softmax(g t (H,h t+1 ))
α f=softmax(g f(H,h t+1)) α f =softmax(g f (H, h t+1 ))
α=α tα f α=α t α f
其中,softmax为归一化指数函数,α t为时间权重向量,α f为特征权重向量,g t(H,h t+1)=Hh T,g f(H,h t+1)=h t+1(W fH),
Figure PCTCN2022119688-appb-000023
g f为特征权重余弦相关度函数,g t为时间权重余弦相关度函数,W f为历史T h帧待预测车辆的特征矩阵,H为历史T h帧待预测车辆的隐状态信息,h t为t时刻待预测车辆的隐状态数据,h t+1为t+1时刻待预测车辆的隐状态数据。
Among them, softmax is the normalized exponential function, α t is the time weight vector, α f is the feature weight vector, g t (H, h t+1 ) = Hh T , g f (H, h t+1 ) = h t+1 (W f H),
Figure PCTCN2022119688-appb-000023
g f is the feature weight cosine correlation function, g t is the time weight cosine correlation function, W f is the feature matrix of the vehicle to be predicted in the historical T h frame, H is the hidden state information of the vehicle to be predicted in the historical T h frame, h t is the hidden state data of the vehicle to be predicted at time t, h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
在一种可能的实施方式中,所述通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值包括:通过下式得到待预测车辆的轨迹预测值y t+1In a possible implementation, the hidden state information of the vehicle to be predicted is assigned a weight through the hybrid attention matrix of the vehicle to be predicted, and then the trajectory prediction of the vehicle to be predicted is obtained through maximum pooling processing and full connection processing in sequence. The values include: The trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
O=α⊙HO=α⊙H
Figure PCTCN2022119688-appb-000024
Figure PCTCN2022119688-appb-000024
Figure PCTCN2022119688-appb-000025
Figure PCTCN2022119688-appb-000025
h′ t+1=contact(h t+1,o t,o f) h′ t+1 =contact(h t+1 ,o t ,o f )
y t+1=h′ t+1W 2W 1 y t+1 =h′ t+1 W 2 W 1
其中,⊙为矩阵对应元素相乘,o t为对提高预测精度最有利的时刻,
Figure PCTCN2022119688-appb-000026
为在时间维度进行最大池化,O i,j为通过分配权重后的待预测车辆的隐状态信息,o f为对提高预测精度最有 利的特征,
Figure PCTCN2022119688-appb-000027
为在特征维度进行最大池化处理,h′ t+1为将o t、o f和h t+1进行全连接处理得到的t+1时刻待预测车辆的隐状态信息,contact为全连接处理,W 1和W 2为预设权重。
Among them, ⊙ is the multiplication of the corresponding elements of the matrix, o t is the most beneficial moment to improve the prediction accuracy,
Figure PCTCN2022119688-appb-000026
In order to perform maximum pooling in the time dimension, O i,j is the hidden state information of the vehicle to be predicted after assigning weights, of is the most beneficial feature to improve prediction accuracy,
Figure PCTCN2022119688-appb-000027
In order to perform maximum pooling processing in the feature dimension, h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing. , W 1 and W 2 are preset weights.
前述的车辆轨迹预测方法的实施例涉及的各步骤的所有相关内容均可以援引到本发明实施例中的车辆轨迹预测系统所对应的功能模块的功能描述,在此不再赘述。本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本发明各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。All relevant contents of each step involved in the foregoing embodiments of the vehicle trajectory prediction method can be referred to the functional description of the corresponding functional modules of the vehicle trajectory prediction system in the embodiments of the present invention, and will not be described again here. The division of modules in the embodiments of the present invention is schematic and is only a logical function division. In actual implementation, there may be other division methods. In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit. In the device, it can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
本发明再一个实施例中,提供了一种计算机设备,该计算机设备包括处理器以及存储器,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述计算机存储介质存储的程序指令。处理器可能是中央处理单元(Central ProcessingUnit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific IntegratedCircuit,ASIC)、现成可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其是终端的计算核心以及控制核心,其适于实现一条或一条以上指令,具体适于加载并执行计算机存储介质内一条或一条以上指令从而实现相应方法流程或相应功能;本发明实施例所述的处理器可以用于车辆轨迹预测方法的操作。In yet another embodiment of the present invention, a computer device is provided. The computer device includes a processor and a memory. The memory is used to store a computer program. The computer program includes program instructions. The processor is used to execute the computer program. A storage medium stores program instructions. The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or off-the-shelf programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, and are suitable for implementing one or more instructions, specifically suitable for Load and execute one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used to operate the vehicle trajectory prediction method.
本发明再一个实施例中,本发明还提供了一种存储介质,具体为计算机可读存储介质(Memory),所述计算机可读存储介质是计算机设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机可读存储介质既可以包括计算机设备中的内置存储介质,当然也可以包括计算机设备所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机可读存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。可由处理器加载并执行计算机可读存储介质中存放的一条或一条以上指令,以实现上述实施例中有关车辆轨迹预测方法的相应步骤。In yet another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory). The computer-readable storage medium is a memory device in a computer device and is used to store programs and data. . It can be understood that the computer-readable storage medium here may include a built-in storage medium in the computer device, and of course may also include an extended storage medium supported by the computer device. The computer-readable storage medium provides storage space, and the storage space stores the operating system of the terminal. Furthermore, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space. These instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor to implement the corresponding steps of the vehicle trajectory prediction method in the above embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形 式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for implementing the functions specified in one process or processes of the flowchart and/or one block or blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that the present invention can still be modified. Modifications or equivalent substitutions may be made to the specific embodiments, and any modifications or equivalent substitutions that do not depart from the spirit and scope of the invention shall be covered by the scope of the claims of the invention.

Claims (10)

  1. 一种车辆轨迹预测方法,其特征在于,包括:A vehicle trajectory prediction method, characterized by including:
    获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据;Obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
    通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量;Through the preset multi-dimensional dynamic scene feature extraction function, the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted are extracted, and the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained;
    通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息;Extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through the preset information extraction neural network to obtain the traffic perception information of the vehicle to be predicted;
    通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息;Through the preset time feature encoder, the traffic perception information and historical motion state data of the vehicle to be predicted are encoded, and the hidden state information of the vehicle to be predicted is obtained;
    根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。According to the hidden state information of the vehicle to be predicted, the hybrid attention matrix of the vehicle to be predicted is obtained, and the weight is assigned to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then through maximum pooling and full connection in sequence Process to obtain the trajectory prediction value of the vehicle to be predicted.
  2. 根据权利要求1所述的车辆轨迹预测方法,其特征在于,所述待预测车辆各相邻车辆包括待预测车辆的前、后、左、右、左前、左后、右前以及右后八个方向的相邻车辆。The vehicle trajectory prediction method according to claim 1, characterized in that each adjacent vehicle of the vehicle to be predicted includes eight directions of front, rear, left, right, left front, left rear, right front and right rear of the vehicle to be predicted. of adjacent vehicles.
  3. 根据权利要求1所述的车辆轨迹预测方法,其特征在于,所述通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量包括:The vehicle trajectory prediction method according to claim 1, characterized in that the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted are extracted through a preset multi-dimensional dynamic scene feature extraction function to obtain the vehicle trajectory to be predicted. The multi-dimensional dynamic scene feature vector of the vehicle includes:
    通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据中,待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆的多维动态场景特征向量。Through the preset multi-dimensional dynamic scene feature extraction function, extract the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted, the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction. Based on the position data, speed data and acceleration data, the multi-dimensional dynamic scene feature vector of the vehicle to be predicted is obtained.
  4. 根据权利要求3所述的车辆轨迹预测方法,其特征在于,所述信息提取神经网络包括依次连接的第一卷积层、第二卷积层、最大池化层和全连接层;The vehicle trajectory prediction method according to claim 3, wherein the information extraction neural network includes a first convolution layer, a second convolution layer, a maximum pooling layer and a fully connected layer connected in sequence;
    其中,第一卷积层用于融合待预测车辆及待预测车辆各相邻车辆在行驶方向及行驶方向的垂直方向上的位置数据、速度数据和加速度数据,得到待预测车辆及待预测车辆各相邻车辆的第一融合特征;Among them, the first convolution layer is used to fuse the position data, speed data and acceleration data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted in the driving direction and the vertical direction of the driving direction, to obtain the vehicle to be predicted and the vehicle to be predicted. The first fusion feature of adjacent vehicles;
    第二卷积层用于融合待预测车辆及待预测车辆各相邻车辆中任意相邻车辆的第一融合特征,得到第二融合特征;The second convolutional layer is used to fuse the first fusion features of the vehicle to be predicted and any adjacent vehicles among the adjacent vehicles of the vehicle to be predicted, to obtain the second fusion feature;
    最大池化层用于最大池化处理第二融合特征;The maximum pooling layer is used for maximum pooling to process the second fusion feature;
    全连接层用于全连接处理最大池化处理后的第二融合特征,得到待预测车辆的交通感知信息。The fully connected layer is used to fully connect the second fusion feature after the maximum pooling process to obtain the traffic perception information of the vehicle to be predicted.
  5. 根据权利要求1所述的车辆轨迹预测方法,其特征在于,所述预设的时间特征编码器为长短期记忆网络编码器。The vehicle trajectory prediction method according to claim 1, wherein the preset temporal feature encoder is a long short-term memory network encoder.
  6. 根据权利要求1所述的车辆轨迹预测方法,其特征在于,所述根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵包括:The vehicle trajectory prediction method according to claim 1, wherein obtaining the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted includes:
    通过下式得到待预测车辆的混合注意力矩阵α:The hybrid attention matrix α of the vehicle to be predicted is obtained by the following formula:
    α t=softmax(g t(H,h t+1)) α t =softmax(g t (H,h t+1 ))
    α f=softmax(g f(H,h t+1)) α f =softmax(g f (H, h t+1 ))
    α=α tα f α=α t α f
    其中,softmax为归一化指数函数,α t为时间权重向量,α f为特征权重向量,g t(H,h t+1)=Hh T,g f(H,h t+1)=h t+1(W fH),
    Figure PCTCN2022119688-appb-100001
    g f为特征权重余弦相关度函数,g t为时间权重余弦相关度函数,W f为历史T h帧待预测车辆的特征矩阵,H为历史T h帧待预测车辆的隐状态信息,h t为t时刻待预测车辆的隐状态数据,h t+1为t+1时刻待预测车辆的隐状态数据。
    Among them, softmax is the normalized exponential function, α t is the time weight vector, α f is the feature weight vector, g t (H, h t+1 ) = Hh T , g f (H, h t+1 ) = h t+1 (W f H),
    Figure PCTCN2022119688-appb-100001
    g f is the feature weight cosine correlation function, g t is the time weight cosine correlation function, W f is the feature matrix of the vehicle to be predicted in the historical T h frame, H is the hidden state information of the vehicle to be predicted in the historical T h frame, h t is the hidden state data of the vehicle to be predicted at time t, h t+1 is the hidden state data of the vehicle to be predicted at time t+1.
  7. 根据权利要求6所述的车辆轨迹预测方法,其特征在于,所述通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值包括:The vehicle trajectory prediction method according to claim 6, characterized in that the hidden state information of the vehicle to be predicted is assigned a weight through the hybrid attention matrix of the vehicle to be predicted, and then sequentially through maximum pooling processing and full connection processing, Obtaining the trajectory prediction value of the vehicle to be predicted includes:
    通过下式得到待预测车辆的轨迹预测值y t+1The trajectory prediction value y t+1 of the vehicle to be predicted is obtained through the following formula:
    O=α⊙HO=α⊙H
    Figure PCTCN2022119688-appb-100002
    Figure PCTCN2022119688-appb-100002
    Figure PCTCN2022119688-appb-100003
    Figure PCTCN2022119688-appb-100003
    h′ t+1=contact(h t+1,o t,o f) h′ t+1 =contact(h t+1 ,o t ,o f )
    y t+1=h′ t+1W 2W 1 y t+1 =h′ t+1 W 2 W 1
    其中,⊙为矩阵对应元素相乘,o t为对提高预测精度最有利的时刻,
    Figure PCTCN2022119688-appb-100004
    为在时间维度进行最大池化,O i,j为通过分配权重后的待预测车辆的隐状态信息,o f为对提高预测精度最有利的特征,
    Figure PCTCN2022119688-appb-100005
    为在特征维度进行最大池化处理,h′ t+1为将o t、o f和h t+1进行全连接处理得到的t+1时刻待预测车辆的隐状态信息,contact为全连接处理,W 1和W 2为预设权重。
    Among them, ⊙ is the multiplication of the corresponding elements of the matrix, o t is the most beneficial moment to improve the prediction accuracy,
    Figure PCTCN2022119688-appb-100004
    In order to perform maximum pooling in the time dimension, O i,j is the hidden state information of the vehicle to be predicted after assigning weights, of is the most beneficial feature to improve prediction accuracy,
    Figure PCTCN2022119688-appb-100005
    In order to perform maximum pooling processing in the feature dimension, h′ t+1 is the hidden state information of the vehicle to be predicted at time t+1 obtained by fully connecting o t , of f and h t+1 , and contact is fully connected processing. , W 1 and W 2 are preset weights.
  8. 一种车辆轨迹预测系统,其特征在于,包括:A vehicle trajectory prediction system, which is characterized by including:
    数据获取模块,用于获取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据;The data acquisition module is used to obtain the historical movement trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted;
    数据预处理模块,用于通过预设的多维动态场景特征提取函数,提取待预测车辆及待预测车辆各相邻车辆的历史运动轨迹数据,得到待预测车辆的多维动态场景特征向量;The data preprocessing module is used to extract the historical motion trajectory data of the vehicle to be predicted and the adjacent vehicles of the vehicle to be predicted through the preset multi-dimensional dynamic scene feature extraction function, and obtain the multi-dimensional dynamic scene feature vector of the vehicle to be predicted;
    信息提取模块,用于通过预设的信息提取神经网络提取待预测车辆的多维动态场景特征向量,得到待预测车辆的交通感知信息;The information extraction module is used to extract the multi-dimensional dynamic scene feature vector of the vehicle to be predicted through a preset information extraction neural network to obtain the traffic perception information of the vehicle to be predicted;
    编码模块,用于通过预设的时间特征编码器,编码待预测车辆的交通感知信息以及历史运动状态数据,得到待预测车辆的隐状态信息;The encoding module is used to encode the traffic perception information and historical motion state data of the vehicle to be predicted through a preset time feature encoder to obtain the hidden state information of the vehicle to be predicted;
    预测模块,用于根据待预测车辆的隐状态信息,得到待预测车辆的混合注意力矩阵,并通过待预测车辆的混合注意力矩阵为待预测车辆的隐状态信息分配权重,然后依次通过最大池化处理和全连接处理,得到待预测车辆的轨迹预测值。The prediction module is used to obtain the hybrid attention matrix of the vehicle to be predicted based on the hidden state information of the vehicle to be predicted, and assign weights to the hidden state information of the vehicle to be predicted through the hybrid attention matrix of the vehicle to be predicted, and then pass through the maximum pool in sequence ization processing and full connection processing to obtain the trajectory prediction value of the vehicle to be predicted.
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述车辆轨迹预测的步骤。A computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the computer program, it implements claims 1 to 1 7. The steps of vehicle trajectory prediction described in any one of 7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述车辆轨迹预测的步骤。A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that when the computer program is executed by a processor, the steps of vehicle trajectory prediction as described in any one of claims 1 to 7 are implemented. .
PCT/CN2022/119688 2022-05-19 2022-09-19 Vehicle trajectory prediction method and system, computer device and storage medium WO2023221348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210545736.1 2022-05-19
CN202210545736.1A CN114881339A (en) 2022-05-19 2022-05-19 Vehicle trajectory prediction method, system, computer device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023221348A1 true WO2023221348A1 (en) 2023-11-23

Family

ID=82676978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119688 WO2023221348A1 (en) 2022-05-19 2022-09-19 Vehicle trajectory prediction method and system, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN114881339A (en)
WO (1) WO2023221348A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117493424A (en) * 2024-01-03 2024-02-02 湖南工程学院 Vehicle track prediction method independent of map information
CN117787525A (en) * 2024-02-23 2024-03-29 煤炭科学技术研究院有限公司 Track prediction method and early warning method based on underground multiple target objects
CN117775078A (en) * 2024-02-28 2024-03-29 山西阳光三极科技股份有限公司 Method for judging running direction of freight train in mine based on deep learning
CN117775078B (en) * 2024-02-28 2024-05-07 山西阳光三极科技股份有限公司 Method for judging running direction of freight train in mine based on deep learning

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114881339A (en) * 2022-05-19 2022-08-09 长安大学 Vehicle trajectory prediction method, system, computer device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160101779A1 (en) * 2013-05-31 2016-04-14 Toyota Jidosha Kabushiki Kaisha Movement trajectory predicting device and movement trajectory predicting method
CN111046919A (en) * 2019-11-21 2020-04-21 南京航空航天大学 Peripheral dynamic vehicle track prediction system and method integrating behavior intents
US20200324794A1 (en) * 2020-06-25 2020-10-15 Intel Corporation Technology to apply driving norms for automated vehicle behavior prediction
CN114372570A (en) * 2021-12-14 2022-04-19 同济大学 Multi-mode vehicle trajectory prediction method
CN114881339A (en) * 2022-05-19 2022-08-09 长安大学 Vehicle trajectory prediction method, system, computer device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160101779A1 (en) * 2013-05-31 2016-04-14 Toyota Jidosha Kabushiki Kaisha Movement trajectory predicting device and movement trajectory predicting method
CN111046919A (en) * 2019-11-21 2020-04-21 南京航空航天大学 Peripheral dynamic vehicle track prediction system and method integrating behavior intents
US20200324794A1 (en) * 2020-06-25 2020-10-15 Intel Corporation Technology to apply driving norms for automated vehicle behavior prediction
CN114372570A (en) * 2021-12-14 2022-04-19 同济大学 Multi-mode vehicle trajectory prediction method
CN114881339A (en) * 2022-05-19 2022-08-09 长安大学 Vehicle trajectory prediction method, system, computer device, and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117493424A (en) * 2024-01-03 2024-02-02 湖南工程学院 Vehicle track prediction method independent of map information
CN117493424B (en) * 2024-01-03 2024-03-22 湖南工程学院 Vehicle track prediction method independent of map information
CN117787525A (en) * 2024-02-23 2024-03-29 煤炭科学技术研究院有限公司 Track prediction method and early warning method based on underground multiple target objects
CN117775078A (en) * 2024-02-28 2024-03-29 山西阳光三极科技股份有限公司 Method for judging running direction of freight train in mine based on deep learning
CN117775078B (en) * 2024-02-28 2024-05-07 山西阳光三极科技股份有限公司 Method for judging running direction of freight train in mine based on deep learning

Also Published As

Publication number Publication date
CN114881339A (en) 2022-08-09

Similar Documents

Publication Publication Date Title
WO2023221348A1 (en) Vehicle trajectory prediction method and system, computer device and storage medium
US11899411B2 (en) Hybrid reinforcement learning for autonomous driving
Dai et al. Modeling vehicle interactions via modified LSTM models for trajectory prediction
CN111915663B (en) Image depth prediction neural network
CN113272830B (en) Trajectory representation in behavior prediction system
CN112015847B (en) Obstacle trajectory prediction method and device, storage medium and electronic equipment
Jeon et al. Traffic scene prediction via deep learning: Introduction of multi-channel occupancy grid map as a scene representation
CN111738037A (en) Automatic driving method and system and vehicle
CN113362491A (en) Vehicle track prediction and driving behavior analysis method
CN113807460A (en) Method and device for determining intelligent body action, electronic equipment and medium
CN115984586A (en) Multi-target tracking method and device under aerial view angle
CN114997307A (en) Trajectory prediction method, apparatus, device and storage medium
Friji et al. A dqn-based autonomous car-following framework using rgb-d frames
Song et al. Msfanet: A light weight object detector based on context aggregation and attention mechanism for autonomous mining truck
Chen et al. Social relation and physical lane aggregator: Integrating social and physical features for multimodal motion prediction
Zuo et al. Trajectory prediction network of autonomous vehicles with fusion of historical interactive features
Yang et al. Vehicle trajectory prediction based on LSTM network
Masmoudi et al. Autonomous car-following approach based on real-time video frames processing
CN116324902A (en) Detecting objects and determining the behavior of objects
Aditya et al. Collision Detection: An Improved Deep Learning Approach Using SENet and ResNext
Wang et al. Bevgpt: Generative pre-trained large model for autonomous driving prediction, decision-making, and planning
CN115937801A (en) Vehicle track prediction method and device based on graph convolution
CN113119996B (en) Trajectory prediction method and apparatus, electronic device and storage medium
CN115062202A (en) Method, device, equipment and storage medium for predicting driving behavior intention and track
CN116868239A (en) Static occupancy tracking

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22942376

Country of ref document: EP

Kind code of ref document: A1