A multi-agent system communication method based on edge enhancement and related devices

By adopting an edge-enhanced communication method in a multi-agent system and integrating node and edge information, the problem of ignored correlation between agents in the existing technology is solved, and the convergence speed and decision-making effect of the multi-agent system are improved.

CN114757362BInactive Publication Date: 2024-10-15XI AN JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210375420.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When dealing with large-scale multi-agent systems, existing multi-agent reinforcement learning methods ignore the correlation between agents, causing the decision-making to fall into local optimality and affecting the convergence speed and effect.

Method used

Using a multi-agent system communication method based on edge enhancement, by constructing a distributed partially observable Markov model and a graph neural network, multi-dimensional edge information is generated, node and edge information are integrated, and the network model is optimized to generate an overall value function to achieve intelligence effective communication between bodies.

Benefits of technology

It improves the communication efficiency of multi-agent reinforcement learning tasks, improves the convergence speed and winning rate, avoids local optimal problems, and significantly improves the decision-making performance of multi-agent systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757362B_ABST
    Figure CN114757362B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-agent system communication method and related devices based on edge enhancement, which solves the problem of low communication efficiency between agents in the existing multi-agent system. The method includes the following steps: constructing a multi-agent system based on a distributed partially observable Markov model; generating nodes and multi-dimensional edge information according to a graph neural network modeling method; fusing nodes and edge information through a neural network, and constructing a multi-agent system structure containing multi-dimensional edge information; integrating other agent information, the agent outputs its own value function, generates an overall value function through a monotonic network structure, and performs multi-agent reinforcement learning training; after the training, deploying the generated weight file and EGMA network structure configuration file to a multi-agent system platform to perform task decision-making; the present invention can improve the communication efficiency between agents in multi-agent reinforcement learning tasks, which is manifested in the accelerated convergence speed and improved winning rate effect in the multi-agent platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of multi-agent systems, and specifically relates to a method and related devices for performing agent communication using edge enhancement in a multi-agent system. Background Art

[0002] Deep reinforcement learning is an important branch of machine learning and can be widely used to solve multi-agent system problems such as autonomous driving, formation control, and trajectory planning. Deep reinforcement learning uses the core idea of ​​"trial and error and improvement" to interact with the environment, and learns the most effective strategy by maximizing the cumulative rewards obtained from the environment and constantly trying. For large-scale multi-agent systems, general reinforcement learning methods only target specific agents and regard environmental information and other agent information as their state space. This method ignores the interaction between other agents and the environment, so it cannot achieve satisfactory results. At the same time, when using general reinforcement learning to model a multi-agent system, it is necessary to input and merge the observation information of all agents, and obtain the overall action output through a specific algorithm. Therefore, it will take up a large amount of storage and computing space, which greatly affects the convergence speed.

[0003] In order to solve the problems existing in the current reinforcement learning algorithm, the industry currently generally uses a multi-agent reinforcement learning method based on value function decomposition, using neural network fitting and monotonicity constraints to convert the local value function Q i The global value function Q is obtained by combining tot The local value function Q i The algorithm mechanism of centralized training and distributed execution is used. In the training phase, all agents interact with the environment individually and train them as a whole; in the execution phase, the agents are independent of each other and do not affect each other. They all act according to their own value function Q i Take action. When using this method, the correlation between local value functions is usually ignored, and the global value function Q is formed when combining them. tot The important information about the value functions of other agents is missing, which leads to the situation of local optimality when making decisions, affecting the convergence speed of multi-agent reinforcement learning.

[0004] Therefore the prior art still needs to be improved and enhanced. Summary of the invention

[0005] In order to solve the problems existing in the prior art, the present invention provides a multi-agent system communication method and related devices based on edge enhancement, which can improve the communication efficiency between agents in multi-agent reinforcement learning tasks, which is manifested in the accelerated convergence speed and improved winning rate effect in the multi-agent platform.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is: a multi-agent system communication method based on edge enhancement, comprising the following steps:

[0007] S1, construct a multi-agent system based on a distributed partially observable Markov model, construct an edge-enhanced graph neural network, and define multi-dimensional edge information;

[0008] S2, based on the graph neural network modeling method and the graph network with enhanced edge information, generates nodes and multi-dimensional edge information of the intelligent agent;

[0009] S3, through the neural network fusion nodes and multi-dimensional edge information, construct a multi-agent system structure containing multi-dimensional edge information;

[0010] S4, based on the multi-agent system structure, the agent outputs its own value function and generates an overall value function through a monotonic network structure to perform multi-agent reinforcement learning training;

[0011] S5, after the network model optimization is completed, the generated network model and EGMA network structure configuration file are deployed to the multi-agent system platform. With the help of the multi-agent scenario, the structure of a single agent is deployed on a single agent, and the EGMA framework and the training structure framework are deployed on the centralized system platform to realize communication between agents.

[0012] The specific implementation method of S1 is as follows:

[0013] 1) Construct a distributed partially observable Markov model, model a fully cooperative multi-agent task as a distributed partially observable Markov model, and set the state information, action information, observation information, reward function, time step and decay factor in the environment;

[0014] 2) Construct an edge-enhanced graph neural network and define the structure and function of multidimensional edge information. Encode the edge direction as a multidimensional edge feature. Every two nodes in the graph network communicate through a multidimensional vector, and the value of the edge feature is adaptive across the neural network layers according to the current node features.

[0015] The specific implementation method of S2 is as follows:

[0016] Use graph neural networks to model multi-agent systems, and explain the correspondence between nodes, edge information, and agent observation features in graph neural networks: node information represents agent observation features, and edge information represents differentiated features between agents;

[0017] The differentiated features represented by edge information are defined and optimized, and a binary connection matrix is ​​set to ensure the validity of the edge information of two connected agents. At the same time, the agent's own state information is added to the edge matrix so that the agent can pay attention to its own characteristics at the same time.

[0018] Add its own status information in the edge matrix, as follows:

[0019]

[0020] in, represents the k-dimensional edge information between the i-th agent and the j-th agent, represents the k-dimensional edge information of the j-th agent itself, and C is the connection matrix, which represents the number of agents connected to agent j.

[0021] The specific implementation method of S3 is as follows:

[0022] Based on the multi-dimensional attention mechanism, it is used to aggregate the edge feature weights of adjacent agents represented by graph neural networks, analyze the weight relationship between every two agents, and generate an attention matrix, while performing row normalization on the attention matrix;

[0023] The attention matrix and node information are aggregated, and the final output information is extracted by designing a learnable matrix. After propagation through the edge-enhanced graph neural network, a set of fusion features including the features carried by the agent itself and those from other agents is output. The fusion feature information is extracted and simplified through a multi-layer perceptron and returned to a single agent, so that the single agent can obtain more information when making decisions.

[0024] The edge enhancement layer of the graph neural network in the EGMA framework in the complex test environment is superimposed, and the double random normalization method is used to reduce the output scale of the generated attention matrix.

[0025] The specific implementation method of S4 is as follows:

[0026] 1) Combining the fusion method of node and multi-dimensional edge information and the multi-agent reinforcement learning method, it is explained that after the agent inputs the observation information, the output features are connected with the original node features as the input of the policy network to realize the action of the agent, and the information of other agents is obtained through the edge-enhanced graph neural network.

[0027] 2) The EGMA framework is applied to two multi-agent reinforcement learning methods based on policy networks and value functions. In the policy network-based method, the multi-agent reinforcement learning environment assigns rewards to each agent, and the agents calculate the loss function separately. The reward of each agent is optimized through the optimization method of the centralized evaluation network and the counterfactual baseline; in the value function-based method, each Q value is input into the hybrid feature network to calculate the standard temporal difference loss of reinforcement learning.

[0028] The application of the edge-enhanced multi-agent system communication method described in the present invention is used for multi-role decision-making in games and driving decision-making of unmanned vehicles in unmanned vehicle fleets.

[0029] The present invention also provides a computer device, including a processor and a memory, the memory is used to store computer executable programs, the processor reads part or all of the computer executable programs from the memory and executes them, and when the processor executes part or all of the computer executable programs, it can implement the edge-enhanced multi-agent system communication method described in the present invention.

[0030] At the same time, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the edge-enhanced multi-agent system communication method described in the present invention can be implemented.

[0031] Compared with the prior art, the present invention has at least the following beneficial effects:

[0032] The present invention uses a multi-dimensional attention mechanism to utilize the edge features in the EGMA framework. After processing the observation information obtained by a single agent, the node information and multi-dimensional edge information are generated with the help of a neural network to represent the difference between the information carried by the agent itself and other agents. For a specific agent, the attention mechanism is used to aggregate the weights of other adjacent agents. By defining a learnable weight matrix, the node features of a specific agent are mapped using the attention weight attention method.

[0033] Furthermore, through the EGMA algorithm framework in the present invention, the node information and multi-dimensional edge information are fused through the graph neural network, which can effectively extract the fusion features to make up for some problems of missing edge information in traditional methods. The output information of the EGMA framework aggregates features from other agents and itself, and can be combined with other multi-agent reinforcement learning methods.

[0034] Furthermore, the agents in the EGMA algorithm framework use row normalization to avoid increasing the size of the output features of the calculation matrix. After aggregating the edge matrix with the weighted nodes, the edge features between every two agents will be propagated on the attention matrix at the same time. The output node features are extracted by multiplying the attention matrix and the mapped input node features to extract the complete communication features.

[0035] Furthermore, by constructing a learnable output weight matrix to correctly map node features to the output dimension, the agent's output nodes capture basic edge features through the attention mechanism, while stacking EGMA layers to achieve better performance in more complex scenarios.

[0036] Furthermore, after obtaining the output weight matrix, the node aggregation module can optimize the agent's own observation information and extract the main features as nodes through the fully connected layer and GRU unit with activation function. After aggregation, the policy network can be used to directly output actions, which can be applied to distributed reward environments; the value function network can also be combined with the monotonicity constraint function and applied to centralized reward environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 The overall process of the present invention;

[0038] Figure 2 It is the overall flow chart of the EGMA framework of the present invention;

[0039] Figure 3 The inter-agent communication model of the present invention;

[0040] Figure 4 This is a flow chart of the present invention after adding the QMIX method;

[0041] Figure 5 This is the test result of the video game training platform of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention more clear, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0043] like Figure 1 As shown, the optimization method of the EGMA structure framework in the video game testing platform includes the following steps:

[0044] S1, construct a multi-agent system based on a distributed partially observable Markov model;

[0045] S2, node and edge feature generation;

[0046] S3, EGMA framework structure;

[0047] S4, framework output feature application;

[0048] S5, deploy the model on the video game testing platform.

[0049] These five steps will be described in detail below.

[0050] 1. Constructing a multi-agent system based on a distributed partially observable Markov model

[0051] 1.1 Distributed Partially Observable Markov Model

[0052] In this invention, a fully cooperative multi-agent task is modeled as a distributed partially observable Markov model, using G =<I,S,A,P,R,Ω,O,n,γ> At a set time step t, each agent i∈I evaluates the environment and receives single agent observation information o based on the observation function O(s,i) i ∈Ω, where I is a finite set of agents in the environment, and each agent i generates an action a i ∈A, forming a joint action a∈A n ; Send the joint action to the environment, obtain the next state s' through the state transfer equation P(s'|s,a), and get the reward r = R(s,a) for each agent. In addition, γ∈[0,1) represents the discount factor, s∈S represents the global state of the current environment, and the agent in this structure aims to maximize the total expected return at each time step: where r t is the reward generated at time t.

[0053] 1.2 Graph Neural Network Modeling Based on Edge Enhancement

[0054] The present invention adopts a method of utilizing edge features, and regards the edge features of the graph neural network to be constructed as an N×N×P tensor, indicating that every two nodes in the graph network can communicate through a P-dimensional vector. The value of the edge feature will be adaptive across the neural network layer according to the current node feature. This strategy has better performance than the one-dimensional edge in the traditional graph neural network method. The edge-enhanced graph neural network applies double random normalization to denoise the edge features through a multi-layer feedforward architecture, where double random normalization means normalizing the edge feature matrix into a double random matrix. When the number of network layers is low, row normalization is used instead of double random normalization to achieve the effect of simplifying the network structure. When considering the input edge At the same time, a method of encoding edge direction as multi-dimensional edge features is proposed based on edge enhanced graph neural network, so that it can be effectively applied to directed graphs.

[0055] In the multi-agent reinforcement learning framework, the information observed by a single agent can be modeled as node features The edge features of the input information of the multi-agent reinforcement learning framework are: It is calculated by the difference of the two agent features. In the present invention, the original edge enhancement layer is optimized to better suit the multi-agent reinforcement learning environment. The results show that the present invention can achieve better results using only one modified edge enhancement layer, which is reflected in the video game test environment as faster convergence and less memory usage.

[0056] The present invention proposes an edge-enhanced multi-agent reinforcement learning framework (EGMA) as a method for communication between multi-agents, and models the multi-agent system as a graph network with enhanced edge information, which can transmit multi-dimensional messages between agents.

[0057] 2. Generate node and multi-dimensional edge information based on graph neural network modeling method

[0058] 2.1 Graph Neural Network Modeling Method for Agents

[0059] like Figure 2 As shown, the present invention uses an attention mechanism to propagate node and edge features without complex structural restrictions, and this framework can be embedded in other multi-agent reinforcement learning methods, such as QMIX and COMA, to improve the convergence speed of the method and experimental results.

[0060] Specifically, the n agents in the multi-agent system are defined as a graph G = (V, E), where the node matrix V ∈ R n ×f in Represents each agent with f-dimensional features, the edge feature matrix E∈R n ×n×f in represents the f-dimensional directed message transmission between each two agents. Consider a specific edge E ij , indicating that agent i sends a message to agent j, and the edge information is generated as follows:

[0061]

[0062] Where α is a constant used to represent the difference between two node features, and the node matrix subscript k is the index of the multidimensional feature. The edge information generation method can ensure the difference between the two directions of message transmission, but it ignores the edge information E sent by the agent to itself. ii When one of the agents in a particular edge becomes unavailable, or message delivery fails due to environmental constraints, the edge message will become invalid. The following rules can be used to ensure that the edge message from agent i to agent j is valid:

[0063] E ij: =C ij ·E ij:

[0064] where C∈R n×n is a binary connection matrix, which indicates whether two agents can be connected. The binary connection matrix can be applied to mixed cooperative competition environments to distinguish the camps of agents or limit communication beyond a set distance according to different environments. In this case, the value of 0 indicates unavailable, and the value of 1 indicates available. The matrix subscript indicates all the information of the dimension feature. Therefore, the edge message E ij The message is sent only when it is ensured that only the above conditions are met.

[0065] The above edge feature matrix only considers the messages from other agents and ignores the features of the agent itself, which will make the agent pay less attention to its own state. In order to compare the importance of all agents equally, the present invention adds its own state information in the edge matrix:

[0066]

[0067] in, represents the k-dimensional edge information between the i-th agent and the j-th agent, represents the k-dimensional edge information of the j-th agent itself, and C is the connection matrix, which represents the number of agents connected to agent j.

[0068] 3. Fusion of node and edge information, and construction of a multi-agent system structure containing multi-dimensional edge information

[0069] Different from the graph attention network (GAT) method which contains one-dimensional edge feature information, this paper proposes a multi-dimensional attention mechanism, which uses the edge features in the EGMA framework. For a specific agent, the attention mechanism is used to aggregate the weights of other adjacent agents. By defining a learnable weight matrix W a ∈R f×f , use the attention weights to map the node features of a specific agent, assign attention weights to each node feature, and calculate the attention matrix A∈R between agents i and j n ×n×f The method is as follows:

[0070]

[0071] Where FC is a fully connected layer with a LeakyReLU activation function, which maps two input vectors to a scalar value, X represents the agent's own node information, and exp represents the exponential function of the target. The attention matrix A provides weights for edge features, which indicates the importance of an agent receiving messages from other agents. The symbol "||" represents the concatenation operation of two vectors.

[0072] The multiplication operation of calculating the attention matrix A will increase the scale of the output features. Since only one EGMA layer is used in practice, this method uses GAT row normalization to reduce the output scale:

[0073]

[0074] After the attention matrix is ​​generated, the edge features between every two agents will be propagated on the attention matrix at the same time, and the output node feature V out The complete correspondence features are extracted by multiplying the attention matrix and the mapped input node features:

[0075]

[0076] in is a learnable weight matrix that correctly maps node features to the output dimension. The output node of the agent The basic edge features are captured through the attention mechanism.

[0077] If this method is applied to more complex scenes, better performance can be achieved by stacking EGMA layers, where the upper layer V out The output of is used as the input node feature of a new layer V', and the attention matrix A is used as the new edge feature E'.

[0078] It should be noted that stacking EGMA layers will rapidly increase the scale of edge features, and applying GAT row normalization cannot achieve the optimal effect. At this time, the double random normalization method should be used to solve the layer stacking problem. Figure 2 The process of the above structure is described.

[0079] 4. Based on the information of other intelligent agents, the intelligent agent outputs its own value function, generates the overall value function through the monotonic network structure, and conducts multi-agent reinforcement learning training.

[0080] In a multi-agent system modeled on a graph network, each node represents the characteristics of an agent. At time t in a multi-agent reinforcement learning environment, each agent i∈I receives its own observation information through the node aggregation module. As one of the node features; Figure 3 As shown, the node aggregation module consists of a fully connected layer and a GRU unit with an activation function:

[0081]

[0082] This method can optimize the observation of the agent and extract the main features as nodes, set the node features of the last time t-1 as hidden states to obtain more information from the historical trajectory, and set the initial hidden state to the zero vector. After processing 1 to 3, V out Aggregating features from other agents and its own features, it can be combined with other multi-agent reinforcement learning methods. The video game test environment described in the present invention will be combined with two multi-agent reinforcement learning methods, QMIX and COMA. By comparison, it is shown that the convergence speed of the present invention is faster and the winning rate is more significantly improved.

[0083] After the strategy network-based method passes through the EGMA framework, the present invention connects the output features with the original node features as the input of the strategy network to realize the action of the intelligent agent. The specific form is as follows Figure 3 As shown:

[0084]

[0085] The policy network-based approach works well in different multi-agent environments, as demonstrated in the following video game environment. The multi-agent reinforcement learning environment assigns rewards to each agent, and the agents calculate loss functions separately. In large-scale multi-agent reinforcement learning environments, only the overall reward representing all agents can be obtained. During training, a centralized evaluation network is used to evaluate the performance of the agents, and a counterfactual baseline is used to optimize the reward of each agent.

[0086] The EGMA framework can also be applied to value function-based methods. To calculate the value function of agent i at time t, the computational node features of each agent are transformed from V out Put them into the multi-layer perceptron respectively, where is the trajectory of agent i from the beginning to time t. During training, each Q value is input into the hybrid feature network to calculate the standard temporal difference loss of reinforcement learning. The hybrid feature network structure can be flexibly replaced by any other value-based method.

[0087] 5. After the training is completed, the generated network model and EGMA network structure configuration file are deployed to the multi-agent system platform for task decision-making.

[0088] Based on the above-mentioned edge-enhanced graph neural network modeling method, the present invention provides a video game training platform, deploys the above-mentioned single agent structure on a single control character, and deploys the EGMA framework and the training structure framework on a centralized system platform, thereby achieving the effect of the present invention. The algorithm of the present invention is compared with the three methods of QMIX, MAVEN and QTRAN provided by the StarCraft Reinforcement Learning Challenge Framework (SMAC). When combined with other MARL algorithms, the effectiveness and robustness of the EGMA framework of the present invention are proved.

[0089] Each combat unit controlled by this method is considered an independent agent with limited observation capabilities and multiple action options. All agents in the video game training environment need to learn combat scenarios and defeat the built-in game AI. Applying the EGMA framework mainly focuses on the communication between agents. Figure 4 As shown in the figure, the observation of the agent is encoded and sent to the EGMA framework, and then the encoded features and each agent are In the following, the EGMA framework of the present invention is combined with the QMIX method and is referred to as EGMA+QMIX, and the EGMA framework is combined with the COMA method and is referred to as EGMA+QMIX. The combined framework structure is as follows: Figure 4 shown.

[0090] All algorithms are based on the Value Decomposition Function (VDN) method, and the QMIX method, which performs well in SMAC, is considered as the baseline. The QTRAN method enhances the fitting ability of the VDN method and proposes more general restrictions. MAVEN uses latent space for hierarchical control, which extends the effectiveness of exploration. In simple maps, all algorithms can learn environmental features and eventually achieve the highest winning rate. MAVEN and QTRAN have complex network structures and strong exploration capabilities, but simple maps do not require much exploration and have fewer map restrictions, so the above two methods are not effective. QMIX+EGMA shows the fastest learning speed in the 3s5z scenario, and QMIX obtains the best results in the 2s3z scenario. Specifically, 2s3z contains only five combat units, and the communication structure between these agents will play a relatively small role. 3s5z contains more agents, which means that communication will be more important and can help specific agents make better decisions based on the information of other agents.

[0091] In difficult maps, due to the high communication efficiency of the EGMA framework in the present invention, EGMA+QMIX showed better performance than other algorithms in the 8m_vs_9m and 10m_vs_11m scenarios. For the 5m_vs_6m scenario, EGMA did not show the expected performance because information exchange is not very important in this scenario. Compared with other algorithms, MAVEN and QTRAN take more time to achieve ideal results. MAVEN demonstrated the ability of environmental exploration, while the SMAC benchmark focused on combat scenarios. Only EGMA+QMIX and QMIX learned environmental features in very difficult maps. The main goal of the MMM2 training environment is to allow the agent to learn the role of the medical unit. The above results are consistent with Figure 5 It shows that EGMA can significantly improve the performance of multi-agent algorithms through an effective message transmission mechanism.

[0092] In the video game training platform used in the present invention, the observation information of the multi-agent system is simplified, so the edge enhancement layer of the graph neural network in the EGMA framework does not need to be stacked, is only used once, and uses a simpler graph attention network row normalization method. In other complex test environments, such as the realistic test environment of unmanned vehicle fleets, the EGMA framework will process higher-dimensional node and edge information. At this time, it is necessary to superimpose the edge enhancement layer of the graph neural network in the EGMA framework, and use the double random normalization method to reduce the output scale of the generated attention matrix.

[0093] Optionally, the present invention also provides a computer device, including a processor and a memory, the memory is used to store a computer executable program, the processor reads part or all of the computer executable program from the memory and executes it, and when the processor executes part or all of the computer executable program, the steps of the edge-enhanced multi-agent system communication method described in the present invention can be implemented.

[0094] And a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the edge-enhanced multi-agent system communication method described in the present invention can be implemented.

[0095] A program that can be used to execute the method described in the present application can be written in a computer programming language. The computer program can be in source code form, object code form, executable file or some intermediate form. The computer programming language can be C++, Java, Fortran, C# or Python.

[0096] The device for deep neural network model compression based on combined pruning can be a laptop computer, a tablet computer, a desktop computer, a mobile phone or a workstation.

[0097] The processor may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or an off-the-shelf field programmable gate array (FPGA).

[0098] The memory described in the present invention may be an internal storage unit of a laptop computer, tablet computer, desktop computer, mobile phone or workstation, such as a memory or a hard disk; or an external storage unit may be used, such as a mobile hard disk or a flash memory card.

[0099] Computer-readable storage media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media may include: read-only memory (ROM), random access memory (RAM), solid state drives (SSD) or optical disks, etc. Among them, random access memory may include resistive random access memory (ReRAM).

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A multi-agent system communication method based on edge enhancement, characterized in that: The following steps are involved: S1, construct a multi-agent system based on a distributed partially observable Markov model, construct an edge-enhanced graph neural network, and define multi-dimensional edge information; S2, based on the graph neural network modeling method and the graph network with enhanced edge information, generates nodes and multi-dimensional edge information of the intelligent agent; S3, through the neural network fusion nodes and multi-dimensional edge information, construct a multi-agent system structure EGMA containing multi-dimensional edge information; S4, based on the multi-agent system structure, the agent outputs its own value function and generates an overall value function through a monotonic network structure to perform multi-agent reinforcement learning training; S5, after the network model optimization is completed, the generated network model and EGMA network structure configuration file are deployed to the multi-agent system platform. With the help of the multi-agent scenario, the structure of a single agent is deployed on a single agent, and the EGMA framework and the training structure framework are deployed on the centralized system platform to realize communication between agents. The specific implementation method of S2 is as follows: Use graph neural networks to model multi-agent systems, and explain the correspondence between nodes, edge information, and agent observation features in graph neural networks: node information represents agent observation features, and edge information represents differentiated features between agents; Define and optimize the differentiated features represented by edge information, set a binary connection matrix to ensure the validity of the edge information of two connected agents, and add the agent's own state information to the edge matrix so that the agent can pay attention to its own features at the same time; add its own state information to the edge matrix, as follows: in, Indicates The agent and Agents dimensional edge information, Indicates The agent itself dimensional edge information, is the connection matrix, which represents the The number of connected agents; the specific implementation method of S3 is as follows: Based on the multi-dimensional attention mechanism, it is used to aggregate the edge feature weights of adjacent agents represented by graph neural networks, analyze the weight relationship between every two agents, and generate an attention matrix, while performing row normalization on the attention matrix; The attention matrix and node information are aggregated, and the final output information is extracted by designing a learnable matrix. After propagation through the edge-enhanced graph neural network, a set of fusion features including the features carried by the agent itself and those from other agents is output. The fusion feature information is extracted and simplified through a multi-layer perceptron and returned to a single agent, so that the single agent can obtain more information when making decisions.

2. The edge-enhanced multi-agent system communication method according to claim 1, characterized in that: The specific implementation method of S1 is as follows: 1) Construct a distributed partially observable Markov model, model a fully cooperative multi-agent task as a distributed partially observable Markov model, and set the state information, action information, observation information, reward function, time step and decay factor in the environment; 2) Construct an edge-enhanced graph neural network and define the structure and function of multidimensional edge information. Encode the edge direction as a multidimensional edge feature. Every two nodes in the graph network communicate through a multidimensional vector, and the value of the edge feature is adaptive across the neural network layers according to the current node features.

3. The edge-enhanced multi-agent system communication method according to claim 1, characterized in that: The edge enhancement layer of the graph neural network in the EGMA framework in the complex test environment is superimposed, and the double random normalization method is used to reduce the output scale of the generated attention matrix.

4. The edge-enhanced multi-agent system communication method according to claim 1, characterized in that: The specific implementation method of S4 is as follows: 1) Combining the fusion method of node and multi-dimensional edge information and the multi-agent reinforcement learning method, it is explained that after the agent inputs the observation information, the output features are connected with the original node features as the input of the policy network to realize the action of the agent, and the information of other agents is obtained through the edge-enhanced graph neural network. 2) The EGMA framework is applied to two multi-agent reinforcement learning methods based on policy networks and value functions. In the policy network-based method, the multi-agent reinforcement learning environment assigns rewards to each agent, and the agents calculate the loss function separately. The reward of each agent is optimized through the optimization method of the centralized evaluation network and the counterfactual baseline. In the value function-based method, each Q-value is input into a hybrid feature network to calculate the standard temporal difference loss for reinforcement learning.

5. Application of the edge-enhanced multi-agent system communication method according to any one of claims 1 to 4, characterized in that: Used for multi-role decision-making in games and driving decisions of unmanned vehicles in unmanned vehicle fleets.

6. A computer device, characterized in that: It includes a processor and a memory, the memory is used to store a computer executable program, the processor reads part or all of the computer executable program from the memory and executes it, and when the processor executes part or all of the computer executable program, it can implement the edge-enhanced multi-agent system communication method described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: A computer program is stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the edge-enhanced multi-agent system communication method described in claims 1 to 4.