Multi-scene joint intelligent driving planning method, intelligent device and storage medium
By generating multiple sets of scene action source pairs and performing collaborative evolution, combined with a candidate scoring model, the problem of difficulty in expressing the interaction between scene changes and vehicle actions in existing autonomous driving planning methods is solved, achieving coverage of multiple traffic interaction results and improving the accuracy of planning trajectories.
Patent Information
- Application Number
- CN202611442159.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-12-01
AI Technical Summary
Existing autonomous driving planning methods struggle to fully express the interaction between scene changes and vehicle actions within the same generation process, and are unable to cover multiple possible traffic interaction outcomes, leading to increased computational and storage overhead, and insufficient differentiation of candidate results.
By generating multiple sets of scene action source pairs, co-evolution is carried out using a joint generation model, multi-component scoring is performed by combining a candidate scoring model, multiple possible scene-action results are generated, and the planned trajectory is determined by using historical scene feature sequences and the current vehicle state.
It improves the one-way association between scenes and actions, reduces information mixing, reduces result collapse and scene-action mismatch in the multi-mode generation process, and improves the distinguishability of planning results.
Smart Images

Figure CN123190842A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent driving planning technology, specifically to a multi-scenario joint intelligent driving planning method, intelligent device, and storage medium. Background Technology
[0002] Autonomous driving planning typically predicts a vehicle's future trajectory based on environmental observations, vehicle status, and navigation information acquired at the current moment and throughout its historical periods. With the development of end-to-end autonomous driving technology, some planning methods have further incorporated scenario generation models capable of predicting future environmental changes, enabling the planning process to simultaneously consider changes in the vehicle's actions and those of other traffic participants and the road environment.
[0003] Existing autonomous driving planning methods that combine future scenario prediction typically employ cascaded or joint processing approaches. Cascaded processing first predicts future scenarios based on historical observations, then generates vehicle trajectories based on the prediction results; alternatively, it first generates multiple candidate trajectories and then predicts the future scenarios corresponding to each candidate trajectory separately. Since scenario prediction and action planning are performed sequentially, the results of the previous processing stage usually serve as input conditions for the subsequent stage, making it difficult for information from the later stage to have a reverse impact on the earlier stage. Therefore, when the vehicle's actions interact with the movements of other traffic participants, cascaded processing methods struggle to fully express the interaction between scenario changes and vehicle actions within the same generation process.
[0004] Joint processing methods handle future scenario variables and vehicle action variables within the same generation process, enabling the establishment of interaction relationships between scenario and action variables to some extent. However, existing joint methods typically generate a single scenario-action outcome for the same historical observation, or only a limited number of action candidates, making it difficult to simultaneously cover multiple plausible future outcomes resulting from different driving intentions or traffic interactions under the same observation conditions. For example, in an unsignalized intersection scenario, a vehicle may continue moving forward and be yielded to by other vehicles, or it may slow down and wait for other vehicles to proceed. Different vehicle actions may lead to different responses from traffic participants and future scenarios, and generating only a single scenario-action outcome is insufficient to cover these differing interaction outcomes.
[0005] Furthermore, existing methods typically require propagating relatively dense image features, video latent variables, or bird's-eye view representations for each candidate when generating multiple candidate results. As the prediction timeframe and the number of candidates increase, the computational and storage overhead of scene representation also increases. Some candidate selection methods primarily score candidate trajectories based on historical observations, failing to fully utilize the predicted future scenes corresponding to each candidate trajectory. Therefore, it is difficult to distinguish candidate results based on the potential future environmental responses caused by different candidate trajectories.
[0006] Accordingly, there is a need in this field for a new autonomous driving planning scheme to address the aforementioned problems. Summary of the Invention
[0007] In order to overcome the above-mentioned deficiencies, this application is proposed to solve, or at least partially solve, the technical problem of difficulty in distinguishing and selecting candidate results based on the future environmental responses that different candidate trajectories may cause.
[0008] In a first aspect, a multi-scenario joint intelligent driving planning method is provided, comprising the following steps: acquiring historical multi-view synchronized images, historical vehicle states, and navigation commands, wherein the historical vehicle states include the current vehicle state; extracting visual features and temporally aggregating the historical multi-view synchronized images to form a historical scene feature sequence; generating multiple sets of action noise according to pre-determined multiple sets of action mode parameters; independently sampling multiple sets of future scene token noise, and pairing the action noise with the future scene token noise one by one according to the same action mode to form multiple sets of scene action source pairs; inputting the historical scene feature sequence, each scene action source pair, historical vehicle states, and navigation commands into a pre-trained joint generation model for joint evolution to generate candidate results corresponding to the scene action source pairs; wherein, during joint evolution, the data between different scene action source pairs are isolated from each other, and each candidate result includes a candidate predicted trajectory and a predicted future scene corresponding to the candidate predicted trajectory; inputting the current vehicle state, candidate results, and historical scene feature sequence into a pre-trained candidate scoring model, and determining the output planning trajectory based on the scoring results of the candidate scoring model.
[0009] In one technical solution of the above-mentioned multi-scenario joint intelligent driving planning method, multiple sets of action mode parameters are determined through the following steps: obtaining real future trajectories from multiple training samples; converting each real future trajectory into action data and grouping them according to action modes to form multiple action mode groups; and determining the corresponding action mode parameters based on the action data in each action mode group.
[0010] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, the conversion of each real future trajectory into action data specifically includes the following steps: based on the position and heading of each real future trajectory at each future time, determine the longitudinal differential displacement, lateral differential displacement, heading sine, and heading cosine respectively; based on the mean, maximum, and minimum values of the longitudinal differential displacement and lateral differential displacement in multiple training samples, normalize the longitudinal differential displacement and lateral differential displacement, and use the normalized longitudinal differential displacement, normalized lateral differential displacement, heading sine, and heading cosine as action data.
[0011] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, each set of action mode parameters corresponds to an action mode. The action mode parameters include the mean and variance of the action data corresponding to the action mode. Based on the predetermined multiple sets of action mode parameters, multiple sets of action noise are generated, specifically including the following steps: forming the action data distribution of the corresponding action mode based on the mean and variance of the action data; reusing the same set of action data mean and variance along the future time trajectory at each moment, and sampling on the reused action data distribution to obtain a set of action noise.
[0012] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, visual feature extraction and temporal aggregation are performed on historical multi-view synchronized images to form a historical scene feature sequence. Specifically, the steps include: generating a registration token through a first encoder; combining the registration token with the corresponding image frame in the historical multi-view synchronized images; dividing the historical multi-view synchronized images into multiple time blocks based on the combined image frame, and performing attention aggregation on the registration tokens corresponding to different cameras in the same time block to generate corresponding time block scene features; and splicing the scene features of each time block according to time to form a historical scene feature sequence.
[0013] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, the future scenario token noise has a predetermined data shape, which includes the number of future time blocks, the number of tokens in each time block, and the token dimension. Multiple sets of future scenario token noise are sampled independently, specifically including the following steps: forming a preset future scenario token distribution based on the data shape; using the same number of groups as the action noise, sampling independently on the future scenario token distribution to obtain multiple sets of future scenario token noise.
[0014] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, the action noise and future scenario token noise in the scene action source pair are the action-side input and future scenario-side input of the joint generation model, respectively. The joint evolution specifically includes the following steps: based on historical scene feature sequences, historical vehicle states, and navigation commands, within the mode corresponding to each scene action source pair, the action-side input and future scenario-side input are mutually influenced and co-evolved, and the action-side data and future scenario-side data are updated respectively; a predicted action endpoint is formed based on the jointly evolved action-side data, and a candidate predicted trajectory is formed based on the predicted action endpoint; a predicted future scenario is formed based on the jointly evolved future scenario-side data to generate candidate results corresponding to each scene action source pair.
[0015] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, the pre-training of the joint generative model includes the following steps: acquiring the real future trajectory and future image in the training samples; forming action-side training targets based on the real future trajectory and forming future scene-side training targets based on the future image; performing joint evolution on the training samples to obtain each candidate result; comparing the candidate predicted trajectory in each candidate result with the real future trajectory, and determining the mode corresponding to the candidate result with the smallest distance as the winning mode; wherein, forming the future scene-side training target based on the future image specifically includes the following steps: setting a second encoder with the same structure as the first encoder; updating the parameters of the second encoder by exponential moving average based on the parameters of the first encoder; encoding the future image by the second encoder to form the future scene-side training target.
[0016] In one technical solution of the above-mentioned multi-scenario joint intelligent driving planning method, the pre-training of the joint generative model further includes the following steps: for the winning mode, calculate the action-side supervision loss based on the jointly evolved action-side data and the action-side training objective, and calculate the future scenario-side supervision loss based on the jointly evolved future scenario-side data and the future scenario-side training objective; weight the action-side supervision loss and the future scenario-side supervision loss according to predetermined weights to obtain the total loss; update the first encoder and the joint generative model based on the total loss.
[0017] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, before calculating the action-side supervision loss and the future scenario-side supervision loss, the following steps are taken to form an intermediate training state: For each formed action source pair in the scenario, the action flow time and the scenario flow time are sampled independently; using the action noise in the action source pair as the action-side noise endpoint and the action-side training target as the action-side clean endpoint, interpolation is performed between the action-side noise endpoint and the action-side clean endpoint according to the action flow time to form an intermediate training state for the action side; using the future scenario token noise in the action source pair as the future scenario noise endpoint and the future scenario training target as the future scenario clean endpoint, interpolation is performed between the future scenario noise endpoint and the future scenario clean endpoint according to the scenario flow time to form an intermediate training state for the future scenario; the intermediate training state for the action side and the intermediate training state for the future scenario are used as the action-side input and the future scenario-side input for joint evolution, respectively.
[0018] In one technical solution of the aforementioned multi-scenario joint intelligent driving planning method, the candidate scoring model is used to combine the historical scenario feature sequence, the current vehicle state, and the predicted future scenario corresponding to the candidate predicted trajectory in the candidate results. The model performs multi-component scoring on each candidate result and aggregates them to generate the corresponding candidate total score. By comparing the candidate total scores, the candidate predicted trajectory corresponding to the candidate result with the highest total score is determined as the output planning trajectory. The multi-component scoring includes at least one of the following: no-collision score, drivable area compliance score, collision time score, driving progress score, and comfort score.
[0019] In a second aspect, a smart device is provided, the smart device including at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, and when the computer program is executed by the at least one processor, it implements a method of any of the above-described technical solutions of a multi-scenario joint intelligent driving planning method.
[0020] In a third aspect, a data storage server is provided, the data storage server including at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, the computer program being described by any one of the technical solutions of the at least one multi-scenario joint intelligent driving planning method.
[0021] In a fourth aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, the program codes being adapted to be loaded and run by a processor to perform any of the technical solutions of the above-described multi-scenario joint intelligent driving planning method.
[0022] Solution 1. A multi-scenario joint intelligent driving planning method, characterized by the following steps:
[0023] Acquire historical multi-view synchronized images, historical vehicle status, and navigation instructions, wherein the historical vehicle status includes the vehicle status at the current moment;
[0024] Visual features are extracted and time-aggregated from the historical multi-view synchronized images to form a historical scene feature sequence;
[0025] Based on a predetermined set of motion pattern parameters, multiple sets of motion noise are generated respectively.
[0026] Multiple sets of future scene token noise are sampled independently, and the action noise is paired with the future scene token noise one by one according to the same action pattern to form multiple sets of scene action source pairs.
[0027] The historical scene feature sequence, each scene action source pair, historical vehicle state and navigation instructions are input into the pre-trained joint generation model for joint evolution to generate candidate results corresponding to the scene action source pairs; wherein, during joint evolution, the data between different scene action source pairs are isolated from each other, and each candidate result includes a candidate predicted trajectory and a predicted future scene corresponding to the candidate predicted trajectory.
[0028] The current vehicle state, candidate results, and historical scene feature sequence are input into the pre-trained candidate scoring model, and the output planned trajectory is determined based on the scoring results of the candidate scoring model.
[0029] Solution 2. A multi-scenario joint intelligent driving planning method according to Solution 1, characterized in that the multiple sets of action mode parameters are determined through the following steps:
[0030] Obtain the true future trajectory from multiple training samples;
[0031] Each of the aforementioned real future trajectories is converted into motion data and grouped according to motion patterns to form multiple motion pattern groups;
[0032] The corresponding action mode parameters are determined based on the action data in each of the action mode groups.
[0033] Solution 3. A multi-scenario joint intelligent driving planning method according to Solution 2, characterized in that the step of converting each of the real future trajectories into action data specifically includes the following steps:
[0034] Based on the position and heading of each of the real future trajectories at each future moment, determine the longitudinal differential displacement, lateral differential displacement, heading sine, and heading cosine respectively;
[0035] Based on the mean, maximum, and minimum values of the longitudinal and lateral differential displacements from multiple training samples, the longitudinal and lateral differential displacements are normalized, and the normalized longitudinal and lateral differential displacements, the heading sine, and the heading cosine are used as the motion data.
[0036] Option 4. A multi-scenario joint intelligent driving planning method according to Option 2 or 3, characterized in that:
[0037] Each group of action pattern parameters corresponds to an action pattern, and the action pattern parameters include the mean and variance of the action data corresponding to the action pattern.
[0038] The step of generating multiple sets of motion noise based on multiple pre-determined motion pattern parameters specifically includes the following steps:
[0039] The action data distribution for the corresponding action pattern is formed based on the mean and variance of the action data.
[0040] The mean and variance of the same set of motion data are reused at each moment along the future time trajectory, and then sampled on the multiplexed motion data distribution to obtain a set of motion noise.
[0041] Solution 5. A multi-scenario joint intelligent driving planning method according to Solution 1, characterized in that the step of extracting visual features and temporally aggregating the historical multi-view synchronized images to form a historical scene feature sequence specifically includes the following steps:
[0042] A registration token is generated using the first encoder;
[0043] Combine the registration token with the corresponding image frame in the historical multi-view synchronized image;
[0044] Based on the combined image frames, the historical multi-view synchronized images are divided into multiple time blocks, and attention aggregation is performed on the registration tokens corresponding to different cameras within the same time block to generate corresponding time block scene features.
[0045] By splicing together the scene features of each time block according to time, a sequence of historical scene features is formed.
[0046] Solution 6. A multi-scenario joint intelligent driving planning method according to Solution 5, characterized in that:
[0047] The future scenario token noise has a predetermined data shape, which includes the number of future time blocks, the number of tokens in each time block, and the token dimension.
[0048] The step of independently sampling multiple sets of future scene token noise specifically includes the following steps:
[0049] A preset future scenario token distribution is formed based on the data shape;
[0050] Using the same number of groups as the action noise, multiple groups of future scene token noise are independently sampled on the future scene token distribution to obtain multiple groups of future scene token noise.
[0051] Scheme 7. A multi-scenario joint intelligent driving planning method according to Scheme 5 or 6, characterized in that the action noise and future scene token noise in the scene action source pair are respectively the action-side input and future scene-side input of the joint generation model;
[0052] The joint evolution specifically includes the following steps:
[0053] Based on the historical scene feature sequence, the historical vehicle state, and the navigation instructions, within the mode corresponding to each scene action source pair, the action-side input and the future scene-side input undergo a collaborative evolution that mutually influences each other, and the action-side data and the future scene-side data are updated respectively.
[0054] Predicted action endpoints are formed based on the jointly evolved action-side data, and candidate predicted trajectories are formed based on the predicted action endpoints;
[0055] Based on the jointly evolved future scene-side data, a predicted future scene is formed to generate candidate results corresponding to each of the scene action source pairs.
[0056] Solution 8. A multi-scenario joint intelligent driving planning method according to Solution 7, characterized in that the pre-training of the joint generative model includes the following steps:
[0057] Obtain the true future trajectories and future images from the training samples;
[0058] The action-side training target is formed based on the actual future trajectory, and the future scene-side training target is formed based on the future image;
[0059] The joint evolution is performed on the training samples to obtain each of the candidate results;
[0060] The candidate predicted trajectory in each of the candidate results is compared with the actual future trajectory, and the mode corresponding to the candidate result with the smallest distance is determined as the winning mode.
[0061] The step of forming a future scene-side training target based on the future image specifically includes the following steps:
[0062] A second encoder with the same structure as the first encoder is provided;
[0063] The parameters of the second encoder are updated by an exponential moving average based on the parameters of the first encoder.
[0064] The future image is encoded by the second encoder to form a future scene-side training target.
[0065] Scheme 9. A multi-scenario joint intelligent driving planning method according to Scheme 8, characterized in that the pre-training of the joint generative model further includes the following steps:
[0066] For the winning mode, the action-side supervision loss is calculated based on the jointly evolved action-side data and the action-side training objective, and the future scene-side supervision loss is calculated based on the jointly evolved future scene-side data and the future scene-side training objective.
[0067] The action-side supervision loss and the future scene-side supervision loss are weighted according to a predetermined weight to obtain the total loss;
[0068] The first encoder and the joint generative model are updated based on the total loss.
[0069] Solution 10. A multi-scenario joint intelligent driving planning method according to Solution 9, characterized in that, before calculating the action-side supervision loss and the future scenario-side supervision loss, a training intermediate state is formed through the following steps:
[0070] For each scene action source pair formed, the action stream time and scene stream time are sampled independently.
[0071] Using the motion noise in the scene motion source pair as the motion-side noise endpoint and the motion-side training target as the motion-side clean endpoint, interpolation is performed between the motion-side noise endpoint and the motion-side clean endpoint according to the motion flow time to form an intermediate state of motion-side training.
[0072] Using the future scene token noise in the scene action source pair as the future scene side noise endpoint and the future scene side training target as the future scene side clean endpoint, interpolation is performed between the future scene side noise endpoint and the future scene side clean endpoint according to the scene flow time to form the future scene side training intermediate state.
[0073] The intermediate states of the action-side training and the intermediate states of the future scene-side training are used as the action-side input and the future scene-side input of the joint evolution, respectively.
[0074] Solution 11. A multi-scenario joint intelligent driving planning method according to Solution 7, characterized in that:
[0075] The candidate scoring model is used to combine the historical scene feature sequence, the current vehicle status, and the predicted future scene corresponding to the candidate predicted trajectory in the candidate results to perform multi-component scoring on each candidate result, and to summarize and generate the corresponding candidate total score. By comparing the candidate total scores, the candidate predicted trajectory corresponding to the candidate result with the highest total score is determined as the output planned trajectory.
[0076] The multi-component rating includes at least one of the following: no-collision rating, drivable area compliance rating, time to collision rating, driving progress rating, and comfort rating.
[0077] Option 12. A smart device, characterized in that it comprises:
[0078] At least one processor;
[0079] And, a memory communicatively connected to the at least one processor;
[0080] The memory stores a computer program, which, when executed by the at least one processor, implements a multi-scenario joint intelligent driving planning method as described in any one of schemes 1 to 11.
[0081] Option 13. A data storage server, characterized in that it comprises:
[0082] At least one processor;
[0083] And, a memory communicatively connected to the at least one processor;
[0084] The memory stores a computer program, which, when executed by the at least one processor, implements a multi-scenario joint intelligent driving planning method as described in any one of schemes 1 to 11.
[0085] Scheme 14. A computer-readable storage medium storing a plurality of program codes, characterized in that the program codes are adapted to be loaded and run by a processor to perform a multi-scenario joint intelligent driving planning method as described in any one of Schemes 1 to 11.
[0086] The above-described technical solutions of this application have at least one or more of the following beneficial effects:
[0087] In the technical solution of the multi-scenario joint intelligent driving planning method provided in this application, multiple sets of action noise and multiple sets of future scenario token noise are paired one by one according to the same action pattern to form multiple sets of scenario action source pairs, and the data between different scenario action source pairs are kept isolated from each other, so that the same historical observation can cover multiple possible scenario-action results, while reducing the information mixing between different candidate modes.
[0088] By enabling the collaborative evolution of action-side input and future scene-side input within the corresponding mode of each scene action source pair, the vehicle's actions can be updated according to changes in the future scene, and the future scene can also respond according to the vehicle's actions, thereby improving the one-way association between scene and action.
[0089] By determining the winning mode based on the candidate predicted trajectory and the actual future trajectory, and using the same winning mode to simultaneously supervise the action-side data and the future scene-side data, the candidate predicted trajectory and the corresponding predicted future scene are kept in a pairing relationship, reducing result collapse and scene-action mismatch in the multi-mode generation process.
[0090] By forming a compact sequence of historical scene features and having the candidate scoring model score each candidate result in conjunction with its own predicted future scene, the planning trajectory can be determined by using the future scene information corresponding to different candidate trajectories while controlling the representation overhead of multiple candidate scenarios. This improves the lack of differentiation in planning results caused by relying solely on historical observations for candidate selection. Attached Figure Description
[0091] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Wherein:
[0092] Figure 1 This is a schematic flowchart illustrating the main steps in forming multiple sets of action mode parameters in a multi-scenario joint intelligent driving planning method according to an embodiment of this application.
[0093] Figure 2 This is a schematic diagram of the main steps in the pre-training of the joint generative model in a multi-scenario joint intelligent driving planning method according to an embodiment of this application.
[0094] Figure 3 This is a schematic diagram of the main steps in the pre-training of a candidate scoring model in a multi-scenario joint intelligent driving planning method according to an embodiment of this application;
[0095] Figure 4 This is a flowchart illustrating the main steps of the planning and execution phase of a multi-scenario joint intelligent driving planning method according to an embodiment of this application.
[0096] Figure 5 This is a schematic diagram of the main structure of a smart device according to an embodiment of this application.
[0097] Figure label:
[0098] 11: Memory; 12: Processor. Detailed Implementation
[0099] Some embodiments of this application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of this application and are not intended to limit the scope of protection of this application.
[0100] In the description of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and may also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B" and can include only A, only B, or A and B. The singular terms "a" or "this" can also include plural forms.
[0101] The directional terms used in this article, such as "front," "front side," "front part," "rear," "rear side," and "rear part," are all based on the front-rear direction of the vehicle after the component is installed. The terms "longitudinal," "longitudinal direction," and "longitudinal section" mentioned in this article are based on the front-rear direction after the component is installed in the vehicle, while "transverse," "lateral," and "cross section" indicate the direction perpendicular to the longitudinal direction.
[0102] The relevant user personal information that may be involved in the various embodiments of this application is processed in strict accordance with the requirements of laws and regulations, following the principles of legality, legitimacy, and necessity, based on the reasonable purpose of the business scenario, and includes personal information that users actively provide or that is generated as a result of using the product / service, as well as personal information obtained with user authorization.
[0103] The personal information processed in this application will vary depending on the specific product / service scenario and will be based on the specific scenario in which the user uses the product / service. This may involve the user's account information, device information, driving information, vehicle information, or other related information. This application will treat the user's personal information and its processing with the utmost diligence.
[0104] This application attaches great importance to the security of users' personal information and has taken reasonable and feasible security protection measures that comply with industry standards to protect users' information and prevent unauthorized access, disclosure, use, modification, damage or loss of personal information.
[0105] I. Overall Technical Architecture and Phase Relationship
[0106] The multi-scenario joint intelligent driving planning method in this application mainly includes a pre-formation stage of planning model and related parameters and a planning execution stage.
[0107] In the pre-formation stage of the planning model and related parameters, based on historical multi-view synchronized images, historical vehicle states, navigation commands, real future trajectories, and future images from multiple training samples, multiple sets of action mode parameters and statistics required for action data inverse normalization are formed. The first encoder, joint generative model, and candidate scoring model are initialized, a second encoder is set, and the first encoder, joint generative model, and candidate scoring model are trained. The first encoder (online multi-modal token encoder, online MM-Encoder) is used to extract visual features and perform temporal aggregation on historical multi-view synchronized images to form a historical scene feature sequence; the second encoder (target multi-modal token encoder, target MM-Encoder) is used to encode future images to form a future scene-side training target; the joint generative model is used to jointly evolve action-side data and future scene-side data; the candidate scoring model is used to score candidate results by combining candidate predicted trajectories and their corresponding predicted future scenes, and determines the planned trajectory based on the scoring results.
[0108] During the planning and execution phase, multiple sets of pre-formed action pattern parameters, statistics required for action data denormalization, the data shape of the future scene input, and the already trained first encoder, joint generation model, and candidate scoring model are read. Historical multi-view synchronized images, historical vehicle states, and navigation commands at the current moment are acquired, and the first encoder forms a historical scene feature sequence. Multiple sets of action noise are generated based on the multiple sets of action pattern parameters, and multiple sets of future scene token noise are independently sampled. The action noise and future scene token noise are paired one-to-one according to the same action pattern to form multiple scene action source pairs. Each scene action source pair, along with the historical scene feature sequence, historical vehicle state, and navigation commands, is input into the joint generation model. The joint evolution within the execution mode of each scene action source pair generates candidate results, including candidate predicted trajectories and their corresponding predicted future scenes. Each candidate result is then input into the candidate scoring model, which scores the candidate results based on their corresponding predicted future scenes, and determines the output planned trajectory.
[0109] In this process, the first encoder formed in the pre-formation stage is used for step S2 of the planning execution stage, multiple sets of action mode parameters are used for step S3, the data shape input from the future scene side is used for step S4, the joint generation model is used for step S5, the candidate scoring model is used for step S6, and the statistics required for action data denormalization are used for step S52.
[0110] During the aforementioned planning and execution phase, multiple sets of action mode parameters, statistics required for action data denormalization, the data shape of future scene inputs, and each trained model are all read as pre-formed processing foundations.
[0111] II. Pre-formation of the planning model and related parameters
[0112] 1. Formation of multiple sets of motion mode parameters
[0113] Please see Figure 1 , Figure 1 This is a flowchart illustrating the main steps in forming multiple sets of action mode parameters in a multi-scenario joint intelligent driving planning method according to an embodiment of this application; as shown... Figure 1 As shown, multiple sets of motion mode parameters are determined through the following steps A1 to A3:
[0114] A1: Obtain the true future trajectory from multiple training samples.
[0115] Obtain the true future trajectory corresponding to each training sample in the training set. The true future trajectory includes the plane position and heading at each future time.
[0116] In one implementation, a real future trajectory of 4 seconds and 2Hz is used, denoted as τ^gt, which includes T_a planar poses (x_i, y_i, ψ_i).
[0117] Where τ^gt represents the true future trajectory, T_a represents the number of moments contained in the true future trajectory, and x_i, y_i, and ψ_i represent the longitudinal position, lateral position, and heading at the i-th future moment, respectively. Converting each true future trajectory into motion data specifically includes the following steps.
[0118] A2: Convert each real future trajectory into motion data, and group them according to motion patterns to form multiple motion pattern groups, specifically including the following steps A21 to A23:
[0119] A21: Based on the position and heading of each true future trajectory at each future moment, determine the longitudinal differential displacement, lateral differential displacement, heading sine, and heading cosine respectively.
[0120] (1) Taking the current vehicle pose as the origin of the coordinate system, calculate the longitudinal differential displacement Δx_i=x_i-x_(i-1) and the lateral differential displacement Δy_i=y_i-y_(i-1) based on the position of the vehicle in the next adjacent future time.
[0121] Where i represents the time index in the future trajectory, x_i and y_i represent the vertical and horizontal positions of the i-th future time relative to the current time, x_(i-1) and y_(i-1) represent the vertical and horizontal positions of the previous time, and Δx_i and Δy_i represent the vertical and horizontal differential displacements of the i-th future time relative to the previous time.
[0122] (2) Determine the heading sine sinψ_i and heading cosψ_i based on the heading ψ_i at each future time.
[0123] Where ψ_i represents the heading at the i-th future time, and sinψ_i and cosψ_i represent the sine and cosine values of the heading, respectively.
[0124] A22: Normalize the longitudinal and lateral differential displacements, and use the normalized longitudinal differential displacement, normalized lateral differential displacement, heading sine, and heading cosine as motion data.
[0125] For the longitudinal differential displacement and the lateral differential displacement, the mean δ_mean, maximum δ_max, and minimum δ_min are calculated respectively. The corresponding scale radius is determined according to R_δ=max(δ_max-δ_mean, δ_mean-δ_min), and normalized according to δ_norm=(δ-δ_mean) / R_δ.
[0126] Where δ_max represents the maximum value of the corresponding differential displacement among multiple training samples, δ_min represents the minimum value of the corresponding differential displacement among multiple training samples, δ_mean represents the mean of the corresponding differential displacement among multiple training samples, R_δ represents the scale radius of the corresponding differential displacement, and δ_norm represents the normalized differential displacement.
[0127] A23: Group the motion data of each training sample according to motion patterns to form multiple motion pattern groups.
[0128] In one implementation, K-means clustering is performed on the normalized action data to form 64 action pattern groups.
[0129] A3: Determine the corresponding motion mode parameters based on the motion data in each motion mode group.
[0130] In this embodiment, each set of action mode parameters corresponds to an action mode, and the action mode parameters include the mean and variance of the action data corresponding to the action mode.
[0131] In one implementation, for each action pattern group, the four-dimensional empirical mean and four-dimensional diagonal variance of the action data for that group are calculated. The mean and variance of the same action data group are then reused at various points along the future time trajectory, thereby forming a structured Gaussian mixture action prior. The mean and variance of the action data corresponding to each action pattern are saved for subsequent generation of action noise for each action pattern.
[0132] During the training of the joint generative model, multiple pre-formed sets of action pattern parameters are read, and corresponding action noise is generated based on each set of action pattern parameters to serve as the action-side noise endpoints for forming intermediate training states. The training loss of the joint generative model is not used to update the multiple sets of action pattern parameters.
[0133] By utilizing the statistical distribution of each action mode group to provide different sources of motion noise, multiple scene motion source pairs can start from different action modes.
[0134] 2. Model Initialization
[0135] Initialize the first encoder, the joint generative model, and the candidate scoring model. The second encoder is set up during the training of the joint generative model to form the training objective for the future scene.
[0136] 1) Initialize the first encoder
[0137] Set up a first encoder for processing historical multi-view synchronized images and initialize the parameters of the first encoder. The first encoder is used to extract visual features and perform temporal aggregation on historical multi-view synchronized images to form a historical scene feature sequence.
[0138] In this embodiment, the first encoder includes a visual transformation network and a temporal block query attention module. The visual transformation network is initialized using the parameters of a pre-trained small self-supervised visual model DINOv2-S, and a low-rank adaptation structure with a rank of 32 is configured on the initialized visual transformation network. The temporal block query attention module uses the initial network parameters. The aforementioned low-rank adaptation structure is updated along with the first encoder during subsequent training.
[0139] The second encoder is set when forming the training target for the future scene. For its specific settings and parameter update method, please refer to the following steps T221 to T223.
[0140] 2) Initialize the joint generative model
[0141] Set up a joint generation model for co-evolving action-side input and future scene-side input, and initialize the parameters of the joint generation model.
[0142] The joint generative model is used to coordinate the evolution of action-side inputs and future scene-side inputs within the corresponding pattern of each scene action source pair.
[0143] In this embodiment, the joint generative model employs a modality-aware transform network (Transformer), including shared multimodal attention, action-side adaptive layer normalization and feedforward branches, future scene-side adaptive layer normalization and feedforward branches, and asymmetric block masks. Shared multimodal attention establishes a bidirectional influence between action-side data and future scene-side data; the adaptive layer normalization and feedforward branches on each side maintain different statistical properties; and the asymmetric block mask limits the access relationships between historical scene feature sequences, action-side data, and future scene-side data. Each mode shares the parameters of the joint generative model, but different modes do not exchange tokens.
[0144] In one implementation, the data shape of the future scene input is also set when initializing the joint generative model. This data shape includes the number of future time blocks, the number of tokens in each time block, and the token dimension, serving as the configuration for subsequent sampling of future scene token noise and for invoking the joint generative model.
[0145] In one implementation, the modality-aware transformation network includes 16 network layers with a network width of 1024.
[0146] 3) Initialize the candidate scoring model
[0147] Set up a candidate scoring model to score each candidate result, and initialize the parameters of the candidate scoring model.
[0148] The candidate scoring model combines historical scene feature sequences, the current vehicle status, and the predicted future scene corresponding to the candidate predicted trajectory in each candidate result to score each candidate result, and determines the output planned trajectory based on the scoring results.
[0149] In this embodiment, the candidate scoring model encodes each candidate predicted trajectory, performs inter-candidate self-attention on each encoded candidate predicted trajectory, and combines each candidate result with the historical scene feature sequence, the current vehicle state, and the predicted future scene corresponding to the candidate result itself, and outputs a multi-component score for each candidate result.
[0150] 3. Training of the joint generative model
[0151] During the training of the joint generative model, the first encoder and the joint generative model are updated simultaneously; the second encoder is updated by exponential moving average according to the parameters of the first encoder.
[0152] Please see Figure 2 , Figure 2This is a schematic flowchart illustrating the main steps of pre-training a joint generative model in a multi-scenario joint intelligent driving planning method according to an embodiment of this application; as shown... Figure 2 As shown, the pre-training of the joint generative model specifically includes the following steps T1 to T8:
[0153] T1: Obtain training samples.
[0154] Acquire historical multi-view synchronized images, historical vehicle status, navigation commands, real future trajectory, and future images corresponding to the same training sample.
[0155] The first encoder extracts visual features and aggregates time data from historical multi-view synchronized images to form a historical scene feature sequence; historical vehicle status and navigation instructions serve as the generation conditions for the joint generation model.
[0156] T2: Form action-side training targets based on real future trajectories, and form future scene-side training targets based on future images.
[0157] The process of forming action-side training objectives based on real future trajectories specifically includes the following steps T211 to T215:
[0158] T211: Using the current vehicle pose as the origin of the coordinate system, calculate the longitudinal differential displacement and the lateral differential displacement based on the positions of adjacent future moments in the real future trajectory.
[0159] T212: Calculate the heading sine and heading cosine based on the heading angles at each future moment in the true future trajectory.
[0160] T213: Determine the corresponding scale radius based on the mean, maximum, and minimum values of the longitudinal and lateral differential displacements in multiple training samples.
[0161] T214: Normalize the longitudinal and lateral differential displacements based on the corresponding mean and scale radius.
[0162] T215: Combine the normalized longitudinal differential displacement, normalized lateral differential displacement, heading sine, and heading cosine of each future time step in chronological order to form a clean action endpoint, and use this clean action endpoint as the action-side training target.
[0163] The training objective for the future scene is formed based on the future image, specifically including the following steps T221 to T223:
[0164] T221: Set up a second encoder with the same structure as the first encoder, and determine the initial parameters of the second encoder based on the parameters of the first encoder.
[0165] T222: Update the parameters of the second encoder by exponential moving average based on the parameters of the first encoder.
[0166] In one implementation, the parameters of the first encoder are denoted as θ, and the parameters of the second encoder are denoted as θ. The attenuation rate of the exponential moving average is μ. The attenuation rate μ of the exponential moving average is 0.999. The parameters of the second encoder are according to... ←μ +(1-μ)θ update.
[0167] T223: The future image is encoded by the second encoder to form the training target for the future scene.
[0168] T3: Based on multiple pre-determined action pattern parameters and the shape of future scene input data, multiple scene action source pairs and intermediate training states are formed during the training phase.
[0169] Multiple sets of motion noise are generated based on multiple sets of motion pattern parameters; multiple sets of future scene token noise are independently sampled according to the shape of the data input from the future scene side; the motion noise and future scene token noise are paired one by one according to the same motion pattern to form multiple sets of scene motion source pairs. After forming multiple sets of scene motion source pairs, the training intermediate state is formed through the following steps T31 to T34.
[0170] T31: For each scene action source pair formed, the action flow time and scene flow time are sampled independently.
[0171] For each scene action source, the action flow time ρ^a and scene flow time ρ^x are sampled independently, and the action flow time and scene flow time are independent of each other.
[0172] In one implementation, both action flow time and scene flow time are sampled from a beta distribution Beta (α=1.5, β=1.0).
[0173] T32: Using the motion noise in the scene motion source pair as the motion-side noise endpoint and the motion-side training target as the motion-side clean endpoint, interpolation is performed between the motion-side noise endpoint and the motion-side clean endpoint according to the motion flow time to form the intermediate state of motion-side training.
[0174] In one implementation, let the noise endpoint on the action side be ε^a, the clean endpoint on the action side be y^a, the action flow time be ρ^a, and the intermediate state of the action side training be z^a. Then, linear interpolation is performed according to z^a=(1-ρ^a)ε^a+ρ^ay^a.
[0175] T33: Using the future scene token noise in the scene action source pair as the future scene side noise endpoint and the future scene side training target as the future scene side clean endpoint, interpolation is performed between the future scene side noise endpoint and the future scene side clean endpoint according to the scene flow time to form the future scene side training intermediate state.
[0176] In one implementation, let the noise endpoint on the future scene side be ε^x, the clean endpoint on the future scene side be y^x, the scene flow time be ρ^x, and the intermediate state of training on the future scene side be z^x. Then, linear interpolation is performed according to z^x=(1-ρ^x)ε^x+ρ^xy^x.
[0177] T34: Use the intermediate states of the action-side training and the intermediate states of the future scene-side training as the action-side input and the future scene-side input for joint evolution, respectively.
[0178] The model is jointly generated by inputting the intermediate state of the action side training, the intermediate state of the future scene side training, the action flow time and the scene flow time of each scene action source pair with the historical scene feature sequence, the historical vehicle state and navigation instructions.
[0179] T4: Perform joint evolution on the training samples to obtain each candidate result.
[0180] The joint generative model, within each scene action source pair and its corresponding mode, collaboratively evolves the intermediate training states on the action side and the future scene side, in a mutually influential manner, and updates the action-side data and the future scene-side data respectively. Different modes share the parameters of the joint generative model, but do not exchange tokens with each other.
[0181] Candidate prediction trajectories are formed based on the action-side data after joint evolution, and a predicted future scenario corresponding to the candidate prediction trajectory is formed based on the future scenario-side data after joint evolution, thereby obtaining each candidate result.
[0182] In one implementation, the joint generative model predicts both the action-side clean endpoint and the future scene-side clean endpoint. For κ∈{a, x}, let the corresponding training intermediate state be z^κ and the predicted clean endpoint be z^κ. If the flow time is ρ^κ, then the predicted velocity is... ^κ=( ^κ-z^κ) / (1-ρ^κ). Where κ represents the action side when it is a, and the future scene side when it is x. The prediction speed is used to calculate the supervision loss of the corresponding side in subsequent calculations.
[0183] T5: Compare the candidate predicted trajectory in each candidate result with the actual future trajectory, and determine the pattern corresponding to the candidate result with the smallest distance as the winning pattern.
[0184] Once the winning mode is determined, the action-side supervision object and the future scene-side supervision object are selected using the same winning mode; the non-winning mode of the same training sample does not accept the above two-side supervision.
[0185] T6: For the winning mode, calculate the action-side supervision loss based on the jointly evolved action-side data and the action-side training objective, and calculate the future scene-side supervision loss based on the jointly evolved future scene-side data and the future scene-side training objective.
[0186] In one implementation, for κ∈{a, x}, the target velocity from the intermediate training state to the corresponding training target is determined according to u^κ=(y^κ-z^κ) / (1-ρ^κ), and the predicted velocity is then used as the basis for the calculation. The difference between ^κ and the target velocity u^κ is used to calculate the supervision loss for the corresponding side. Here, y^κ represents the training objective for the corresponding side; the action side uses the action side training objective, and the future scene side uses the future scene side training objective.
[0187] T7: Weight the action-side supervision loss and the future scene-side supervision loss according to a predetermined weight to obtain the total loss;
[0188] In one implementation, the weight of the action-side supervision loss is 1.0, and the weight of the future scene-side supervision loss is 0.1.
[0189] T8: Update the first encoder and the joint generative model based on the total loss.
[0190] The parameters of the first encoder and the joint generative model are updated using the total loss. The second encoder is not updated directly based on this total loss, but instead is updated using an exponential moving average based on the parameters of the first encoder.
[0191] In one implementation, the AdamW optimizer is used, trained for 25 epochs, with a batch size of 64, a learning rate of 2×10^-4, and a weight decay of 0.01.
[0192] 4. Training of the candidate scoring model
[0193] Please see Figure 3 , Figure 3 This is a schematic flowchart illustrating the main steps of pre-training a candidate scoring model in a multi-scenario joint intelligent driving planning method according to an embodiment of this application; as shown... Figure 3 As shown, the candidate scoring model is obtained through the following training steps Q1 to Q3.
[0194] The candidate scoring model is trained by taking the candidate predicted trajectories generated by the joint generative model and the corresponding predicted future scenes as inputs, and has scoring supervision and parameter update boundaries that are independent of the supervision losses on both sides of the joint generative model.
[0195] Q1: Obtain the multi-component scoring supervision labels corresponding to each candidate result.
[0196] In one implementation, a pseudo-simulator used during the training phase of the Intelligent Driving Simulation Dataset (NAVSIM) is employed to determine the supervision labels corresponding to the no-collision score, drivable area compliance score, time to collision score, driving progress score, and comfort score.
[0197] Q2: Calculate the scoring loss based on the scoring output of the candidate scoring model and the multi-component scoring supervision labels.
[0198] The candidate predicted trajectory and the predicted future scene stop gradient are input into the candidate scoring model. The candidate scoring model combines the historical scene feature sequence, the current vehicle state, each candidate predicted trajectory and its corresponding predicted future scene, and outputs the log odds of the scoring components of each candidate result. The scoring loss is calculated based on the log odds of each scoring component and the corresponding multi-component scoring supervision label.
[0199] In one implementation, binary cross-entropy loss with log odds (BCEWithLogits) is used as the scoring loss.
[0200] Q3: Update the candidate rating model and the first encoder based on the rating loss.
[0201] The rating loss is used to update the candidate rating model and the first encoder is updated using the historical scene feature sequence. Since the candidate prediction trajectory and predicted future scene input to the candidate rating model have stopped gradienting, the rating loss does not update the joint generator model by back-upgrading the candidate prediction trajectory and predicted future scene.
[0202] In one implementation, the scoring loss weight is 1.0.
[0203] Under the joint training configuration, the overall training objective is formed by a weighted average of the generation-side total loss and the scoring loss. The overall training objective is expressed as L = L_BoM + λ_sL_score;
[0204] Where L_BoM represents the weighted result of the action-side supervision loss and the future scene-side supervision loss obtained in step T7, L_score represents the scoring loss, and λ_s represents the scoring loss weight.
[0205] The first encoder is updated according to the overall training objective, the joint generation model is updated via the generation branch corresponding to L_BoM, the candidate scoring model is updated via the scoring branch corresponding to L_score, and the second encoder is updated according to the parameters of the first encoder by exponential moving average.
[0206] III. Planning Implementation Phase
[0207] See appendix Figure 4 , Figure 4 This is a flowchart illustrating the main steps of the planning and execution phase of a multi-scenario joint intelligent driving planning method according to an embodiment of this application. Figure 4 As shown, the planning and execution stage of a multi-scenario joint intelligent driving planning method in this application embodiment mainly includes the following steps S1 to S6.
[0208] S1: Acquire historical multi-view synchronized images, historical vehicle status, and navigation commands.
[0209] In this embodiment, both the historical multi-view synchronized images and the historical vehicle status use the current moment as the time endpoint. The historical vehicle status includes the vehicle status at the current moment, as well as the vehicle status at each historical moment before the current moment; the vehicle status at each moment is arranged in chronological order to form the historical vehicle status. The navigation command serves as the input of the high-level navigation conditions corresponding to the current moment.
[0210] Specifically, the historical multi-view synchronized image is denoted as I^h, the historical vehicle state is denoted as s^h, and the navigation command is denoted as c. Here, c represents the high-level navigation command; s^h is composed of the vehicle state vectors corresponding to the current time and the previous historical times in chronological order, and the vehicle state vector corresponding to the current time is the vehicle state at the current time.
[0211] In one implementation, the historical multi-view synchronized image I^h is a V-channel red-green-blue image sequence synchronized by time; the V-channel red-green-blue image sequence is formed by multiple cameras set at different positions of the vehicle and with different viewing angles. The images from each camera at the same time are arranged synchronously according to a unified time reference to jointly represent the environmental information around the vehicle at that time.
[0212] In one embodiment, the plurality of cameras includes a front camera, a left front camera, a right front camera, and a rear camera, which are used to acquire environmental images in front of, to the left front, to the right front, and behind the vehicle, respectively. Images from the four cameras (front, left front, right front, and rear) are read continuously for 2 seconds, with an image resolution of 336×560, and trajectory prediction is performed for the next 4 seconds at a frequency of 2Hz, where V=4 represents the number of cameras.
[0213] S2: Visual feature extraction and temporal aggregation are performed on historical multi-view synchronized images to form a historical scene feature sequence, specifically including the following steps S21 to S24:
[0214] S21: Generate a registration token using the first encoder.
[0215] The first encoder encodes the images captured by each camera at each historical moment, so that the images corresponding to different cameras form corresponding registration tokens, and generates a predetermined number and dimension of registration tokens.
[0216] In one implementation, for each camera and time point, the first encoder outputs L_v d-dimensional registration tokens.
[0217] S22: Combine the registration token with the corresponding image frame in the historical multi-view synchronized image.
[0218] Each registered token is combined with its corresponding camera and the image frame at the corresponding time, so that subsequent time block aggregation can determine the ownership of each registered token according to the camera and time.
[0219] S23: Based on the combined image frames, generate corresponding time block scene features, specifically including the following steps S231 to S232:
[0220] S231: Based on the combined image frames, the historical multi-view synchronized images are divided into multiple time blocks.
[0221] Each time block includes image frames from multiple cameras at the time covered by that time block and their corresponding registration tokens.
[0222] In one implementation, every two image frames form a time block.
[0223] S232: Perform attention aggregation on the registration tokens corresponding to different cameras within the same time block to generate the corresponding time block scene features.
[0224] The registration tokens from different cameras and adjacent times within the same time block are combined into a registration token set P^(j), and the learnable query Q^(j) corresponding to the time block is used to perform attention aggregation on the registration token set P^(j) to generate multiple planning-oriented scene tokens (MM-Tokens); the multiple planning-oriented scene tokens generated within the same time block are combined into the time block scene feature X_j of the time block.
[0225] Where j represents the time block index, P^(j) represents the set of registration tokens corresponding to the j-th time block, Q^(j) represents the learnable query corresponding to the j-th time block, and X_j represents the scene feature of the j-th time block.
[0226] In one implementation, each time block generates 64 256-dimensional planning-oriented scene tokens, i.e., N_x=64, d=256, and the query attention module consists of 4 layers. Here, N_x represents the number of planning-oriented scene tokens in each time block, and d represents the feature dimension of each planning-oriented scene token. Therefore, the scene feature X_j of each time block consists of N_x d-dimensional planning-oriented scene tokens.
[0227] S24: Combine scene features from each time block according to time to form a sequence of historical scene features.
[0228] The scene features of each time block are spliced together according to the time order of each time block to form a historical scene feature sequence X∈R^(C×N_x×d);
[0229] Where X represents the historical scene feature sequence, R represents the set of real numbers, C represents the number of historical time blocks, N_x represents the number of scene tokens in each time block, and d represents the feature dimension of each scene token; C×N_x×d means that the historical scene feature sequence has three dimensions in sequence: historical time block, planning-oriented scene token, and token feature.
[0230] Step S2 involves time block segmentation and attention aggregation, which combines image information from multiple cameras and multiple historical moments into a unified historical scene feature sequence, providing a common historical scene input for subsequent joint evolution and candidate scoring.
[0231] S3: Generate multiple sets of motion noise based on multiple pre-determined motion mode parameters.
[0232] In this embodiment, each set of motion pattern parameters corresponds to a motion pattern, and the motion pattern parameters include the mean and variance of the motion data corresponding to the motion pattern. Step S3 specifically includes the following steps S31 to S32:
[0233] S31: Form the motion data distribution of the corresponding motion pattern based on the mean and variance of the motion data.
[0234] In this embodiment, each set of motion pattern parameters corresponds to one motion pattern. The motion data distribution for that motion pattern is formed based on the mean and variance of the motion data for that motion pattern.
[0235] In one implementation, the mean of the motion data is the four-dimensional empirical mean, the variance of the motion data is the four-dimensional diagonal variance, and the distribution of the motion data is a Gaussian distribution.
[0236] S32: The mean and variance of the same set of motion data are reused at each moment along the future time trajectory, and the motion data distribution after reuse is sampled to obtain a set of motion noise.
[0237] In one implementation, the motion noise is denoted as a∈R^(T_a×4), where a represents a set of motion noise, R represents the set of real numbers, T_a represents the number of moments in the future time trajectory, and 4 represents the four channels of the motion noise.
[0238] The four channels are, in order, normalized longitudinal differential displacement, normalized lateral differential displacement, heading sine, and heading cosine.
[0239] In one implementation, each action pattern is sampled once to form 64 sets of action noise. The action noise serves as the initial sequence for generation in the action token space, used to form scene action source pairs.
[0240] Step S3 generates multiple sets of motion noise according to different motion modes, providing initial motion-side data with mode differences for the subsequent generation of multiple sets of scene motion source pairs.
[0241] S4: Sample multiple sets of future scene token noise and form multiple sets of scene action source pairs.
[0242] Multiple sets of future scene token noise are sampled independently, and the action noise is paired with the future scene token noise one by one according to the same action pattern to form multiple sets of scene action source pairs. Specifically, the steps S41 to S43 are as follows:
[0243] S41: Form a preset future scenario token distribution based on the data shape.
[0244] The future scenario token noise has a predetermined data shape, which includes the number of future time blocks, the number of tokens in each time block, and the token dimension. The data shape is fixed and saved with the joint generative model during the training or configuration phase, serving as the configuration for calling the joint generative model.
[0245] In one implementation, the tokens for future scenarios are distributed according to a standard Gaussian distribution, with the data shape corresponding to the number of tokens and the token dimension of each time block in the historical scenario feature sequence.
[0246] In one implementation, the future scene token noise is denoted as X^+∈R^(C_f×N_x×d);
[0247] Where X^+ represents the future scenario token noise, R represents the set of real numbers, C_f is the number of future time blocks, N_x is the number of tokens in each time block, and d is the feature dimension of each token.
[0248] S42: Using the same number of groups as the motion noise, sample independently on the future scene token distribution to obtain multiple groups of future scene token noise.
[0249] S43: According to the same action pattern, pair a set of action noise generated in step S3 for the action pattern with a set of future scene token noise sampled independently in step S42.
[0250] Each scene action source pair contains a set of action noise and a set of future scene token noise under the same action pattern, and the scene action source pairs are independent of each other. The scene action source pairs represent the binding relationship between the initial data on both sides.
[0251] In one implementation, 64 sets of scene action source pairs are formed.
[0252] In step S4, the action noise and the future scene token noise are paired according to the same action pattern to form multiple sets of scene action source pairs with corresponding relationships, providing paired inputs for subsequent joint evolution within each scene action source pair.
[0253] S5: Input the historical scene feature sequence, action source pairs of each scene, historical vehicle state and navigation instructions into the pre-trained joint generation model for joint evolution to generate candidate results corresponding to scene action source pairs.
[0254] In the joint evolution, the data between different scene action source pairs are isolated from each other, and each candidate result includes a candidate predicted trajectory and a predicted future scene corresponding to the candidate predicted trajectory. The action noise and future scene token noise in the scene action source pair are the action-side input and future scene-side input of the joint generation model, respectively.
[0255] For each pair of scene action sources, its action noise is used as the action-side input of that mode, and its future scene token noise is used as the future scene-side input of that mode. The historical scene feature sequence serves as the shared historical condition for all modes. Historical vehicle states and navigation commands serve as the generation conditions.
[0256] In this embodiment, the joint evolution specifically includes the following steps S51 to S53:
[0257] S51: Based on historical scene feature sequences, historical vehicle states, and navigation commands, within the corresponding modes of each scene action source pair, the action-side input and future scene-side input undergo mutual influence and co-evolution, and the action-side data and future scene-side data are updated respectively.
[0258] For each scene action source pair, execute subsequent steps S511 to S513 respectively. For the currently processed scene action source pair, use the action noise in the scene action source pair as the action-side input, use the future scene token noise in the scene action source pair as the future scene-side input, and maintain the correspondence between the scene action source pair and its corresponding action mode.
[0259] S511: Combine the historical scene feature sequence with the action-side input and future scene-side input of the currently processed scene action source pair, and set the asymmetric block mask according to the access relationship of different data.
[0260] Specifically, for the current scene action source pair being processed, the asymmetric block mask only allows access to the historical scene feature sequence for historical queries, while allowing access to the historical scene feature sequence, action-side data, and future scene-side data for action queries and future scene queries. It also prohibits data exchange between the current scene action source pair and other scene action source pairs.
[0261] S512: Perform shared multimodal attention on the action-side data and future scene-side data in the current scene action source pair, and update the data on both sides through the action-side branch and the future scene-side branch respectively.
[0262] Within the access scope defined by asymmetric block masks, a bidirectional influence between action-side data and future scene-side data in the currently processed scene action source pair is established through shared multimodal attention. This allows action-side data to be updated based on future scene-side data, and vice versa. Action-side data and future scene-side data are processed through action-side branches and future scene-side branches, respectively, which employ corresponding adaptive layer normalization and feedforward branches.
[0263] Each scene action source pair shares the parameters of the joint generation model, but different scene action source pairs do not exchange tokens, thereby maintaining data isolation between different scene action source pairs.
[0264] S513: Perform integral updates on the action-side data and future scene-side data along the action flow time and scene flow time respectively to obtain the jointly evolved action-side data and future scene-side data.
[0265] In this embodiment, the action-side input and the future scene-side input are used as the current state of the action side and the current state of the future scene side when the action flow time and scene flow time are 0, respectively. The current action-side state, the current future scene-side state, the action flow time, and the scene flow time are input to jointly generate a model, which yields the predicted clean endpoints for the action side and the predicted clean endpoints for the future scene side. The update rate for each side is determined based on its current state, the corresponding predicted clean endpoint, and the corresponding flow time, and the current state of each side is updated according to the corresponding integral step size. The above integral update is repeated until both the action flow time and the scene flow time reach 1. The updated current state of the action side is determined as the jointly evolved action-side data, and the updated current state of the future scene side is determined as the jointly evolved future scene-side data.
[0266] In one implementation, the inference configuration uses time nodes 0, 0.5, and 1, and performs two Euler integration steps respectively.
[0267] S52: Form predicted action endpoints based on the action-side data after joint evolution, and form candidate predicted trajectories based on the predicted action endpoints.
[0268] In this embodiment, the jointly evolved action-side data obtained when the action flow time reaches 1 is determined as the predicted action endpoint. The formation of candidate predicted trajectories based on the predicted action endpoints specifically includes the following steps S521 to S522:
[0269] S521: Perform inverse normalization on the normalized longitudinal differential displacement and normalized lateral differential displacement in the predicted action endpoint, and accumulate the inverse normalized longitudinal differential displacement and lateral differential displacement along the future time trajectory to obtain the absolute position at each future time.
[0270] In one implementation, denormalization is performed according to δ = δ_norm·R_δ + δ_mean;
[0271] Where δ_norm represents the normalized longitudinal differential displacement or normalized lateral differential displacement in the predicted motion endpoint, δ represents the corresponding longitudinal differential displacement or lateral differential displacement, R_δ represents the scale radius corresponding to δ, δ_mean represents the mean corresponding to δ, and · represents the multiplication operation; R_δ and δ_mean are the scale radius and mean saved when the motion mode parameters are predetermined, respectively.
[0272] S522: Determine the heading at each future moment based on the heading sine and heading cosine at the predicted action endpoints, and combine the absolute position and heading at each future moment to form a candidate predicted trajectory.
[0273] In one implementation, the heading at each future time is recovered according to ψ_i = atan2(sinψ_i, cosψ_i);
[0274] Where i represents the time index in the future trajectory, ψ_i represents the heading recovered at the i-th future time, sinψ_i and cosψ_i represent the heading sine and heading cosine at the i-th future time in the predicted action endpoint, respectively, and atan2 represents the arctangent function that determines the heading based on the sine and cosine values.
[0275] The candidate predicted trajectory is denoted as τ∈R^(T_a×3);
[0276] Where τ represents the candidate predicted trajectory, R represents the set of real numbers, T_a is the number of moments of the future trajectory, and 3 represents the three channels of longitudinal position, lateral position, and heading.
[0277] S53: Based on the jointly evolved future scene-side data, a predicted future scene is formed to generate candidate results corresponding to each scene action source pair, specifically including the following steps S531 to S532:
[0278] S531: Take the jointly evolved future scene-side data corresponding to each scene action source pair as the corresponding predicted future scene, and maintain the correspondence between each predicted future scene and its source scene action source pair.
[0279] S532: Combine the candidate predicted trajectories corresponding to the action source pairs in the same scene with the predicted future scene to form the candidate results corresponding to the action source pairs in that scene.
[0280] Each candidate result includes a candidate prediction trajectory and a predicted future scenario corresponding to that candidate prediction trajectory.
[0281] In one implementation, the m-th scene action source pair corresponds to the m-th candidate result H_m=( _m, _m^+);
[0282] Where m represents the index of the scene action source pair and its corresponding candidate result, and H_m represents the candidate result corresponding to the m-th scene action source pair. _m represents the candidate predicted trajectory in this candidate result. _m^+ represents the predicted future scenario in the candidate result.
[0283] In this embodiment, each scene action source undergoes bidirectional collaborative evolution between its internal action side and the future scene side, while maintaining data isolation between modes, thereby simultaneously achieving multi-mode coverage and scene-action coupling. Each candidate result maintains a pairing relationship between its trajectory and the future scene, allowing subsequent scoring to select and plan trajectories according to the corresponding future scene.
[0284] S6: Input the current vehicle state, candidate results, and historical scene feature sequence into the pre-trained candidate scoring model, and determine the output planned trajectory based on the scoring results of the candidate scoring model.
[0285] The candidate scoring model combines historical scene feature sequences, the current vehicle state, and the predicted future scene corresponding to the candidate predicted trajectory in the candidate results. It performs multi-component scoring on each candidate result and aggregates the scores to generate a corresponding total candidate score. By comparing the total candidate scores, the candidate predicted trajectory corresponding to the candidate result with the highest total score is determined as the output planned trajectory. Specifically, it includes the following steps S61 to S63:
[0286] S61: Encode each candidate predicted trajectory and combine it with the historical scene feature sequence to form the historical condition score feature of each candidate result.
[0287] Each candidate predicted trajectory is encoded as a query. Self-attention is used to compare the candidate predicted trajectories, and cross-attention is used to enable the queries corresponding to each candidate to read the shared historical scene feature sequence, thereby obtaining the historical conditional score features of each candidate result.
[0288] S62: For each candidate result, read the predicted future scenario and the current vehicle state corresponding to the candidate result, and generate a multi-component score for the candidate result.
[0289] For each candidate result, the candidate scoring model generates a multi-component score based on the candidate result's historical conditional scoring characteristics, the predicted future scenario corresponding to the candidate result, and the vehicle's current state. Each candidate result uses only its own predicted future scenario, excluding the predicted future scenarios of other candidate results.
[0290] The multi-component rating includes at least one of the following: no-collision rating, drivable area compliance rating, time to collision rating, driving progress rating, and comfort rating.
[0291] In one implementation, the above five multi-component scores are calculated simultaneously, and a sigmoid function is applied to the logarithmic probability of each score component of the m-th candidate result to obtain the no-collision score NC_m, the drivable area compliance score DAC_m, the time to collision score TTC_m, the driving progress score EP_m, and the comfort score C_m, respectively.
[0292] S63: Summarize the multi-component scores of each candidate result to generate the corresponding candidate total score; by comparing the candidate total scores, determine the candidate predicted trajectory corresponding to the candidate result with the highest total score as the output planning trajectory.
[0293] In one implementation, the candidate total score S_m = NC_m × DAC_m × (5×TTC_m + 5×EP_m + 2×C_m) / 12;
[0294] Where S_m represents the total candidate score of the m-th candidate result, m represents the candidate result index, NC_m represents the no-collision score of the m-th candidate result, DAC_m represents the drivable area compliance score of the m-th candidate result, TTC_m represents the time to collision score of the m-th candidate result, EP_m represents the driving progress score of the m-th candidate result, C_m represents the comfort score of the m-th candidate result, 5, 5 and 2 are the weighting coefficients of the corresponding scoring items, and 12 is the normalized denominator.
[0295] Step S6 evaluates each candidate predicted trajectory based on its corresponding predicted future scenario, thereby selecting a suitable trajectory from multiple paired results and reducing crosstalk caused by borrowing other candidate future scenarios.
[0296] IV. Effect Verification
[0297] In one implementation, the preferred evaluation configuration is as follows: 94.0 PDMS on NAVSIM-v1 navtest and 91.5 EPDMS on NAVSIM-v2 navtest; in zero-sample closed-loop evaluation without HUGSIM fine-tuning, the average HD-Score is 32.3 and the average route completion rate is 44.5%.
[0298] 1) When the number of action-only generation modes increased from 1 to 32, the PDMS improved from 84.1 to 92.3, while the number of paired generation modes improved from 85.1 to 92.9. At the same number of modes, paired generation improved PDMS by 1.0, 0.6, and 0.6 times compared to action-only generation in modes 1, 16, and 32, respectively. In mode 32, paired generation improved the no-collision score, drivable area compliance score, and time-to-collision score by 0.5, 0.1, and 1.2 times compared to action-only generation, while decreasing the driving progress score by 0.2.
[0299] 2) The modality-aware bidirectional scheme achieves a PDMS of 92.9, which is 0.4 higher than the unidirectional Mixture-of-DiT network and 0.6 higher than the bidirectional DiT network. In the same scene analysis, compared with the future corresponding to the closest action, the root mean square distance of the future scene tokens corresponding to the leftmost and rightmost actions increases by 17.3%, and the cosine distance increases by 38.9%. After fixing the generator, adding the pairwise future condition improves the PDMS from 92.9 to 93.3.
[0300] 3) The 16-mode and 32-mode training took approximately 3.8k steps to reach a validation PDM score of 0.80, while the single-mode training took approximately 17.5k steps to reach the same threshold. Latency was measured under conditions of a single NVIDIA H800, batch size 1, and bf16; the main model used 64 candidates, with an end-to-end forward latency of 233 ms.
[0301] V. Beneficial Effects
[0302] Compared with existing technologies, the multi-scenario joint intelligent driving planning method of this application has at least the following beneficial effects:
[0303] 1. By generating multiple sets of action noise and multiple sets of future scene token noise respectively, and pairing the action noise and future scene token noise one by one according to the same action pattern, multiple sets of scene action source pairs are formed, so that the same historical observation can correspond to multiple different scene-action candidate results, thereby improving the coverage of multiple possible driving results.
[0304] 2. By enabling the collaborative evolution of action-side input and future scene-side input within the corresponding mode of each scene action source pair, the action-side data is updated based on the evolving future scene-side data, and the future scene-side data can respond based on the updated action-side data. At the same time, the data between different scene action source pairs are isolated from each other, thereby maintaining the differences in multi-mode results while avoiding data contamination between different candidate modes.
[0305] 3. By determining the winning pattern based on the distance between the candidate predicted trajectory and the actual future trajectory, and using the same winning pattern to supervise both the action-side data and the future scene-side data, the candidate predicted trajectory and the corresponding predicted future scene are kept in a pairing relationship, reducing the possibility that different patterns are pulled together to the same conditional result.
[0306] 4. By dividing historical multi-view synchronized images into time blocks and using time block queries to aggregate attention on registration tokens from different cameras and adjacent times, a historical scene feature sequence is formed. While preserving historical scene information related to future scene evolution and trajectory planning, the propagation requirements of dense image block representations in subsequent processing are reduced, which is beneficial to controlling the computation and storage overhead in multi-candidate modes.
[0307] 5. By combining the historical scene feature sequence, the current vehicle status, and the predicted future scene corresponding to the candidate prediction trajectory in each candidate result, the candidate result can be evaluated based on its corresponding future scene. This reduces information crosstalk caused by candidates borrowing non-corresponding future scenes, which is conducive to selecting a planning trajectory that is suitable for future traffic interaction from multiple pairs of candidate results.
[0308] 6. By combining the generation of scene action source pairs, the joint evolution of scenes and actions, and the scoring of candidate results, the planning process takes into account multi-mode candidate coverage, scene-action interaction modeling, and trajectory selection under future scene conditions, thereby improving the problem of insufficient planning capabilities caused by generating only a single driving result, unidirectional association between scenes and actions, or selecting trajectories based solely on historical information.
[0309] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of this application, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted solutions are equivalent to the technical solutions described in this application and therefore will also fall within the protection scope of this application.
[0310] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0311] Another aspect of this application provides a computer-readable storage medium.
[0312] In one embodiment of a computer-readable storage medium according to this application, the computer-readable storage medium can be configured to store a program that performs a multi-scenario joint intelligent driving planning method according to the above-described method embodiments. This program can be loaded and run by a processor to implement the aforementioned multi-scenario joint intelligent driving planning method. For ease of explanation, only the parts related to the embodiments of this application are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of this application. The computer-readable storage medium can be a storage device comprising various electronic devices. Optionally, in the embodiments of this application, the computer-readable storage medium is a non-transitory computer-readable storage medium.
[0313] Another aspect of this application provides a smart device.
[0314] In one embodiment of a smart device according to this application, the smart device may include at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, which, when executed by the at least one processor, implements the method described in any of the above embodiments. The smart device described in this application may include driving equipment, smart vehicles, robots, and other devices. See appendix. Figure 5 , Figure 5The image exemplarily illustrates a communication connection between memory 11 and processor 12 via a bus.
[0315] In some embodiments of this application, the smart device may further include at least one sensor for sensing information. The sensor is communicatively connected to any type of processor mentioned in this application. Optionally, the smart device may further include an intelligent driving system for guiding the smart device to drive autonomously or assisting in driving. The processor communicates with the sensor and / or the intelligent driving system to perform the methods described in any of the above embodiments. (The electronic devices described in this application may be, but are not limited to, mobile phones, tablets, desktop computers, laptops, handheld computers, notebook computers, in-vehicle devices, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc., and this application does not limit them.)
[0316] Another aspect of this application provides a data storage server.
[0317] In an embodiment of a smart device according to this application, the data storage server includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, the computer program being described by any one of the technical solutions of the at least one multi-scenario joint intelligent driving planning method.
[0318] The technical solution of this application has been described above with reference to one embodiment shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.
Claims
1. A multi-scenario joint intelligent driving planning method, characterized in that, Includes the following steps: Acquire historical multi-view synchronized images, historical vehicle status, and navigation instructions, wherein the historical vehicle status includes the vehicle status at the current moment; Visual features are extracted and time-aggregated from the historical multi-view synchronized images to form a historical scene feature sequence; Based on a predetermined set of motion pattern parameters, multiple sets of motion noise are generated respectively. Multiple sets of future scene token noise are sampled independently, and the action noise is paired with the future scene token noise one by one according to the same action pattern to form multiple sets of scene action source pairs. The historical scene feature sequence, each scene action source pair, historical vehicle state and navigation instructions are input into the pre-trained joint generation model for joint evolution to generate candidate results corresponding to the scene action source pairs; wherein, during joint evolution, the data between different scene action source pairs are isolated from each other, and each candidate result includes a candidate predicted trajectory and a predicted future scene corresponding to the candidate predicted trajectory. The current vehicle state, candidate results, and historical scene feature sequence are input into the pre-trained candidate scoring model, and the output planned trajectory is determined based on the scoring results of the candidate scoring model. 2.The multi-scenario joint intelligent driving planning method of claim 1, wherein, The multiple sets of action mode parameters are determined through the following steps: Obtain the true future trajectory from multiple training samples; Each of the aforementioned real future trajectories is converted into motion data and grouped according to motion patterns to form multiple motion pattern groups; The corresponding action mode parameters are determined based on the action data in each of the action mode groups. 3.The multi-scenario joint intelligent driving planning method of claim 2, wherein, The process of converting the aforementioned real future trajectories into motion data specifically includes the following steps: Based on the position and heading of each of the real future trajectories at each future moment, determine the longitudinal differential displacement, lateral differential displacement, heading sine, and heading cosine respectively; Based on the mean, maximum, and minimum values of the longitudinal and lateral differential displacements from multiple training samples, the longitudinal and lateral differential displacements are normalized, and the normalized longitudinal and lateral differential displacements, the heading sine, and the heading cosine are used as the motion data.
4. A multi-scenario joint intelligent driving planning method according to claim 2 or 3, characterized in that: Each group of action pattern parameters corresponds to an action pattern, and the action pattern parameters include the mean and variance of the action data corresponding to the action pattern. The step of generating multiple sets of motion noise based on multiple pre-determined motion pattern parameters specifically includes the following steps: The motion data distribution for the corresponding motion pattern is formed based on the mean and variance of the motion data. The mean and variance of the same set of motion data are reused at each moment along the future time trajectory, and then sampled on the multiplexed motion data distribution to obtain a set of motion noise.
5. The multi-scenario joint intelligent driving planning method according to claim 1, characterized in that, The step of extracting visual features and temporally aggregating the historical multi-view synchronized images to form a historical scene feature sequence specifically includes the following steps: A registration token is generated using the first encoder; Combine the registration token with the corresponding image frame in the historical multi-view synchronized image; Based on the combined image frames, the historical multi-view synchronized images are divided into multiple time blocks, and attention aggregation is performed on the registration tokens corresponding to different cameras within the same time block to generate corresponding time block scene features. By splicing together the scene features of each time block according to time, a historical scene feature sequence is formed.
6. The multi-scenario joint intelligent driving planning method according to claim 5, characterized in that: The future scenario token noise has a predetermined data shape, which includes the number of future time blocks, the number of tokens in each time block, and the token dimension. The step of independently sampling multiple sets of future scene token noise specifically includes the following steps: A preset future scenario token distribution is formed based on the data shape; Using the same number of groups as the action noise, multiple groups of future scene token noise are independently sampled on the future scene token distribution to obtain multiple groups of future scene token noise.
7. A multi-scenario joint intelligent driving planning method according to claim 5 or 6, characterized in that, The action noise and future scene token noise in the scene action source pair are the action-side input and future scene-side input of the joint generation model, respectively. The joint evolution specifically includes the following steps: Based on the historical scene feature sequence, the historical vehicle state, and the navigation instructions, within the mode corresponding to each scene action source pair, the action-side input and the future scene-side input undergo a collaborative evolution that mutually influences each other, and the action-side data and the future scene-side data are updated respectively. Predicted action endpoints are formed based on the jointly evolved action-side data, and candidate predicted trajectories are formed based on the predicted action endpoints; Based on the jointly evolved future scene-side data, a predicted future scene is formed to generate candidate results corresponding to each of the scene action source pairs.
8. The multi-scenario joint intelligent driving planning method according to claim 7, characterized in that, The pre-training of the joint generative model includes the following steps: Obtain the true future trajectories and future images from the training samples; The action-side training target is formed based on the actual future trajectory, and the future scene-side training target is formed based on the future image; The joint evolution is performed on the training samples to obtain each of the candidate results; The candidate predicted trajectory in each of the candidate results is compared with the actual future trajectory, and the mode corresponding to the candidate result with the smallest distance is determined as the winning mode. The step of forming a future scene-side training target based on the future image specifically includes the following steps: A second encoder with the same structure as the first encoder is provided; The parameters of the second encoder are updated by an exponential moving average based on the parameters of the first encoder. The future image is encoded by the second encoder to form a future scene-side training target.
9. The multi-scenario joint intelligent driving planning method according to claim 8, characterized in that, The pre-training of the joint generative model also includes the following steps: For the winning mode, the action-side supervision loss is calculated based on the jointly evolved action-side data and the action-side training objective, and the future scene-side supervision loss is calculated based on the jointly evolved future scene-side data and the future scene-side training objective. The action-side supervision loss and the future scene-side supervision loss are weighted according to a predetermined weight to obtain the total loss; The first encoder and the joint generative model are updated based on the total loss.
10. The multi-scenario joint intelligent driving planning method according to claim 9, characterized in that, Before calculating the action-side supervision loss and the future scene-side supervision loss, the training intermediate state is formed through the following steps: For each scene action source pair formed, the action stream time and scene stream time are sampled independently. Using the motion noise in the scene motion source pair as the motion-side noise endpoint and the motion-side training target as the motion-side clean endpoint, interpolation is performed between the motion-side noise endpoint and the motion-side clean endpoint according to the motion flow time to form an intermediate state of motion-side training. Using the future scene token noise in the scene action source pair as the future scene side noise endpoint and the future scene side training target as the future scene side clean endpoint, interpolation is performed between the future scene side noise endpoint and the future scene side clean endpoint according to the scene flow time to form the future scene side training intermediate state. The intermediate states of the action-side training and the intermediate states of the future scene-side training are used as the action-side input and the future scene-side input of the joint evolution, respectively.
