Multimodal trajectory prediction method and device based on hypergraph neural network

Through the multi-modal trajectory prediction method of hypergraph neural network, the attention mechanism and conditional variational autoencoder are used, combined with the Transformer network, to solve the problem of information loss caused by communication interruption in multi-agent systems, achieving more accuracy and stability Trajectory prediction is suitable for complex and changeable multi-agent system environments.

CN118569305APending Publication Date: 2024-08-30YANGTZE DELTA REGION INST (QUZHOU) UNIV OF ELECTRONIC SCI & TECH OF CHINA
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410569102.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In multi-agent systems, communication interruption leads to information loss, traditional trajectory prediction methods are ineffective, and it is difficult to handle complex scenes and the randomness of agent behaviors.

Method used

Adopt a multi-modal trajectory prediction method based on hypergraph neural network, learn interactive relationship features through the attention mechanism, build an interactive relationship model, and combine the conditional variational autoencoder and Transformer network to design a multi-modal trajectory prediction framework to achieve intelligent Update of body node information and long-term trajectory prediction.

Benefits of technology

It improves the accuracy and stability of trajectory prediction, avoids algorithm failure due to communication interruption, is suitable for complex and changeable multi-agent system environments, and enhances the robustness and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569305A
    Figure CN118569305A
Patent Text Reader

Abstract

The invention belongs to the field of multi-agent systems and deep learning, discloses a multi-modal trajectory prediction method and device based on a hypergraph neural network, and aims to solve the problem of algorithm failure caused by information loss in a multi-agent communication interruption scene. The method comprises the following steps: collecting and preprocessing agent motion trail data to construct a data set; paired agent interaction features are learned by adopting graph representation and an attention mechanism, an interaction relation model is constructed, and agent node information is updated through a neural information transmission mechanism. And designing a multi-modal trajectory prediction framework based on a conditional variation automatic encoder, and fusing the interaction relation model and a Transform network to realize long-term high-precision prediction. The real-time performance is improved through model quantification, and the model is transplanted to a cluster control algorithm. A communication interruption scene test is simulated on the Gazebo simulation platform, the out-of-control or collision problem is effectively avoided, and the multi-agent cluster control performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The patent of this invention belongs to the field of multi-agent systems and deep learning, and provides a multimodal trajectory prediction method and device based on a hypergraph neural network. Background Art

[0002] The interaction between the internal agents of a Multi-Agent System (MAS) and the external complex environment is generally dynamic and changeable, such as dynamic entities in the environment, dynamic changes in the scale of MAS agents, etc. Moreover, in actual application scenarios, MAS is usually in a non-ideal complex communication environment, with common unfavorable factors such as strong interference and random noise, which will cause problems such as limited communication distance, communication delay or interruption, and information loss, resulting in multi-agents being able to make decisions only based on non-deterministic local observation information.

[0003] Interaction relationship modeling and prediction are the key to the good execution of multi-agent collaborative control algorithms. They are located at the front end of the MAS regulation and control module and provide rich environmental information for the control algorithm. Traditional trajectory prediction methods require manual adjustment of model parameters, which not only consumes a certain amount of manpower and material resources, but also has poor results in long-term prediction tasks and is not suitable for complex scenarios of MAS. In recent years, with the development of artificial intelligence technology, trajectory prediction methods based on deep learning have attracted widespread attention, among which neural network-based methods have achieved good performance. It effectively represents the agent and environmental information in the MAS in a graphical way, and captures the spatiotemporal feature information of the agent through methods such as convolutional neural networks, so as to analyze and infer its future trajectory.

[0004] The attention mechanism has been widely used in various tasks and fields, and has achieved remarkable results. In the field of natural language processing, the attention mechanism is used in tasks such as machine translation, text summarization, and question-answering systems. It can extract key information and strengthen the model's attention to different parts. In the field of computer vision, the attention mechanism is applied to tasks such as image classification, object detection, and image generation, and can focus on important areas or features in the image. In the field of recommendation systems, the attention mechanism can dynamically adjust the degree of attention to different recommended items based on the user's interests and behaviors, thereby improving the effect of personalized recommendations.

[0005] However, for multi-agent collaborative control tasks, multi-agents are more of a collaborative behavior. Previous methods only establish interactive relationships between pairs of agents, and the behavior of agents is random. Previous methods only predict a single trajectory, and there are large prediction deviations. Therefore, a multimodal trajectory prediction method based on a hypergraph neural network is needed. Summary of the invention

[0006] The purpose of the present invention is to solve the problem of algorithm failure caused by information loss in the scenario of multi-agent communication interruption, and to provide a multimodal trajectory prediction method based on a hypergraph.

[0007] The technical solution of the present invention is: first, considering the cluster behavior of multiple agents, the attention mechanism is used to learn the interactive relationship characteristics, and multiple highly correlated groups are divided based on the attention matrix. For the characteristics of the agent nodes, the neural information transmission mechanism is used to update the agent node information through multiple iterations of the two stages of point to hyperedge and hyperedge to node. Afterwards, based on the randomness of the agent behavior and the uncertainty of trajectory prediction, a multimodal trajectory prediction framework is designed based on the conditional variational autoencoder. Feature extraction and long-term trajectory prediction are achieved by integrating the constructed interactive relationship model and Transformer network. Finally, the constructed multimodal trajectory prediction framework is applied to the cluster control algorithm to avoid the problem of information loss caused by communication interruption, which leads to algorithm failure.

[0008] The present invention provides a multimodal trajectory prediction method based on a hypergraph neural network, comprising the following steps:

[0009] Step 1: Build a multi-agent cluster simulation environment based on the Gazebo simulation platform and obtain simulation environment data;

[0010] Step 2: Based on the simulation environment constructed in step 1, collect the motion trajectory of the intelligent agent, pre-process the data, and construct a data set;

[0011] Step 3: Based on the data preprocessed in step 2, the data is represented in a graph and the attention mechanism is used to learn the interaction features of paired agents.

[0012] Step 4: Based on the interaction features learned in step 3, an interaction relationship model is constructed, multiple highly correlated agent groups are divided based on the attention matrix, and the agent node information is updated through the neural information transmission mechanism;

[0013] Step 5: Based on the interaction relationship model constructed in step 4, a multimodal trajectory prediction framework based on conditional variational autoencoder is implemented. The interaction relationship model is integrated into the encoder to capture the interaction features, and the Transformer network is introduced into the decoder to capture the temporal dependency.

[0014] Step 6: Based on the prediction framework designed in step 5, the data set constructed in step 2 is used for training and testing, and the real-time performance is improved by model quantization.

[0015] Step 7: Transplant the prediction framework trained and tested in step 6 into the cluster control algorithm, simulate the communication interruption scenario through the Gazebo simulation platform built in step 1, and test the performance of the multi-agent cluster control algorithm.

[0016] In the above method, the steps of step 1 include:

[0017] Step 1.1: Build 6 intelligent agents as controlled objects in the Gazebo simulation environment and obtain simulation environment parameters;

[0018] Step 1.2, based on the agent set in step 1.1, set the agent motion parameters, including speed, starting point and end point, to obtain the agent motion parameters;

[0019] Step 1.3, introduce obstacles into the environment set in step 1.2, set obstacle parameters, including random speed and safety distance, and obtain obstacle parameters;

[0020] Step 1.4: Display the running status of the intelligent agent in steps 1.1 to 1.3 through the ground station to obtain the running status data of the intelligent agent.

[0021] In the above method, the steps of step 2 include:

[0022] Step 2.1, collect the motion trajectory of the intelligent body at a preset frequency to obtain motion trajectory data;

[0023] Step 2.2: Fill the empty frame data collected in step 2.1 to ensure the integrity of the trajectory data;

[0024] Step 2.3, intercept the trajectory data processed in step 2.2 according to the time step, construct a sample trajectory, and obtain sample data;

[0025] Step 2.4: Based on the sample trajectory constructed in step 2.3, collect enough rounds of data, build a data set, and obtain a data set.

[0026] In the above method, step 3 includes: based on the preprocessed data, the data is represented in a graph form, and the attention mechanism is used to learn the interaction features of paired agents:

[0027] Specifically, for N agents in a multi-agent system, the graph representation is G = {V, E}, where V = {v1, v2, ..., v n} represents a set of N agents, each agent v n Represented as a node, E represents the connection relationship between agents, and the graph attention network is used to learn the pairwise interaction relationship between agents at the current moment from the graph. This process can be expressed as:

[0028]

[0029] where a ij Represents node v i and node v j The relationship coefficient between edge and f node represents the attention network, e ij Represents node v j and node v i edge, u represents environmental information, E(v i ) represents the node v i The set of adjacent edges, and Represents the edges and nodes of an interaction graph.

[0030] In the above method, step 4 includes: constructing an interactive relationship model, mainly dividing multiple highly correlated agent groups based on the attention matrix, and updating the agent node information through the neural information transmission mechanism:

[0031] Specifically, for the trajectory of the agent, represents the trajectory set of the agent from time T0 to time T1. The attention matrix is ​​constructed based on the historical trajectory of the agent, and its expression is:

[0032]

[0033] where f Q (·) represents a multi-layer perceptron, A i,j Describes the agent v i and agent v j The correlation between p It represents the length of time from the current moment to the past, d is q i The dimension of Yes i The transpose of .

[0034] Based on the neural information transfer mechanism, node features are learned, and the embedding of agents and interactions is iteratively obtained through two stages: node-to-edge and edge-to-node. In the node-to-edge stage, the interaction relationship features between agents are determined by the features of the two adjacent agents; in the edge-to-node stage, the features of each agent are updated by the interaction relationship features related to it. The iterative process is as follows:

[0035]

[0036] where F l (·),f v (·) is composed of a multi-layer perceptron, E i Representation and agent v iThe set of associated edges.

[0037] In the above method, step 5 specifically designs a trajectory prediction framework based on a conditional variational autoencoder, learns the correlation between agent trajectories through an interactive relationship model in the encoder, samples the obtained interactive features to encourage the generation of multiple reasonable trajectories, and constructs a Gaussian distribution through the generated Gaussian distribution parameters, which is specifically expressed as follows:

[0038] V + =Γ f (M f (V + ))

[0039] V - =Γ p (M p (V - ))

[0040] μ q =Γ f (·)[V + , V - ])

[0041] σ g =F σ ([V + , V - ])

[0042] V out =[Z,V - ]

[0043] Among them, M p (·), M f (·) represents the relational model, Γ f (·),Γ p (·) represents the Transformer network, V + 、V - represent future and past embedding features respectively, and F f (·), F σ (·) denotes MLP, Z denotes the feature vector sampled from Gaussian distribution, μ q represents the mean of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, σ q represents the standard deviation of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, V out It represents the input of the decoder in the conditional variational autoencoder (CVAE) framework;

[0044] In the decoder, the Transformer network is introduced to learn temporal dependencies, which achieves good results in long-term prediction:

[0045]

[0046] in and denote the future trajectory predicted by the residual block and the reconstructed past trajectory, respectively, and F Block1 (·) Residual block function, where the residual blocks are composed of a Transformer network and two multi-layer perceptrons.

[0047] The present invention also provides a multimodal trajectory prediction device based on a hypergraph neural network, comprising the following modules:

[0048] The construction module is used to build a multi-agent cluster simulation environment on the Gazebo simulation platform and obtain simulation environment data;

[0049] The data acquisition module is used to collect the motion trajectory of the intelligent agent in the constructed simulation environment, pre-process the data and construct a data set;

[0050] The feature learning module is used to represent data in a graph based on preprocessed data and learn the interaction features of paired agents using an attention mechanism;

[0051] The relationship model building module is used to build an interaction relationship model based on the learned interaction features and update the agent node information through the neural information transmission mechanism;

[0052] The prediction framework design module is used to design a multimodal trajectory prediction framework based on the constructed interaction relationship model, and integrate the interaction relationship model and Transformer network into the encoder and decoder respectively;

[0053] The training and testing module is used to train and test the prediction framework using the constructed data set and improve the real-time performance through model quantization processing;

[0054] The performance testing module is used to transplant the trained and tested prediction framework into the cluster control algorithm, and to test the performance of the multi-agent cluster control algorithm by simulating the communication interruption scenario on the Gazebo simulation platform.

[0055] In the above device, the implementation steps of the building module include:

[0056] Step 1.1: Build 6 intelligent agents as controlled objects in the Gazebo simulation environment and obtain simulation environment parameters;

[0057] Step 1.2, based on the agent set in step 1.1, set the agent motion parameters, including speed, starting point and end point, to obtain the agent motion parameters;

[0058] Step 1.3, introduce obstacles into the environment set in step 1.2, set obstacle parameters, including random speed and safety distance, and obtain obstacle parameters;

[0059] Step 1.4: Display the running status of the intelligent agent in steps 1.1 to 1.3 through the ground station to obtain the running status data of the intelligent agent.

[0060] In the above device, the implementation steps of the data acquisition module include:

[0061] Step 2.1, collect the motion trajectory of the intelligent body at a preset frequency to obtain motion trajectory data;

[0062] Step 2.2: Fill the empty frame data collected in step 2.1 to ensure the integrity of the trajectory data;

[0063] Step 2.3, intercept the trajectory data processed in step 2.2 according to the time step, construct a sample trajectory, and obtain sample data;

[0064] Step 2.4: Based on the sample trajectory constructed in step 2.3, collect enough rounds of data, build a data set, and obtain a data set.

[0065] In the above device, the feature learning module is implemented by: representing the preprocessed data in a graphical manner and using an attention mechanism to learn the paired agent interaction features:

[0066] Specifically, for N agents in a multi-agent system, the graph representation is G = {V, E}, where V = {v1, v2, ..., v n} represents a set of N agents, each agent v n Represented as a node, E represents the connection relationship between agents, and the graph attention network is used to learn the pairwise interaction relationship between agents at the current moment from the graph. This process can be expressed as:

[0067]

[0068] where a jj Represents node v i and node v j The relationship coefficient between edge and f node represents the attention network, e ij Represents node v j and node v i edge, u represents environmental information, E(v i ) represents the node v i The set of adjacent edges, and Represents the edges and nodes of an interaction graph.

[0069] In the above device, the implementation of the relationship model building module includes: building an interactive relationship model, mainly dividing multiple highly correlated intelligent agent groups based on the attention matrix, and updating the intelligent agent node information through the neural information transmission mechanism:

[0070] Specifically, for the trajectory of the agent, represents the trajectory set of the agent from time T0 to time T1. The attention matrix is ​​constructed based on the historical trajectory of the agent, and its expression is:

[0071]

[0072] where f Q (·) represents a multi-layer perceptron, A i,j Describes the agent v i and agent v j The correlation between p It represents the length of time from the current moment to the past, d is q i The dimension of Yes i The transpose of .

[0073] Based on the neural information transfer mechanism, node features are learned, and the embedding of agents and interactions is iteratively obtained through two stages: node-to-edge and edge-to-node. In the node-to-edge stage, the interaction relationship features between agents are determined by the features of the two adjacent agents; in the edge-to-node stage, the features of each agent are updated by the interaction relationship features related to it. The iterative process is as follows:

[0074]

[0075] where F l (·),f v (·) is composed of a multi-layer perceptron, E i Representation and agent v i The set of associated edges.

[0076] In the above device, the prediction framework design module specifically includes designing a trajectory prediction framework based on a conditional variational autoencoder, learning the correlation between agent trajectories through an interactive relationship model in the encoder, sampling the obtained interactive features to encourage the generation of multiple reasonable trajectories, and constructing a Gaussian distribution through the generated Gaussian distribution parameters, which is specifically expressed as follows:

[0077] V + =Γ f (M f (V + ))

[0078] V- =Γp(M p (V - ))

[0079] μ q =Γ f (·)[V + , V - ])

[0080] σ q =F σ ([V + , V - ])

[0081] V out =[Z,V - ]

[0082] Among them, M p (·), M f (·) represents the relational model, Γ f (·),Γ p (·) represents the Transformer network, V + 、V - represent future and past embedding features respectively, and F f (·), F σ (·) denotes MLP, Z denotes the feature vector sampled from Gaussian distribution, μ q represents the mean of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, σ q represents the standard deviation of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, V out It represents the input of the decoder in the conditional variational autoencoder (CVAE) framework;

[0083] In the decoder, the Transformer network is introduced to learn temporal dependencies, which achieves good results in long-term prediction:

[0084]

[0085] in and denote the future trajectory predicted by the residual block and the reconstructed past trajectory, respectively, and F Block1 (·) Residual block function, where the residual blocks are composed of a Transformer network and two multi-layer perceptrons.

[0086] Because the present invention adopts the above technical solution, it has the following beneficial effects:

[0087] 1. Step 1: Attention mechanism to learn interactive features: This paper adopts the attention mechanism to learn interactive features between multiple agents, which solves the problems of random behavior of agents and large deviation of single trajectory prediction in traditional methods. Through the attention mechanism, key information can be extracted and the model's attention to different agents can be strengthened, which improves the accuracy and efficiency of interactive feature learning.

[0088] 2. Step 2: Neural information transmission mechanism updates agent node information step: Through the iterative process from node to edge and edge to node, the present invention realizes the effective update of agent node information. This method not only considers the direct interaction between agents, but also captures the indirect influence between agents through the iterative process, thereby more accurately reflecting the complex relationship between agents.

[0089] 3. Steps: A multimodal trajectory prediction framework based on conditional variational autoencoder Steps: This paper designs an innovative trajectory prediction framework to achieve multimodal trajectory prediction through conditional variational autoencoder (CVAE). The framework learns the correlation between agent trajectories through an interactive relationship model in the encoder part, and uses the Transformer network to learn the temporal dependency in the decoder part, which effectively improves the accuracy of long-term prediction.

[0090] 4. Step 4: Integrate the Transformer network to improve long-term prediction effect: In the decoder part, the present invention introduces the Transformer network, focusing on learning the temporal dependencies of the agent trajectory. This innovation significantly improves the performance in long-term prediction tasks, especially when dealing with complex and nonlinear MAS systems.

[0091] 5. Steps for coping with communication interruption scenarios and ensuring stable operation of the algorithm: The present invention is particularly suitable for multi-agent systems in scenarios with communication interruption. Through accurate trajectory prediction, it avoids algorithm failure or agent collision problems caused by information loss, thereby improving the stability and reliability of the entire system.

[0092] 6. Steps are applicable to complex and changeable MAS environments: Compared with traditional methods, the present invention better adapts to the dynamic changes of the internal and external environment of the multi-agent system, improves the prediction accuracy and robustness in non-ideal complex communication environments, and is applicable to various complex and changeable MAS application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0093] Figure 1 The present invention is a flow chart of the method.

[0094] Figure 2 It is a schematic diagram of the interactive relationship and prediction network model of the present invention. DETAILED DESCRIPTION

[0095] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0096] like Figure 1 As shown, a multimodal trajectory prediction method based on a hypergraph neural network includes the following steps:

[0097] A. Build a multi-agent cluster simulation environment based on the Gazebo simulation platform:

[0098] In the Gazebo simulation environment, 6 intelligent agents are constructed as controlled objects. They are led by a virtual leader and fly directly from the starting point to the end point at a speed of 0.6m / s. In order to be closer to the real environment, three obstacles are introduced as interference objects. The obstacles have a random speed of 0 to 0.3m / s and a safety distance of 10m. The running status and other information of the intelligent agents are displayed through the ground station.

[0099] B. Collect the motion trajectory of the intelligent body, pre-process the data, and build a data set:

[0100] This step includes: collecting the motion trajectory of the intelligent agent in step A and filling the empty frame data.

[0101] Specifically, the motion trajectory of the agent in step A is collected at a frequency of 0.5 Hz / s. After the agent executes the cluster control algorithm in each round, a total of 100 data points are collected. For empty frame data, the subsequent data is used to fill. For a trajectory with a time step of 100, 15 steps are intercepted as a sample trajectory. In order to make full use of the data, data is intercepted every 2 steps. In order to increase the amount of data, a total of 10,000 rounds of data are collected.

[0102] C. Based on the preprocessed data, the graph is represented and the attention mechanism is used to learn the interaction features of paired agents:

[0103] Specifically, for N agents in a multi-agent system, the graph representation is G = {V, E}, where V = {v1, v2, ..., v n} represents a set of N agents, E represents the connection relationship between agents, and the graph attention network is used to learn the pairwise interaction relationship between agents at the current moment from the graph. This process can be expressed as:

[0104]

[0105] where a ij represents the relationship coefficient between node i and node j, f edge and f node represents the attention network, e ij and v irepresents the edges and nodes of the graph, u represents the environmental information, E(v i ) represents the node υ i The set of adjacent edges, and Represents the edges and nodes of an interaction graph.

[0106] D. Construct an interactive relationship model, mainly based on the attention matrix to divide multiple highly correlated agent groups, and update the agent node information through the neural information transmission mechanism:

[0107] Specifically, for the trajectory of the agent, represents the trajectory set of the agent from time T0 to time T1. The attention matrix is ​​constructed based on the historical trajectory of the agent, and its expression is:

[0108]

[0109]

[0110] where f Q (·) represents a multi-layer perceptron, A i,j Describes the relationship between agent i and agent j.

[0111] Based on the neural information transfer mechanism, node features are learned, and the embedding of agents and interactions is iteratively obtained mainly through two stages: node-to-edge and edge-to-node. In the node-to-edge stage, the interaction relationship features between agents are determined by the features of the two adjacent agents; in the edge-to-node stage, the features of each agent are updated by the interaction relationship features related to it. The iterative process is as follows:

[0112]

[0113] where F l (·),f v (·) is composed of MLP.

[0114] E. Design of a multimodal trajectory prediction framework based on conditional variational autoencoder. In the design of the encoder, the interaction relationship model is integrated to capture the interaction features. In the design of the decoder, the Transformer network is introduced to capture the temporal dependency.

[0115] Specifically, when predicting the future trajectory of an agent based on its historical trajectory, there will be multiple reasonable trajectories. In order to encourage the generation of multiple possible trajectories, a trajectory prediction framework is designed based on a conditional variational autoencoder. In the design of the encoder, the correlation between the trajectories of the agent is mainly learned through the interaction relationship model, and the obtained interaction features are sampled to encourage the generation of multiple reasonable trajectories. The Gaussian distribution is constructed through the generated Gaussian distribution parameters. The specific expression is as follows:

[0116] V + =Γ f (M f (V + ))

[0117] V - =Γ p (M p (V - ))

[0118] μ q =Γ f (·)[V + , V - ])

[0119] σ q =F σ ([V + , V - ])

[0120] V out =[Z,V - ]

[0121] Among them, M p (·), M f (·) represents the relational model, Γ f (·),Γ p (·) represents the Transformer network, V + 、V - represent future and past embedding features respectively, and F f (·), F σ (·) denotes MLP, and Z denotes the feature vector sampled from Gaussian distribution.

[0122] In the decoder, in order to improve the accuracy of long-term prediction, the Transformer network is introduced to learn temporal dependencies, which achieves better results in long-term prediction.

[0123]

[0124] in and They represent the future trajectory predicted by the residual block and the reconstructed past trajectory respectively. The residual blocks are composed of a Transformer network and two MLPs.

[0125] F. Train and test the prediction framework based on the constructed dataset, and improve its real-time performance through model quantization processing.

[0126] Specifically, the model was trained and tested using the constructed agent cluster dataset. When the accuracy was met, the model was quantified by pruning and other processes to facilitate subsequent application in the actual cluster control algorithm, which reduced the difficulty of the actual deployment of the model. Furthermore, its real-time performance was tested and processed in 0.02s, which met the needs of the actual scenario.

[0127] G. Transplant the prediction framework into the cluster control algorithm and test the performance of the multi-agent cluster control algorithm by simulating the communication interruption scenario on the Gazebo simulation platform.

[0128] Specifically, in the Gazebo simulation environment, it is set that the agents cannot communicate with each other in a certain area. When the prediction module is not added, the speed loss and system loss of the multi-agent system are very large. It can be seen that the agents are out of control and cannot achieve a stable collaborative effect. When the prediction module is added, its speed loss and system loss are greatly reduced, and the cluster control algorithm can be well executed.

[0129] Aiming at the scenario of communication interruption in a multi-agent system, the present invention establishes an interactive relationship model between the agents and environmental information in the multi-agent system based on a graph neural network, and then establishes a multimodal trajectory prediction framework to analyze and infer its future behavior information. The predicted trajectory information is provided to the agent, which effectively avoids the occurrence of algorithm failure or agent collision caused by the inability of the agent to obtain surrounding environment information when communication is interrupted.

[0130] The above is a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A multimodal trajectory prediction method based on hypergraph neural network, It is characterized in that The steps include: Step 1: Build a multi-agent cluster simulation environment based on the Gazebo simulation platform and obtain simulation environment data; Step 2: Based on the simulation environment constructed in step 1, collect the motion trajectory of the intelligent agent, pre-process the data, and construct a data set; Step 3: Based on the data preprocessed in step 2, the data is represented in a graph and the attention mechanism is used to learn the interaction features of paired agents. Step 4: Based on the interaction features learned in step 3, an interaction relationship model is constructed, multiple highly correlated agent groups are divided based on the attention matrix, and the agent node information is updated through the neural information transmission mechanism; Step 5: Based on the interaction relationship model constructed in step 4, a multimodal trajectory prediction framework based on conditional variational autoencoder is implemented. The interaction relationship model is integrated into the encoder to capture the interaction features, and the Transformer network is introduced into the decoder to capture the temporal dependency. Step 6: Based on the prediction framework designed in step 5, the data set constructed in step 2 is used for training and testing, and the real-time performance is improved by quantizing the model. Step 7: Transplant the prediction framework trained and tested in step 6 into the cluster control algorithm, simulate the communication interruption scenario through the Gazebo simulation platform built in step 1, and test the performance of the multi-agent cluster control algorithm.

2. According to claim 1, a multimodal trajectory prediction method based on a hypergraph neural network, It is characterized in that The steps in step 1 include: Step 1.1: Build 6 intelligent agents as controlled objects in the Gazebo simulation environment and obtain simulation environment parameters; Step 1.2, based on the agent set in step 1.1, set the agent motion parameters, including speed, starting point and end point, to obtain the agent motion parameters; Step 1.3, introduce obstacles into the environment set in step 1.2, set obstacle parameters, including random speed and safety distance, and obtain obstacle parameters; Step 1.4: Display the running status of the intelligent agent in steps 1.1 to 1.3 through the ground station to obtain the running status data of the intelligent agent.

3. According to claim 1, a multimodal trajectory prediction method based on a hypergraph neural network, It is characterized in that The steps in step 2 include: Step 2.1, collect the motion trajectory of the intelligent body at a preset frequency to obtain motion trajectory data; Step 2.2: Fill the empty frame data collected in step 2.1 to ensure the integrity of the trajectory data; Step 2.3, intercept the trajectory data processed in step 2.2 according to the time step, construct a sample trajectory, and obtain sample data; Step 2.4: Based on the sample trajectory constructed in step 2.3, collect enough rounds of data, build a data set, and obtain a data set.

4. According to claim 1, a multimodal trajectory prediction method based on a hypergraph neural network, It is characterized in that Step 3 includes: representing the preprocessed data in a graphical form and using an attention mechanism to learn the paired agent interaction features: Specifically, for N agents in a multi-agent system, the graph representation is G = {V, E}, where V = {v 1 ,v 2 , …, v n } represents a set of N agents, each agent V n Represented as a node, E represents the connection relationship between agents, and the graph attention network is used to learn the pairwise interaction relationship between agents at the current moment from the graph. This process is expressed as: where a ij Represents node v i and node v j The relationship coefficient between edge and f node represents the attention network, e ij Represents node v j and node v i edge, u represents environmental information, E(v i ) represents the node v i The set of adjacent edges, and Represents the edges and nodes of the interaction graph, Leaky ReLU(·) represents the activation function, where W is a weight matrix, a is a weight vector, and a T represents the transpose of the weight vector a, and exp(·) represents the exponential operation.

5. According to claim 1, a multimodal trajectory prediction method based on a hypergraph neural network, It is characterized in that Step 4 includes: constructing an interactive relationship model, mainly dividing multiple highly correlated agent groups based on the attention matrix, and updating the agent node information through the neural information transmission mechanism: Specifically, for the trajectory of the agent, use Indicates that from time T 0 to T 1 The trajectory set of the agent at each moment, and the attention matrix is ​​constructed based on the historical trajectory of the agent, which is expressed as: where f Q (·) represents a multi-layer perceptron, A i,j Describes the agent v i and agent v j The correlation between p It represents the length of time from the current moment to the past, d is q i The dimension of Yes i The transpose of ||·|| 2 represents the L2 norm; Based on the neural information transfer mechanism, node features are learned, and the embedding of agents and interactions is iteratively obtained through two stages: node-to-edge and edge-to-node. In the node-to-edge stage, the interaction relationship features between agents are determined by the features of the two adjacent agents; in the edge-to-node stage, the features of each agent are updated by the interaction relationship features related to it. The iterative process is as follows: where F l (·),f v (·) is composed of a multi-layer perceptron, E i Representation and agent v i The set of associated edges, r i Represents the agent v i The strength of interactions with other agents.

6. The multimodal trajectory prediction method based on hypergraph neural network according to claim 1, It is characterized in that Step 5 Specifically, the trajectory prediction framework is designed based on the conditional variational autoencoder. The correlation between the agent trajectories is learned through the interaction relationship model in the encoder. The obtained interaction features are sampled to encourage the generation of multiple reasonable trajectories. The Gaussian distribution is constructed through the generated Gaussian distribution parameters. The specific expression is as follows: V + =Γ f (M f (V + )) V - =Γ p (M p (V - )) m q =C f (·)[V + ,V - ]) σ q =F σ ([V + ,V - ]) In out =[Z,V - ] Among them, M p (·), M f (·) represents the relational model, Γ f (·),Γ p (·) represents the Transformer network, V + 、V - represent future and past embedding features respectively, and F f (·), F σ (·) denotes MLP, Z denotes the feature vector sampled from Gaussian distribution, μ q represents the mean of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, σ q represents the standard deviation of the latent space feature vector output by the encoder in the conditional variational autoencoder framework, V out represents the input of the decoder in the conditional variational autoencoder framework; In the decoder, the Transformer network is introduced to learn temporal dependencies, which achieves good results in long-term prediction. in and denote the future trajectory predicted by the residual block and the reconstructed past trajectory, respectively, and F Block1 (·) Residual block function, where the residual blocks are composed of a Transformer network and two multi-layer perceptrons.

7. A multimodal trajectory prediction device based on hypergraph neural network, It is characterized in that Includes the following modules: The construction module is used to build a multi-agent cluster simulation environment on the Gazebo simulation platform and obtain simulation environment data; The data acquisition module is used to collect the motion trajectory of the intelligent agent in the constructed simulation environment, pre-process the data and construct a data set; The feature learning module is used to represent data in a graph based on preprocessed data and learn the interaction features of paired agents using an attention mechanism; The relationship model building module is used to build an interaction relationship model based on the learned interaction features and update the agent node information through the neural information transmission mechanism; The prediction framework design module is used to design a multimodal trajectory prediction framework based on the constructed interaction relationship model, and integrate the interaction relationship model and Transformer network into the encoder and decoder respectively; The training and testing module is used to train and test the prediction framework using the constructed data set and improve the real-time performance through model quantization processing; The performance testing module is used to transplant the trained and tested prediction framework into the cluster control algorithm, and to test the performance of the multi-agent cluster control algorithm by simulating the communication interruption scenario on the Gazebo simulation platform.

8. The multimodal trajectory prediction method based on hypergraph neural network according to claim 7, It is characterized in that The implementation steps of the building block include: Step 1.1: Build 6 intelligent agents as controlled objects in the Gazebo simulation environment and obtain simulation environment parameters; Step 1.2, based on the agent set in step 1.1, set the agent motion parameters, including speed, starting point and end point, to obtain the agent motion parameters; Step 1.3, introduce obstacles into the environment set in step 1.2, set obstacle parameters, including random speed and safety distance, and obtain obstacle parameters; Step 1.4: Display the running status of the intelligent agent in steps 1.1 to 1.3 through the ground station to obtain the running status data of the intelligent agent.

9. The multimodal trajectory prediction device based on a hypergraph neural network according to claim 7, It is characterized in that The implementation steps of the data acquisition module include: Step 2.1, collect the motion trajectory of the intelligent body at a preset frequency to obtain motion trajectory data; Step 2.2: Fill the empty frame data collected in step 2.1 to ensure the integrity of the trajectory data; Step 2.3, intercept the trajectory data processed in step 2.2 according to the time step, construct a sample trajectory, and obtain sample data; Step 2.4: Based on the sample trajectory constructed in step 2.3, collect enough rounds of data, build a data set, and obtain a data set.

10. The multimodal trajectory prediction device based on hypergraph neural network according to claim 7, It is characterized in that The implementation of the feature learning module includes: representing the preprocessed data in a graphical manner and using the attention mechanism to learn the paired agent interaction features: Specifically, for N agents in a multi-agent system, the graph representation is G = {V, E}, where V = {v 1 , v 2 , …, v n } represents a set of N agents, each agent v n Represented as a node, E represents the connection relationship between agents, and the graph attention network is used to learn the pairwise interaction relationship between agents at the current moment from the graph. This process can be expressed as: where a ij Represents node v i and node v j The relationship coefficient between edge and f node represents the attention network, e ij Represents node v j and node v i edge, u represents environmental information, E(v i ) represents the node v i The set of adjacent edges, and Represents the edges and nodes of an interaction graph.

Citation Information

Cited By

  • Interaction incidence relation model based on graph neural network and ship track prediction method

    CN118798252A

  • Social simulation method, device and equipment based on large model agent

    CN118887029A

  • Urban area visitor dynamic prediction method based on hypergraph learning

    CN119443345A

  • Nuclear decommissioning operation master-slave manipulator control system and method

    CN119974008A

  • Traffic monitoring method and device based on multi-mode and hypergraph structure, and medium

    CN120220422A