Autonomous driving planning method and device based on trajectory-conditioned occupancy world model

By adopting a trajectory-conditional occupancy world model, a future occupancy map is generated using a multi-channel occupancy map and adaptive layer normalization modulation. Supervised training is performed by combining focus loss and instance-level dice loss. This solves the problems of inaccurate dynamic obstacle prediction and neglect of small targets in existing technologies, and improves the safety and prediction integrity of autonomous driving trajectory planning.

CN123190858APending Publication Date: 2026-12-01ZHUHAI KUWA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611440229.6
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

Technical Problem

Existing end-to-end autonomous driving systems struggle to effectively utilize the speed and motion trends of dynamic obstacles in trajectory safety assessments, making it impossible to conduct differentiated safety assessments. Furthermore, the combination of existing diffusion planning methods and occupied world models suffers from fragmented prediction results and sample imbalance, leading to the easy neglect of small dynamic agents.

Method used

A trajectory-conditional occupancy world model-based approach is adopted. A BEV occupancy feature map is generated by inputting a multi-channel occupancy map. The trajectory intent is injected into the feature map by adaptive layer normalization modulation. The future multi-frame occupancy map of each candidate trajectory is predicted by a temporal recursive network. Supervised training is carried out by combining focus loss and instance-level dice loss to achieve a weighted comprehensive selection of safety score and motion score.

Benefits of technology

It improves the safety of autonomous driving trajectory planning and the completeness of dynamic target prediction, effectively filters out high-risk trajectories, solves the problems of inaccurate dynamic obstacle prediction and the neglect of small targets in existing technologies, and improves the prediction accuracy of future scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123190858A_ABST
    Figure CN123190858A_ABST
Patent Text Reader

Abstract

This invention discloses an autonomous driving planning method and apparatus based on a trajectory-conditional occupancy world model. The method includes: acquiring a multi-channel occupancy map of the current frame; mapping the multi-channel occupancy map to a BEV occupancy feature map using an encoder; using the BEV occupancy feature map as context input to a diffusion planner to generate multiple candidate trajectories; for each candidate trajectory, using the candidate trajectory as a condition, injecting the trajectory intention into the BEV occupancy feature map through adaptive layer normalization modulation, and predicting the future multi-frame occupancy map specific to the candidate trajectory through a temporal recursive network; performing a temporal safety assessment using the future occupancy maps specific to each candidate trajectory, sorting according to a weighted comprehensive score of safety score and motion score, and selecting the final trajectory through non-maximum suppression. This invention achieves differentiated safety assessment for different planning behaviors corresponding to different scenario evolution predictions, improving the safety of autonomous driving trajectory planning and the completeness of dynamic target prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of autonomous driving technology, specifically relating to an autonomous driving planning method and device based on a trajectory-conditional occupancy world model. Background Technology

[0002] In end-to-end autonomous driving systems, the planning module needs to generate safe and feasible driving trajectories in real time under complex dynamic environments. Trajectory planning methods based on diffusion models have made significant progress in recent years. Their core idea is to model the distribution of candidate trajectories, generate multiple candidate trajectories through denoising sampling, and then select the optimal trajectory through non-maximum suppression. However, these diffusion planning methods still have inherent limitations in the trajectory safety assessment stage, making it difficult to achieve differentiated safety assessments for future scenarios.

[0003] World models have become a core research direction in the field of autonomous driving in recent years. Their core idea is to enable systems to predict future state changes caused by their own behavioral choices within a scene, thereby aiding planning decisions. Occupancy maps (OCCs), which uniformly represent static obstacles and dynamic agents (referring to various movable traffic participants such as vehicles, pedestrians, and cyclists in a scene) in a dense grid format, are ideal output carriers for world models. Existing works such as Drive-OccWorld have verified the significant value of 4D occupancy world models for autonomous driving safety planning. However, the current combination of diffusion planning methods and occupancy world models still has many shortcomings.

[0004] The following analysis combines two specific existing technologies.

[0005] The first existing technology uses a cost map generated from a static occupancy map for safety scoring. This scheme, after the diffusion planner outputs candidate trajectories, uses an OCC BEV encoder to encode the static occupancy map of the current frame into a BEV feature map, and then generates a cost map using a lightweight convolutional head. During the trajectory selection stage, the coordinates of each temporal point of each candidate trajectory are normalized, and then sampled on the cost map using bilinear interpolation to obtain the maximum cost value of the area traversed by the trajectory. This maximum cost value is used as a safety score to weight and rank the candidate trajectories, and then non-maximum suppression is applied to select the final trajectory.

[0006] The above scheme has the following drawbacks: First, it only uses the static occupancy information of the current frame and does not utilize the speed and movement trend of the dynamic agent, thus lacking the ability to predict dynamic obstacles such as high-speed moving vehicles and pedestrians; Second, all candidate trajectories share the same cost map for scoring, which cannot model the impact of different planning behaviors such as lane changing, following, and braking on future scenarios, and cannot play the role of the world model in predicting the future; Third, the cost map scoring is performed on a single trajectory after non-maximum suppression, making it difficult to achieve pre-screening of multiple candidate trajectories, and the actual role of safety assessment is limited.

[0007] The second existing technique is the grid-by-grid independent prediction occupancy map world model, with Drive-OccWorld as a representative example. This type of method predicts the occupancy map for future multiple frames based on BEV features using a world decoder; during the training phase, each grid is independently classified as either occupied or unoccupied, and the supervision loss uses the standard binary cross-entropy loss (BCE Loss), with a certain degree of weight adjustment for the imbalance of positive and negative samples.

[0008] The above scheme has the following drawbacks: First, the independent prediction of each grid ignores the spatial correlation constraints between grids within the same dynamic agent, resulting in fragmented prediction results, poor shape integrity of dynamic targets, and blurred boundaries. Second, the proportion of positive sample grids with obstacles in the graph is extremely low, usually less than 1% to 2% of the total number of grids. The binary cross-entropy loss has limited effect on the problem of imbalanced samples, and the model tends to favor predicting large background grids, easily missing key dynamic agents. Third, the number of grids occupied by large dynamic agents (such as trucks and buses) and small dynamic agents (such as pedestrians and cyclists) in the graph varies greatly. A uniform binary cross-entropy loss will make the model much more sensitive to large dynamic agents than to small dynamic agents, causing small high-risk targets to be easily ignored. Summary of the Invention

[0009] To address the aforementioned technical problems, this invention proposes an autonomous driving planning method and apparatus based on a trajectory-conditional occupancy world model.

[0010] To achieve the above objectives, the technical solution of the present invention is as follows: In a first aspect, this invention discloses an autonomous driving planning method based on a trajectory-conditional occupancy world model, comprising: Step S1: Obtain the occupancy map of the current frame's multi-channels; The multi-channel occupancy map includes: static obstacle occupancy map, dynamic agent occupancy map, dynamic agent x-direction velocity map in preset coordinate system, and dynamic agent y-direction velocity map in preset coordinate system. Step S2: Use the encoder to map the multi-channel occupancy map into a BEV occupancy feature map; Step S3: The BEV-occupied feature map is used as context input to the diffusion planner, which generates multiple candidate trajectories based on cross-attention interaction sampling; Step S4: For each candidate trajectory, the trajectory intention is injected into the BEV occupancy feature map through adaptive layer normalization modulation, and then the occupancy map of the next few frames is predicted by the temporal recursive network under the planning behavior corresponding to the candidate trajectory, so that each candidate trajectory corresponds to an exclusive occupancy prediction map of the next few frames. Step S5: Perform a temporal safety assessment using the occupancy prediction map of each candidate trajectory for multiple future frames, and select the final planned trajectory. This includes: Step S5.1: For each candidate trajectory, take the maximum value of its exclusive occupancy prediction map for future multiple frames in the temporal dimension to obtain the comprehensive hazard map; Step S5.2: Sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map, and take the maximum sampled value as the hazard cost of the trajectory; Step S5.3: Calculate the safety score based on the cost of danger; Step S5.4: Sort all candidate trajectories according to the weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

[0011] Based on the above technical solution, the following improvements can be made: As a preferred option, in step S2, the encoder also outputs a static cost map; Static cost maps are used to perform static safety scoring on multiple candidate trajectories before nonmaximum suppression.

[0012] As a preferred embodiment, step S4 includes: Step S4.1: For each candidate trajectory, input the x and y coordinate sequence of the candidate trajectory into the trajectory encoder to encode the trajectory conditional embedding vector representing the trajectory intention; Step S4.2: Generate modulation parameters based on the trajectory conditional embedding vector using adaptive layer normalization modulation. The trajectory intent information is injected into the BEV occupancy feature map by modulating the BEV occupancy feature map using the following formula. ; in: The original BEV occupies the feature map; The modulated BEV occupancy feature map; For scaling parameters; For offset parameters; Step S4.3: Input the modulated BEV occupancy feature map into the temporal recursive network for temporal extrapolation; Step S4.4: Output the occupancy prediction map for the next multiple frames corresponding to the candidate trajectory through the frame-by-frame decoder.

[0013] As a preferred option, a training phase is also included, which includes: Step T1: Construct the ground truth of the occupancy map for future multi-frames; Step T2: Using the true trajectory as a condition, the true trajectory is embedded into the BEV occupancy feature map through adaptive layer normalization modulation, and then the occupancy map of future frames is predicted by the temporal recursive network under the planning behavior corresponding to the true trajectory. Step T3: Construct a multi-task joint loss, which includes at least the combined loss corresponding to future occupancy prediction, the supervision loss corresponding to the static cost graph, and the trajectory prediction loss; update the network parameters using the multi-task joint loss. Among them, the combined loss corresponding to future occupation prediction is the combined loss consisting of focus loss and instance-level dice loss.

[0014] As a preferred embodiment, step T1 includes: Step T1.1: Transform the future position of the dynamic agent from the global coordinate system to the preset coordinate system; Step T1.2: Directly obtain the true physical size of the dynamic agent from the raw trajectory data of the future frame of the dynamic agent; Step T1.3: Using the difference between the real orientation angle of the dynamic agent in the future frame and the vehicle orientation angle as the rotation angle, generate the agent's occupation using rotating rectangle rasterization; Step T1.4: Based on the purely static obstacle map, superimpose the dynamic agent occupancy corresponding to the future time to generate the true value of the occupancy map for the future single frame; Step T1.5: Sample the occupancy map ground truth of each dynamic agent for the next few frames at preset time intervals, and establish an independent ground truth instance mask for each dynamic agent for the next few frames.

[0015] As a preferred solution, in step T3, the focus loss The calculation is as follows: ; ; in: This represents the element-wise binary cross-entropy loss value. The transformed predicted probability value; For balance parameters; For focusing parameters; Calculate the dice loss for each instance of the dynamic agent. The specific formula is as follows: ; in: For the truth instance mask of the i-th dynamic agent instance in the temporal recursive network Predicted probability values ​​within the region; This is the truth instance mask corresponding to the i-th dynamic agent instance; This represents the summation of pixels; It is a smoothing factor; For all valid dynamic agent instances in future frames, take the average of the dice loss as the instance-level dice loss. : ; in, The total number of all valid dynamic agent instances; Combination loss The calculation is as follows: ; in: This is the third weighting parameter.

[0016] As a preferred approach, the total loss during the training phase... The calculation is as follows: ; in: Loss for trajectory prediction; The supervised loss is for the static cost graph; This is the combined loss; and These are the first and second weight parameters.

[0017] Secondly, this invention discloses an autonomous driving planning device based on a trajectory-conditional occupancy world model, comprising: The acquisition module is used to acquire the occupancy map of multiple channels in the current frame; The multi-channel occupancy map includes: static obstacle occupancy map, dynamic agent occupancy map, dynamic agent x-direction velocity map in preset coordinate system, and dynamic agent y-direction velocity map in preset coordinate system. The encoding module is used to map the multi-channel occupancy map into a BEV occupancy feature map using the encoder; The candidate trajectory generation module uses the BEV occupied feature map as context input to the diffusion planner, which generates multiple candidate trajectories based on cross-attention interaction sampling. The future occupancy prediction module is used to inject the trajectory intention into the BEV occupancy feature map by means of the candidate trajectory as a condition through adaptive layer normalization modulation for each candidate trajectory, and then predict the occupancy map of the next few frames under the planning behavior corresponding to the candidate trajectory through the temporal recursive network, so that each candidate trajectory corresponds to a unique occupancy prediction map of the next few frames. The trajectory selection module is used to perform temporal safety assessments using the occupancy prediction map of each candidate trajectory for multiple future frames, and to select the final planned trajectory. Specifically, it includes: The comprehensive hazard map generation unit is used to take the maximum value of the occupancy prediction map of each candidate trajectory in the temporal dimension for its exclusive future multi-frame occupancy prediction map to obtain the comprehensive hazard map. The hazard cost calculation unit is used to sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map and take the maximum sampled value as the hazard cost of the trajectory. A safety score calculation unit is used to calculate a safety score based on the cost of danger. The trajectory selection unit is used to sort all candidate trajectories based on a weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

[0018] Thirdly, the present invention discloses a computing device, comprising: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in memory and configured to be executed by one or more processors, and the one or more programs include instructions for any of the above-described autonomous driving planning methods based on trajectory conditional occupancy world models.

[0019] Fourthly, the present invention discloses a storage medium storing one or more computer-readable programs, the one or more programs including instructions adapted to be loaded by a memory and executed any of the above-described autonomous driving planning methods based on a trajectory-conditional occupancy world model.

[0020] This invention discloses an autonomous driving planning method and apparatus based on a trajectory-conditional occupancy world model, which has the following beneficial effects: First, the present invention constructs a multi-channel occupancy map that includes a static obstacle occupancy map, a dynamic agent occupancy map, and a dynamic agent velocity map in the x and y directions under a preset coordinate system. This enables the encoder to simultaneously perceive the obstacle position distribution and movement trend, providing effective prior motion information for subsequent future scene prediction.

[0021] Second, this invention uses each candidate trajectory as a condition, employs adaptive layer normalization modulation to inject the trajectory intention into the BEV occupancy feature map, and uses a temporal recursive network to predict the future multi-frame occupancy map specific to the candidate trajectory, so that each candidate trajectory corresponds to a specific future occupancy prediction map, realizing differentiated modeling of different planning behaviors corresponding to different scenario evolution predictions.

[0022] Third, this invention performs temporal max pooling on the exclusive future multi-frame occupancy prediction map of each candidate trajectory to obtain a comprehensive hazard map, samples the temporal point coordinates of the candidate trajectories to calculate the hazard cost, and sorts and filters all candidate trajectories before non-maximum suppression based on the weighted comprehensive score of safety score and motion score, so that the safety assessment can effectively eliminate high-risk trajectories in the multi-candidate trajectory screening stage.

[0023] Fourth, this invention employs a combination of focus loss and instance-level dice loss as the supervisory loss for future occupancy prediction. Focus loss effectively alleviates the problem of extreme imbalance between positive and negative samples in the occupancy graph; the dice loss of each dynamic agent instance is calculated separately and the average is taken as the instance-level dice loss, which imposes a global constraint on the overall shape of each dynamic agent, solving the problems of fragmented prediction results, blurred boundaries, and the easy neglect of small dynamic agents.

[0024] Fifth, this invention discloses a method for constructing the ground truth of the future occupancy map. It transforms the future position of the dynamic agent from the global coordinate system to the preset coordinate system, directly obtains the real physical size from the original trajectory data of the future frame, generates the agent occupancy using rotating rectangle rasterization, superimposes the dynamic agent occupancy on the pure static obstacle map, and establishes an independent instance mask for each dynamic agent. This avoids problems such as coordinate system confusion, size accumulation error, vehicle occlusion, and static base map pollution, and ensures training quality from the data level.

[0025] In summary, this invention improves the safety of autonomous driving trajectory planning and the completeness of dynamic target prediction. Attached Figure Description

[0026] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 A flowchart of an autonomous driving planning method based on a trajectory-conditional occupancy world model provided in an embodiment of the present invention.

[0028] Figure 2 A flowchart of step S5 provided in an embodiment of the present invention. Detailed Implementation

[0029] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0031] Furthermore, the expression "includes" is an "open-ended" expression, which means only that there is a corresponding component or step, and should not be interpreted as excluding additional components or steps.

[0032] In some embodiments, the present invention discloses an autonomous driving planning method based on a trajectory-conditional occupancy world model, such as... Figure 1 and Figure 2 As shown, it includes: Step S1: Obtain the occupancy map of the current frame's multi-channels; The multi-channel occupancy map includes: static obstacle occupancy map, dynamic agent occupancy map, dynamic agent x-direction velocity map in preset coordinate system, and dynamic agent y-direction velocity map in preset coordinate system. Step S2: Use the encoder to map the multi-channel occupancy map into a BEV occupancy feature map; Step S3: The BEV-occupied feature map is used as context input to the diffusion planner, which generates multiple candidate trajectories based on cross-attention interaction sampling; Step S4: For each candidate trajectory, the trajectory intention is injected into the BEV occupancy feature map through adaptive layer normalization modulation, and then the occupancy map of the next few frames is predicted by the temporal recursive network under the planning behavior corresponding to the candidate trajectory, so that each candidate trajectory corresponds to an exclusive occupancy prediction map of the next few frames. Step S5: Perform a temporal safety assessment using the occupancy prediction map of each candidate trajectory for multiple future frames, and select the final planned trajectory. This includes: Step S5.1: For each candidate trajectory, take the maximum value of its exclusive occupancy prediction map for future multiple frames in the temporal dimension to obtain the comprehensive hazard map; Step S5.2: Sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map, and take the maximum sampled value as the hazard cost of the trajectory; Step S5.3: Calculate the safety score based on the cost of danger; Step S5.4: Sort all candidate trajectories according to the weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

[0033] The steps described above will be explained in detail below.

[0034] In step S1, the occupancy map input of the current frame is constructed as a four-channel dynamic representation, as follows: Channel 0: Used to input a static obstacle occupancy map, which rasterizes the current frame occupancy of static obstacle categories such as road boundaries, guardrails, and curbs (identified by OCC semantic tags) into a binary map with a value range of {0,1}, where 1 indicates that there is occupancy.

[0035] Channel 1: Used to input the dynamic agent occupancy map, which uses a rotated rectangular raster to convert the positions and orientations of all tracked dynamic agents (referring to various movable traffic participants such as vehicles, pedestrians, and cyclists in the scene) in the current frame into a binary map with a value range of {0,1}.

[0036] Channel 2 is used to input the x-direction velocity map of the dynamic agent. The agent's x-direction velocity in a preset coordinate system (e.g., the vehicle's local coordinate system) is filled in at the grid position occupied by the dynamic agent and normalized to [-1,1]. The maximum velocity range is set to 20m / s.

[0037] Channel 3 is used to input the y-direction velocity map of the dynamic agent. The y-direction velocity of the agent in the preset coordinate system (e.g., the vehicle local coordinate system) is filled in at the grid position occupied by the dynamic agent and normalized to [-1,1]. The maximum velocity range is set to 10m / s.

[0038] The velocity vector needs to be transformed from the global coordinate system to the preset coordinate system (for example, by using the rotation matrix of the vehicle's orientation angle) to ensure that the velocity representation is consistent with the BEV coordinate system.

[0039] In some other embodiments, the information source for the velocity channel can be replaced by optical flow estimation or BEV flow field, which does not rely on the tracking system directly outputting the velocity, but is estimated from the sensing results, suitable for sensing configurations without high-precision tracking.

[0040] In one specific embodiment, the BEV spatial parameters are set as follows: range x∈[-16,80]m, y∈[-16,16]m, grid resolution 0.25m / grid, BEV map size H=128, W=384.

[0041] Compared to static OCC input, four-channel input enables the OCC BEV encoder to simultaneously perceive the location distribution and motion trend of obstacles, providing effective prior motion information for future OCC prediction.

[0042] In step S2, the encoder is an OCC BEV encoder, which maps the four-channel OCC input to a high-dimensional BEV occupied feature map and outputs a static cost map.

[0043] The encoding backbone is the main network part of the encoder, responsible for extracting high-level semantic features from the input multi-channel occupancy map and mapping them to feature representations suitable for subsequent planner processing. The encoding backbone uses three convolutional layers to progressively expand the number of channels and compress spatial information, as follows: First convolutional layer: maps the 4-channel input to 64 channels; The second convolutional layer maps 64 channels to 128 channels; The third convolutional layer: keeps the 128 channels unchanged and outputs the final features.

[0044] Each convolutional layer uses a 3×3 kernel with 1 padding in a 2D convolution, followed by batch normalization and ReLU activation. The number of channels is progressively increased (4→64→128→). ,in The final output shape is BEV occupies feature map.

[0045] in, This indicates the batch size, which is the number of samples input into the network at one time. This indicates the channel dimension of the feature map occupied by BEV (128 in this case), with each channel corresponding to an abstract feature type. and These represent the height and width of the BEV occupancy feature map, corresponding to the number of raster rows and columns after the BEV space is rasterized (e.g., H=128, W=384). This BEV occupancy feature map serves as the cross-attention context input for the autonomous vehicle trajectory planning diffusion planner, enabling the planner to perceive the occupancy distribution of the current scene.

[0046] The cost map generator is a lightweight branch network at the end of the encoder, independent of the main output path that provides features to the diffusion planner. It receives the BEV-occupied feature map from the main encoder output as input and generates a static cost map through two 1×1 convolutional layers with a sigmoid activation function. The output shape is... The range is [0,1].

[0047] This static cost map is used to statically score the safety of multiple candidate trajectories generated by the diffusion planner before non-maximum suppression (NMS). Supervised training of the static cost map employs binary cross-entropy loss (BCE Loss), using the merged map of the static obstacle occupancy map and the dynamic agent occupancy map of the current frame as the ground truth (i.e., the ground truth is 1 if the grid is occupied by a static obstacle or a dynamic agent in the current frame). This encourages the cost map to output high cost values ​​in obstacle-filled regions and low cost values ​​in obstacle-free regions. This auxiliary supervision task forces the encoder backbone to retain the precise occupancy geometry information of the current frame during the feature extraction stage, thereby providing more accurate perceptual priors for subsequent trajectory conditional future prediction tasks.

[0048] In step S3, the BEV occupancy feature map is used as the context input to the diffusion planner. The diffusion planner is a trajectory planner based on the Diffusion Transformer (DiT), which generates multiple candidate trajectories through denoising sampling. The diffusion planner is based on cross-attention interaction, using the BEV occupancy feature map as the context input for cross-attention, and generates the desired trajectories through sampling. Candidate trajectories.

[0049] In one specific embodiment, the time step T of the candidate trajectory is 50, the time resolution is 0.1s / step, and it covers the next 5 seconds.

[0050] Step S4 specifically includes: Step S4.1: For each candidate trajectory, input the x and y coordinate sequence of the candidate trajectory into the trajectory encoder to encode the trajectory conditional embedding vector representing the trajectory intention.

[0051] Specifically, for each candidate trajectory, the x and y coordinate sequence of that trajectory (for a total of T=50 time steps) is flattened into a vector of dimension 100, and then mapped to dimension 100 through two fully connected layers (Linear+ReLU). Trajectory conditional embedding vector This vector represents the trajectory intention.

[0052] Step S4.2: Utilize adaptive layer normalization modulation to embed vectors based on trajectory conditions. Generate modulation parameters The trajectory intent information is injected into the BEV occupancy feature map by modulating the BEV occupancy feature map using the following formula. ; in: The original BEV occupies the feature map; The modulated BEV occupancy feature map; For scaling parameters; This is the offset parameter.

[0053] Specifically, embedding trajectory conditions into vectors After SiLU activation, the parameters are mapped to modulation parameters through a linear layer. The trajectory intention is then injected into the OCC feature map using the formula above, enabling the prediction head to perceive different planning behaviors.

[0054] In some other embodiments, the trajectory condition injection method can be replaced by a cross-attention mechanism: using the BEV grid token as the query and the trajectory token (after the trajectory sequence is progressively tokenized) as the key / value, replacing the adaptive layer normalization modulation. Cross-attention can establish a more granular "trajectory location-scene region" interaction relationship, which is suitable for application scenarios with higher requirements for modeling the correlation between planning intent and scene details.

[0055] In addition, the cognitive token of the large language model can be used as an additional condition, injected into the future occupancy prediction head through adaptive layer normalization modulation or cross attention, forming a large model-enhanced occupancy world model, and further improving the accuracy of future scene prediction by leveraging the semantic scene understanding capabilities of the large language model (such as traffic light status, pedestrian intentions, and road topology).

[0056] Step S4.3: Input the modulated BEV occupancy feature map into the temporal recursive network for temporal extrapolation.

[0057] Specifically, the temporal recursive network is a ConvGRU (Convolutional Gated Recurrent Unit), which predicts frame by frame in the BEV feature space.

[0058] To reduce memory consumption, the feature map spatial resolution is first reduced to half of its original value (H / 2 × W / 2) using a convolution with a stride of 2, while the number of channels is also reduced. Then, the ConvGRU recursion is executed. ConvGRU contains three 1×1 convolutions: an update gate, a reset gate, and a candidate hidden state.

[0059] The frame-by-frame recursive formula for ConvGRU is as follows: ; ; ; ; Where x is the modulated BEV occupancy feature map. σ is the Sigmoid activation function. This is element-wise multiplication; To update the door, To reset the door, This is a candidate hidden state. This represents the hidden state at the current moment. , , These are the learnable convolutional kernel weight parameters corresponding to the update gate, reset gate, and candidate hidden states, respectively.

[0060] After ConvGRU completes its recursion, the original spatial resolution is restored through deconvolution.

[0061] In some embodiments, in step S4.3, The temporal recursive network is set as a convolutional gated recurrent unit; The spatial resolution of the feature map is reduced to half of its original value by using a convolution with a stride of 2, and the number of channels is reduced to 24. The convolution gated recurrent unit is then executed, which contains three 1×1 convolutions: an update gate, a reset gate, and a candidate hidden state. The frame-by-frame recursive formula for the convolution-gated recurrent unit is as follows: ; ; ; ; In the formula, x is the modulated BEV occupancy feature map. σ is the Sigmoid activation function. For element-wise multiplication, Let t be the hidden state at time t-1, conv be the convolution operation (each gate corresponds to a learnable 1×1 convolution kernel with a stride of 1, and the padding method keeps the feature map space size unchanged), and tanh be the hyperbolic tangent activation function used to calculate the candidate hidden states. To update the door, To reset the door, This is a candidate hidden state. The current state is hidden. , , These are the learnable convolutional kernel weight parameters corresponding to the update gate, reset gate, and candidate hidden states, respectively. After the convolution-gated recurrent unit completes its iteration, the original spatial resolution is restored through deconvolution.

[0062] Step S4.4: Output the occupancy prediction map for the next multiple frames corresponding to the candidate trajectory through the frame-by-frame decoder.

[0063] Specifically, a frame-by-frame decoder outputs the occupancy prediction map for the next few frames corresponding to the candidate trajectory. For the hidden state h_t of each recursive step, a lightweight convolutional layer decodes it into the occupancy prediction logit map (shape) for that frame. A total of 5 frames are output (corresponding to the future 1s, 2s, 3s, 4s, and 5s), which are finally stitched together to form a shape. The future occupancy of the forecast map.

[0064] In some embodiments, in step S4.4, For the hidden state of each recursive step, it is decoded into the shape of the frame through a lightweight convolutional layer. The occupancy prediction logit graph outputs the shape for the next 1s, 2s, 3s, 4s, and 5s. The occupied prediction logit graph, i.e., a total of 5 frames of shape are output. The occupied prediction logit graph will be 5 frames in shape. The occupied prediction logit graph is stitched together into a shape The future occupancy of the forecast map.

[0065] During the training phase, a teacher forcing strategy is employed, using the ground truth trajectory (GT) as the condition to ensure the quality of the training conditions. During the inference phase, each candidate trajectory sampled by the diffusion planner (out of a total of...) is processed... Each of the lines uses this trajectory as a condition to independently predict the future occupancy map, and the output shape is... This enables different planning behaviors to correspond to different scenario evolution predictions, achieving a true one-to-one modeling of "planning-scenario perception".

[0066] The training phase includes the following steps: Step T1: Construct the ground truth of the occupancy map for future multi-frames, including: Step T1.1: Transform the future position of the dynamic agent from the global coordinate system to the preset coordinate system.

[0067] Specifically, first, the global coordinates are subtracted from the current global position of the vehicle (translation), and then the coordinates are rotated to a preset coordinate system (such as the local coordinate system of the vehicle) through the rotation matrix of the vehicle's orientation angle to avoid coordinate system confusion.

[0068] Step T1.2: Directly obtain the true physical size of the dynamic agent from the raw trajectory data of the future frame of the dynamic agent.

[0069] Specifically, the true physical dimensions (length, width) of the dynamic agent are obtained directly from the original trajectory data of the corresponding future frame, avoiding the size accumulation error caused by averaging the dimensions of historical frames.

[0070] Step T1.3: Using the difference between the real orientation angle of the dynamic agent in the future frame and the vehicle orientation angle as the rotation angle, generate the agent's occupation using a rotating rectangle rasterization.

[0071] Specifically, the difference between the actual orientation angle of the dynamic agent in the future frame and the vehicle's orientation angle is used as the rotation angle. cv2.fillPoly is used to accurately rasterize the rotation bounding box of the dynamic agent to correctly represent the orientation of the dynamic agent.

[0072] Step T1.4: Based on the purely static obstacle map, superimpose the dynamic agent occupancy corresponding to the future time to generate the true value of the occupancy map for the future single frame.

[0073] Specifically, based on a purely static obstacle map (excluding the current frame's dynamic agent position), the occupancy of the dynamic agent corresponding to the future moment is superimposed to generate the true value of the occupancy map for the future single frame, thus avoiding the current frame's agent position remaining in all future frames.

[0074] Step T1.5: Sample the occupancy map ground truth of each dynamic agent for the next few frames at preset time intervals, and establish an independent ground truth instance mask for each dynamic agent for the next few frames.

[0075] Specifically, the occupancy map truth value of each dynamic agent in the next few frames is sampled at preset time intervals (e.g., 10 steps at equal intervals, i.e., 1 second / frame), covering the next 1 to 5 seconds, which is completely aligned with the trajectory prediction time range (5 seconds) of the diffusion planner; at the same time, an independent truth instance mask for the next few frames is established for each dynamic agent (keeping up to 10 agents, truncating if there are more, and padding with zeros if there are fewer), which is used for instance-level dice loss calculation.

[0076] During the construction process, it is also necessary to identify and skip the vehicle itself based on the vehicle trajectory index to avoid generating self-occlusion noise near the BEV origin.

[0077] Step T2: Using the true trajectory as a condition, the true trajectory is embedded into the BEV occupancy feature map through adaptive layer normalization modulation, and then the occupancy map of future frames is predicted by the temporal recursive network under the planning behavior corresponding to the true trajectory.

[0078] During the training phase, a teacher-mandated strategy is adopted, using the true value trajectory as a condition to ensure the quality of the conditions during the training phase.

[0079] Step T3: Construct a multi-task joint loss, which includes at least the combined loss corresponding to future occupancy prediction, the supervision loss corresponding to the static cost graph, and the trajectory prediction loss; update the network parameters using the multi-task joint loss. Among them, the combined loss corresponding to future occupation prediction is the combined loss consisting of focus loss and instance-level dice loss.

[0080] Focus loss The calculation is as follows: ; ; in: This represents the element-wise binary cross-entropy loss value. The value is the predicted probability value after transformation. The closer it is to 1, the more accurate the prediction is for the corresponding position. The balancing parameter is used to adjust the weights of positive and negative samples (e.g.) ); This is a focusing parameter used to control the weight decay rate of easy and difficult samples (e.g., ).

[0081] The calculation is as follows: ; in, The true value label for the future occupied graph, which can be 0 or 1; The original scores of the future multi-frame occupancy prediction map output by the temporal recursive network; It is the Sigmoid activation function. This represents the occupancy probability predicted by the time-series recursive network.

[0082] Calculate the dice loss for each instance of the dynamic agent. The specific formula is as follows: ; in: For the truth instance mask of the i-th dynamic agent instance in the temporal recursive network Predicted probability values ​​within the region; This is the truth instance mask corresponding to the i-th dynamic agent instance; This represents the summation of pixels; It is a smoothing factor used to prevent the denominator from being zero (e.g., ).

[0083] For all valid dynamic agent instances in future frames, take the average of the dice loss as the instance-level dice loss. : ; in, This represents the total number of all valid dynamic agent instances.

[0084] In some other embodiments, instance constraints can be replaced by an embedding-based discriminative loss: instead of pre-fixing the number of instances, the model automatically learns the ability to discriminate between "same agents attracting, different agents repelling" in the pixel-level embedding space, and then infers instance boundaries through clustering, which is suitable for scenarios with large differences in the number of agents.

[0085] Combination loss The calculation is as follows: ; in: The third weighting parameter is used to adjust the weight of the instance-level dice loss in the combined loss (e.g., ).

[0086] Total loss during training phase The calculation is as follows: ; in: For trajectory prediction loss (including classification loss and regression loss); The supervision loss corresponding to the static cost graph (using binary cross-entropy loss). This is the combined loss.

[0087] and These are the first and second weighting parameters, used to ensure that the auxiliary task of the OCC world model does not interfere with the convergence of the main task's trajectory prediction (e.g., , ).

[0088] Step S5 involves performing a temporal safety assessment using the occupancy prediction map for each candidate trajectory across multiple future frames, and selecting the final planned trajectory. Specifically, Step S5.1: For each candidate trajectory, its exclusive occupancy prediction map for future multiple frames is activated by Sigmoid to form an occupancy probability map. Then, the maximum value is taken pixel-by-pixel in the temporal dimension to obtain a comprehensive hazard map, the shape of which is... .

[0089] Step S5.2: Normalize the coordinates of each time point of the candidate trajectory to [-1,1], perform bilinear interpolation sampling on the comprehensive hazard map, and take the maximum sampled value of all time points as the hazard cost of the trajectory.

[0090] Step S5.3: Calculate the safety score based on the cost of danger: = 1 - ; ; in: This represents the safety score of the m-th candidate trajectory; This represents the danger cost of the m-th candidate trajectory.

[0091] Step S5.4: Sort all candidate trajectories according to the weighted composite score of safety score and motion score.

[0092] For example: Overall score = Sports score × 0.7 + Safety score × 0.3; The final planned trajectory is selected through nonmaximum suppression (NMS).

[0093] In some other embodiments, security scoring during the inference phase can be combined with a guided diffusion sampling mechanism. By using gradient guidance, the sampling direction of the diffusion planner is directly biased towards the safe region, achieving a deeper "perception-planning" closed loop, replacing the current post-processing scoring and screening method.

[0094] Compared to existing technologies, the security scoring in this solution occurs before NMS, which can effectively filter dangerous trajectories; and different candidate trajectories use their own exclusive future occupancy maps, truly realizing a complete closed loop of "planning behavior → future scenario → security assessment".

[0095] To verify the effectiveness of each module of this invention, ablation experiments were conducted on a real autonomous driving dataset. The experiments used average displacement error (ADE), final displacement error (FDE), and occupancy collision rate. and curb collision rate As an evaluation indicator.

[0096] Five model versions were set up in the experiment: the baseline model had no OCC input and served as a lower bound for performance; version two added a 2-channel static OCC input to the baseline and performed cost map scoring after NMS to verify the performance of the first existing technology; version three moved the static cost map scoring from after NMS to before NMS to verify the impact of scoring timing on security assessment; version four expanded the 2-channel static OCC input to a 4-channel dynamic representation (adding a velocity channel) to verify the contribution of velocity information to dynamic scene perception; version five was the complete solution, adding a trajectory conditional future occupancy prediction module to verify the gain of dedicated prediction on differentiated security assessment. The experimental results are shown in Table 1.

[0097] Ablation experiments show that static OCC perception can reduce the basic collision rate; moving the safety assessment before NMS can further improve safety; the introduction of the velocity channel enables the encoder to perceive the movement trend of obstacles, further reducing the risk of dynamic collisions; and the dedicated future occupancy prediction with trajectory conditionation enables each candidate trajectory to have an independent scene evolution assessment basis, realizing differentiated safety assessment and ultimately achieving optimal performance, verifying the effectiveness of each module of the present invention and the synergistic gain after combination.

[0098] Table 1 Comparative Experimental Results In other embodiments, the present invention discloses an autonomous driving planning device based on a trajectory-conditional occupancy world model, comprising: The acquisition module is used to acquire the occupancy map of multiple channels in the current frame; The multi-channel occupancy map includes: static obstacle occupancy map, dynamic agent occupancy map, dynamic agent x-direction velocity map in preset coordinate system, and dynamic agent y-direction velocity map in preset coordinate system. The encoding module is used to map the multi-channel occupancy map into a BEV occupancy feature map using the encoder; The candidate trajectory generation module uses the BEV occupied feature map as context input to the diffusion planner, which generates multiple candidate trajectories based on cross-attention interaction sampling. The future occupancy prediction module is used to inject the trajectory intention into the BEV occupancy feature map by means of the candidate trajectory as a condition through adaptive layer normalization modulation for each candidate trajectory, and then predict the occupancy map of the next few frames under the planning behavior corresponding to the candidate trajectory through the temporal recursive network, so that each candidate trajectory corresponds to a unique occupancy prediction map of the next few frames. The trajectory selection module is used to perform temporal safety assessments using the occupancy prediction map of each candidate trajectory for multiple future frames, and to select the final planned trajectory. Specifically, it includes: The comprehensive hazard map generation unit is used to take the maximum value of the occupancy prediction map of each candidate trajectory in the temporal dimension for its exclusive future multi-frame occupancy prediction map to obtain the comprehensive hazard map. The hazard cost calculation unit is used to sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map and take the maximum sampled value as the hazard cost of the trajectory. A safety score calculation unit is used to calculate a safety score based on the cost of danger. The trajectory selection unit is used to sort all candidate trajectories based on a weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

[0099] Furthermore, it should be noted that the autonomous driving planning device based on the trajectory conditional occupancy world model provided in the above embodiments is only illustrated by the division of the above functional modules when performing trajectory planning. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the autonomous driving planning device based on the trajectory conditional occupancy world model can be divided into different functional modules to complete all or part of the functions described above.

[0100] Furthermore, the autonomous driving planning device based on the trajectory conditional occupancy world model provided in the above embodiments and the autonomous driving planning method based on the trajectory conditional occupancy world model belong to the same concept. For details of their specific implementation process, please refer to the method embodiments, which will not be repeated here.

[0101] In other embodiments, the present invention discloses a computing device comprising: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in memory and configured to be executed by one or more processors, and the one or more programs include instructions for any of the above-described autonomous driving planning methods based on trajectory conditional occupancy world models.

[0102] In other embodiments, the present invention discloses a storage medium storing one or more computer-readable programs, the programs including instructions adapted to be loaded by memory and executed any of the above-described autonomous driving planning methods based on the trajectory-conditional occupied world model.

[0103] This invention discloses an autonomous driving planning method and apparatus based on a trajectory-conditional occupancy world model, which has the following beneficial effects: First, the present invention constructs a multi-channel occupancy map that includes a static obstacle occupancy map, a dynamic agent occupancy map, and a dynamic agent velocity map in the x and y directions under a preset coordinate system. This enables the encoder to simultaneously perceive the obstacle position distribution and movement trend, providing effective prior motion information for subsequent future scene prediction.

[0104] Second, this invention uses each candidate trajectory as a condition, employs adaptive layer normalization modulation to inject the trajectory intention into the BEV occupancy feature map, and uses a temporal recursive network to predict the future multi-frame occupancy map specific to the candidate trajectory, so that each candidate trajectory corresponds to a specific future occupancy prediction map, realizing differentiated modeling of different planning behaviors corresponding to different scenario evolution predictions.

[0105] Third, this invention performs temporal max pooling on the exclusive future multi-frame occupancy prediction map of each candidate trajectory to obtain a comprehensive hazard map, samples the temporal point coordinates of the candidate trajectories to calculate the hazard cost, and sorts and filters all candidate trajectories before non-maximum suppression based on the weighted comprehensive score of safety score and motion score, so that the safety assessment can effectively eliminate high-risk trajectories in the multi-candidate trajectory screening stage.

[0106] Fourth, this invention employs a combination of focus loss and instance-level dice loss as the supervisory loss for future occupancy prediction. Focus loss effectively alleviates the problem of extreme imbalance between positive and negative samples in the occupancy graph; the dice loss of each dynamic agent instance is calculated separately and the average is taken as the instance-level dice loss, which imposes a global constraint on the overall shape of each dynamic agent, solving the problems of fragmented prediction results, blurred boundaries, and the easy neglect of small dynamic agents.

[0107] Fifth, this invention discloses a method for constructing the ground truth of the future occupancy map. It transforms the future position of the dynamic agent from the global coordinate system to the preset coordinate system, directly obtains the real physical size from the original trajectory data of the future frame, generates the agent occupancy using rotating rectangle rasterization, superimposes the dynamic agent occupancy on the pure static obstacle map, and establishes an independent instance mask for each dynamic agent. This avoids problems such as coordinate system confusion, size accumulation error, vehicle occlusion, and static base map pollution, and ensures training quality from the data level.

[0108] In summary, this invention improves the safety of autonomous driving trajectory planning and the completeness of dynamic target prediction.

[0109] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the present invention. Various changes and modifications can be made to the present invention without departing from its spirit and scope. All such changes and modifications fall within the scope of the present invention as claimed, which is defined by the appended claims and their equivalents.

Claims

1. An autonomous driving planning method based on trajectory-conditioned occupancy world model, characterized in that, include: Step S1: Obtain the occupancy map of the current frame's multi-channels; The multi-channel occupancy map includes: a static obstacle occupancy map, a dynamic agent occupancy map, a dynamic agent x-direction velocity map in a preset coordinate system, and a dynamic agent y-direction velocity map in a preset coordinate system. Step S2: Use the encoder to map the multi-channel occupancy map into a BEV occupancy feature map; Step S3: The BEV-occupied feature map is used as the context input diffusion planner, and the diffusion planner generates multiple candidate trajectories based on cross-attention interaction sampling; Step S4: For each candidate trajectory, the trajectory intention is injected into the BEV occupancy feature map through adaptive layer normalization modulation, using the candidate trajectory as a condition. Then, the occupancy map of the next few frames is predicted by the temporal recursive network under the planning behavior corresponding to the candidate trajectory, so that each candidate trajectory corresponds to an exclusive occupancy prediction map of the next few frames. Step S5: Perform a temporal safety assessment using the occupancy prediction map of each candidate trajectory for multiple future frames, and select the final planned trajectory. This includes: Step S5.1: For each candidate trajectory, take the maximum value of its exclusive occupancy prediction map for future multiple frames in the temporal dimension to obtain the comprehensive hazard map; Step S5.2: Sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map, and take the maximum sampled value as the hazard cost of the trajectory; Step S5.3: Calculate the safety score based on the aforementioned risk cost; Step S5.4: Sort all candidate trajectories according to the weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

2. The method of claim 1, wherein, In step S2, the encoder also outputs a static cost map; The static cost graph is used to perform static safety scoring on multiple candidate trajectories before nonmaximum suppression.

3. The method of claim 1, wherein, Step S4 includes: Step S4.1: For each candidate trajectory, input the x and y coordinate sequence of the candidate trajectory into the trajectory encoder to encode the trajectory conditional embedding vector representing the trajectory intention; Step S4.2: generating modulation parameters according to the trajectory-condition embedding vector by using adaptive layer normalization modulation The BEV occupancy feature map is modulated by the following formula to inject trajectory intention information into the BEV occupancy feature map; ; in: is the feature map for the original BEV; is the modulated BEV occupancy feature map; sclae a scaling parameter; is an offset parameter; Step S4.3: Input the modulated BEV occupancy feature map into the temporal recursive network for temporal extrapolation; Step S4.4: Output the occupancy prediction map for the next multiple frames corresponding to the candidate trajectory through the frame-by-frame decoder.

4. The method according to any one of claims 1 to 3, characterized in that, It also includes a training phase, which includes: Step T1: Construct the ground truth of the occupancy map for future multi-frames; Step T2: Using the true trajectory as a condition, the true trajectory is embedded into the BEV occupancy feature map through adaptive layer normalization modulation, and then the occupancy map of future frames is predicted by the temporal recursive network under the planning behavior corresponding to the true trajectory. Step T3: Construct a multi-task joint loss, which includes at least the combined loss corresponding to future occupancy prediction, the supervision loss corresponding to the static cost graph, and the trajectory prediction loss; update the network parameters using the multi-task joint loss. The combined loss corresponding to the future occupation prediction is a combination of focus loss and instance-level dice loss.

5. The method according to claim 4, characterized in that, Step T1 includes: Step T1.1: Transform the future position of the dynamic agent from the global coordinate system to the preset coordinate system; Step T1.2: Directly obtain the true physical size of the dynamic agent from the raw trajectory data of the future frame of the dynamic agent; Step T1.3: Using the difference between the real orientation angle of the dynamic agent in the future frame and the vehicle orientation angle as the rotation angle, generate the agent's occupation using rotating rectangle rasterization; Step T1.4: Based on the purely static obstacle map, superimpose the dynamic agent occupancy corresponding to the future time to generate the true value of the occupancy map for the future single frame; Step T1.5: Sample the occupancy map ground truth of each dynamic agent for the next few frames at preset time intervals, and establish an independent ground truth instance mask for each dynamic agent for the next few frames.

6. The method according to claim 4, characterized in that, In step T3, the focus loss The calculation is as follows: ; ; in: This represents the element-wise binary cross-entropy loss value. The transformed predicted probability value; For balance parameters; For focusing parameters; Calculate the dice loss for each dynamic agent instance separately. The specific formula is as follows: ; in: The truth instance mask for the i-th dynamic agent instance of the temporal recursive network. Predicted probability values ​​within the region; This is the truth instance mask corresponding to the i-th dynamic agent instance; This represents the summation of pixels; It is a smoothing factor; For all valid dynamic agent instances in the future multiple frames, the average of the dice loss is taken as the instance-level dice loss. : ; in, The total number of all valid dynamic agent instances; The combined loss The calculation is as follows: ; in: This is the third weighting parameter.

7. The method according to claim 6, characterized in that, The total loss during the training phase The calculation is as follows: ; in: Loss for trajectory prediction; This represents the supervision loss corresponding to the static cost graph; This is the combined loss; and These are the first and second weight parameters.

8. An autonomous driving planning device based on a trajectory-conditional occupancy world model, characterized in that, include: The acquisition module is used to acquire the occupancy map of multiple channels in the current frame; The multi-channel occupancy map includes: a static obstacle occupancy map, a dynamic agent occupancy map, a dynamic agent x-direction velocity map in a preset coordinate system, and a dynamic agent y-direction velocity map in a preset coordinate system. The encoding module is used to map the multi-channel occupancy map into a BEV occupancy feature map using an encoder; A candidate trajectory generation module is used to take the BEV-occupied feature map as context input to a diffusion planner, wherein the diffusion planner generates multiple candidate trajectories based on cross-attention interaction sampling. The future occupancy prediction module is used to inject the trajectory intention into the BEV occupancy feature map by means of the candidate trajectory as a condition through adaptive layer normalization modulation for each candidate trajectory, and then predict the occupancy map of the next few frames under the planning behavior corresponding to the candidate trajectory through a temporal recursive network, so that each candidate trajectory corresponds to a unique occupancy prediction map of the next few frames. The trajectory selection module is used to perform temporal safety assessments using the occupancy prediction map of each candidate trajectory for multiple future frames, and to select the final planned trajectory. Specifically, it includes: The comprehensive hazard map generation unit is used to take the maximum value of the occupancy prediction map of each candidate trajectory in the temporal dimension for its exclusive future multi-frame occupancy prediction map to obtain the comprehensive hazard map. The hazard cost calculation unit is used to sample the coordinates of each time series point of the candidate trajectory on the comprehensive hazard map, and take the maximum sampled value as the hazard cost of the trajectory. A safety score calculation unit is used to calculate a safety score based on the risk cost. The trajectory selection unit is used to sort all candidate trajectories based on a weighted composite score of safety score and motion score, and select the final planned trajectory through non-maximum suppression.

9. A computing device, characterized in that, include: One or more processors; Memory; And one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs include instructions for the autonomous driving planning method based on the trajectory conditional occupancy world model as described in any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores one or more computer-readable programs, the programs including instructions adapted to be loaded by memory and executed as described in any of claims 1-7 for autonomous driving planning based on a trajectory-conditional occupancy world model.