Automatic driving track prediction method and system based on novel suggestion-optimization framework
Through the new suggestion-optimization framework, clustering areas and scene complexity modules are used to optimize trajectory prediction, which solves the long-tail scene prediction problem caused by data imbalance and improves the accuracy and overall performance of autonomous driving trajectory prediction.
Patent Information
- Application Number
- CN202410731488.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing autonomous driving trajectory prediction models are inaccurate in long-tail scenarios (such as emergency stops, sharp turns, avoiding pedestrians, etc.), leading to safety hazards. Mainly due to data imbalance, it is difficult for the model to learn the characteristics of rare scenes. Existing methods such as Resampling, reweighting, and contrastive learning are difficult to effectively share features of different scenes in large data sets.
A method based on a new suggestion-optimization framework is adopted, including a suggested trajectory generation module based on clustering areas and a trajectory optimization module based on scene complexity. By dividing regions by clustering, introducing regional trajectory prototypes and difficult pseudo-labels, the optimization model is optimized for complex Trajectory feature learning, combined with GradNorm algorithm to adjust multi-task loss weights.
It improves the prediction accuracy of long-tail scenarios, is better than existing methods on the Argoverse1 and Argoverse2 data sets, and maintains the prediction indicators of the overall data set, significantly improving the model's performance in challenging scenarios.
Smart Images

Figure CN118658039A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to an automatic driving trajectory prediction method and device based on a novel suggestion-optimization framework. Background Art
[0002] The autonomous driving system mainly includes three modules: perception, prediction and planning. The trajectory prediction module plays a connecting role. It predicts the action trajectory information of other traffic participants by receiving the surrounding environment information identified by the perception module, thereby providing the planning module with accurate and timely trajectory information of other traffic participants so that the planning module can better formulate appropriate action strategies. Therefore, accurately predicting the trajectory of surrounding vehicles plays a vital role in autonomous driving safety. The goal of the trajectory prediction task is to predict the future two-dimensional coordinates of the multimodal trajectory given the historical information of the target vehicle (including trajectory coordinates, speed, yaw angle, etc.), high-definition map information within a certain observation radius (including lane coordinates, type, etc.), and interaction information with surrounding vehicles.
[0003] Although existing models can accurately predict future trajectories to a large extent, for some rare but possible dangerous scenarios, that is, long-tail scenarios, such as sudden stops, sudden turns, avoiding pedestrians, etc., due to data imbalance, existing models often fail to capture their characteristics. Although these neglected scenarios do not occur frequently, they may have a significant impact on safety and decision-making. In other words, for non-long-tail scenarios, there are often no major safety hazards, but for those long-tail scenarios, if they cannot be accurately predicted, they are likely to cause huge safety hazards.
[0004] Long-tail learning is a technique used to improve the performance of models when dealing with imbalanced data. To address the problem of difficulty in predicting long-tail data, existing mainstream methods mainly include resampling, reweighting, and contrastive learning methods. Resampling is a direct method that increases the number of samples of rare data in the training dataset, thereby balancing the distribution of head and tail samples. However, it increases training time and consumption of computing resources. The reweighting method adjusts the loss weight of the sample and pays more attention to rare data, thereby improving the generalization ability of the model. However, this places certain requirements on parameter adjustment and model selection. Contrastive learning has received significant attention in self-supervised feature learning. Previous work has enabled models to more effectively identify and share information between challenging trajectories by separating simple and long-tail trajectories in the latent space. However, when the dataset is large, different types of challenging scenes may involve different features and contexts, which may make it difficult to effectively share information between them. Summary of the invention
[0005] In order to solve the technical problem that the existing solution can improve the overall prediction level of the model, but because the number of difficult scene samples is smaller than that of simple scenes, the model still cannot fully learn its features, resulting in overlap or confusion between simple data and long-tail data in the feature space, and they cannot be well distinguished, the embodiment of the present invention provides an automatic driving trajectory prediction method and device based on a new suggestion-optimization framework. The technical solution is as follows:
[0006] On the one hand, a method for predicting an autonomous driving trajectory based on a novel suggestion-optimization framework is provided. The method is implemented by an autonomous driving trajectory prediction device based on the novel suggestion-optimization framework. The method includes:
[0007] S1. Construct a new suggestion-optimization framework;
[0008] S2. Obtain a learnable feature code, input the learnable feature code into a preset baseline model, and output decoded data through the baseline model;
[0009] S3, input the decoded data into the novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data;
[0010] S4: Output trajectory prediction and trajectory optimization data to complete autonomous driving trajectory prediction based on the new suggestion-optimization framework.
[0011] Optionally, in S1, a new suggestion-optimization framework is constructed, including:
[0012] Build a novel proposal-optimization framework with two core modules;
[0013] Among them, the two core modules include: a proposed trajectory generation module based on clustering areas and a trajectory optimization module based on scene complexity;
[0014] The proposed trajectory generation module based on clustering regions includes: a proposed trajectory output head and a region predictor; the trajectory optimization module based on scene complexity includes: a complexity predictor and an optimized trajectory output head.
[0015] Optionally, in S2, a learnable feature code is obtained, the learnable feature code is input into a preset baseline model, and decoding data is output through the baseline model, including:
[0016] The encoder of the baseline model is used to encode and fuse the historical trajectory information, scene map information and surrounding vehicle interaction features of the target vehicle, and all anchor-free proposed trajectory feature encodings are input into the decoder for query decoding.
[0017] Optionally, S3, inputting the decoded data into a novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data, including:
[0018] Input the decoded data into the novel suggestion-optimization framework;
[0019] Train an offline clustering model to divide the regions;
[0020] Collect the endpoints of all true trajectories from the dataset and cluster them into M clusters using K-means;
[0021] The clustered region-based proposed trajectory generation module outputs the feature encoding of the proposed trajectory after decoding and updating according to the region, generates multimodal proposed trajectories in each region, and predicts a most likely region through a region predictor;
[0022] The proposed trajectory in the prediction area is converted into a feature code as an anchor box and input into the trajectory optimization module based on scene complexity to predict the trajectory difficulty for branch optimization. Only the difficult trajectory is optimized to directly output the simple proposed trajectory. Before the optimization, the trajectory prototype of the prediction area is introduced as the regional prior.
[0023] Optionally, a trace output header is recommended, including:
[0024] The proposed trajectory output head is represented by M MLPs, each of which is responsible for outputting K multimodal trajectories in a region and the probability of each trajectory.
[0025] Optionally, before optimization, the trajectory prototype of the prediction area is introduced as a regional prior, including:
[0026] At the dataset level, the common features of all future trajectories in a region are extracted as regional trajectory prototype priors;
[0027] Generate a regional pseudo label for all trajectories in the dataset through the trained clustering model; the regional pseudo label provides sample truth value for the regional feature extractor;
[0028] The LSTM model is used to extract the features of all future trajectories in the region, and the hidden features of the last time step are selected as the features of each future trajectory;
[0029] Aggregate the features of all future trajectories in the current area by performing a maximum pooling operation on the time dimension;
[0030] The feature prototypes of all future trajectories extracted from the current area are concatenated with the corresponding optimized trajectory feature codes to enhance the effect of the anchor frame, and the concatenated prototypes are input into the optimization module for bias calculation.
[0031] Optionally, a trajectory optimization module based on scene complexity includes:
[0032] Define scene complexity prediction as a self-supervised task, test the entire dataset using a baseline, and define a difficult or easy pseudo label for each trajectory;
[0033] The learnable feature encoding after the maximum pooling operation in the modal dimension is used as input, and the multimodal proposed trajectory features of the region are extracted through LSTM, and initialized with the hidden features of the last time step;
[0034] The difficulty prediction module is used to predict the difficulty of the trajectory, and the prediction result is compared with the difficulty pseudo-label to calculate the loss.
[0035] On the other hand, an autonomous driving trajectory prediction system based on a novel suggestion-optimization framework is provided, the system is applied to an autonomous driving trajectory prediction method based on a novel suggestion-optimization framework, and the system includes:
[0036] A framework building unit, used to build a new type of suggestion-optimization framework;
[0037] A data processing unit, used for obtaining a learnable feature code, inputting the learnable feature code into a preset baseline model, and outputting decoded data through the baseline model;
[0038] A trajectory prediction and optimization unit, used for inputting the decoded data into the novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data;
[0039] The data output unit is used to output trajectory prediction and trajectory optimization data to complete the autonomous driving trajectory prediction based on the new suggestion-optimization framework.
[0040] On the other hand, an autonomous driving trajectory prediction device based on a new suggestion-optimization framework is provided, and the autonomous driving trajectory prediction device based on the new suggestion-optimization framework includes: a processor; a memory, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, any one of the above-mentioned autonomous driving trajectory prediction methods based on the new suggestion-optimization framework is implemented.
[0041] On the other hand, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement any one of the above-mentioned autonomous driving trajectory prediction methods based on the novel suggestion-optimization framework.
[0042] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0043] In an embodiment of the present invention, a new suggestion-optimization framework is proposed: the present invention introduces a clustering-based suggestion trajectory generation module, uses regional partition predictions and regional trajectory prototypes as further refined prior anchor frames, and a complexity-based optimization module for distinguishing simple and complex trajectories, so that the optimization module can focus on learning the features of complex trajectories, thereby improving the prediction accuracy of long-tail scenarios. The proposed method can be easily combined with most existing methods to improve their performance in challenging scenarios. Experimental results show that the framework of the present invention improves the performance of three baseline models on the long-tail scenarios of the Argoverse1 and Argoverse2 datasets, and outperforms the existing best methods, while maintaining the prediction indicators on the overall dataset. The present invention also incorporates the GradNorm algorithm for automatically calculating loss weights for multiple tasks into the trajectory prediction direction, so as to better solve the problem of uneven weight distribution of multiple tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 It is a flow chart of an autonomous driving trajectory prediction method based on a novel suggestion-optimization framework provided by an embodiment of the present invention;
[0046] Figure 2 It is a suggestion-optimization framework process architecture diagram provided by an embodiment of the present invention;
[0047] Figure 3 is a framework diagram of a regional feature extractor provided by an embodiment of the present invention;
[0048] Figure 4 is a visual comparison diagram of different methods provided by embodiments of the present invention;
[0049] Figure 5 is a comparison diagram of the effectiveness of a region-based suggested trajectory generation module provided by an embodiment of the present invention;
[0050] Figure 6 It is a block diagram of an autonomous driving trajectory prediction system based on a novel suggestion-optimization framework provided by an embodiment of the present invention;
[0051] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The technical solution of the present invention is described below in conjunction with the accompanying drawings.
[0053] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.
[0054] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.
[0055] In the embodiments of the present invention, sometimes a subscript such as W1 may be written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are the same.
[0056] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0057] The embodiment of the present invention provides an automatic driving trajectory prediction method based on a novel suggestion-optimization framework, which can be implemented by an automatic driving trajectory prediction device based on a novel suggestion-optimization framework, and the automatic driving trajectory prediction device based on a novel suggestion-optimization framework can be a terminal or a server. Figure 1 The flowchart of the automatic driving trajectory prediction method based on the novel suggestion-optimization framework is shown in the figure. The processing flow of the method may include the following steps:
[0058] S1. Construct a new suggestion-optimization framework;
[0059] In a feasible implementation, in S1, a new suggestion-optimization framework is constructed, including:
[0060] Build a novel proposal-optimization framework with two core modules;
[0061] Among them, the two core modules include: a proposed trajectory generation module based on clustering areas and a trajectory optimization module based on scene complexity;
[0062] The proposed trajectory generation module based on clustering regions includes: a proposed trajectory output head and a region predictor; the trajectory optimization module based on scene complexity includes: a complexity predictor and an optimized trajectory output head.
[0063] In a feasible implementation, the present invention designs a novel suggestion-optimization framework, which mainly includes two core modules: a suggestion trajectory generation module based on clustering regions and a trajectory optimization module based on scene complexity. Figure 2 As shown in the figure, (1) the baseline model adopts a sequence-to-sequence structure. A learnable feature code is input into the decoder as the feature code of the future proposed trajectory to decode the output of the encoder, where the number of groups of the proposed trajectory feature code is equal to the number of regions, and the dimension of each group is [modes, hidden_dims]; (2) The proposed trajectory generation module based on clustered regions outputs the proposed trajectory feature code after decoding and updating according to the region, generates multimodal proposed trajectories in each region, and predicts a most likely region through the region predictor; (3) The proposed trajectory in the predicted region is converted into a feature code as an anchor box and input into the trajectory optimization module based on scene complexity to predict the trajectory difficulty for branch optimization, so that only difficult trajectories are optimized and simple proposed trajectories are directly output. Before optimization, the trajectory prototype of the predicted region is introduced as the region prior to further enhance the model's understanding of the scene context; (4) Finally, the multimodal trajectory prediction head and classification head output multimodal trajectories and probabilities.
[0064] S2. Obtain a learnable feature code, input historical data into a preset baseline model, and output decoded data through the baseline model;
[0065] In a feasible implementation, in S2, a learnable feature code is obtained, the learnable feature code is input into a preset baseline model, and decoding data is output through the baseline model, including:
[0066] The encoder of the baseline model is used to encode and fuse the historical trajectory information, scene map information and surrounding vehicle interaction features of the target vehicle, and all anchor-free proposed trajectory feature encodings are input into the decoder for query decoding.
[0067] S3, input the decoded data into the novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data;
[0068] In a feasible implementation, the decoded data is input into a novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data, including:
[0069] Input the decoded data into the novel suggestion-optimization framework;
[0070] Train an offline clustering model to divide the regions;
[0071] Collect the endpoints of all true trajectories from the dataset and cluster them into M clusters using K-means;
[0072] The clustered region-based proposed trajectory generation module outputs the feature encoding of the proposed trajectory after decoding and updating according to the region, generates multimodal proposed trajectories in each region, and predicts a most likely region through a region predictor;
[0073] The proposed trajectory in the prediction area is converted into a feature code as an anchor box and input into the trajectory optimization module based on scene complexity to predict the trajectory difficulty for branch optimization. Only the difficult trajectory is optimized to directly output the simple proposed trajectory. Before the optimization, the trajectory prototype of the prediction area is introduced as the regional prior.
[0074] In a feasible implementation, a track output head is suggested, including:
[0075] The proposed trajectory output head is represented by M MLPs, each of which is responsible for outputting K multimodal trajectories in a region and the probability of each trajectory.
[0076] In a feasible implementation, before optimization, the trajectory prototype of the prediction area is introduced as the area prior, including:
[0077] At the dataset level, the common features of all future trajectories in a region are extracted as regional trajectory prototype priors;
[0078] Generate a regional pseudo label for all trajectories in the dataset through the trained clustering model; the regional pseudo label provides sample truth value for the regional feature extractor;
[0079] The LSTM model is used to extract the features of all future trajectories in the region, and the hidden features of the last time step are selected as the features of each future trajectory;
[0080] Aggregate the features of all future trajectories in the current area by performing a maximum pooling operation on the time dimension;
[0081] The feature prototypes of all future trajectories extracted from the current area are concatenated with the corresponding optimized trajectory feature codes to enhance the effect of the anchor frame, and the concatenated prototypes are input into the optimization module for bias calculation.
[0082] In a feasible implementation, the trajectory optimization module based on scene complexity further includes:
[0083] Define scene complexity prediction as a self-supervised task, test the entire dataset using a baseline, and define a difficult or easy pseudo label for each trajectory;
[0084] The learnable feature encoding after the maximum pooling operation in the modal dimension is used as input, and the multimodal proposed trajectory features of the region are extracted through LSTM, and initialized with the hidden features of the last time step;
[0085] The difficulty prediction module is used to predict the difficulty of the trajectory, and the prediction result is compared with the difficulty pseudo-label to calculate the loss.
[0086] In a feasible implementation, the distribution range of multimodal trajectories is wide, and the driver's behavior is also different in different scenarios. However, the existing methods usually generate insufficient trajectories when predicting future multimodal trajectories, which limits the randomness and makes it difficult to cover the long tail area. To solve this problem, the present invention proposes a clustering-based suggested trajectory method.
[0087] First, the present invention trains an offline clustering model to divide the area. The present invention collects the endpoints of all real trajectories from the data set and clusters these endpoints into M clusters using K-means (K-means is a classical clustering technique with high computational efficiency, which can be replaced by other clustering algorithms). This enables the clustering model to adapt to this distribution, so that the model divides the area according to the same distribution during inference. The reason why the trajectory endpoint is selected to divide the area is that for long-term prediction, due to error accumulation, the deviation of the prediction result of the last time step will be the largest. Therefore, only by correctly predicting the area where the last time step is located can the result be most accurate. Then, the present invention uses the encoder of the baseline model to encode and fuse the historical trajectory information, scene map information and surrounding vehicle interaction features of the target vehicle, and inputs all anchor-free recommended trajectory feature encodings into the decoder for query decoding. Subsequently, the present invention uses the recommended trajectory output head to generate multimodal recommended trajectories according to different regions, and these recommended trajectories will then be used as inputs to the optimization module. For the recommended trajectory output head, the present invention also uses M MLPs for representation, each MLP is responsible for outputting K multimodal trajectories in a region and the probability of each trajectory, focusing on learning the features of the region. When optimizing the output head of the suggested trajectory, the present invention calculates the sum of the losses of all multimodal trajectories in the prediction area, rather than adopting a winner-takes-all strategy. This allows each set of suggested trajectory feature encoding and output heads to independently learn the features of their own area during the optimization process, and the regions will not affect each other, thereby achieving a more uniform trajectory distribution.
[0088] In a feasible implementation, a large number of proposed trajectories have been obtained according to the region before, so the present invention predicts a region as the region of most interest to select the multimodal trajectory therein as a coarse-grained prior anchor frame, and obtains the region where the driver may travel to, so that the model can be further refined; the present invention pre-trains a regional prediction model by designing a self-supervised task, and in order to make the method of the present invention easier to insert into the existing method, the present invention defines the input of the regional prediction module as the proposal embeddings after decoder fusion, and the cluster prediction module here is represented by a 2-layer MLP, so that the cluster where the agent's future trajectory endpoint is located can be output, so that the multimodal trajectory in the cluster can be obtained; the present invention defines the input of the regional prediction module as the feature encoding of the proposed trajectory in all regions after decoder fusion decoding, and since the dimension of the proposed trajectory feature encoding is [A, M, F], where A represents the number of agents, M represents the number of regions, and F represents hidden features, the present invention also performs a maximum pooling aggregation operation on it in the modal dimension before inputting it into the regional prediction module of the model; the prediction probability of each region and the loss function of the regional prediction head are shown in the following formula:
[0089] (1)
[0090] (2)
[0091] The function f() is implemented by a 2-layer MLP, and Fi is the feature encoding of the proposed trajectory of the ith vehicle. As for the loss function, the present invention adopts a cross entropy function, in which the true value of the target area xi is 1, and the true value of other areas is 0.
[0092] For the trajectories in the same driving area, they basically have the same trajectory pattern, so the present invention can extract the common features of all future trajectories in a region at the data set level as the regional trajectory prototype prior, and introduce it into the subsequent optimization module; Figure 3 As shown, the clustering model that has been trained in the present invention is shown above. It generates a regional pseudo-label for all trajectories in the data set and provides sample true values for the regional feature extractor below. The present invention extracts the features of all future trajectories in the region through the LSTM model, and selects the hidden features of the last time step as the features of each future trajectory. Then, the features of all future trajectories in the current region are aggregated by performing the maximum pooling operation on the time dimension, and then the optimized trajectory feature encoding is spliced to further enhance the effect of the anchor frame, and finally input into the optimization module to calculate the bias;
[0093] The method of continuing to optimize the calculation bias based on the suggested trajectory as an anchor frame is very popular. The suggested trajectory can be used as a coarse-grained prior trajectory, and the optimization module will perform fine-grained optimization on it. Although this method will improve the trajectory of all features to a certain extent, it will also increase the learning difficulty of the model, and the number of samples of simple trajectories and difficult trajectories differs too much and the samples differ too far in the feature space, so the learning of simple trajectories and difficult trajectories by an optimization module will affect the learning of difficult trajectory features to a certain extent, so the previous method will cause the optimization model to sacrifice a certain ability to learn the characteristics of simple behaviors, which will reduce the prediction ability of those difficult trajectories that really cause danger; therefore, the present invention proposes a trajectory optimization structure based on scene complexity: first predict the difficulty of the trajectory, and then select the difficult trajectory for optimization according to the difficulty to solve this problem; the present invention will introduce the complexity predictor and the complexity-based branch optimization method one by one below;
[0094] In a feasible implementation, for the complexity predictor, first, the present invention defines it as a self-supervised task, tests the entire data set by using a baseline, and calculates the overall average FDE as the threshold k, defines samples with FDE greater than K as difficult trajectories, otherwise as simple samples, thereby defining a difficulty pseudo-label for each trajectory; this complexity predictor, like the previous suggestion module, uses the learnable feature encoding after the maximum pooling operation in the modal dimension as input, but unlike the previous feature encoding, the present invention changes the random initialization to extracting the multimodal suggestion trajectory features of the region through LSTM, and initializes it with the hidden features of the last time step. These learnable feature encodings based on the suggested trajectory as an anchor box provide rich contextual information for the difficulty prediction module and provide clear regional priors for the subsequent optimization module. Then the difficulty prediction module will predict whether the trajectory is simple or difficult, and compare it with the pseudo-label to calculate the loss; among them, the difficulty prediction module is also only implemented through MLP;
[0095] The difficulty prediction probability of the trajectory and the loss function of the region prediction head are shown in the following formula:
[0096] (3)
[0097] (4)
[0098] The function g() is implemented by a 2-layer MLP, and Fi is the optimized trajectory feature encoding of the i-th vehicle. As for the loss function, the present invention also adopts the cross entropy function, in which the true value of the complex trajectory is 1 and the simple trajectory is 0.
[0099] After the present invention has trained the offline complexity prediction model, the present invention performs branch optimization according to the difficulty of the predicted trajectory. If the predicted target vehicle trajectory is a simple trajectory, then the previously obtained recommended trajectory is directly output, because it has been experimentally found that for simple trajectories, even if the bias is not calculated through optimization, a good prediction effect can be obtained, and the task goal of the present invention is to solve the long-tail trajectory problem, so the present invention hopes that the model can put more losses on the difficult learning trajectory; if the predicted target vehicle trajectory is a difficult trajectory, then the optimized feature encoding based on the recommended trajectory is spliced on the feature dimension. The feature prototype of the corresponding prediction area obtained by the offline feature extractor is used as the prior anchor frame of the final trajectory to calculate the bias for optimization, so that the contextual information of the area can be fully grasped, and the selective optimization strategy can effectively reduce the learning pressure of the optimization module, allowing it to focus on solving those long-tail trajectory problems. Among them, the optimization module here also uses the same structure as the previous baseline model decoder for query decoding.
[0100] Many existing methods use the GMM method to model trajectory distribution, but it cannot pay attention to the tail data well. In order to represent the uncertainty of multimodal trajectories, the present invention uses a mixed Laplace distribution to represent the distribution of trajectories; the Laplace distribution is steeper than the Gaussian distribution, which makes it more suitable for modeling long-tail data. The probability of extremely large values is much greater than that of the Gaussian distribution, so it can better handle noise and better depict the distribution of long-tail data. The formula is as follows:
[0101] (5)
[0102] pi is the probability of the ith Laplace distribution model, μx and μy are the means of the probability density of the ith Laplace distribution model at time step t, and b_x and b_y are scale factors. Then, the present invention uses Laplace NLL loss as the loss function:
[0103] (6)
[0104] In the task of the present invention, the loss of the regression task can be defined as follows:
[0105] (7)
[0106] N is the number of multimodal trajectories in each region, k is the complexity weight coefficient, k=0 for trajectories predicted as simple by the complexity predictor, and k=1 for trajectories predicted as complex. As for the classification task of multimodal trajectory confidence, the present invention uses NLL loss to optimize the Laplace mixing coefficient. This loss function can minimize the negative log-likelihood value in Formula 5.
[0107] When defining the loss function, because trajectory prediction is a multi-task, including regression and classification tasks, there is a problem: how to allocate the loss weights of multiple tasks. The simple way is to directly add the losses of multiple tasks: but the actual situation is that the magnitude of the loss gradients of different tasks is different, causing some tasks to dominate the gradient back propagation, and the model over-learns the task and ignores other tasks. In addition, the inconsistent convergence speeds of different tasks may cause some tasks to be underfitting, but some tasks have been overfitting; artificially set hyperparameters, but because the gradient magnitude and convergence speed of each task also change dynamically during the training process, it is obvious that this fixed value weight definition method does not solve the problem well; therefore, in order to solve the problem of uneven weight distribution of multiple tasks, the present invention introduces the GradNorm method into the trajectory prediction task for the first time, which can dynamically adjust the algorithm of multi-task loss weights; the overall loss function of the task can be defined as:
[0108] (8)
[0109] The weights w1 and w2 are automatically updated using the GradNorm algorithm. The update process is as follows:
[0110] (9)
[0111] (10)
[0112] Where Li is the gradient norm of each task and ri is the loss weight adjustment factor.
[0113] S4: Output trajectory prediction and trajectory optimization data to complete autonomous driving trajectory prediction based on the new suggestion-optimization framework.
[0114] In a feasible implementation, in order to demonstrate the effectiveness of the proposed method, the present invention verifies the effectiveness of the method of the present invention through three baseline models on two data sets, Argoverse1 and Argoverse2 (represented by LTPR in the table), and compares it with other best methods for solving the long-tail problem, mainly including: data resampling, loss reweighting, and comparative learning. In order to further evaluate the performance of the model of the present invention on long-tail data, the present invention also divides the data set into a variety of different levels of complexity. The present invention uses a baseline model to evaluate the min-FDE6 indicator, and sets trajectories of different complexities according to the size of the indicator value. Specifically, the present invention selects the top 1-4% of the trajectories with the highest indicator errors as complex scenarios for testing, and regards the 30% with the lowest errors as simple trajectories for testing. Finally, the performance of the model in the entire data set is evaluated accordingly.
[0115] Table 1 Comparison of various methods for solving long-tail problems on the Argoverse2 dataset using QCNet as the baseline model
[0116]
[0117] Table 1 shows the comparison between the method of the present invention and other common methods for solving the long-tail problem, with QCNet as the baseline model. The method of the present invention performs best under long-tail data of various complexity levels, and can also maintain the overall average error compared to the baseline model.
[0118] In addition, the present invention also applies the method of the present invention to two other baseline models and compares them with the best previous contrastive learning long-tail prediction method. The comparison results are shown in Tables 2 and 3. The experimental results show that the method of the present invention outperforms contrastive learning at different complexity levels of the Argoverse1 and Argoverse2 datasets and performs better on both baseline models.
[0119] Table 2 Comparison of the best methods using Forecast-MAE as the baseline model on the Argoverse2 dataset
[0120]
[0121] Table 3 Comparison of the best methods using HiVT as the baseline model on the Argoverse1 dataset
[0122]
[0123] As shown in Table 4, the present invention uses QCNet as the baseline model to conduct ablation experiments on the various modules of the method of the present invention on the Argoverse2 dataset to better verify the effectiveness of each module, where the Clu module represents the region-based proposed trajectory generation module, and the Com module represents the trajectory optimization module based on scene complexity. Three observations can be drawn from the results. First, when only the proposal module is used without the optimization module, the prediction performance of simple trajectories with a complexity of Bottom 30% is almost the same as that without adding it. Therefore, for simple trajectories, adding the optimization module does not bring significant improvements. Second, after integrating the Com module, the present invention observes that compared with the baseline model, the trajectory prediction accuracy is improved in scenes with a complexity of Top 1%, 2%, 3% and 4%. This shows that the optimization module does learn the characteristics of complex scenes and avoids interference from simple trajectories. Third, after adding the Clu module, not only the prediction ability of complex scenes is enhanced, but also the performance indicators of the entire dataset are improved. This shows that the region-based trajectory selection and optimization method enables the output head to learn the characteristics of each region without interfering with each other, and provides the optimization module with a priori anchor boxes that enrich the regional context.
[0124] Table 4 Ablation experiments of each module
[0125]
[0126] Figure 4 The visualization of prediction results using QCnet, QCNet+contrastive learning (the previous best long-tail prediction method), and QCNet+LTPR (the method of the present invention) is shown. The first four columns plot the top 1-4% challenging scenes with complex road topology and interactions. It can be seen that the trajectories predicted by the method of the present invention are significantly better than QCNet+contrastive learning and the baseline model QCNet. In addition, the last column is the prediction result of a simple scene, which shows that the prediction ability of the model of the present invention is basically consistent with the baseline model, while contrastive learning does not perform well. This is due to the complexity-based optimization module of the present invention, which enables the optimization module to focus on learning the features of complex scenes and prevent the confusion of features of simple and complex trajectories. This enables the present invention to almost maintain the prediction performance for simple scenes while effectively improving the model's prediction performance for long-tail data.
[0127] In order to better demonstrate the role of the region-based proposed trajectory generation module of the present invention, the present invention uses QCNet as the baseline model and compares the effects with and without this module. Figure 5The left picture in the figure is after adding. The present invention displays all six multimodal suggested trajectories of each area in the figure, where the real trajectory is represented by pink, and the predicted trajectories of different areas are represented by different colors respectively, while the right picture is the effect picture without adding, and for the sake of fairness, the present invention allows the baseline model to also generate 36 trajectories, and the predicted trajectories are represented by yellow; it can be seen from the visualization diagram that when this module is not added, the coverage area of the multimodal trajectory is very limited; after adding, the regional multimodal trajectory of the present invention reasonably covers all possible driving areas, and each regional output head learns the characteristics of that area very well, without being affected by different areas, and only outputs trajectories in its own area.
[0128] In an embodiment of the present invention, a new suggestion-optimization framework is proposed: the present invention introduces a clustering-based suggestion trajectory generation module, uses region partition prediction and region trajectory prototypes as further refined prior anchor boxes, and a complexity-based optimization module for distinguishing simple and complex trajectories, so that the optimization module can focus on learning the features of complex trajectories, thereby improving the prediction accuracy of long-tail scenarios.
[0129] The proposed method can be easily combined with most existing methods to improve their performance in challenging scenarios.
[0130] Experimental results show that the proposed framework improves the performance of three baseline models on the long-tail scenarios of Argoverse1 and Argoverse2 datasets and outperforms the existing best methods while maintaining the prediction indicators on the overall dataset.
[0131] The present invention also integrates the GradNorm algorithm for automatically calculating loss weights of multiple tasks into the trajectory prediction direction, so as to better solve the problem of uneven weight distribution of multiple tasks.
[0132] Figure 6 1 is a block diagram of an autonomous driving trajectory prediction system based on a novel suggestion-optimization framework according to an exemplary embodiment, wherein the system is used for an autonomous driving trajectory prediction method based on a novel suggestion-optimization framework. Figure 6 The system includes a data frame construction module 310, a data processing module 320, a trajectory prediction optimization module 330, a data output module 340, and a resource allocation module 350. Among them:
[0133] A framework construction unit 310, for constructing a novel suggestion-optimization framework;
[0134] The data processing unit 320 is used to obtain a learnable feature code, input the historical data into a preset baseline model, and output the decoded data through the baseline model;
[0135] The trajectory prediction and optimization unit 330 is used to input the decoded data into the novel suggestion-optimization framework to perform trajectory prediction and trajectory optimization on the decoded data;
[0136] The data output unit 340 is used to output trajectory prediction and trajectory optimization data to complete the autonomous driving trajectory prediction based on the new suggestion-optimization framework.
[0137] Optionally, the framework construction unit 310 is used to construct a novel suggestion-optimization framework having two core modules;
[0138] Among them, the two core modules include: a proposed trajectory generation module based on clustering areas and a trajectory optimization module based on scene complexity;
[0139] The proposed trajectory generation module based on clustering regions includes: a proposed trajectory output head and a region predictor; the trajectory optimization module based on scene complexity includes: a complexity predictor and an optimized trajectory output head.
[0140] Optionally, the data processing unit 320 is used to encode and fuse the historical trajectory information, scene map information and surrounding vehicle interaction features of the target vehicle using the encoder of the baseline model, and input all anchor-free suggested trajectory feature encodings into the decoder for query decoding.
[0141] Optionally, the trajectory prediction optimization unit 330 is used to input the decoded data into the novel suggestion-optimization framework;
[0142] Train an offline clustering model to divide the regions;
[0143] Collect the endpoints of all true trajectories from the dataset and cluster them into M clusters using K-means;
[0144] The clustered region-based proposed trajectory generation module outputs the feature encoding of the proposed trajectory after decoding and updating according to the region, generates multimodal proposed trajectories in each region, and predicts a most likely region through a region predictor;
[0145] The proposed trajectory in the prediction area is converted into a feature code as an anchor box and input into the trajectory optimization module based on scene complexity to predict the trajectory difficulty for branch optimization. Only the difficult trajectory is optimized to directly output the simple proposed trajectory. Before the optimization, the trajectory prototype of the prediction area is introduced as the regional prior.
[0146] Optionally, a trace output header is recommended, including:
[0147] The proposed trajectory output head is represented by M MLPs, each of which is responsible for outputting K multimodal trajectories in a region and the probability of each trajectory.
[0148] Optionally, before optimization, the trajectory prototype of the prediction area is introduced as a regional prior, including:
[0149] At the dataset level, the common features of all future trajectories in a region are extracted as regional trajectory prototype priors;
[0150] Generate a regional pseudo label for all trajectories in the dataset through the trained clustering model; the regional pseudo label provides sample truth value for the regional feature extractor;
[0151] The LSTM model is used to extract the features of all future trajectories in the region, and the hidden features of the last time step are selected as the features of each future trajectory;
[0152] Aggregate the features of all future trajectories in the current area by performing a maximum pooling operation on the time dimension;
[0153] The feature prototypes of all future trajectories extracted from the current area are concatenated with the corresponding optimized trajectory feature codes to enhance the effect of the anchor frame, and the concatenated prototypes are input into the optimization module for bias calculation.
[0154] Optionally, a trajectory optimization module based on scene complexity includes:
[0155] Define scene complexity prediction as a self-supervised task, test the entire dataset using a baseline, and define a difficult or easy pseudo label for each trajectory;
[0156] The learnable feature encoding after the maximum pooling operation in the modal dimension is used as input, and the multimodal proposed trajectory features of the region are extracted through LSTM, and initialized with the hidden features of the last time step;
[0157] The difficulty prediction module is used to predict the difficulty of the trajectory, and the prediction result is compared with the difficulty pseudo-label to calculate the loss.
[0158] The proposed method can be easily combined with most existing methods to improve their performance in challenging scenarios.
[0159] Experimental results show that the proposed framework improves the performance of three baseline models on the long-tail scenarios of Argoverse1 and Argoverse2 datasets and outperforms the existing best methods while maintaining the prediction indicators on the overall dataset.
[0160] The present invention also integrates the GradNorm algorithm for automatically calculating loss weights of multiple tasks into the trajectory prediction direction, so as to better solve the problem of uneven weight distribution of multiple tasks.
[0161] Figure 5 is a structural diagram of an automatic driving trajectory prediction device based on a novel suggestion-optimization framework provided by an embodiment of the present invention, such as Figure 7 As shown, the autonomous driving trajectory prediction device based on the novel suggestion-optimization framework may include the above Figure 6 The autonomous driving trajectory prediction device based on the novel suggestion-optimization framework is shown. Optionally, the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework may include a first processor 2001 .
[0162] Optionally, the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework may further include a memory 2002 and a transceiver 2003 .
[0163] The first processor 2001, the memory 2002 and the transceiver 2003 may be connected via a communication bus.
[0164] Combine the following Figure 7 The components of the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework are specifically introduced:
[0165] The first processor 2001 is the control center of the automatic driving trajectory prediction device 410 based on the novel suggestion-optimization framework, and can be a processor or a general term for multiple processing elements. For example, the first processor 2001 is one or more central processing units (CPUs), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (field programmable gate arrays, FPGAs).
[0166] Optionally, the first processor 2001 can perform various functions of the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework by running or executing a software program stored in the memory 2002 and calling data stored in the memory 2002.
[0167] In a specific implementation, as an embodiment, the first processor 2001 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 are shown in FIG.
[0168] In a specific implementation, as an embodiment, the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework may also include multiple processors, such as Figure 7 The first processor 2001 and the second processor 2004 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0169] The memory 2002 is used to store the software program for executing the solution of the present invention, and is controlled to be executed by the first processor 2001. The specific implementation method can refer to the above method embodiment, which will not be repeated here.
[0170] Optionally, the memory 2002 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2002 may be integrated with the first processor 2001, or may exist independently, and may be accessed through the interface circuit ( Figure 7 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0171] The transceiver 2003 is used to communicate with a network device or a terminal device.
[0172] Optionally, the transceiver 2003 may include a receiver and a transmitter ( Figure 7The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0173] Optionally, the transceiver 2003 may be integrated with the first processor 2001, or may exist independently, and may be connected to the first processor 2001 through the interface circuit ( Figure 7 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0174] It should be noted that Figure 7 The structure of the autonomous driving trajectory prediction device 410 based on the novel suggestion-optimization framework shown in the figure does not constitute a limitation on the router, and the actual knowledge structure recognition device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0175] In addition, the technical effects of the autonomous driving trajectory prediction device 410 based on the new suggestion-optimization framework can refer to the technical effects of the autonomous driving trajectory prediction method based on the new suggestion-optimization framework described in the above method embodiment, and will not be repeated here.
[0176] It should be understood that the first processor 2001 in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0177] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0178] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0179] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0180] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0181] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0182] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0183] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0184] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0185] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0187] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0188] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for autonomous driving trajectory prediction based on a novel suggestion-optimization framework, characterized in that: The method comprises: S1. Construct a new suggestion-optimization framework; S2. Obtain a learnable feature code, input the learnable feature code into a preset baseline model, and output decoded data through the baseline model; S3, inputting the decoded data into the novel suggestion-optimization framework, and performing trajectory prediction and trajectory optimization on the decoded data; S4: Output trajectory prediction and trajectory optimization data to complete autonomous driving trajectory prediction based on the new suggestion-optimization framework.
2. The automatic driving trajectory prediction method based on the novel suggestion-optimization framework according to claim 1 is characterized in that: In S1, a novel suggestion-optimization framework is constructed, including: Build a novel proposal-optimization framework with two core modules; The two core modules include: a proposed trajectory generation module based on clustering areas and a trajectory optimization module based on scene complexity; The proposed trajectory generation module based on clustering regions includes: a proposed trajectory output head and a region predictor; the trajectory optimization module based on scene complexity includes: a complexity predictor and an optimized trajectory output head.
3. The automatic driving trajectory prediction method based on the novel suggestion-optimization framework according to claim 2 is characterized in that: In S2, a learnable feature code is obtained, the learnable feature code is input into a preset baseline model, and decoding data is output through the baseline model, including: The encoder of the baseline model is used to encode and fuse the historical trajectory information, scene map information and surrounding vehicle interaction features of the target vehicle, and all anchor-free proposed trajectory feature encodings are input into the decoder for query decoding.
4. The automatic driving trajectory prediction method based on the novel suggestion-optimization framework according to claim 3 is characterized in that: The step S3, inputting the decoded data into the novel suggestion-optimization framework, and performing trajectory prediction and trajectory optimization on the decoded data, comprises: inputting the decoded data into the novel suggestion-optimization framework; Train an offline clustering model to divide the regions; Collect the endpoints of all true trajectories from the dataset and cluster them into M clusters using K-means; The clustered region-based proposed trajectory generation module outputs the feature encoding of the proposed trajectory after decoding and updating according to the region, generates multimodal proposed trajectories in each region, and predicts a most likely region through a region predictor; The proposed trajectory in the prediction area is converted into a feature code as an anchor box and input into the trajectory optimization module based on scene complexity to predict the trajectory difficulty for branch optimization. Only the difficult trajectory is optimized to directly output the simple proposed trajectory. Before the optimization, the trajectory prototype of the prediction area is introduced as the regional prior.
5. The automatic driving trajectory prediction method based on the novel suggestion-optimization framework according to claim 4 is characterized in that: The proposed trajectory output header includes: The proposed trajectory output head is represented by M MLPs, each of which is responsible for outputting K multimodal trajectories in a region and the probability of each trajectory.
6. The method for predicting autonomous driving trajectories based on a novel suggestion-optimization framework according to claim 5, characterized in that: The method of introducing the trajectory prototype of the prediction area as the area prior before the optimization includes: At the dataset level, the common features of all future trajectories in a region are extracted as regional trajectory prototype priors; Generate a regional pseudo label for all trajectories in the data set through the trained clustering model; the regional pseudo label provides a sample true value for the regional feature extractor; The LSTM model is used to extract the features of all future trajectories in the region, and the hidden features of the last time step are selected as the features of each future trajectory; Aggregate the features of all future trajectories in the current area by performing a maximum pooling operation on the time dimension; The feature prototypes of all future trajectories extracted from the current area are concatenated with the corresponding optimized trajectory feature codes to enhance the effect of the anchor frame, and the concatenated prototypes are input into the optimization module for bias calculation.
7. The method for predicting autonomous driving trajectories based on a novel suggestion-optimization framework according to claim 6, characterized in that: The trajectory optimization module based on scene complexity includes: Define scene complexity prediction as a self-supervised task, test the entire dataset using a baseline, and define a difficult or easy pseudo label for each trajectory; The learnable feature encoding after the maximum pooling operation in the modal dimension is used as input, and the multimodal proposed trajectory features of the region are extracted through LSTM, and initialized with the hidden features of the last time step; The difficulty of the trajectory is predicted by the difficulty prediction module, and the prediction result is compared with the difficulty pseudo label to calculate the loss.
8. An autonomous driving trajectory prediction system based on a novel suggestion-optimization framework, wherein the autonomous driving trajectory prediction system based on a novel suggestion-optimization framework is used to implement the autonomous driving trajectory prediction method based on a novel suggestion-optimization framework as claimed in any one of claims 1 to 7, characterized in that: The system comprises: A framework building unit, used to build a new type of suggestion-optimization framework; A data processing unit, configured to obtain a learnable feature code, input the learnable feature code into a preset baseline model, and output decoded data through the baseline model; A trajectory prediction and optimization unit, used for inputting the decoded data into the novel suggestion-optimization framework, and performing trajectory prediction and trajectory optimization on the decoded data; The data output unit is used to output trajectory prediction and trajectory optimization data to complete the autonomous driving trajectory prediction based on the new suggestion-optimization framework.
9. An autonomous driving trajectory prediction device based on a novel suggestion-optimization framework, characterized in that: The autonomous driving trajectory prediction device based on the novel suggestion-optimization framework includes: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle automatic driving track prediction system and prediction method
CN116702617A
Long-tail trajectory prediction method based on perceptual distributed contrast learning framework
CN116956098A
Data processing method and device
CN117216041A
Decision-making method and device for autonomous vehicle, vehicle, equipment and medium
CN117707172A
Computer-implemented method for predicting multiple future trajectories of moving objects
EP3916676A1
Cited By
Optimization method for automatic driving track prediction and automatic driving control system
CN120922178A
