A multimodal trajectory prediction method for pedestrian groups crossing the street for autonomous vehicles
By constructing a human-vehicle social interaction graph and a multi-modal trajectory prediction model to identify pedestrian companionship and interaction behaviors, and combining CNN and LSTM models, the problem of insufficient trajectory prediction accuracy in autonomous driving in pedestrian crossing scenes is solved, achieving higher accuracy and Adaptive trajectory prediction improves the safety and intelligence of autonomous driving.
Patent Information
- Application Number
- CN202210550072.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-20
AI Technical Summary
Existing autonomous driving technology has insufficient trajectory prediction accuracy in pedestrian crossing scenes, especially in complex crowd crossing traffic scenes. It cannot accurately judge pedestrian intentions and trends, resulting in low prediction accuracy and difficult to predict behavioral mutations.
A multi-modal trajectory prediction method is adopted, by constructing a social interaction graph between people and vehicles, using the graph group detection algorithm to identify pedestrian companionship, combining the naive Bayes model for conformity and interaction recognition, using CNN and LSTM models for trajectory prediction, and dynamically iteratively updating the trajectory. , taking social interaction and scene semantic information into account to generate multi-modal trajectories.
It improves the accuracy of pedestrian group trajectory prediction, reduces computational redundancy, and enhances the ability to predict sudden changes in pedestrian behavior. It is suitable for autonomous driving applications in complex scenarios and improves the intelligence and safety of autonomous driving.
Smart Images

Figure CN114898293B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of autonomous driving decision algorithms, and specifically relates to a multimodal trajectory prediction method for a group of pedestrians crossing the street for an autonomous driving vehicle. Background Art
[0002] Autonomous driving is the highland of the new round of technological revolution and the integration of transportation. In recent years, autonomous driving technology has developed rapidly, and many technology companies have launched autonomous driving solutions (Tesla FSD, Baidu Apollo, Pony.ai, etc.) that are moving towards high-level autonomous driving. But at the same time, people still have great doubts about the safety of autonomous vehicles. Pedestrian trajectory prediction is an important component and research field in autonomous driving technology. Improving the accuracy of pedestrian trajectory prediction will more effectively ensure the safety of autonomous driving vehicles during driving and reduce the loss of life and property of traffic participants.
[0003] Pedestrian crossing is a special scenario of pedestrian behavior. In this scenario, not only the interaction between pedestrians but also the game between pedestrians and vehicles should be considered. In addition, the environmental factors of crossing the street are far more complex than those inside the sidewalk. Therefore, in recent years, the importance of interactive perception and multimodality for trajectory prediction has been paid attention to. The existing long-term trajectory prediction methods are mainly direct prediction or simple iterative prediction. However, pedestrian behavior is sudden and high-frequency. Incorporating the dynamic game between people and vehicles and the sudden change characteristics of pedestrian trajectories into the model is crucial to improving the accuracy of trajectory prediction, but the existing research is not in-depth enough. Although the existing autonomous driving decision module can realize pedestrian intention recognition and trajectory prediction, it lacks analysis of pedestrian decision-making mechanism and social interaction, and cannot accurately judge the intention and trend of random crowd behavior, so that the trajectory prediction accuracy is insufficient when facing complex crowd crossing traffic scenes. The existing deep learning model has greatly improved the accuracy of trajectory prediction, but most of the research on pedestrian crossing trajectory prediction is aimed at the interaction scene of single person and single vehicle. Scholars avoid complex traffic scenes with ambiguous right of way and multiple people and multiple vehicles, and ignore the social interaction factors between pedestrians and other traffic subjects. The randomness and social nature of pedestrian behavior greatly increase the difficulty of predicting pedestrian behavior in real scenarios, making trajectory prediction research that considers complex factors such as behavioral psychology and social interaction still in the exploratory stage. Summary of the invention
[0004] The present invention aims to provide a multimodal trajectory prediction method for pedestrian groups crossing the street for autonomous driving vehicles, which can avoid the problems of low trajectory prediction accuracy of pedestrian groups crossing the street and inability to predict possible sudden changes in crossing behavior caused by traditional single-modal pedestrian trajectory prediction.
[0005] To achieve the above object, the technical solution adopted by the present invention is as follows: a multimodal trajectory prediction method for a group of pedestrians crossing the street for an autonomous driving vehicle, comprising the following steps:
[0006] Step 1: construct a human-vehicle social interaction graph based on multi-source information acquired by the autonomous driving vehicle, wherein the multi-source information includes the autonomous driving vehicle's path planning information, the human-vehicle spatiotemporal state information, and the pedestrian crossing intention information;
[0007] Step 2: Based on the social interaction graph of people and vehicles, a graph group detection algorithm is used to realize pedestrian companion recognition;
[0008] Step 3: Use the naive Bayes model to realize pedestrian herd identification and human-vehicle interaction identification, complete the social interaction label embedding of human-vehicle spatiotemporal information, and determine the different interaction modes and interaction objects of pedestrians;
[0009] Step 4: Based on the input information and interaction labels, the multimodal trajectory prediction module calculates the future short-term trajectories of pedestrians and pedestrian groups;
[0010] Step 5: Based on the future short-term trajectories, update the future spatiotemporal state information of pedestrians and vehicles; store the future short-term trajectories, splice them into long-term trajectory sequences, and propose a multi-mode solution for the future trajectory of each pedestrian.
[0011] Preferably, the spatial relationship information of people and vehicles includes: the absolute position of the autonomous driving vehicle, the absolute position of pedestrians, and the absolute position of neighboring vehicles; the path planning information of the autonomous driving vehicle is based on using the center line of the road as a reference line, using the tangent vector and the normal vector of the reference line to establish a coordinate system, and then establishing a corresponding initial motion trajectory planning based on the initial activation state of the autonomous driving driving; the pedestrian crossing intention information includes determining the detected pedestrian crossing state S based on the hidden Markov pedestrian crossing intention recognition model i , S1 is for crossing the street, S2 is for waiting to cross the street, and S3 is for not crossing the street.
[0012] Preferably, step 2 is based on the human-vehicle social interaction graph and uses a graph group detection algorithm to realize pedestrian companion recognition, and the specific steps are:
[0013] Step 2-1, treat the detected pedestrians crossing the street as nodes and create an adjacency matrix based on the Euclidean distance between them;
[0014] Step 2-2: Each node is independently clustered and the modularity M of the entire network is calculated.
[0015] Step 2-3, calculate the modularity change ΔM caused by the fusion of any two clusters;
[0016] Step 2-4: Take the two clusters with the largest increase in ΔM for actual fusion; calculate the new modularity M for this cluster and record it;
[0017] Step 2-5: Repeat steps 2-3 and 2-4, each time fusing a pair of clusters to obtain the maximum gain of ΔM, record the new clustering pattern and its corresponding modularity M, measure the quality of the companion partition, and find the optimal companion partition through iteration;
[0018] Step 2-6: Based on the segmentation results, the pedestrian combinations are merged and the social interaction graph is updated.
[0019] Preferably, the calculation formula of modularity M is as follows:
[0020]
[0021] Where L represents the number of edges in the social interaction graph, N represents the number of fixed points, and k i k j Indicates the degree of each person and car, A ij represents the Euclidean distance between two traffic entities, c i ,c j represents the clustering of pedestrians, δ is the Kronecker function, which returns 1 if the two parameters are equal and 0 if they are not equal; so if vertices i and j belong to the same cluster, then δ(c i ,c j ) returns 1, if they do not belong to the same cluster, then δ(c i ,c j ) returns 0.
[0022] Preferably, a naive Bayes classifier is used to filter out pedestrians who follow the crowd and pedestrians who interact with vehicles, specifically:
[0023] Step 3-1: Assume that each detected pedestrian has n attribute features, namely f1, f2, f3, f4, ..., f N , and at the same time, the attribute features remain independent of each other, and the set F = {f1,f2,f3,f4...f N} represents a set of attribute features;
[0024] Step 3-2: Divide the population into m categories, namely c1, c2, c3, ..., c M , set C = {c1,c2,c3...c M} represents a set of subordinate categories;
[0025] Step 3-3: Based on the prior probability p(F|c) of pedestrians of known categories in the sample and the attribute feature set F of pedestrians of unknown categories, the posterior probability p(c|F) of pedestrians is calculated using the Bayesian formula, and the class with the largest posterior probability is selected as the category to which it belongs, thus filtering out pedestrians who follow the crowd and those who interact with vehicles;
[0026] Step 3-4: Use the same method to divide the pedestrians crossing the street into two categories: c4: those who interact with vehicles; c5: those who do not interact with vehicles;
[0027] Step 3-5: output the human-vehicle spatiotemporal information with human-human companionship, herd labels, and human-vehicle interaction labels.
[0028] Preferably, the formula for calculating the posterior probability of a pedestrian using the Bayesian formula is expressed as follows:
[0029]
[0030]
[0031] In the formula, p(F|c) is the prior probability of a pedestrian of a known category, p(F) is the total probability of the feature set F, p(c) is the probability that a pedestrian belongs to category c, and p(f N |c) is a pedestrian of category c with f N The probability of a feature.
[0032] Preferably, the multimodal trajectory prediction module includes a CNN scene module, a trajectory prediction module, a social interaction module and a trajectory output module. The CNN scene module provides scene semantic information, the trajectory prediction module encodes the pedestrian crossing movement trend in combination with the upper-level scene semantic information, and the social interaction module assigns social characteristics to the pedestrian crossing movement trend. The trajectory output module outputs the multimodal pedestrian short-term trajectory prediction result.
[0033] Preferably, the specific process of calculating the future short-term trajectories of pedestrians and pedestrian groups by the multimodal trajectory prediction module is as follows:
[0034] Step 4-1, providing scene semantic information through CNN scene module, specifically: based on the image data after segmentation and coordinate conversion of the autonomous driving vehicle, using convolutional neural network, extracting features through convolution layer and pooling layer, pixel-level encoding of motor vehicle lanes, non-motor vehicle lanes, sidewalks, zebra crossings and obstacle areas, and obtaining scene semantic information;
[0035] Step 4-2: Use LSTM as the model skeleton to establish a trajectory prediction model; use each intelligent group in the social interaction graph as a unit, based on the pedestrian historical trajectory data obtained by the target detection and tracking of the autonomous driving vehicle, use the long short-term memory network, realize information sharing and transmission between time series through memory units and gate control units, and combine the upper-level scene semantic information to encode pedestrian crossing trend information;
[0036] Step 4-3, assigning social characteristics to pedestrian crossing movement trends through a social interaction module;
[0037] Step 4-4: Based on the spatial semantic information, street crossing trend information, and social interaction information extracted by the upper network, the mixed density network is used to calculate the range of multiple possible trajectories in the future, and a multimodal trajectory is generated based on this. At the same time, the trajectory probability is output based on the Gaussian mixture model.
[0038] Compared with the prior art, the present invention has the following significant advantages:
[0039] (1) The present invention restores the pedestrian crossing decision-making process, innovatively designs an iterative framework, optimizes the update information and update method, and splits the long-term prediction task into several time-series short-term predictions that are continuously iterated and synchronously updated.
[0040] (2) The dynamic iteration of the present invention not only updates the short-term future trajectory information of people and vehicles, but also considers integrating group behavior rules into social interaction tags to better deal with the sudden change of pedestrian trajectories caused by changes in social relationships. In terms of update method, the social mechanism is improved to achieve synchronous communication and update of pedestrian group crossing characteristics within the structure, thereby reducing computational redundancy and improving prediction accuracy.
[0041] (3) The present invention incorporates feature extraction of semantic information of street crossing scenes into the short-term trajectory prediction, which is more suitable for autonomous driving application scenarios with high generalization requirements, complex scenes, and strong real-time computing.
[0042] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 The present invention is a flowchart of the steps of a method for predicting the multimodal trajectory of a group of pedestrians crossing the street based on an autonomous driving vehicle.
[0044] Figure 2 This is the logical framework of the multimodal trajectory prediction module in the embodiment of the present invention.
[0045] Figure 3 Schematic diagram of the logical framework of the social interaction identification module in an embodiment of the present invention.
[0046] Figure 4Schematic diagram of a dynamic iterative pedestrian long-term trajectory prediction framework in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The concept of the present invention is: a multimodal trajectory prediction method for pedestrian groups crossing the street for autonomous driving vehicles, taking into account the diverse social interaction attributes and high-frequency dynamic interaction characteristics of people-people and people-vehicles, constructing a pedestrian trajectory prediction iterative framework consisting of a social interaction recognition module and a multimodal trajectory prediction module, realizing multimodal trajectory prediction of pedestrian groups crossing the street, providing a possible trajectory prediction result of pedestrian groups crossing the street with high reliability and accuracy, providing an accurate data basis for the decision-making module and path planning module of the autonomous driving vehicle, further improving the intelligence of autonomous driving, enhancing ride comfort and safety, and promoting the advancement of autonomous driving technology
[0048] As an embodiment, a multimodal trajectory prediction method for a pedestrian group crossing a street for an autonomous driving vehicle includes the following steps:
[0049] Step 1: Based on the multi-source information obtained by the autonomous vehicle, including the path planning information of the autonomous vehicle, the spatiotemporal status information of the person and the vehicle, and the pedestrian crossing intention information, a preliminary human-vehicle social interaction diagram is constructed. The specific steps are as follows:
[0050] The spatial relationship information between people and vehicles includes: the absolute position of the autonomous driving vehicle, the absolute position of pedestrians, and the absolute position of neighboring vehicles.
[0051] The path planning information of the autonomous driving vehicle is based on using the center line of the road as a reference line, using the tangent vector and normal vector of the reference line to establish a coordinate system, and then establishing the corresponding initial motion trajectory planning based on the initial activation state of the autonomous driving.
[0052] The pedestrian crossing intention information includes the pedestrian crossing state S detected based on the hidden Markov pedestrian crossing intention recognition model. i , S1 is for crossing the street, S2 is for waiting to cross the street, and S3 is for not crossing the street.
[0053] Step 2: Based on the human-vehicle social interaction graph, use the graph group detection algorithm to realize pedestrian companion recognition. The specific steps are as follows:
[0054] Step 2-1: The detected pedestrians with the intention to cross the street are regarded as nodes and an adjacency matrix is created based on the Euclidean distance between them.
[0055] Step 2-2, each node is independently formed into a cluster, and then the modularity M of the entire network is calculated. The calculation formula of M is as follows:
[0056]
[0057] Among them, L represents the number of edges contained in the social interaction graph, N represents the number of fixed points, k represents the degree of each person and car, and A ij represents the Euclidean distance between two traffic entities, c i ,c j represents the clustering of pedestrian companions, and δ is the Kronecker function. If the two parameters are equal, it returns 1, and if they are not equal, it returns 0. So if vertices i and j belong to the same cluster, then δ(c i ,c j ) returns 1, if they do not belong to the same cluster, then δ(c i ,c j ) returns 0.
[0058] Step 2-3: Calculate the modularity change ΔM caused by the fusion of any two clusters.
[0059] Step 2-4: Take the two clusters with the largest increase in ΔM for actual fusion. Then calculate the new modularity M for this cluster and record it.
[0060] Step 2-5: Repeat steps 2-3 and 2-4, each time fusing a pair of clusters to obtain the maximum gain of ΔM, then record the new clustering pattern and its corresponding modularity M, measure the quality of the companion partition, and find the optimal companion partition through iteration.
[0061] Step 2-6: Based on the segmentation results, the pedestrian groups are merged, the social interaction graph is updated, the total number of predicted targets is reduced, and the computing power consumption of trajectory prediction is reduced.
[0062] Step 3: Use the naive Bayes classifier to screen out pedestrians who follow the crowd and those who interact with vehicles. In the model training stage, based on extensive human-vehicle interaction data, analyze the characteristics of pedestrian herding behavior and human-vehicle interaction. Formulate the basis and specifications for the judgment of each interactive behavior, design cross-validation, and ensure the rationality of the pedestrian herding and human-vehicle interaction labels. In the model application stage, based on pedestrian intention information and the human-vehicle spatiotemporal graph relationship, the topological relationship between pedestrians and vehicles is converted into node attributes including degree, weight, and intention. The Bayesian theorem is used to calculate the probability of each interaction to achieve the classification of herding labels and human-vehicle interaction labels. The specific steps are as follows:
[0063] Step 3-1: Assume that each detected pedestrian has n attribute features, and use the set F = {f1,f2,f3,f4...f n}, and each attribute feature f n Remain independent of each other.
[0064] Step 3-2: Divide the pedestrian group into two categories: c1: leaders; c2: followers; c3: autonomous people.
[0065] Step 3-3, through the prior probability p(F|c) of known leaders, followers and autonomous persons in the sample, and according to the attribute feature set F of unknown category pedestrians, use the Bayesian formula to calculate the pedestrian's posterior probability p(c|F), that is, the probability that the individual belongs to a certain category, and select the class with the largest posterior probability as the category to which it belongs, and screen out leaders, followers and autonomous persons. The algorithm formula is expressed as follows:
[0066]
[0067]
[0068] Step 3-4: Use the same method to divide the pedestrian group crossing the street into two categories: c4: those who interact with vehicles; c5: those who do not interact with vehicles.
[0069] Step 3-5: output the human-vehicle spatiotemporal information with human-human companionship, herd labels, and human-vehicle interaction labels.
[0070] Step 4: Based on deep learning technology, a trajectory prediction model is established that allows for multi-person parallel prediction and takes into account social interaction information. Based on input information and interaction labels, the multimodal trajectory prediction module is used to calculate the future short-term trajectories of pedestrians and pedestrian groups. This module consists of four submodules. First, the CNN scene module provides scene semantic information. Then, the trajectory prediction module encodes the pedestrian crossing movement trend in combination with the upper-level scene semantic information. Then, the social interaction module assigns social features to the pedestrian crossing movement trend. Finally, the trajectory output module outputs the multimodal pedestrian short-term trajectory prediction results. The specific steps are:
[0071] Step 4-1, provide scene semantic information through CNN scene module, and give the model the ability to infer and optimize trajectory direction based on scene features. Based on the image segmentation and coordinate transformation of the driving video data of the autonomous driving vehicle, the convolutional neural network is used to extract features through the convolution layer and the pooling layer, and the motor vehicle lane, non-motor vehicle lane, sidewalk, zebra crossing and obstacle area are encoded at the pixel level to obtain scene semantic information.
[0072] Step 4-2, using LSTM as the model skeleton, establish a trajectory prediction model, and give the model the ability to learn time series features based on pedestrian historical trajectory information. Taking each intelligent group in the social interaction graph as a unit, based on the pedestrian historical trajectory data obtained by the target detection and tracking of the autonomous driving vehicle, the long short-term memory network is used to realize information sharing and transmission between time series through memory units and gate units, and combined with the upper-level scene semantic information, the pedestrian crossing trend information is further encoded, and the movement trend of pedestrians with follower labels is changed from avoiding collisions with others to moving towards leaders.
[0073] Step 4-3: Provide information sharing means between sub-models through the social interaction module, and give the model the ability to learn interaction features based on social interaction labels and other people's trajectory features.
[0074] Step 4-3-1, use Represents the hidden state of the i-th person, defines the people in the m×n rectangular box around the i-th person as their neighbors, and constructs a social hidden layer.
[0075]
[0076]
[0077]
[0078] in represents the social hidden layer of the i-th person at time t, that is, the hidden layer of the i-th person’s neighbor at time t-1; The hidden layer of the i-th person at time t-1; N i represents the set of neighbors of the i-th person; 1 mn [x,y] is the indicator function that checks whether x and y are in the m×n grid; Indicates the horizontal coordinate position of the jth person and the ith person; Indicates the ordinate position of the jth person and the ith person; s i Represents the set of companions of the i-th person.
[0079] Step 4-3-2: Construct human-vehicle interaction input for pedestrians with human-vehicle interaction labels. Indicates the degree of influence of the jth car on the ith person, and defines the people within the p×q rectangular box around the ith person as its neighboring cars. If the distance between the car and the pedestrian becomes smaller, the pooling layer weight of the neighboring car will increase, and if the distance between the car and the pedestrian becomes farther, the pooling layer weight of the neighboring car will decrease. This change is determined by the directional attention coefficient:
[0080] Pedestrians’ attention in different directions changes the weights of different “neighborhood” pooling layers.
[0081]
[0082] Where a represents the degree of rejection of the neighboring car by the i-th person.
[0083]
[0084] in It represents the social hidden layer of the neighboring car of the i-th person at time t, that is, the hidden layer of the neighboring car of the i-th person at time t-1.
[0085] Step 4-3-3: Embed the established social hidden layer into the vector In the example, the coordinates of the i-th person at time t are embedded into the vector and use it as the input of the LSTM unit of the corresponding trajectory at time t:
[0086]
[0087] is the current location of the i-th person, represents the coordinates of the i-th person at time t, W e is the weight, and Φ is the ReLU nonlinear function.
[0088]
[0089] is the hidden layer of the neighbors of the i-th person and the neighboring car, W a is the weight.
[0090]
[0091] W t is the weight, pass Determined as the input to the LSTM.
[0092] Step 4-3-4: Estimate the position of the i-th person at the next time step:
[0093]
[0094] in is the predicted position of the i-th person at time t, N represents the normal distribution, is the coordinate of the i-th person at time t, is the standard deviation, is the correlation coefficient.
[0095] Step 4-3-5, the parameters of the LSTM model are learned by minimizing the negative log-likelihood loss, so that given the three parameters that can be used to predict the position When , the probability of the true position is highest:
[0096]
[0097] Where L i (W e ,W t ,W ρ ) represents the loss function of the i-th person.
[0098] Step 4-4: Propose a multimodal solution for the future trajectory of each pedestrian through a mixture density network (MDN), giving the model the ability to output multimodal results. Based on the spatial semantic information, street crossing trend information, and social interaction information extracted by the upper network, the mixture density network (MDN) calculates the range of multiple possible trajectories in the future, and generates short-term multimodal trajectories based on this, while outputting trajectory probabilities based on the Gaussian mixture model.
[0099] Step 5: Through high-frequency information acquisition, interactive understanding and decision generation, based on the generated short-term trajectory of pedestrian groups, update the autonomous driving path planning information, pedestrian intention information, environmental semantics and human-vehicle spatiotemporal state perception information, and continuously iterate and update the social interaction recognition module and short-term trajectory prediction module within the dynamic interactive trajectory prediction iteration framework to achieve dynamic modeling of social interaction behavior. By splicing the stored future short-term trajectories into long-term trajectory sequences, accurate prediction of 5s long-term trajectories can be achieved.
[0100] In summary, the method proposed in the present invention is a method for predicting the multimodal trajectory of pedestrians crossing the street based on an autonomous driving vehicle. By comprehensively encoding scene semantics, historical trajectory and social interaction information, the method can output the multimodal trajectory of pedestrians at the same time. Compared with large trajectory prediction models such as GAN and Transformer, the method reduces the computational redundancy and error caused by asynchronous prediction. Compared with other LSTM models, the method optimizes the encoding method of social interaction factors and adds feature extraction of semantic information of the crossing scene. It is more suitable for autonomous driving application scenarios with high generalization requirements, complex scenes and strong real-time computing.
[0101] The present invention constructs a pedestrian-vehicle interaction graph based on the results of crossing intention recognition. The graph group detection technology is used to analyze the spatiotemporal consistency of pedestrian movement, identify individuals and subgroups (companion pedestrians), and reconstruct the interaction graph. Based on the social influence theory, the herd behavior of individuals and subgroups crossing the street is analyzed, and the naive Bayes model is used to realize the herd identification of leaders, followers, autonomous persons and their subordinate relationships. The human-vehicle social interaction relationship is identified. Based on the naive Bayes model, the vehicles that interact with each pedestrian crossing the street are screened, and the pedestrian crossing trajectory decision features under the influence of the vehicle are extracted. Then, based on the social interaction recognition module, the companionship, herd identification and priority interaction strategy under multi-vehicle interaction are analyzed. Based on the data characteristics of the interactive behavior and scene semantic information, the spatial feature extraction capability of the CNN convolutional neural network, the analysis capability of the LSTM long short-term memory network for temporal features, and the modeling capability of the Social mechanism for the interaction influence of multiple agents are integrated to propose a multimodal trajectory prediction module driven by both knowledge and data. The module uses the deep learning Social-LSTM as the framework, embeds interaction information and scene information, and explores the impact and internal connection between people-people, people-vehicles, and people-environment on pedestrian trajectories. A dynamic interactive trajectory prediction iterative framework is adopted. The social interaction recognition module and the short-term trajectory prediction module are continuously updated within the framework to achieve dynamic modeling of social interaction behaviors, accurate prediction of long-term trajectories, and advance prediction of pedestrian decision mutations. Further kinematic constraints are added, the diversity of pedestrian trajectory prediction is considered, and the mixed density network is combined to achieve multimodal trajectory prediction of pedestrian groups crossing the street in the future. Further improve the intelligence of autonomous driving and enhance ride comfort and safety.
[0102] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A multimodal trajectory prediction method for pedestrians crossing the street for autonomous vehicles. It is characterized in that The following steps are involved: Step 1: construct a human-vehicle social interaction graph based on multi-source information acquired by the autonomous driving vehicle, wherein the multi-source information includes the autonomous driving vehicle's path planning information, the human-vehicle spatiotemporal state information, and the pedestrian crossing intention information; Step 2: Based on the social interaction graph of people and vehicles, a graph group detection algorithm is used to realize pedestrian companion recognition; Step 3: Use the naive Bayes model to realize pedestrian herd identification and human-vehicle interaction identification, complete the social interaction label embedding of human-vehicle spatiotemporal information, and determine the different interaction modes and interaction objects of pedestrians; Step 4: Based on the input information and interaction labels, the multimodal trajectory prediction module is used to calculate the future short-term trajectories of pedestrians and pedestrian groups; the multimodal trajectory prediction module includes a CNN scene module, a trajectory prediction module, a social interaction module, and a trajectory output module. The CNN scene module provides scene semantic information, the trajectory prediction module encodes the pedestrian crossing movement trend in combination with the upper-level scene semantic information, and the social interaction module assigns social features to the pedestrian crossing movement trend. The trajectory output module outputs the multimodal pedestrian short-term trajectory prediction result; The specific process of calculating the future short-term trajectories of pedestrians and pedestrian groups by the multimodal trajectory prediction module is as follows: Step 4-1, providing scene semantic information through CNN scene module, specifically: based on the image data after segmentation and coordinate conversion of the autonomous driving vehicle, using convolutional neural network, extracting features through convolution layer and pooling layer, pixel-level encoding of motor vehicle lanes, non-motor vehicle lanes, sidewalks, zebra crossings and obstacle areas, and obtaining scene semantic information; Step 4-2: Use LSTM as the model skeleton to establish a trajectory prediction model; use each intelligent group in the social interaction graph as a unit, based on the pedestrian historical trajectory data obtained by the target detection and tracking of the autonomous driving vehicle, use the long short-term memory network, realize information sharing and transmission between time series through memory units and gate control units, and combine the upper-level scene semantic information to encode pedestrian crossing trend information; Step 4-3, assigning social characteristics to pedestrian crossing movement trends through a social interaction module; Step 4-4: Based on the spatial semantic information, street crossing trend information, and social interaction information extracted by the upper network, the mixed density network is used to calculate the range of multiple possible trajectories in the future, and a multimodal trajectory is generated based on this. At the same time, the trajectory probability is output based on the Gaussian mixture model; Step 5: Based on the future short-term trajectory, update the future spatiotemporal state information of the person and the vehicle; store the future short-term trajectory and splice it into a long-term trajectory sequence.
2. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 1, It is characterized in that The spatial relationship information of people and vehicles includes: the absolute position of the autonomous driving vehicle, the absolute position of pedestrians, and the absolute position of neighboring vehicles; the path planning information of the autonomous driving vehicle is based on using the center line of the road as a reference line, using the tangent vector and normal vector of the reference line to establish a coordinate system, and then establishing the corresponding initial motion trajectory planning based on the initial activation state of the autonomous driving driving; the pedestrian crossing intention information includes determining the detected pedestrian crossing state S based on the hidden Markov pedestrian crossing intention recognition model i , S 1 To cross the street, S 2 To wait for the street to cross, S 3 It is not allowed to cross the street.
3. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 1, It is characterized in that Step 2: Based on the human-vehicle social interaction graph, the graph group detection algorithm is used to realize pedestrian companion recognition. The specific steps are as follows: Step 2-1, treat the detected pedestrians crossing the street as nodes and create an adjacency matrix based on the Euclidean distance between them; Step 2-2: Each node is independently clustered and the modularity M of the entire network is calculated. Step 2-3, calculate the modularity change ΔM caused by the fusion of any two clusters; Step 2-4: Take the two clusters with the largest increase in ΔM for actual fusion; calculate the new modularity M for this cluster and record it; Step 2-5: Repeat steps 2-3 and 2-4, each time fusing a pair of clusters to obtain the maximum gain of ΔM, record the new clustering pattern and its corresponding modularity M, measure the quality of the companion partition, and find the optimal companion partition through iteration; Step 2-6: Based on the segmentation results, the pedestrian combinations are merged and the social interaction graph is updated.
4. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 3, It is characterized in that The calculation formula of modularity M is as follows: Where L represents the number of edges in the social interaction graph, N represents the number of fixed points, and k i k j Indicates the degree of each person and car, A ij represents the Euclidean distance between two traffic entities, c i ,c j represents the clustering of pedestrians, δ is the Kronecker function, which returns 1 if the two parameters are equal and 0 if they are not equal; so if vertices i and j belong to the same cluster, then δ(c i ,c j ) returns 1, if they do not belong to the same cluster, then δ(c i ,c j ) returns 0.
5. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 1, It is characterized in that The naive Bayes classifier is used to filter out pedestrians who follow the crowd and those who interact with vehicles. Specifically: Step 3-1: Assume that each detected pedestrian has n attribute features, namely f 1 ,f 2 ,f 3 ,f 4 ,……,f N , while the attribute features remain independent of each other, the set F = {f 1 ,f 2 ,f 3 ,f 4 ……f N } represents a set of attribute features; Step 3-2: Divide the population into m categories, namely c 1 ,c 2 ,c 3 ,……,c M , set C = {c 1 ,c 2 ,c 3 ……c M } represents a set of subordinate categories; Step 3-3: Based on the prior probability p(F|c) of pedestrians of known categories in the sample and the attribute feature set F of pedestrians of unknown categories, the posterior probability p(c|F) of pedestrians is calculated using the Bayesian formula, and the class with the largest posterior probability is selected as the category to which it belongs, thus filtering out pedestrians who follow the crowd and those who interact with vehicles; Step 3-4: Use the same method to divide the pedestrians into two categories: c 4 :Those who interact with the vehicle; c 5 : Those who have no interaction with the vehicle; Step 3-5: output the human-vehicle spatiotemporal information with human-human companionship, herd labels, and human-vehicle interaction labels.
6. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 5, It is characterized in that The formula for calculating the posterior probability of a pedestrian using the Bayesian formula is as follows: In the formula, p(F|c) is the prior probability of a pedestrian of a known category, p(F) is the total probability of the feature set F, p(c) is the probability that a pedestrian belongs to category c, and p(f N |c) is a pedestrian of category c with f N The probability of a feature.
7. The multimodal trajectory prediction method for pedestrians crossing the street for an autonomous driving vehicle according to claim 1, It is characterized in that The specific steps of giving social characteristics to pedestrian crossing movement trends through the social interaction module are: Step 4-3-1, use Represents the hidden state of the i-th person, defines the people in the m×n rectangular box around the i-th person as their neighbors, and constructs a social hidden layer: in, represents the social hidden layer of the i-th person at time t, that is, the hidden layer of the i-th person’s neighbor at time t-1; The hidden layer of the i-th person at time t-1; N i represents the set of neighbors of the i-th person; 1 mn [x,y] indicates that the function checks whether x,y are in the m×n grid; cell mn represents the m×n rectangular range around the i-th person; Indicates the horizontal coordinate position of the jth person and the ith person; Indicates the ordinate position of the jth person and the ith person; s i represents the set of companions of the i-th person; Step 4-3-2: Construct human-vehicle interaction input, using It represents the influence of the j-th car on the i-th person, and defines the people within the p×q rectangular box around the i-th person as its neighboring cars; if the distance between the car and the pedestrian becomes smaller, the proportion of the neighboring car's pooling layer will increase, and if the distance between the car and the pedestrian becomes farther, the proportion of the neighboring car's pooling layer will decrease; this change is determined by calculating the directional attention coefficient: Pedestrians’ attention in different directions changes the weights of different neighbor pooling layers: Where a represents the degree of rejection of the neighboring car by the i-th person: in represents the social hidden layer of the neighboring car of the i-th person at time t, that is, the hidden layer of the neighboring car of the i-th person at time t-1; Step 4-3-3: Embed the established social hidden layer into the vector In the example, the coordinates of the i-th person at time t are embedded into the vector and use it as the input of the LSTM unit of the corresponding trajectory at time t: is the current location of the i-th person, represents the coordinates of the i-th person at time t, W e is the weight, Φ is the ReLU nonlinear function; is the hidden layer of the neighbors of the i-th person and the neighboring car, W a is the weight; W t is the weight, pass Determined as the input of LSTM; Step 4-3-4: Estimate the position of the i-th person at the next time step: in is the predicted position of the i-th person at time t, N represents the normal distribution, is the coordinate of the ith person at time t, is the standard deviation, is the correlation coefficient; Step 4-3-5: The parameters of the LSTM model are learned by minimizing the negative log-likelihood loss, requiring that the three parameters that can be used to predict the position are given The probability of the true position appearing is highest when: Where L i (W e ,W t ,W ρ ) represents the loss function of the i-th person.
