A multi-agent fault-tolerant consistency method and system based on reinforcement learning

By introducing the D-OPDPG algorithm and the distributed training method of reinforcement learning into the multi-agent system, the reward function is designed to adjust the weight of adjacent agents, which solves the problem of fault tolerance and consistency of the multi-agent system in unpredictable environments and faulty agents. problem, achieving efficient system state consistency and noise tolerance.

CN113919495BActive Publication Date: 2024-09-17ZHEJIANG SCI-TECH UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111184950.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-11
Publication Date
2024-09-17
Estimated Expiration
2041-10-11

AI Technical Summary

Technical Problem

Existing multi-agent systems are difficult to achieve fault-tolerant consistency when faced with unpredictable environments and faulty agents, especially when network connectivity and robustness are limited, and MARL technology has difficulty in identifying the identity and processing of unknown agents. Challenges exist when faulty agents behave unpredictably.

Method used

Using a multi-agent fault-tolerant consistency method based on reinforcement learning, the D-OPDPG algorithm is used to design a reward function in distributed training, gradually adjust the weight of adjacent agents, identify and mitigate the impact of faulty agents, and achieve the consistency of the system state. .

Benefits of technology

Without increasing system energy consumption, the tolerance to noise is improved, network topology restrictions are relaxed, efficient fault-tolerant consistency of multi-agent systems is achieved, and faulty agents are identified and isolated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919495B
    Figure CN113919495B
Patent Text Reader

Abstract

The present invention provides a multi-agent fault-tolerant consistency method and system based on reinforcement learning. The method of the present invention: S1: establish a system network topology and design a reward function; S2: interaction between agents: according to the designed reward function, gradually adjust the weights of adjacent agents until the normal agent states reach a consensus. The present invention introduces the trial-and-error idea of ​​MARL, that is, continuous attempts, and adopts an algorithm D‑OPDPG that can be applied to solve the multi-agent fault-tolerant consistency problem, combined with the natural characteristics of the MARC system to solve some problems of the prior art, according to the designed reward function, gradually adjust the weights of adjacent agents, thereby reducing the impact of faulty agents, and then gradually identifying faulty agents. The present invention has an extremely high tolerance for noise without adding additional energy consumption to the system. In addition, the distributed method based on reinforcement learning is adopted to relax the restrictions on network topology, and it only requires the network topology to meet the requirements of the connectivity graph.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of reinforcement learning and fault-tolerant control, and in particular relates to a multi-agent fault-tolerant consistency method and system based on reinforcement learning. Background Art

[0002] In recent years, multi-agent technology has been widely used in modern infrastructure systems, such as transportation systems, power grids, wireless communication networks, and healthcare equipment. However, in practical applications, unpredictable environments and internal failures of agents have brought many challenges to multi-agent systems. Fault-tolerant consistency means that in a multi-agent system, when there are erroneous input data, the agents can still reach a consistent state through interaction with each other.

[0003] In a multi-agent system, a direct way to achieve multi-agent resilient consensus (MARC) is to remove the faulty agents. Assuming that the maximum number of faulty agents in the network is known, each agent discards the maximum and minimum values ​​in the set of state information received from neighboring agents. This method is called the Mean Subsequence Reduced (MSR) algorithm, and its derivative Weighted Mean Subsequence Reduced (W-MSR) algorithm can be further applied to various MARC applications, such as clock synchronization, spacecraft control, etc. However, this method is difficult to implement in practice due to the limitations of network connectivity or network robustness.

[0004] Another commonly used method is to evaluate the credibility of each agent based on historical data, and then permanently discard the most suspicious faulty agents. Its typical algorithm is RoboTrust, which calculates credibility by observing and statistically inferring from different historical perspectives, and only the most trustworthy agents are retained. This credibility-based fault-tolerant consistency method relaxes the requirements of network connectivity or network robustness, but increases the storage and computing load of the system. At the same time, this method does not involve coordinated attacks between faulty agents.

[0005] Reinforcement learning is currently the most popular method to solve the optimal consistency problem under unknown dynamic systems from a data-driven perspective. This method establishes performance indicators through the Bellman optimality principle and introduces neural networks for approximation, so that there is no need to solve the coupled Hamilton-Jacobi-Bellman (HJB) equations. Instead, it uses policy gradient or Q-learning methods to solve the optimal control solution in real time. In multi-agent reinforcement learning (MARL), each agent interacts with the environment and other individuals to maximize the total reward by choosing appropriate actions. This feature makes it possible for MARL to complete various challenges. Similarly, MARL technology may also help solve MARC problems.

[0006] However, there are several challenges in solving the MARC problem from a MARL perspective. First, most successful MARL applications to date have adopted a centralized training and distributed execution framework, while in MARC, only local information from neighboring agents can be used to achieve global consistency. Second, in MARL, the identity of each agent, whether a teammate or an opponent, is known, so that reasonable strategies can be designed. However, a major goal of MARC is to identify the identities of all other agents, that is, the identities of each agent are unknown. In addition, the unpredictable behavior of faulty agents can also cause environmental instability, thereby violating the Markov assumption, which is a common and thorny problem in MARL. Therefore, there is an urgent need for a method to overcome these shortcomings and successfully use MARL to solve the MARC problem. Summary of the invention

[0007] Based on the problems existing in the prior art, the present invention provides a multi-agent fault-tolerant consistency method and system based on reinforcement learning, which adopts the trial-and-error idea of ​​MARL and combines the natural characteristics of the MARC system to overcome these defects, aiming to adjust the weights of adjacent agents, thereby reducing the impact of faulty agents. In addition, the method of the present invention adopts distributed training means.

[0008] In order to achieve the purpose of the present invention, the present invention adopts the following technical scheme:

[0009] The present invention provides a multi-agent fault-tolerant consistency method based on reinforcement learning. The main idea is to introduce a deep neural network to perform distributed training and learning on normal agents, and gradually identify faulty agents by designing a reward function. The reward function is determined by the relative state difference of adjacent agents, and ultimately the system reaches a consensus goal when the total reward is maximized. The present invention relates to an algorithm that can be applied to solve the multi-agent fault-tolerant consistency problem, Distributed On Policy Deterministic Policy Gradient (D-OPDPG). It only takes a few steps to achieve multi-agent fault-tolerant consistency using D-OPDPG.

[0010] A multi-agent fault-tolerant consensus method based on reinforcement learning includes the following steps:

[0011] S1: Establish system network topology and design reward function;

[0012] S2: Interaction between agents: According to the designed reward function, the weights of adjacent agents are gradually adjusted until the normal agent states are consistent.

[0013] Preferably, step S1 is as follows: a network consisting of n agents is labeled 1, 2, ... n. The network relationship is represented by a directed graph G = (V × E), where V = {1, 2, ... n} represents the set of agents, is used to describe the connection relationship between agents. If agent i can receive information from agent j, then agent i has an edge from agent j to agent i, that is, agent j is a neighbor node of agent i, and the neighbor set of agent i is composed of N i ={j|(j,i)}∈E represents.

[0014] The entire network consists of three types of agents, including the normal agent set (V n ), random state value fault agent set (V p ), constant value state value fault agent set (V c ), V = V n ∪V p ∪V c .

[0015] For agent i, its weight to neighbor agent j at time k is defined as α ij,k , the state at time k is x i,k , the reward value at time k is r i,k Secondly, the state of agent i and the state of its neighbor agent j are called the reinforcement learning input state of agent i, referred to as input state, and denoted by s i,k Indicates that Again, the weight set of agent i on all neighboring agents at time k is called a reinforcement learning behavior, referred to as behavior, and is represented by a i,k Indicates that In addition, s represents the number of sample trajectories, τ represents a trajectory, and γ represents the discount factor. τ Represents the reinforcement learning reward, that is, the total reward value of the agent in a trajectory, referred to as the total reward value, where

[0016]

[0017] Preferably, the interaction between agents in step S2 is specifically as follows:

[0018] S21, according to the weight parameter θ i Randomly initialize the policy network

[0019] S22, randomly initialize the states of all agents at time k and the weights of neighboring agent j at time k, and set the total reward value R τ Initialized to 0;

[0020] S23, for each normal agent i, receives the state value of neighbor agent j and generates input state s i,k :

[0021]

[0022] S24, input state s i,k Passed into the policy network to get behavior a i,k :

[0023]

[0024] S25, by updating the input state s i,k and behavior a i,k Calculate the reward value r of agent i i,k :

[0025] r i,k ∶=f(s i,k ,a i,k )

[0026] S26, according to the reward value r i,k And the total reward value R of the previous trajectory τ Update the total reward value of the current trajectory:

[0027] R τ ←R τ +γ k f( s i,k , a i,k )

[0028] S27, in the presence of random noise, agent i updates state x using the weight value of neighbor agent j, the state value of neighbor agent j and its own state value i,k+1 :

[0029]

[0030] S28, repeat steps S23 to S27, and end after T times;

[0031] S29, for R τ Perform stochastic gradient descent and update the policy network parameters:

[0032]

[0033] S30, repeat steps S21 to S29, and end after S rounds;

[0034] S31, repeat steps S21 to S30 until all normal agent states reach a consensus.

[0035] Preferably, faulty agents do not need to be trained and learn, and their state values ​​remain unchanged or change randomly.

[0036] Preferably, the connection relationship between agent nodes needs to meet certain conditions: the topology of all normal agents is fixed and connected, that is, there is a normal agent that contains a directed path to all other normal agents.

[0037] The present invention also discloses a multi-agent fault-tolerant consistency system based on reinforcement learning, comprising the following modules:

[0038] System network topology building module: build system network topology and design reward function;

[0039] Interaction module between agents: According to the designed reward function, the weights of adjacent agents are gradually adjusted until the normal agent states are consistent.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] 1) In the existing technology of multi-agent fault-tolerant control problem research, the requirements for network topology are very strict. The existing technology requires that the number of faulty agents in the neighboring agents is less than half of the number of all neighbors or requires a large amount of historical information and calculation. On the contrary, the D-OPDPG algorithm proposed in the present invention adopts a reinforcement learning-based method, which greatly relaxes the restrictions on network topology. It only requires the network topology to meet the requirements of the connected graph.

[0042] 2) Noise will interfere with the consistency of the multi-agent system. Therefore, in the existing technology, human control is often used to enhance the robustness of the system itself and increase energy to eliminate or reduce the impact of noise so that the system can reach consistency, but these methods increase the energy consumption of the system. The D-OPDPG algorithm proposed in this invention has a very high tolerance to noise without adding additional energy consumption to the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is the network topology diagram of the D-OPDPG algorithm in the present invention;

[0044] Figure 2 It is a flow chart of the D-OPDPG algorithm in the present invention;

[0045] Figure 3 It is a training graph for weights of the D-OPDPG algorithm in an embodiment of the present invention;

[0046] Figure 4 It is a convergence diagram of the execution result of the D-OPDPG algorithm in an embodiment of the present invention;

[0047] Figure 5 It is a block diagram of a multi-agent fault-tolerant consistency system based on reinforcement learning in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0049] The preferred embodiment of the present invention is a multi-agent fault-tolerant consistency method based on reinforcement learning. First, according to the characteristics of distributed systems, the following system topology model is established, such as Figure 1 As shown:

[0050] The system is a network composed of n intelligent agents, and the multi-agent topology is represented by a directed graph G(V,E), where V = {1, 2, ..., n} represents the set of intelligent agents. Represents the connection relationship between agents. If agent i can receive information from agent j, then agent j is called the neighbor of agent i, and the neighbor set of agent i is represented by N i ={j|(j,i)}∈E. Figure 1 Nodes 0, 1, 2, and 3 represent faulty agents, and the types of faulty agents include random state values ​​and constant state values. Nodes 4-11 represent normal agents, and the topology between normal agents is fixed and connected.

[0051] When there is a faulty agent, the entire network may not be able to reach a state consensus. The idea of ​​the present invention is to minimize the weight of the faulty agent to close to zero, thereby removing the faulty agent. To simplify the representation, α ij,k represents the weight value of agent i to agent j at time k, and defines the weight set of all neighboring agents of agent i as

[0052] For each normal agent i, a policy network is established, the input state is applied to the network, and the network is trained to output the action, that is, the weight set of agent i to neighbor agent j, and the total reward value of the current round is calculated. Finally, the state value of the agent i is updated according to its own state value, the weight of neighbor agent j, and the state value of neighbor agent j. The above steps are continuously executed until the network reaches a relative stability. After that, the policy network performs parameter updates. All the above steps are continuously looped until all normal agents recognize the faulty agent and the states are consistent.

[0053] Secondly, the present invention proposes a D-OPDPG algorithm that can be applied to solve the multi-agent fault-tolerant consistency problem. The specific steps are as follows: Figure 2 , including the following steps:

[0054] S2: Interaction between agents:

[0055] S21, according to the weight parameter θ i Randomly initialize the policy network

[0056] S22, randomly initialize the states of all agents at time k and the weights of neighboring agent j at time k, and set the total reward value R τ Initialized to 0;

[0057] S23, for each normal agent i, receives the state value of neighbor agent j and generates input state s i,k :

[0058]

[0059] S24, input state s i,k Passed into the policy network to get behavior a i,k :

[0060]

[0061] S25, by updating the input state s i,k and behavior a i,k Calculate the reward value r of agent i i,k :

[0062] ri,k ∶=f(s i,k ,a i,k )

[0063] S26, according to the reward value r i,k And the total reward value R of the previous trajectory τ Update the total reward value of the current trajectory:

[0064] R τ ←R τ +γ k f(s i,k ,a i,k )

[0065] S27, in the presence of random noise, agent i updates state x using the weight value of neighbor agent j, the state value of neighbor agent j and its own state value i,k+1 :

[0066]

[0067] S28, repeat steps S23 to S27, and end after T times;

[0068] S29, for R τ Perform stochastic gradient descent and update the policy network parameters:

[0069]

[0070] S30, repeat steps S21 to S29, and end after S rounds;

[0071] S31, repeat steps S21 to S30 until all normal agent states reach a consensus.

[0072] In the above embodiment, faulty agents do not need to be trained and learned, and their state values ​​remain unchanged or change randomly. The connection relationship between agent nodes needs to meet certain conditions: the topology of all normal agents is fixed and connected, that is, there is a normal agent that contains a directed path to all other normal agents.

[0073] In order to evaluate the proposed algorithm, the present invention verifies the convergence of the algorithm and the ability to identify faulty intelligent agents through simulation experiments.

[0074] Assume that there are 12 agents, 4 of which are faulty agents. The policy network consists of three layers, namely the input layer, hidden layer, and output layer. The output layer uses the Softmax activation function to limit the output between (0,1), while the non-output layer uses the ReLU activation function. In addition, the learning rate α is set to 0.001, the discount factor γ is set to 0.95, the sample size s is set to 64, the round T is set to 4000, the round S is set to 640, and the reward value is set to

[0075] The experimental results are evaluated as follows:

[0076] 1. Identify faulty agents

[0077] The training results of the network containing 2 random state value agents and 2 constant state value agents are as follows: Figure 3 As shown. The gray shaded part in the figure is the real data of the experiment. For the convenience of observation, the median of the data every 1000 rounds is taken, that is, the line part in the figure is fitted. In addition, in order to speed up the convergence of the experiment, the normal agent will initialize its own state value every 50 rounds. From the experimental results, it can be seen that when the D-OPDPG algorithm is applied, all normal agents can maximize the weight of normal neighbor agents after a certain number of trainings, and the weight of faulty neighbor agents gradually decreases to zero. At this time, it can also be seen that the reward value of all normal agents reaches the maximum, which means that the faulty agent in the network topology is successfully identified. In addition, since the constant state value agent also meets the requirements of convergence consistency, its weight value may not tend to 0.

[0078] 2. Convergence

[0079] like Figure 4 As shown in the figure, the faulty agent does not affect the convergence of the system. At the same time, as the number of iterations increases, the states of all normal agents gradually converge and reach a consensus.

[0080] like Figure 5 As shown, this embodiment discloses a multi-agent fault-tolerant consistency system based on reinforcement learning, including the following modules:

[0081] System network topology building module: build the system network topology and design the reward function; the details are as follows:

[0082] A network consisting of n agents, labeled 1, 2, ...n; the network relationship is represented by a directed graph G = (V × E), where V = {1, 2, ...n} represents the set of agents, It is used to describe the connection relationship between agents; if agent i can receive information from agent j, then agent i has an edge from agent j to agent i, that is, agent j is a neighbor node of agent i, and the neighbor set of agent i is composed of Ni ={j|(j,i)}∈E represents;

[0083] The entire network consists of three types of agents, including the normal agent set V n , random state value fault agent set V p , constant value state value fault agent set V c , V = V n ∪V p ∪V c ;

[0084] For agent i, its weight to neighbor agent j at time k is defined as α ij,k , the state at time k is x i,k , the reward value at time k is r i,k ; Secondly, the state of agent i and the state of its neighbor agent j are called the reinforcement learning input state of agent i, referred to as input state, and s i,k Indicates that Again, the weight set of agent i on all neighboring agents at time k is called a reinforcement learning behavior, referred to as behavior, and is represented by a i,k Indicates that In addition, s represents the number of sample trajectories, τ represents a trajectory, and γ represents the discount factor. τ Represents the reinforcement learning reward, that is, the total reward value of the agent in a trajectory, referred to as the total reward value, where

[0085]

[0086] Interaction module between agents: According to the designed reward function, the weights of adjacent agents are gradually adjusted until the normal agent states are consistent; the details are as follows:

[0087] S21, according to the weight parameter θ i Randomly initialize the policy network

[0088] S22, randomly initialize the states of all agents at time k and the weights of neighboring agent j at time k, and set the total reward value R τ Initialized to 0;

[0089] S23, for each normal agent i, receives the state value of neighbor agent j and generates input state s i,k :

[0090]

[0091] S24, input state s i,kPassed into the policy network to get behavior a i,k :

[0092]

[0093] S25, by updating the input state s i,k and behavior a i,k Calculate the reward value r of agent i i,k :

[0094] r i,k ∶=f(s i,k ,a i,k )

[0095] S26, according to the reward value r i,k And the total reward value R of the previous trajectory τ Update the total reward value of the current trajectory:

[0096] R τ ←R τ +γ k f(s i,k ,a i,k )

[0097] S27, in the presence of random noise, agent i updates state x using the weight value of neighbor agent j, the state value of neighbor agent j and its own state value i,k+1 :

[0098]

[0099] S28, repeat steps S23 to S27, and end after T times;

[0100] S29, for R τ Perform stochastic gradient descent and update the policy network parameters:

[0101]

[0102] S30, repeat steps S21 to S29, and end after S rounds;

[0103] S31, repeat steps S21 to S30 until the normal agent state is consistent.

[0104] The present invention provides a multi-agent fault-tolerant consistency method and system based on reinforcement learning. By introducing the trial-and-error idea of ​​MARL, that is, continuous attempts, and adopting an algorithm D-OPDPG that can be applied to solve the multi-agent fault-tolerant consistency problem, combined with the natural characteristics of the MARC system to solve some problems of the prior art, according to the designed reward function, the weights of adjacent agents are gradually adjusted to reduce the impact of faulty agents, and then gradually identify faulty agents. The present invention has a very high tolerance for noise without adding additional energy consumption to the system. In addition, the present invention adopts a distributed method based on reinforcement learning, which relaxes the restrictions on network topology, and it only requires the network topology to meet the requirements of the connectivity graph.

[0105] The preferred embodiments and principles of the present invention are described in detail above. For those skilled in the art, according to the ideas provided by the present invention, there may be changes in the specific implementation methods, and these changes should also be regarded as the protection scope of the present invention.

Claims

1. A multi-agent fault-tolerant consensus method based on reinforcement learning, characterized by: The steps include: S1: Establish system network topology and design reward function; S2: Interaction between agents: According to the designed reward function, the weights of adjacent agents are gradually adjusted until the normal agent states are consistent; Step S1 is as follows: a network consisting of n agents is labeled 1, 2, ... n; the network relationship is represented by a directed graph G = (V × E), where V = {1, 2, ... n} represents the set of agents, It is used to describe the connection relationship between agents; if agent i can receive information from agent j, then agent i has an edge from agent j to agent i, that is, agent j is a neighbor node of agent i, and the neighbor set of agent i is composed of N i ={j|(j,i)}∈E represents; The entire network consists of three types of agents, including the normal agent set V n , random state value fault agent set V p , constant value state value fault agent set V c , V = V n ∪V p ∪V c ; For agent i, its weight to neighbor agent j at time k is defined as α ij,k , the state at time k is x i,k , the reward value at time k is r i,k ; Secondly, the state of agent i and the state of its neighbor agent j are called the reinforcement learning input state of agent i, referred to as input state, and s i,k Indicates that Again, the weight set of agent i on all neighboring agents at time k is called a reinforcement learning behavior, referred to as behavior, and is represented by a i,k Indicates that In addition, s represents the number of sample trajectories, τ represents a trajectory, and γ represents the discount factor. τ Represents the reinforcement learning reward, that is, the total reward value of the agent in a trajectory, referred to as the total reward value, where: Step S2 is specifically as follows: S21, according to the weight parameter θ i Randomly initialize the policy network S22, randomly initialize the states of all agents at time k and the weights of neighboring agent j at time k, and set the total reward value R τ Initialized to 0; S23, for each normal agent i, receives the state value of neighbor agent j and generates input state s i,k : S24, input state s i,k Passed into the policy network to get behavior a i,k : S25, by updating the input state s i,k and behavior a i,k Calculate the reward value r of agent i i,k : r i,k ∶=f(s i,k ,a i,k ) S26, according to the reward value r i,k And the total reward value R of the previous trajectory τ Update the total reward value of the current trajectory: R τ ←R τ +g k f(s i,k ,a i,k ) S27, in the presence of random noise, agent i updates state x using the weight value of neighbor agent j, the state value of neighbor agent j and its own state value i,k+1 : S28, repeat steps S23 to S27, and end after T times; S29, for R τ Perform stochastic gradient descent and update the policy network parameters: S30, repeat steps S21 to S29, and end after S rounds; S31, repeat steps S21 to S30 until the normal agent state is consistent.

2. According to claim 1, a multi-agent fault-tolerant consistency method based on reinforcement learning is characterized in that: In step S2, the faulty agents do not need to be trained and learned, and their state values ​​remain unchanged or change randomly.

3. According to claim 1, a multi-agent fault-tolerant consistency method based on reinforcement learning is characterized in that: In step S1, the connection relationship between agent nodes needs to meet certain conditions: the topology of all normal agents is fixed and connected, that is, there is a normal agent that contains a directed path to all other normal agents.

4. A multi-agent fault-tolerant consensus system based on reinforcement learning, characterized in that: Includes the following modules: System network topology building module: build system network topology and design reward function; Interaction module between agents: According to the designed reward function, the weights of adjacent agents are gradually adjusted until the normal state of the agents is consistent; The system network topology building module is as follows: a network consisting of n agents, marked as 1, 2, ... n; the network relationship is represented by a directed graph G = (V × E), where V = {1, 2, ... n} represents the set of agents, It is used to describe the connection relationship between agents; if agent i can receive information from agent j, then agent i has an edge from agent j to agent i, that is, agent j is a neighbor node of agent i, and the neighbor set of agent i is composed of N i ={j|(j,i)}∈E represents; The entire network consists of three types of agents, including the normal agent set V n , random state value fault agent set V p , constant value state value fault agent set V c , V = V n ∪V p ∪V c ; For agent i, its weight to neighbor agent j at time k is defined as α ij,k , the state at time k is x i,k , the reward value at time k is r i,k ; Secondly, the state of agent i and the state of its neighbor agent j are called the reinforcement learning input state of agent i, referred to as input state, and s i,k Indicates that Again, the weight set of agent i on all neighboring agents at time k is called a reinforcement learning behavior, referred to as behavior, and is represented by a i,k Indicates that In addition, s represents the number of sample trajectories, τ represents a trajectory, and γ represents the discount factor. τ Represents the reinforcement learning reward, that is, the total reward value of the agent in a trajectory, referred to as the total reward value, where: The interaction modules between agents are as follows: S21, according to the weight parameter θ i Randomly initialize the policy network S22, randomly initialize the states of all agents at time k and the weights of neighboring agent j at time k, and set the total reward value R τ Initialized to 0; S23, for each normal agent i, receives the state value of neighbor agent j and generates input state s i,k : S24, the input state S25, by updating the input state s i,k and behavior a i,k Calculate the reward value r of agent i i,k : r i,k ∶=f(s i,k ,a i,k ) S26, according to the reward value r i,k And the total reward value R of the previous trajectory τ Update the total reward value of the current trajectory: R τ ←R τ +g k f(s i,k ,a i,k ) S27, in the presence of random noise, agent i updates state x using the weight value of neighbor agent j, the state value of neighbor agent j and its own state value i,k+1 : S28, repeat steps S23 to S27, and end after T times; S29, for R τ Perform stochastic gradient descent and update the policy network parameters: S30, repeat steps S21 to S29, and end after S rounds; S31, repeat steps S21 to S30 until the normal agent state is consistent.

Citation Information

Patent Citations

  • Unmanned aerial vehicle active fault-tolerant control method based on reinforcement learning

    CN111190429A

  • Expressway unmanned vehicle formation method based on multi-agent reinforcement learning

    CN113255998A

  • Multi-agent fault-tolerant consistency method and system based on state privacy protection

    CN113312635A

  • Optimized routing of interactions to contact center agents based on machine learning

    US20170111509A1