Multi-agent prediction trajectory optimization processing method and device, equipment and storage medium

By performing importance scoring and priority processing on the predicted trajectories of multi-agent obstacles, the problem of inconsistent predictions generated by deep learning methods in multi-agent scenarios is solved, and the accuracy and reliability of trajectory prediction of autonomous vehicles are improved. sex.

CN118536686APending Publication Date: 2024-08-23JIUZHI (SUZHOU) INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410694315.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Deep learning methods are prone to generate inconsistent prediction scenarios in obstacle trajectory prediction, causing the autonomous vehicle decision-making module to output erroneous trajectory prediction results, especially in multi-agent scenarios where conflicts are serious.

Method used

By obtaining the basic information of multiple obstacles in the target driving scene, the predicted trajectory and importance score of each agent are predicted, and divided into different priority processing sets according to the score, and processed using different trajectory optimization methods, and finally multiple The agent’s final predicted trajectory.

Benefits of technology

It improves the accuracy and reliability of multi-agent trajectory prediction, reduces processing time, and avoids inaccurate predictions caused by conflicts between agents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536686A
    Figure CN118536686A
Patent Text Reader

Abstract

The invention discloses a multi-agent prediction trajectory optimization processing method and device, equipment and a storage medium. The method comprises the following steps: when prediction trajectories of a plurality of intelligent agents are predicted based on basic information of a plurality of obstacles in a target driving scene, and after the prediction trajectories of the plurality of intelligent agents are determined to have conflicts, dividing the plurality of intelligent agents into different priority processing sets based on importance scores, and then, according to a sequence of priorities from high to low, dividing the plurality of intelligent agents into different priority processing sets; and sequentially carrying out prediction trajectory optimization processing on the intelligent agents in the different priority processing sets to obtain final prediction trajectories of the plurality of intelligent agents in the target driving scene. Therefore, by optimizing the prediction trajectories of the multiple agents, the problem of inaccurate prediction trajectories caused by conflicts among the agents is solved, and the accuracy and reliability of the prediction trajectories of the multiple agents are improved. Meanwhile, the intelligent agents are graded and optimized in different optimization modes, so that the processing time consumption can be reduced on the premise of ensuring the reliability of the prediction trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to technical fields such as intelligent transportation and autonomous driving, and in particular to a method, device, equipment and storage medium for optimizing the predicted trajectory of multiple intelligent agents. Background Art

[0002] In autonomous driving technology, obstacle trajectory prediction is a key component and is essential to ensure safe driving of the vehicle. In an autonomous driving system, obstacles can be other vehicles, pedestrians, or any dynamic objects that may interact with the autonomous vehicle, or they can be static objects such as flower beds and gas stations in the driving scene. Therefore, accurate obstacle trajectory prediction can help autonomous vehicles better understand the surrounding environment, make timely decisions, and perform safe obstacle avoidance operations.

[0003] At present, obstacle trajectory prediction can be achieved based on physical models or deep learning models. However, considering the limitations of physical models, they cannot handle complex or nonlinear motion trajectories. Therefore, deep learning methods have become the mainstream processing method for obstacle trajectory prediction.

[0004] However, deep learning methods mainly learn the joint distribution or conditional distribution of data sets, which can easily generate inconsistent prediction scenarios on specific data samples. For example, two or more different agents appearing at the same location at the same time is obviously inconsistent with the laws of physics and can easily output incorrect trajectory prediction results to downstream decision modules. Therefore, it is urgent to find a method for optimizing the prediction trajectory of multiple agents. Summary of the invention

[0005] The present application provides a multi-agent prediction trajectory optimization processing method, device, equipment and storage medium, which solves the problem in the prior art that the obstacle trajectory prediction is inaccurate due to the deep learning method easily generating inconsistent prediction scenarios.

[0006] The technical solution is as follows:

[0007] In a first aspect, a multi-agent prediction trajectory optimization processing method is provided, the method comprising:

[0008] Obtaining basic information of multiple obstacles in a target driving scene, wherein the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by a high-precision map;

[0009] Based on the basic information of the multiple obstacles, predict the predicted trajectories of the multiple agents and the importance score of each of the multiple agents; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle;

[0010] When it is determined that there is a conflict in the predicted trajectories of the multiple agents, based on the importance score of each agent in the multiple agents, the multiple agents are divided into different priority processing sets according to a preset division rule;

[0011] According to the order of priority from high to low, the agents in different priority processing sets are optimized in turn by using different trajectory optimization methods to obtain the final predicted trajectories of multiple agents in the target driving scene.

[0012] In a possible implementation, based on the basic information of the multiple obstacles, an importance score of each of the multiple agents is predicted, including:

[0013] Based on the basic information of the multiple obstacles, the multiple agents are evaluated according to the set evaluation rules to predict the importance score of each of the multiple agents; or

[0014] Inputting the basic information of the plurality of obstacles into a set evaluation model to predict the importance score of each of the plurality of agents, wherein the set evaluation model is a model for performing a dedicated evaluation of the importance of agents; or

[0015] The basic information of the multiple obstacles is input into the prediction model, and the importance score of each of the multiple agents is predicted based on the set detection head, where the set detection head is a detection head used to detect and output the importance of the agent.

[0016] In a possible implementation, based on the importance score of each of the multiple agents, the multiple agents are divided into different priority processing sets according to a preset division rule, including:

[0017] Based on the importance score of each of the multiple agents, the agents that meet different set score threshold intervals are divided into corresponding priority processing sets; or,

[0018] Based on the importance score of each of the multiple agents, the multiple agents are sorted, and the multiple agents are evenly divided into different priority processing sets according to the current sorting.

[0019] In a possible implementation, the different priority processing sets include: a high priority processing set and a low priority processing set;

[0020] In order of priority from high to low, the agents in different priority processing sets are optimized by using different trajectory optimization methods to obtain the final predicted trajectories of multiple agents in the target driving scene, including:

[0021] Based on the importance score, the predicted trajectory of the intelligent agent in the high priority processing set is optimized by using a trajectory optimizer; and based on the importance score, the predicted trajectory of the intelligent agent in the low priority processing set is optimized by modifying the longitudinal acceleration of the trajectory.

[0022] In a possible implementation, based on the importance score, the predicted trajectory of the agent in the high priority processing set is optimized using a trajectory optimizer, including:

[0023] Based on the importance scores of the agents in the high priority processing set, sorting the agents in the high priority processing set that have conflicts at a set time;

[0024] According to the current ranking, the predicted trajectory of the agent with the lower importance score among the two adjacent agents is adjusted using the trajectory optimizer to achieve optimized avoidance.

[0025] In a possible implementation, based on the importance score, the predicted trajectory of the agent in the low priority processing set is optimized by modifying the longitudinal acceleration of the trajectory, including:

[0026] Based on the importance scores of the agents in the low priority processing set, sorting the agents in the low priority processing set that have conflicts at a set time;

[0027] According to the current ranking, the predicted trajectory of the agent with the lower importance score among the two adjacent agents is adjusted by modifying the longitudinal acceleration of the trajectory to achieve optimized avoidance.

[0028] In a second aspect, a multi-agent prediction trajectory optimization processing device is provided, comprising:

[0029] An acquisition module, used to acquire basic information of multiple obstacles in a target driving scene, wherein the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by a high-precision map;

[0030] A prediction module, configured to predict, based on the basic information of the plurality of obstacles, the predicted trajectories of the plurality of agents and the importance score of each of the plurality of agents; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle;

[0031] A partitioning module, configured to partition the plurality of agents into different priority processing sets according to a preset partitioning rule based on the importance score of each agent in the plurality of agents when it is determined that the predicted trajectories of the plurality of agents conflict;

[0032] The optimization module is used to optimize the predicted trajectories of the agents in different priority processing sets in descending order of priority, using different trajectory optimization methods to obtain the final predicted trajectories of multiple agents in the target driving scene.

[0033] In a third aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the method of the aspect as described above and any possible implementation method.

[0034] In a fourth aspect, an electronic device is provided, including:

[0035] at least one processor; and

[0036] a memory communicatively connected to the at least one processor; wherein,

[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any possible implementation manner and the aspects described above.

[0038] In a fifth aspect, an autonomous driving vehicle is provided, comprising the electronic device as described above.

[0039] The beneficial effects of the technical solution provided by this application include at least:

[0040] It can be seen from the above technical solution that when the predicted trajectories of multiple agents are predicted based on the basic information of multiple obstacles in the target driving scene, and after it is determined that the predicted trajectories of multiple agents conflict, the multiple agents are divided into different priority processing sets based on the importance score, and then, the predicted trajectories of the agents in different priority processing sets are optimized in order from high to low priority to obtain the final predicted trajectories of multiple agents in the target driving scene. Therefore, by optimizing the predicted trajectories of multiple agents, the problem of inaccurate predicted trajectories caused by conflicts between agents is solved, and the accuracy and reliability of the predicted trajectories of multiple agents are improved. At the same time, by grading the agents and optimizing them using different optimization methods, the processing time can be reduced while ensuring the reliability of the predicted trajectories.

[0041] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 It is a schematic diagram of a multi-agent prediction trajectory optimization processing method provided by an embodiment of the present application.

[0044] Figure 2 It is a prediction trajectory optimization processing flow chart provided by another embodiment of the present application.

[0045] Figure 3 This is a schematic diagram of a scenario in which intelligent bodies collide within a set time period, provided by an embodiment of the present application.

[0046] Figure 4 It is a structural block diagram of a multi-agent prediction trajectory optimization processing device provided in yet another embodiment of the present application.

[0047] Figure 5 It is a block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0049] Obviously, the described embodiments are only part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0050] Generally, an autonomous vehicle can obtain the predicted trajectories of multiple agents that may interact with the autonomous vehicle in real time among various obstacles contained in the current target driving scene. The predicted trajectories of these agents are then sent to the downstream decision-making module (backend server, etc.) for decision-making, so as to instruct the autonomous vehicle to perform safe avoidance in a timely manner. It can be seen that the accuracy of the trajectory prediction of multiple agents determines the reliability of safe avoidance decisions.

[0051] In order to solve the problem mentioned in the background technology that the obstacle trajectory prediction is inaccurate due to the deep learning method's easy generation of inconsistent prediction scenarios, this application proposes a multi-agent prediction trajectory optimization processing solution, the main inventive concept of which is: when the predicted trajectories of multiple agents are predicted based on the basic information of multiple obstacles in the target driving scene, and after determining that the predicted trajectories of multiple agents conflict, the multiple agents are divided into different priority processing sets based on the importance score, and then, in order from high to low priority, the predicted trajectories of the agents in different priority processing sets are optimized in turn to obtain the final predicted trajectories of multiple agents in the target driving scene. Thus, by optimizing the predicted trajectories of multiple agents, the problem of inaccurate predicted trajectories caused by conflicts between agents is solved, and the accuracy and reliability of the predicted trajectories of multiple agents are improved. At the same time, by grading the agents and optimizing them using different optimization methods, the processing time can be reduced while ensuring the reliability of the predicted trajectories.

[0052] The following is a detailed description of the multi-agent prediction trajectory optimization processing solution involved in this application through several embodiments.

[0053] Reference Figure 1As shown, it is a schematic diagram of a multi-agent prediction trajectory optimization processing method provided by the present application. The execution subject of the method can be a multi-agent prediction trajectory optimization processing device, wherein the optimization processing device can be a software module with computing and data processing capabilities, or an electronic device integrated with a similar software module. Optionally, the execution subject of the multi-agent prediction trajectory optimization processing method in the present application can be an autonomous driving vehicle, or a related processing module integrated in the autonomous driving vehicle.

[0054] Figure 1 The multi-agent prediction trajectory optimization processing method shown may include:

[0055] Step 102: Obtain basic information of multiple obstacles in the target driving scene, where the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by a high-precision map.

[0056] In this application, the basic information includes at least the type, size and driving state of the obstacle, and may also include information such as the speed, acceleration, and position of the obstacle. The types of obstacles may include: motor vehicles, non-motor vehicles, pedestrians, various roadblocks, roadside buildings, etc. The size of the obstacle may be a polygonal box bounded by the obstacle outline, or the center point of the obstacle may be regarded as the obstacle itself; the driving state of the obstacle may be accelerating, decelerating, pausing, or stationary.

[0057] Optionally, the basic information of obstacles in this application can be obtained by:

[0058] Method 1: Obtaining through detectors on the autonomous driving vehicle and / or detectors in the target driving scene, specifically, through image acquisition devices and / or radar detection devices installed at the front or rear of the autonomous driving vehicle or other parts of the vehicle; or, through image acquisition devices installed on both sides of the driving road. For example, a camera installed on the autonomous driving vehicle takes a picture of the obstacle, and a radar detector collects the obstacle's driving speed and acceleration, thereby determining basic information such as the obstacle's type, size, and driving status.

[0059] Method 2: Obtain the information by setting specific markers that indicate obstacles in the map. Specifically, basic information about relevant obstacles can be obtained from some mature high-precision electronic maps by using voice broadcasts or map markers. For example, obstacle markers can be read from the electronic map that comes with the autonomous driving vehicle to obtain basic information such as the type, size, and location of the obstacle.

[0060] It should be noted that the basic information of the obstacle can be obtained by method 1 or method 2 independently, or by combining method 1 with method 2. Thus, the basic information of the obstacle obtained is more accurate and reliable.

[0061] Among them, method one can realize the acquisition of basic information of static obstacles and dynamic obstacles, while method two is mainly used to acquire basic information of static obstacles.

[0062] Step 104: Based on the basic information of the multiple obstacles, predict the predicted trajectories of the multiple agents and the importance score of each of the multiple agents; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle.

[0063] In this application, it should be understood that the intelligent agent here can be an intelligent vehicle among the multiple obstacles, except for static obstacles, that has similar driving functions as the autonomous driving vehicle that executes the solution. For example, one or more other autonomous driving vehicles that are traveling in the same target driving scene as the autonomous driving vehicle.

[0064] Optionally, in the present application, when predicting the importance score of each of the multiple agents based on the basic information of the multiple obstacles, step 104 can be implemented by the following method:

[0065] Method 1, based on the basic information of the multiple obstacles, multiple agents are evaluated according to set evaluation rules, and the importance score of each of the multiple agents is predicted.

[0066] Among them, the evaluation rules can be set based on the importance scores of each agent in the historical prediction results, and the characteristics of the agents with higher importance scores can be analyzed and determined. For example, the importance score of type A agents is generally higher than that of type B agents; for another example, the importance score of agents with speeds less than threshold C is generally lower than that of agents with speeds less than threshold D; for another example, the smaller or larger the speed, the higher the importance score of the agent. Similar characteristic analysis can determine the characteristics related to the importance score of the agent, which will affect the trajectory accuracy of the agent and the trajectory planning of the autonomous driving vehicle. Therefore, based on these characteristics, the evaluation rules can be generated by artificial or machine learning methods to accurately and quickly predict the importance scores of multiple agents.

[0067] In specific implementation, the intelligent agents that have an impact on the previous trajectory planning can also be directly marked. The marked intelligent agents can be given a higher importance score during prediction, while other intelligent agents can evaluate the degree of influence according to the set evaluation rules and predict their respective importance scores.

[0068] Method 2: Input the basic information of the multiple obstacles into a set evaluation model to predict the importance score of each of the multiple agents.

[0069] The set evaluation model is a model for performing a proprietary evaluation of the importance of the agent. The set evaluation model here can be a proprietary evaluation model determined based on a neural network model. Specifically, the characteristics of the agent that affect the importance score determined in the historical prediction results of method 1 can be used as feature vectors, and the importance score can be used as a label to perform repeated model training to obtain a stable and convergent model as the set evaluation model. In this way, the basic information of the obstacle can be directly input into the set evaluation model, and the importance score of the corresponding agent can be output.

[0070] Method 3: inputting basic information of the plurality of obstacles into a prediction model, and obtaining an importance score of each of the plurality of agents based on a set detection head prediction.

[0071] The set detection head is a detection head used to detect and output the importance of the agent. Method 3 here is similar to method 2, except that the prediction of the importance score and the trajectory prediction in method 3 are output by the same prediction model, that is, the two share the same backbone network, but are output by different detection heads at the end of the network. In other words, there can be two detection heads here, one for outputting the importance score of the agent, and one for outputting the predicted trajectory of the agent.

[0072] In one embodiment, the basic information of the multiple obstacles can be input into the prediction model to predict the predicted trajectories of the multiple agents, and at the same time, the importance scores of the multiple agents can be predicted. Thus, the predicted trajectories and importance scores of the agents can be output simultaneously quickly, accurately and conveniently by sharing the prediction model.

[0073] It should be understood that the above-mentioned setting evaluation model and prediction model, etc. can all be understood as models established based on deep learning algorithms.

[0074] Step 106: When it is determined that there is a conflict in the predicted trajectories of the multiple agents, based on the importance score of each agent in the multiple agents, the multiple agents are divided into different priority processing sets according to a preset division rule.

[0075] After the predicted trajectories and importance scores of the agents are predicted in step 104, it can be determined whether there is a trajectory conflict based on the predicted trajectories of the multiple agents, that is, whether the multiple agents will collide in the future. In general, considering that the predicted trajectories are predicted by a deep learning algorithm model, there may be a trajectory conflict. If it is determined that there is a conflict in the predicted trajectories of multiple agents, the optimization processing scheme of the present application can be used to divide the multiple agents into different priority processing sets based on the importance score of each agent in the multiple agents according to preset division rules. If it is determined that there is no conflict in the predicted trajectories of the multiple agents, no optimization processing is required.

[0076] Optionally, in step 106, when dividing the multiple agents into different priority processing sets according to preset division rules based on the importance score of each agent in the multiple agents, the agents that meet different set score threshold intervals can be divided into corresponding priority processing sets based on the importance score of each agent in the multiple agents; or, based on the importance score of each agent in the multiple agents, the multiple agents can be sorted and the multiple agents can be evenly divided into different priority processing sets according to the current sorting.

[0077] Considering that the importance score of the agent reflects the impact on the accuracy of the predicted trajectory and the trajectory planning of the autonomous driving vehicle, it is possible to select appropriate division rules to hierarchically process multiple agents according to different business needs. The preset division rules may include: division according to the set score threshold interval, or evenly dividing multiple agents after sorting them according to the importance score, and the number of priority processing sets obtained by the division can be set at the same time. In fact, there are many kinds of preset division rules, which are not listed here one by one, as long as they can hierarchically process multiple agents and divide them into multiple priority processing sets.

[0078] Different priority processing sets may be processing sets corresponding to priority levels defined in advance according to business needs. For example, three priority levels are set: high priority, medium priority, and low priority; in this way, multiple agents can be divided into three priority processing sets: a high priority processing set, a medium priority processing set, and a low priority processing set. For another example, two priority levels are set: high priority and low priority; in this way, multiple agents can be divided into two priority processing sets: a high priority processing set and a low priority processing set.

[0079] In the specific implementation, assuming that they are divided into 2 priority processing sets, N (N≥2) agents can be sorted from high to low according to their respective importance scores. If N is an even number, the first N / 2 agents can be divided into the high priority processing set, and the remaining agents can be divided into the low priority processing set; if N is an odd number, the first (N-1) / 2 agents can be divided into the high priority processing set, and the remaining agents can be divided into the low priority processing set; or, the first (N+1) / 2 agents can be divided into the high priority processing set, and the remaining agents can be divided into the low priority processing set. It can be understood that the uniform division method is not absolutely uniform. When the number of agents is an even number, uniform division can be achieved; and when the number of agents is an odd number, a relatively uniform division can be achieved, and the number of agents in adjacent priority processing sets differs by 1. This hierarchical division method can divide multiple agents into two processing sets as much as possible. The number of agents in each processing set is close. Therefore, when performing subsequent optimization processing, different trajectory optimization methods can be used for different processing sets to improve the accuracy and reliability of the predicted trajectory.

[0080] However, considering that the agents may not be divided into matching processing sets according to the uniform division method, it is possible that two agents have the same importance score, but are divided into different processing sets and receive different trajectory optimization treatments, and the trajectory optimization treatment received by one of the agents may not match. Therefore, in order to ensure that agents with the same importance score receive similar trajectory optimization treatment solutions, the agents can be sorted according to the importance score, and then the agents with a score greater than the set score threshold of 1 are divided into the high priority processing set, and the remaining agents are divided into the low priority processing set.

[0081] Step 108: In descending order of priority, the agents in different priority processing sets are optimized by using different trajectory optimization methods to obtain the final predicted trajectories of the multiple agents in the target driving scene.

[0082] Optionally, in the present application, the different priority processing sets include: a high priority processing set and a low priority processing set; then, in step 108, when optimizing the predicted trajectories of the agents in the different priority processing sets in order of priority from high to low, and obtaining the final predicted trajectories of multiple agents in the target driving scene, the predicted trajectories of the agents in the high priority processing set can be optimized by a trajectory optimizer based on the importance score; and, based on the importance score, the predicted trajectories of the agents in the low priority processing set can be optimized by modifying the longitudinal acceleration of the trajectory. In this way, the intelligent agents in the high-priority processing set use the trajectory optimizer to optimize the predicted trajectory, and the intelligent agents in the low-priority processing set optimize the predicted trajectory by modifying the longitudinal acceleration of the trajectory. Since the optimization quality of the trajectory optimizer is high, the high accuracy of the optimized predicted trajectory of the intelligent agents in the high-priority processing set can be guaranteed, and the method of modifying the longitudinal acceleration of the trajectory can ensure that the optimization processing speed of the intelligent agents in the low-priority processing set is faster and the time consumption is shorter. Combining the two optimization methods, it can ensure that the optimization accuracy of the predicted trajectories of multiple intelligent agents is higher, and the optimization processing speed is faster and the time consumption is shorter.

[0083] Optionally, in the present application, when the predicted trajectories of the agents in the high-priority processing set are optimized based on the importance scores using a trajectory optimizer, the agents in the high-priority processing set that have conflicts at a set time can be sorted based on the importance scores of the agents in the high-priority processing set; the predicted trajectories of the agent with a low importance score in two adjacent agents are adjusted in turn according to the current sorting using a trajectory optimizer to achieve optimized avoidance.

[0084] In specific implementation, the predicted trajectories of all agents in the high priority processing set can be traversed in chronological order to determine the time and place where these agents may collide in the future time period, thereby determining the collision point information. Then, these agents that may collide are sorted according to the importance score, and the two adjacent agents are optimized in turn according to the current sorting. First, the predicted trajectory of the agent with a high importance score is ensured to remain unchanged, and the predicted trajectory of the agent with a low importance score is input into the trajectory optimizer, and the final predicted trajectory is output as the optimized result. Among them, the trajectory optimizer can be built based on a model or a rule. The trajectory optimizer will consider factors such as avoiding collisions and trajectory smoothness. For example, the quadratic programming QP algorithm, ILQR algorithm, etc. are used. Among them, the ILQR algorithm can efficiently solve the optimization control problem of nonlinear systems. Through this method, two adjacent agents can be compared one by one, and the predicted trajectory of the agent with a relatively high importance score is optimized on the premise of ensuring that the predicted trajectory of the agent with a relatively high importance score remains unchanged, so as to improve the accuracy of the predicted trajectory. It should be understood that when comparing and optimizing the two adjacent agents, when optimizing the predicted trajectory of the agent with a relatively low importance score, it is necessary to consider not only that the agent will not collide with the agent with a relatively high importance score, but also that it will not collide with all the agents with high importance scores in the past. Thus, it is ensured that the optimization is carried out step by step according to the importance score, and reasonable avoidance is achieved.

[0085] Optionally, in the present application, based on the importance score, when optimizing the predicted trajectory of the agents in the low priority processing set by modifying the longitudinal acceleration of the trajectory, the agents in the low priority processing set that have conflicts at the set time can be sorted based on the importance score of the agents in the low priority processing set; and the predicted trajectory of the agent with a low importance score in two adjacent agents is adjusted in turn according to the current sorting by modifying the longitudinal acceleration of the trajectory to achieve optimized avoidance. Modifying the longitudinal acceleration means modifying the acceleration in the forward direction, increasing or decreasing the acceleration.

[0086] In specific implementation, the predicted trajectories of all agents in the high-priority processing set can be traversed in chronological order to determine the time and place where these agents may collide in the future time period, thereby determining the collision point information. Then, these agents that may collide are sorted according to their importance scores, and two adjacent agents are optimized in turn according to the current sorting. First, the predicted trajectory of the agent with a high importance score is ensured to remain unchanged, and the predicted trajectory of the agent with a low importance score is accelerated or decelerated. Under the condition of avoiding collision with the agent with a high importance score, the trajectory with the smallest acceleration or deceleration is determined as the final predicted trajectory of the agent with a low importance score. Through this method, two adjacent agents can be compared one by one, and the predicted trajectory of the agent with a relatively low importance score can be optimized while ensuring that the predicted trajectory of the agent with a relatively high importance score remains unchanged, thereby improving the accuracy of the predicted trajectory.

[0087] Through the above technical solution, when the predicted trajectories of multiple agents are predicted based on the basic information of multiple obstacles in the target driving scene, and after determining that the predicted trajectories of multiple agents conflict, the multiple agents are divided into different priority processing sets based on the importance score, and then, the predicted trajectories of the agents in different priority processing sets are optimized in order from high to low priority to obtain the final predicted trajectories of multiple agents in the target driving scene. Therefore, by optimizing the predicted trajectories of multiple agents, the problem of inaccurate predicted trajectories caused by conflicts between agents is solved, and the accuracy and reliability of the predicted trajectories of multiple agents are improved. At the same time, by grading the agents and optimizing them using different optimization methods, the processing time can be reduced while ensuring the reliability of the predicted trajectories.

[0088] The present application scheme is described in detail below with reference to specific examples. Figure 2 As shown, this is the prediction trajectory optimization processing flow chart of the present application.

[0089] Assume that the current detection subject is autonomous driving vehicle A, and the predicted trajectories of three autonomous driving vehicles (respectively denoted as agent 1, agent 2, and agent 3) in the driving scene are detected and optimized.

[0090] First, basic information of obstacles can be obtained through two branches. Branch 1 is the basic information of obstacles collected by the autonomous driving vehicle A in the driving scene, and branch 2 is the basic information of obstacles obtained by the autonomous driving vehicle A through cloud or local electronic map recognition.

[0091] It should be understood that the obstacles collected at this time are not limited to agent 1, agent 2 and agent 3, and may also include obstacles such as other bicycles or electric bicycles, pedestrians, etc.

[0092] In fact, before the basic information obtained by the above two branches is sent to the prediction model, the relevant information of the previous trajectory planning, such as the intelligent agents with higher importance scores and their related basic information, can also be sent to the prediction model for enhanced training to update the parameters of the prediction model.

[0093] Then, the results of these two branches are sent to the pre-set prediction model for prediction. The prediction model can output the prediction results only for the agent, while ignoring other unnecessary prediction results, and obtain the prediction trajectories of multiple agents, namely the prediction trajectory of agent 1, the prediction trajectory of agent 2, and the prediction trajectory of agent 3. At the same time, the prediction model will also output the importance scores of the three agents. Assume that the importance score of agent 1>the importance score of agent 3>the importance score of agent 2.

[0094] After that, we can roughly analyze whether there is a conflict based on the predicted trajectories of the three agents. And we can sort the agents with conflict according to the importance scores of multiple agents from high to low. Among them, the importance scores of agents 1 and 3 are high and higher than the set score threshold M, so agents 1 and 3 are classified as high priority, and agent 2 is classified as low priority. The existence of conflict here means that a collision may occur in the future time period.

[0095] During the optimization process, the high-priority agent is first optimized using the trajectory optimizer, and then the low-priority agent is optimized by modifying the longitudinal acceleration.

[0096] Reference Figure 3 As shown in the figure, for high priority, the predicted trajectories of agent 1 and agent 3 are first traversed in chronological order to determine the time and location of the collision. Each black dot in the figure represents the position of the agent on the predicted trajectory at a certain moment in the future. The dotted box represents the box size of the agent. In the figure, the two agents 1 and 3 collide at the last moment.

[0097] For specific optimization methods, please refer to Figure 1 The optimization method in the illustrated embodiment will not be described in detail here.

[0098] Through the above optimization method, similar optimization processing methods can be performed on conflicting intelligent agents, thereby ensuring optimization accuracy while ensuring low optimization time. Furthermore, reliable predicted trajectories can be obtained quickly and accurately, providing reliable data support for autonomous driving vehicles, so that the local or backend server (cloud or distributed server) of the autonomous driving vehicle can obtain accurate intelligent agent predicted trajectories and make accurate trajectory planning decisions.

[0099] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0100] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0101] Figure 4 FIG. 1 shows a schematic diagram of a multi-agent prediction trajectory optimization processing device provided by an embodiment of the present application. Figure 4 The prediction trajectory optimization processing device 400 of this embodiment may include: an acquisition module 401, a prediction module 402, a division module 403 and an optimization module 404. Among them:

[0102] The acquisition module 401 is used to acquire basic information of multiple obstacles in the target driving scene, wherein the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by high-precision maps.

[0103] The prediction module 402 is used to predict the predicted trajectories of multiple agents and the importance score of each of the multiple agents based on the basic information of the multiple obstacles; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle.

[0104] The division module 403 is used to divide the multiple agents into different priority processing sets according to preset division rules based on the importance score of each agent in the multiple agents when it is determined that there is a conflict in the predicted trajectories of the multiple agents.

[0105] The optimization module 404 is used to optimize the predicted trajectories of the agents in different priority processing sets in descending order of priority using different trajectory optimization methods to obtain the final predicted trajectories of the multiple agents in the target driving scene.

[0106] It should be noted that part or all of the prediction trajectory optimization processing device of the present embodiment may be an application located in the local terminal of the autonomous driving vehicle, or may also be a functional unit such as a plug-in or software development kit (SDK) provided in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an autonomous driving platform on the network side, etc. This embodiment does not specifically limit this.

[0107] Optionally, in this application, in order to ensure the flexible use of the predicted trajectory, the above Figure 1 The method steps shown can be implemented locally in the autonomous driving vehicle.

[0108] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0109] Optionally, in the present application, the prediction module 402, when predicting the importance score of each of the multiple agents based on the basic information of the multiple obstacles, is specifically used to evaluate the multiple agents according to set evaluation rules based on the basic information of the multiple obstacles, and predict the importance score of each of the multiple agents; or, is used to input the basic information of the multiple obstacles into a set evaluation model, and predict the importance score of each of the multiple agents, wherein the set evaluation model is a model for performing a proprietary evaluation of the importance of agents; or, is used to input the basic information of the multiple obstacles into a prediction model, and predict the importance score of each of the multiple agents based on a set detection head, and the set detection head is a detection head for detecting and outputting the importance of agents.

[0110] Optionally, in the present application, the division module 403, when dividing the multiple agents into different priority processing sets according to preset division rules based on the importance score of each agent in the multiple agents, is specifically used to divide the agents that meet different set score threshold intervals into corresponding priority processing sets based on the importance score of each agent in the multiple agents; or, is used to sort the multiple agents based on the importance score of each agent in the multiple agents, and evenly divide the multiple agents into different priority processing sets according to the current sorting.

[0111] Optionally, in the present application, the different priority processing sets include: a high priority processing set and a low priority processing set;

[0112] The optimization module 404 optimizes the predicted trajectories of the agents in different priority processing sets in order of priority from high to low, using different trajectory optimization methods, and obtains the final predicted trajectories of multiple agents in the target driving scene. Specifically, it is used to optimize the predicted trajectories of the agents in the high priority processing set based on the importance score by using a trajectory optimizer; and, based on the importance score, optimize the predicted trajectories of the agents in the low priority processing set by modifying the longitudinal acceleration of the trajectory.

[0113] Optionally, in the present application, when the optimization module 404 uses a trajectory optimizer to optimize the predicted trajectory of the agents in the high-priority processing set based on the importance scores, it is specifically used to sort the agents in the high-priority processing set that have conflicts at a set time based on the importance scores of the agents in the high-priority processing set; and use the trajectory optimizer to adjust the predicted trajectories of the agents with lower importance scores among two adjacent agents in accordance with the current sorting to achieve optimized avoidance.

[0114] Optionally, in the present application, when the optimization module 404 optimizes the predicted trajectory of the agent in the low-priority processing set based on the importance score by modifying the longitudinal acceleration of the trajectory, it is specifically used to sort the agents in the low-priority processing set that have conflicts at a set time based on the importance score of the agents in the low-priority processing set; and adjust the predicted trajectories of the agent with a low importance score between two adjacent agents in accordance with the current sorting, by modifying the longitudinal acceleration of the trajectory to achieve optimized avoidance.

[0115] Through the above technical solution, when the predicted trajectories of multiple agents are predicted based on the basic information of multiple obstacles in the target driving scene, and after determining that the predicted trajectories of multiple agents conflict, the multiple agents are divided into different priority processing sets based on the importance score, and then, the predicted trajectories of the agents in different priority processing sets are optimized in order from high to low priority to obtain the final predicted trajectories of multiple agents in the target driving scene. Therefore, by optimizing the predicted trajectories of multiple agents, the problem of inaccurate predicted trajectories caused by conflicts between agents is solved, and the accuracy and reliability of the predicted trajectories of multiple agents are improved. At the same time, by grading the agents and optimizing them using different optimization methods, the processing time can be reduced while ensuring the reliability of the predicted trajectories.

[0116] One embodiment of the present application provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is loaded and executed by a processor to implement the multi-agent prediction trajectory optimization processing method as described above.

[0117] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the multi-agent prediction trajectory optimization processing method as described above.

[0118] An embodiment of the present application provides an autonomous driving vehicle, including the electronic device as described above. Specifically, the autonomous driving vehicle can be a vehicle of level L2 or above.

[0119] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0120] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0121] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0122] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0123] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as a multi-agent prediction trajectory optimization processing method. For example, in some embodiments, the multi-agent prediction trajectory optimization processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the multi-agent prediction trajectory optimization processing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the multi-agent prediction trajectory optimization processing method in any other appropriate manner (eg, by means of firmware).

[0124] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0125] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0126] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0127] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0128] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0129] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0130] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0131] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A multi-agent prediction trajectory optimization processing method, characterized in that: The method comprises: Obtaining basic information of multiple obstacles in a target driving scene, wherein the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by a high-precision map; Based on the basic information of the multiple obstacles, predict the predicted trajectories of the multiple agents and the importance score of each of the multiple agents; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle; When it is determined that there is a conflict in the predicted trajectories of the multiple agents, based on the importance score of each agent in the multiple agents, the multiple agents are divided into different priority processing sets according to a preset division rule; According to the order of priority from high to low, the agents in different priority processing sets are optimized in turn by using different trajectory optimization methods to optimize the predicted trajectories, so as to obtain the final predicted trajectories of multiple agents in the target driving scene.

2. The method according to claim 1, characterized in that Based on the basic information of the multiple obstacles, an importance score of each of the multiple agents is predicted, including: Based on the basic information of the multiple obstacles, the multiple agents are evaluated according to the set evaluation rules to predict the importance score of each of the multiple agents; or Inputting the basic information of the plurality of obstacles into a set evaluation model to predict the importance score of each of the plurality of agents, wherein the set evaluation model is a model for performing a dedicated evaluation of the importance of agents; or The basic information of the multiple obstacles is input into the prediction model, and the importance score of each of the multiple agents is predicted based on the set detection head, where the set detection head is a detection head used to detect and output the importance of the agent.

3. The method according to claim 1, characterized in that Based on the importance score of each of the multiple agents, the multiple agents are divided into different priority processing sets according to a preset division rule, including: Based on the importance score of each of the multiple agents, the agents that meet different set score threshold intervals are divided into corresponding priority processing sets; or, Based on the importance score of each of the multiple agents, the multiple agents are sorted, and the multiple agents are evenly divided into different priority processing sets according to the current sorting.

4. The method according to claim 1, characterized in that The different priority processing sets include: a high priority processing set and a low priority processing set; In order of priority from high to low, the agents in different priority processing sets are optimized by using different trajectory optimization methods to obtain the final predicted trajectories of multiple agents in the target driving scene, including: Based on the importance score, the predicted trajectory of the intelligent agent in the high priority processing set is optimized by using a trajectory optimizer; and based on the importance score, the predicted trajectory of the intelligent agent in the low priority processing set is optimized by modifying the longitudinal acceleration of the trajectory.

5. The method according to claim 4, characterized in that Based on the importance score, the predicted trajectory of the agent in the high priority processing set is optimized using a trajectory optimizer, including: Based on the importance scores of the agents in the high priority processing set, sorting the agents in the high priority processing set that have conflicts at a set time; According to the current ranking, the predicted trajectory of the agent with the lower importance score among the two adjacent agents is adjusted using the trajectory optimizer to achieve optimized avoidance.

6. The method according to claim 4, characterized in that Based on the importance score, the predicted trajectory of the agent in the low priority processing set is optimized by modifying the longitudinal acceleration of the trajectory, including: Based on the importance scores of the agents in the low priority processing set, sorting the agents in the low priority processing set that have conflicts at a set time; According to the current ranking, the predicted trajectory of the agent with the lower importance score among the two adjacent agents is adjusted by modifying the longitudinal acceleration of the trajectory to achieve optimized avoidance.

7. A multi-agent prediction trajectory optimization processing device, characterized in that: include: An acquisition module, used to acquire basic information of multiple obstacles in a target driving scene, wherein the multiple obstacles include: dynamic obstacles sensed and detected in the target driving scene, and static obstacles marked by a high-precision map; A prediction module, configured to predict, based on the basic information of the plurality of obstacles, the predicted trajectories of the plurality of agents and the importance score of each of the plurality of agents; wherein the importance score reflects the accuracy of the trajectory of the agent and the influence of the agent on the trajectory planning of the autonomous driving vehicle; A partitioning module, configured to partition the plurality of agents into different priority processing sets according to a preset partitioning rule based on the importance score of each agent in the plurality of agents when it is determined that the predicted trajectories of the plurality of agents conflict; The optimization module is used to optimize the predicted trajectories of the agents in different priority processing sets in descending order of priority, using different trajectory optimization methods to obtain the final predicted trajectories of multiple agents in the target driving scene.

8. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

10. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.

11. An autonomous driving vehicle comprising the electronic device as claimed in claim 8.

Citation Information

Cited By

  • Multi-agent predicted trajectory optimization processing method and apparatus, and device and storage medium

    WO2025246297A1