Behavior modal division method, and training method and reasoning method of multi-modal trajectory prediction model

Through behavioral modal division and multi-modal trajectory prediction model training methods, combined with basic driving rules and high-fine-grained modal refinement, the balance problem between the rationality of modal distribution and prediction performance in multi-modal trajectory prediction is solved, improving The interpretability and accuracy of trajectory prediction are improved.

CN118569382AActive Publication Date: 2024-08-30JIANGSU UNIV

Patent Information

Application Number
CN202410589205.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-30
Estimated Expiration
2044-05-13

AI Technical Summary

Technical Problem

Existing multi-modal trajectory prediction algorithms cannot explicitly obtain the modal distribution behavior in the latent variable model, resulting in poor interpretability of trajectory prediction results and difficulty in controlling and correcting unreasonable prediction modes.

Method used

Using the behavioral modal division method and the multi-modal trajectory prediction model training method, by integrating basic driving rule constraints to design progressive modal construction and highly fine-grained lane-level modal refinement, a generalized modal domain is constructed to achieve Balance between modal distribution plausibility and predictive performance.

Benefits of technology

It improves the interpretability and accuracy of trajectory prediction, reduces the occurrence of irrational behaviors, improves the efficiency and accuracy of the model, and reduces the dependence on candidate priors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569382A
    Figure CN118569382A
Patent Text Reader

Abstract

The invention discloses a behavior modal division method, and a training method and a reasoning method of a multi-modal trajectory prediction model, and the method comprises the steps: dividing a behavior modal of a vehicle trajectory based on a basic driving rule, and constructing a generalization modal domain; reasonable space guidance is constructed based on modal refinement of road map elements; and outputting multi-mode track prediction results corresponding to different high-level control instructions through a multi-mode decoder according to the coding result of the intelligent agent. According to the multi-modal trajectory prediction model, basic driving rules are used for generalization modal division, so that training samples with similar driving behaviors are aggregated, more visual, wider and more effective modal classification is realized, and the model training efficiency is improved. And secondly, a high-fine-granularity lane-level modal refinement method is designed, so that the correlation of information fusion is improved, the manual design of various candidate priori is avoided, and a richer and more effective trajectory prediction modal result is naturally guided and generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, specifically, a behavior mode division method, a training method and an inference method of a multimodal trajectory prediction model. Background Art

[0002] Accurate and effective trajectory prediction in driving scenario implementation is an important prerequisite for ensuring that autonomous vehicles make safe behavior decisions and path planning. Deterministic trajectory prediction methods output a single predicted trajectory for the target agent without considering the inherent uncertainty of the agent's behavior. Mainstream multimodal trajectory prediction algorithms use generative models, such as conditional variational autoencoders (CVAE) or generative adversarial networks (GANs), to capture the inherent ambiguity and multimodality in future predictions using latent variables. However, latent variable models cannot explicitly obtain the distribution behavior of the modality, and random sampling weakens the interpretability of trajectory prediction results. The modality of the predicted trajectory may exhibit unreasonable behaviors that are difficult to control and correct. Summary of the invention

[0003] The purpose of the present invention is to solve the deficiencies in the prior art. In response to the above problems, the present invention proposes a behavior mode division method, a training method and an inference method for a multimodal trajectory prediction model. By integrating basic driving rule constraints to design a progressive mode construction, training and decoding strategy, the problem of the rationality of modal distribution and the balance of prediction performance in multimodal trajectory prediction is solved. The generalized modal domain construction based on high-level control instructions and the highly fine-grained lane-level modal refinement achieve a balance between the number of samples and the motion prediction performance, while avoiding the manual design of numerous candidate priors and guiding the generation of more reasonable behavior modes.

[0004] Technical solution:

[0005] In a first aspect, a vehicle behavior mode division method is provided, comprising:

[0006] Obtain the agent and road map data in the training scenario. The agent data contains the historical trajectory, speed, heading angle and other status information of each dynamic target, as well as semantic information such as the category of traffic participants; the road map data contains the location, direction and category of each map element constituent point;

[0007] Select the target agent, construct a local reference coordinate system, and use an agent-centric model to align the states of other relevant elements in the driving scene, such as agents and road map elements, to the coordinate system constructed by the target agent.

[0008] Extract all lane centerline status information in the aligned road map elements, that is, the spatial position and heading of the lane centerline starting point relative to the target intelligent body coordinate system;

[0009] Extract the spatial position and heading angle of the target intelligent body at the observation time, select the lane centerline segment closest to it, calculate the yaw angle between the target intelligent body's heading angle and the direction of the lane centerline, and if the lane centerline is in the same direction as the target intelligent body's driving direction, select it as the reference lane state;

[0010] Extract other lane centerline segments and use them as the lane state to which the target agent predicts the end position of the trajectory in the prediction cycle, which is recorded as the end lane state;

[0011] Select the valid lane centerline segment in the driving scene, and use the reference lane state and the end lane state to calculate the driving behavior of the selected target agent from the reference lane to the end lane. Specifically, the driving behavior category of the target agent is analyzed by the relative spatial position and relative heading angle between the end lane and the reference lane.

[0012] Under the constraints of the road map, the driving behavior of the target agent can be divided into straight-ahead, left turn, right turn, left lane change, right lane change and U-turn based on high-level control instructions;

[0013] Calculate the driving behaviors of all valid lane centerline segments in the driving scenario, and for the selected target agent, aggregate the lane centerline segments with the same driving behavior in the current driving scenario into a generalized modal domain representing such behaviors;

[0014] In the training process, in order to obtain the true value label of the target agent's driving behavior, the generalized modal domain to which the target agent's predicted trajectory belongs is determined based on the true value, and the target agent's driving behavior is classified. Specifically, the driving behavior of the target agent is determined by obtaining the modal domain to which the lane centerline near the end point of the true value trajectory belongs;

[0015] The driving behavior modal division and generalized modal domain division of each target agent in the driving scenario will be used in the multimodal trajectory prediction model training and reasoning process respectively.

[0016] In a second aspect, a multimodal trajectory prediction model training method based on behavior mode division is provided, comprising:

[0017] Select the target agent in the current driving scene, build a local reference coordinate system based on the position and heading information of the target agent at the time of observation, and then align the state quantities of various elements of the driving scene to the coordinate system built at the time of observation of the target agent;

[0018] A target agent encoding module is constructed based on a neural network, and the target agent's trajectory, speed, heading angle and other historical state quantities and semantic information such as category in the observation period are input into the agent encoding module to obtain the embedded encoding of the target agent's state quantity;

[0019] Then, information fusion modules such as convolutional neural networks (CNNs), attention mechanisms (Attention), and multi-layer perceptrons (MLPs) are used to embed the target agent and fuse the embedding code information of other elements in the current driving scene, such as other agents or road map elements.

[0020] In the training process, a corresponding Query vector is constructed based on the true value of the target agent's behavior mode, and the target agent encoding is subjected to modal refinement and deep information fusion under the driving behavior constraints.

[0021] Preferably, the so-called modal refinement and deep information fusion based on driving behavior constraints includes:

[0022] Initialize the query vector to which the target agent's driving behavior belongs, and assign the query vector using the target agent's embedding code;

[0023] The query vector is concatenated with all lane centerline codes corresponding to the behavior mode of the target agent, and preprocessed through a linear network;

[0024] Use a neural network to score the splicing features, and use the normalized exponential function softmax to obtain the normalized score. Each lane centerline will obtain a corresponding probability value;

[0025] Construct a scoring loss function, where the center line of the lane closest to the target agent’s predicted true value endpoint will be used as the true value to participate in the loss calculation;

[0026] Based on the scoring results, select the top K road centerlines with the highest scores;

[0027] The query vector is used to fuse the TopK road centerline encoding information.

[0028] After completing the above modality refinement and deep information fusion, the Query vector after information fusion is used to perform trajectory decoding, including:

[0029] Input the Query vector into the trajectory decoding module to obtain the predicted trajectory value and uncertainty information under the prediction period;

[0030] Compare the predicted trajectory result with the true value of the target agent trajectory and calculate the regression loss.

[0031] Synchronously construct corresponding Query vectors for other generalized modal domains, repeat the above steps, and obtain the fused Query feature vector values ​​of each;

[0032] According to the query vector value corresponding to the generalized modal domain, the behavioral modal domain is scored through the modal scoring module;

[0033] The modal domain to which the target agent belongs will be used as the true value and the classification loss will be calculated together with the predicted value.

[0034] Use the above regression loss, classification loss, etc. to perform back propagation to complete a round of training process.

[0035] In a third aspect, a multimodal trajectory prediction model reasoning method based on generalized modal domain division is provided, including:

[0036] Select the target agent, construct a local reference coordinate system, and use an agent-centric model to align the states of other relevant elements in the driving scene, such as agents and road map elements, to the coordinate system constructed by the target agent.

[0037] The agent state encoding module is used to obtain the target agent's historical trajectory state encoding, and the encoding information of relevant driving scene elements is integrated into it;

[0038] According to the generalized modal domain division results of the current driving scenario, a corresponding Query vector is assigned to each generalized modal domain to complete information fusion and trajectory decoding, including:

[0039] Query vector initialization;

[0040] In each generalized modal domain, concatenate the corresponding query vector and the road centerline encoding value;

[0041] Use the road centerline scoring training weights obtained from the training process to score each splicing feature value;

[0042] Select the TopK lane centerline feature values ​​based on the scoring results;

[0043] The weight of the road centerline fusion module obtained by the training process is the TopK lane encoding information in the generalized modal domain to which the query vector is fused;

[0044] Use the modality scoring weights obtained during the training process to score each modality and eliminate several groups of low-scoring modalities;

[0045] Decode the predicted trajectory according to the Query vector value corresponding to the retained mode. Each Query vector will decode several predicted trajectories.

[0046] The non-maximum suppression algorithm is used to filter the predicted trajectory of the final target number from multiple groups of modal decoding results as the multimodal prediction result.

[0047] Beneficial effects of the present invention:

[0048] (1) First, a modal domain partitioning strategy based on high-level control instructions is designed by coupling basic driving rules. The modal partitioning does not depend on the distribution of the training dataset and can efficiently aggregate training samples of similar driving behaviors, thereby improving the utilization efficiency of training data.

[0049] (2) Secondly, a coarse-to-fine progressive modality construction and trajectory decoding strategy is constructed. On the basis of the generalized modality, a highly fine-grained modality refinement based on road map elements is achieved, the environmental information encoded by the target agent’s features is enriched, and the modality refinement capability under a single modality domain is enhanced.

[0050] (3) Finally, by integrating the regional training strategy and the road element refinement scheme, the proposed model achieves coverage of a wider range of effective modalities with a smaller number of proposals, balancing the efficiency and accuracy of the model.

[0051] (4) The content of the present invention can be coupled in various encoding and decoding trajectory prediction models to improve the modal diversity of trajectory prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 The present invention discloses an algorithm block diagram of a model training method according to an embodiment of the present invention.

[0053] Figure 2 A schematic flow chart of each module of the model provided for the disclosed embodiment of the present invention.

[0054] Figure 3 A diagram of the driving trajectory modal division results provided in the disclosed embodiment of the present invention.

[0055] Figure 4 A schematic diagram of a formal trajectory division method provided in an embodiment disclosed in the present invention.

[0056] Figure 5 A lane centerline optimization result diagram provided for an embodiment disclosed in the present invention.

[0057] Figure 6 A heat map of cross-attention weights provided for an embodiment of the present invention.

[0058] Figure 7 This is a comparison chart of trajectory prediction and existing model accuracy under different training data ratios provided in the embodiment disclosed by the present invention. DETAILED DESCRIPTION

[0059] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment. The scope of protection of the present invention is not limited to the embodiments described below.

[0060] It should be understood that the present application is not limited to the described implementation forms due to the description with reference to the drawings. Where feasible, different embodiments may combine, replace, borrow, or omit modules or features in different implementations without changing the ideas proposed by the present invention.

[0061] This embodiment implements a behavior mode division method, a training method and an inference method for a multi-modal trajectory prediction model. The present invention uses basic driving rules to generalize the mode division, thereby aggregating training samples with similar driving behaviors, achieving more intuitive, extensive and effective mode classification, and improving model training efficiency. The designed high-grained lane-level mode refinement method improves the relevance of information fusion, avoids the manual design of numerous candidate priors, and naturally guides the generation of richer and more effective trajectory prediction mode results.

[0062] Figure 2 A block diagram of a multimodal trajectory prediction model module according to an embodiment of the present application is shown. The multimodal trajectory prediction model includes driving scene encoding, modal division, and modal refinement decoding. The above modules will be used in model training and reasoning.

[0063] S1. First, the vehicle driving behavior mode is divided, including:

[0064] Obtain driving scene data from the training dataset, including the agent's historical state and future state, such as position, speed, heading angle, semantic attributes, etc., as well as vectorized road maps, such as lane center lines, lane lines, crosswalks, traffic lights, etc.;

[0065] In this embodiment, a driving scenario will be considered in is the historical observed state of the agent, N is the number of agents in the scene, T h is the maximum observation time step. is the map road information, which consists of lane centerlines, where M is the number of lane centerlines in the driving scenario;

[0066] Select the target agent, obtain the position and heading angle of the target agent at the time of observation, and construct a local spatial coordinate system; adopt an agent-centric mode to align the state quantities of other relevant elements in the driving scene, such as the agent and road map elements, to the coordinate system constructed by the target agent;

[0067] After the above normalization is completed, the scene elements will be parameterized to facilitate state encoding. In this embodiment, the parameterized form of the agent state is Represents the state quantity of the i-th agent at time t, where is the normalized position coordinate, is the relative displacement vector between frames;

[0068] Map information is also preprocessed, mainly including lane centerlines and semantic attributes. Lane centerlines are divided into equidistant polyline groups. The length of the polyline group affects the granularity of the mode in the subsequent mode refinement stage. Each polyline group consists of a certain number of continuous nodes;

[0069] The parameterized form of the road map state is in Represents the state of the kth point in the i-th polyline group, is the normalized position coordinate, is the node relative displacement vector, It is the sine and cosine values ​​of the current lane line's direction relative to the target agent's angle, which is used to enhance the agent's heading sensitivity. is the semantic attribute information;

[0070] After completing the parameterization of the driving scenario, extract all lane centerline status information in the aligned road map elements, that is, the spatial position and heading of the lane centerline starting point relative to the target intelligent body coordinate system;

[0071] Extract the spatial position and heading angle of the target intelligent body at the observation time, select the lane centerline segment closest to it, calculate the yaw angle between the target intelligent body's heading angle and the direction of the lane centerline, and if the lane centerline is in the same direction as the target intelligent body's driving direction, select it as the reference lane state;

[0072] Extract other lane centerline segments and use them as the lane state to which the target agent predicts the end position of the trajectory in the prediction cycle, which is recorded as the end lane state;

[0073] Select the valid lane centerline segment in the driving scene, and use the reference lane state and the end lane state to calculate the driving behavior of the selected target agent from the reference lane to the end lane. Specifically, the driving behavior category of the target agent is analyzed by the relative spatial position and relative heading angle between the end lane and the reference lane.

[0074] In this embodiment, the specific implementation of the driving behavior category is as follows:

[0075] First, the driving behavior modes are divided into categories based on high-level control instructions:

[0076] Under the constraints of the road map, the driving behavior of the target agent can be divided into straight-ahead, left turn, right turn, left lane change, right lane change and U-turn based on high-level control instructions;

[0077] Because the driving trajectories covered by each high-level control instruction have strong similarities, each driving behavior is regarded as a generalized mode;

[0078] At this time, the trajectory data of similar driving behaviors will be summarized in the training process of single modal decoding to avoid the training disturbance of high-frequency modal on low-frequency modal caused by uneven distribution of behavioral modal samples in the training data. At the same time, unreasonable prior modal domains can be eliminated based on driving rules to avoid generating unreasonable trajectories.

[0079] Then determine the behavior mode to which each lane centerline segment belongs:

[0080] Get the position vector and heading vector of the reference lane state and the end lane state. If m is the end lane sequence number, the state quantity is represented as follows:

[0081] l m =[p m ,Δp m ]

[0082]

[0083]

[0084] Among them l m Represents the state of the mth road centerline segment in the scene, and They are the spatial position and unit direction vector of the map element respectively.

[0085] By calculating the change in the position and direction of the center line of the mth lane relative to the center line of the reference lane, we can infer the behavior mode of the target agent when it starts from the reference lane line and ends at the center line segment of the termination lane. The calculation method is as follows:

[0086]

[0087]

[0088] -π≤α,β≤π

[0089] Among them l b =[p b ,Δp b ] T is the reference lane centerline state quantity, are the spatial position and unit direction vector of the centerline of the reference lane, respectively. α refers to the angular difference between the driving direction constrained by the centerline of the current lane and the driving direction constrained by the centerline of the reference lane, and β refers to the angular difference between the relative position of the centerline of the current lane relative to the centerline of the reference lane and the direction of the centerline of the reference lane, which can be used to characterize the changes in motion orientation and heading, respectively.

[0090] Different values ​​of α and β represent different driving behaviors. According to the following specific rules and Table 1, the modes represented by the center lines of each road in the driving scene from the perspective of the target agent are assigned:

[0091]

[0092]

[0093] Table 1 High-level control command behaviors represented by different angle changes

[0094]

[0095] where α 1 ,α 2 ,β 1 ,β 2 are the empirical thresholds for determining the orientation and heading distribution, respectively. Based on Table 1, it is possible to query the control instructions under the driving rules for all lane centerline segments in the scene, thereby characterizing its intrinsic mode;

[0096] In addition, driving behaviors that do not comply with the rules will no longer be considered, for example, the position is in the front right but facing the center line of the lane on the left, and it is difficult for the target agent to have such behavior trajectories in the short-term prediction;

[0097] By eliminating unreasonable modal domains in the scene, the number of candidate lane centerlines is reduced and the accuracy of trajectory prediction is improved. After completing the calculation of the driving behaviors represented by all lane centerlines in the driving scene, the corresponding six sets of generalized modal domains can be obtained.

[0098] Figure 3Taking the Argoversev1 dataset as an example, the images from left to right show the classification diagrams of driving behaviors such as turning left, going straight, and turning right.

[0099] Figure 4 The advantages of the method proposed in the example of the present invention are demonstrated. The behavior mode is divided based on the centerline position and direction change, and the spatial position and heading relationship of the trajectory is comprehensively considered, which is more universal.

[0100] S2. In the embodiment of the present invention, a multimodal trajectory prediction model is trained based on the modal division result of S1, combined with Figure 1 and Figure 2 As shown, the training process includes:

[0101] Centered on the target agent in the training scene, the state quantities of various elements in the driving scene are aligned to the coordinate system constructed at the observation time of the target agent;

[0102] Construct a state encoding module, using two independent multi-layer perceptrons (MLPs) and a maximum pooling network (MaxPooling) to construct the encoding module for the agent's historical state encoding and lane centerline state encoding respectively;

[0103] In this embodiment, the specific encoding method of the agent's historical trajectory state is as follows:

[0104]

[0105]

[0106] in and are two different multi-layer perceptron blocks for agent encoding, Mp is the maximum pooling operation, and [·||·] refers to the concatenation operation with a broadcast operation. is the encoding result of all relevant agents in the scene at each observation time, which will be used in subsequent interactive fusion. A is the maximum eigenvalue in all time steps under each dimension channel obtained by the maximum pooling operation. C is the vector dimension of the encoding result.

[0107] In this embodiment, the specific encoding method of map elements is as follows: the road map element will use the lane centerline as the main encoding element, which is similar to the agent encoding method, except that the node that constructs the polyline group will replace the time step dimension in the agent, and the maximum pooling operation will obtain the maximum encoding value on the node dimension. The encoding process is as follows:

[0108]

[0109]

[0110] in and are two multi-layer perceptron blocks for encoding road map elements, K is the number of nodes that make up a single ancestor, is the encoding result of each node of all road elements, f M It is the encoding result belonging to the center of a single lane obtained through the maximum pooling operation.

[0111] The agent code and lane centerline code will be spliced ​​together and information fused through the multi-head self-attention mechanism. The specific formula used is as follows:

[0112] G l =MultiHeadAttn(q,k,v=G l-1 )

[0113] Among them G 0 =[φ(f A )||φ(f M )] is the concatenation result of the independent encoding of the agent and the map element. l is the corresponding number of attention layers. f A is the agent feature, f M is the lane centerline element feature. MultiHeadAttn is a multi-head attention model, where q, k, and v represent the query vector, key vector, and value vector in multi-head attention respectively;

[0114] Assign a learnable QueryQ to each generalized modal domain that each high-level control command is responsible for, and initialize it with the target agent features extracted from the agent features;

[0115] The query is concatenated with all reasonable lane centerline codes in the generalized modal domain, and a Lane Score module (modal scoring module) composed of MLPs is used to take the concatenated features as input and output the score of each lane centerline using a soft max operation.

[0116] Figure 5 and Figure 6 The top K lane center lines selected in the example scenario and the corresponding heat maps of the attention weights of the lane center lines in different modes are shown respectively;

[0117] Based on the score, a group with higher scores is selected as the candidate prior guidance target. Each candidate lane centerline will be considered as a possible trajectory endpoint of the target agent;

[0118] The attention mechanism is used to fuse the lane centerline information obtained by query fusion. The specific formula used is as follows:

[0119]

[0120] where f m ∈f M Code the road centerline. is the lane centerline involved in the fitted trajectory based on the mth lane centerline. i Road environment information will be further integrated from these lane centerlines.

[0121] After completing the update of the query vectors corresponding to all modal domains, the information contained in the query contents under each modality is exchanged through the self-attention mechanism module;

[0122] After completing modal refinement and deep information fusion, trajectory decoding is performed based on the fused and updated Query vector, including:

[0123] The query vector is input into the trajectory decoding module built based on MLPs. The trajectory decoder will output the predicted trajectory position and uncertainty information of the prediction cycle step, which will be used for loss calculation.

[0124] S3. The embodiment of the present invention performs multimodal trajectory prediction model reasoning based on S1 and S2 modal division and training weights, including:

[0125] Based on a given target agent, the state quantities of various elements of the driving scene are aligned to the coordinate system constructed at the observation time of the target agent;

[0126] The encoding and information fusion method of the intelligent body and the lane centerline is consistent with the training process, and the training weights obtained in the training process are used for encoding and fusion;

[0127] According to the generalized modal domain division results of the current driving scenario, a corresponding Query vector is assigned to each generalized modal domain to complete information fusion and trajectory decoding;

[0128] Initialize the query vector using the target agent’s encoded features;

[0129] In each generalized modal domain, concatenate the corresponding query vector and the road centerline encoding value;

[0130] Use the road centerline scoring training weights obtained from the training process to score each splicing feature value;

[0131] Select the TopK lane centerline feature values ​​based on the scoring results;

[0132] The weight of the road centerline fusion module obtained by the training process is the TopK lane encoding information in the generalized modal domain to which the query vector is fused;

[0133] Use the modality scoring weights obtained during the training process to score each modality and eliminate several groups of low-scoring modalities;

[0134] Decode the predicted trajectory according to the Query vector value corresponding to the retained mode. Each Query vector will decode several predicted trajectories.

[0135] The non-maximum suppression algorithm is used to filter the predicted trajectory of the final target number from multiple groups of modal decoding results as the multimodal prediction result.

[0136] To verify the effectiveness of this application, the Argoverse v1 dataset is used for training and testing. The minADE, minFDE and MR indicators are used to compare and test with the existing mainstream model HiVT. Figure 7 The comparison results of the two variant models M5 and M6 of the present invention and HiVT are shown under different training data amounts, where M6 is the full model and M5 is the model with the modal division module removed. As can be seen from the figure, the prediction accuracy of HiVT on the validation set is basically proportional to the training amount. After adopting the modal division module, the training effect of the 66% training set is significantly improved compared to the 33% data set, and it can be seen that the improvement of the accuracy index slows down from 66% to 100%. This means that the proposed model can quickly learn the target features in the early stage of training compared to HiVT. The addition of the modal division module improves the ability to integrate and utilize training data, and the lane-line-based modal refinement module better improves the accuracy of the predicted trajectory.

[0137] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. All equivalent methods or changes that do not deviate from the technical creation of the present invention should be included in the scope of protection of the present invention.

Claims

1. A behavioral mode division method, It is characterized in that These include: S1 obtains agent data and road map data in the training scene, wherein the agent data includes state information such as historical trajectory, speed, heading angle, and semantic information of each dynamic target; the road map data includes the position, direction, and map element category information of each map element constituent point; S2 selects the target agent, constructs a local reference coordinate system, and uses an agent-centric model to align the state quantities of the agents and road map elements in the driving scene to the coordinate system constructed by the target agent; S3 extracts all lane centerline status information in the aligned road map elements, that is, the spatial position and heading of the lane centerline starting point relative to the target intelligent body coordinate system; S4 extracts the spatial position and heading angle of the target intelligent body at the observation time, selects the lane centerline segment closest to it, calculates the yaw angle between the heading angle of the target intelligent body and the direction of the lane centerline, and if the lane centerline is in the same direction as the target intelligent body's driving direction, selects it as the reference lane state; S5 extracts other lane centerline segments and uses them as the lane state to which the target agent predicts the end position of the trajectory in the prediction cycle, which is recorded as the end lane state; S6 selects a valid lane centerline segment in the driving scene, and uses the reference lane state and the end lane state to calculate the driving behavior of the selected target agent from the reference lane to the end lane. S7 calculates the driving behaviors to which all valid lane centerline segments in the driving scenario belong, and for the selected target agent, aggregates lane centerline segments with the same driving behavior in the current driving scenario into a generalized modal domain representing such behaviors; In the training process, S8 determines the generalized modal domain to which the target intelligent agent belongs based on the true value of the predicted trajectory of the target intelligent agent in order to obtain the true value label of the target intelligent agent's driving behavior. Specifically, the driving behavior of the target intelligent agent is determined by obtaining the modal domain to which the center line of the lane near the end point of the true value trajectory belongs.

2. A behavior mode division method according to claim 1, It is characterized in that In S6, the method for calculating the driving behavior of the selected target intelligent agent is as follows: The driving behavior category of the target intelligent agent is analyzed by the relative spatial position and relative heading angle between the termination lane and the reference lane.

3. A behavior mode division method according to claim 2, It is characterized in that Including as follows: In S6, under the constraints of the road map, the driving behavior of the target intelligent body can be divided into straight going, left turn, right turn, left lane change, right lane change and U-turn based on high-level control instructions.

4. A multimodal trajectory prediction model training method based on the behavior mode division method described in claim 1, It is characterized in that These include: S1 selects the target agent in the current driving scene, builds a local reference coordinate system based on the position and heading information of the target agent at the time of observation, and then aligns the state quantities of various elements of the driving scene to the coordinate system built at the time of observation of the target agent; S2 builds a target agent state quantity encoding module based on a neural network, and inputs the target agent's historical state quantities such as trajectory, speed, heading angle, and category semantic information during the observation period into the agent encoding module to obtain the embedded encoding of the target agent's state quantity; S3 then uses the information fusion module to fuse other elements in the current driving scene into the embedding code of the target agent state quantity; In the training process, S4 constructs a corresponding Query vector based on the true value of the target agent behavior mode, and performs modal refinement and deep information fusion on the target agent encoding under the driving behavior constraint conditions; After completing the above modality refinement and deep information fusion, S5 uses the fused query vector to perform trajectory decoding. S6 uses regression loss and classification loss for back propagation to complete a round of training process.

5. The multimodal trajectory prediction model training method according to claim 4, It is characterized in that In S4, the modal refinement and deep information fusion based on the driving behavior constraint conditions specifically include: S4.1 initializes the Query vector to which the target intelligent agent's driving behavior belongs, and assigns a value to the Query vector using the embedded coding of the target intelligent agent's state quantity; S4.2 concatenates the query vector with all lane centerline codes corresponding to the behavior mode of the target agent and preprocesses it through a linear network; S4.3 uses a neural network to score the splicing features, and uses the normalized exponential function softmax to obtain the normalized score. Each lane centerline will obtain a corresponding probability value; S4.4 constructs a scoring loss function, and the center line of the lane closest to the target intelligent body's trajectory prediction true value end point will be used as the true value to participate in the loss calculation; S4.5 Select the TopK road center lines based on the scoring results; S4.6 uses the query vector to fuse the TopK road centerline encoding information.

6. The multimodal trajectory prediction model training method according to claim 5, It is characterized in that The S5 includes: S5.1 inputs the Query vector into the trajectory decoding module to obtain the predicted trajectory value and uncertainty information under the prediction period; S5.2 compares the predicted trajectory result with the true value of the target agent trajectory and calculates the regression loss; S5.3 synchronously construct corresponding Query vectors for other generalized modal domains, repeat the above steps, and obtain the fused Query feature vector values ​​of each; S5.4 scores the behavior modal domain through the modal scoring module according to the Query vector value corresponding to the generalized modal domain; S5.5 The modal domain to which the target agent belongs will be used as the true value and the classification loss will be calculated together with the predicted value.

7. The multimodal trajectory prediction model training method according to claim 4, It is characterized in that In the S3, the information fusion module includes a convolutional neural network (CNN), an attention mechanism (Attention), and a multi-layer perceptron (MLPs).

8. The multimodal trajectory prediction model training method according to claim 4, It is characterized in that In S3, the other elements include: embedded coding information of other intelligent agents or road map elements.

9. A multimodal trajectory prediction model reasoning method based on the behavior mode division method described in claim 1, It is characterized in that include: S1 selects the target agent, constructs a local reference coordinate system, and uses an agent-centric model to align the states of other agents and road map elements in the driving scene to the coordinate system constructed by the target agent. S2 uses the agent state encoding module to obtain the target agent's historical trajectory state encoding and integrates the encoding information of relevant driving scene elements into it; S3 allocates a corresponding Query vector to each generalized modal domain based on the generalized modal domain division result of the current driving scenario, the score value obtained according to the training method described in any one of claims 4 to 8, the TopK lane coding information in the generalized modal domain to which the Query vector is fused, and the modal domain scoring result, so as to complete information fusion and trajectory decoding.

10. The multimodal trajectory prediction model reasoning method according to claim 9, It is characterized in that The specific process of S3 includes: S3.1Query vector initialization; S3.2 In each generalized modal domain, concatenate the corresponding query vector and the road centerline encoding value; S3.3 use the road centerline score training weight obtained by the training process to score each splicing feature value; S3.4 selects the TopK lane centerline feature values ​​according to the scoring results; S3.5 The weight of the road centerline fusion module obtained by the training method is the TopK lane encoding information in the generalized modal domain to which the query vector is fused; S3.6 Use the modal scoring weights obtained in the training process to score each modal domain and eliminate several groups of low-scoring modalities; S3.7 decodes the predicted trajectory according to the Query vector value corresponding to the retained mode, and each Query vector will decode several predicted trajectories; S3.8 uses a non-maximum suppression algorithm to filter the predicted trajectory of the final target number from multiple groups of modal decoding results as the multimodal prediction result.

Citation Information

Patent Citations

  • Vehicle control system, vehicle control method and vehicle control program

    CN109070887A

  • Method and system for end-to-end learning of control commands for autonomous vehicle

    CN111204346A

  • Multi-modal trajectory prediction method

    CN117302256A

  • Systems and methods for predicting vehicle trajectory

    US20200086861A1

  • Simulating diverse long-term future trajectories in road scenes

    US20210148727A1

Cited By

  • Multi-agent collaborative exploration method for constructing intrinsic individual rewards based on information gain

    CN120087410A

  • A multi-agent collaborative exploration method based on information gain to construct intrinsic individual rewards.

    CN120087410B

  • Conditional diffusion model-based scene-level trajectory prediction method and system, medium and equipment

    CN120611600A

  • Agent interaction scenario construction method and apparatus, and behavior prediction model training method and apparatus

    WO2026081936A1