T RUST R EGION P OLICY O PTIMISATION IN M ULTI -A GENT R EINFORCEMENT L EARNING
A BSTRACT
Trust region methods rigorously enabled reinforcement learning (RL) agents to learn monotonically improving policies, leading to superior performance on a variety of tasks.
Unfortunately, when it comes to multi-agent reinforcement learning (MARL), the property of monotonic improvement may not simply apply; this is because agents, even in cooperative games, could have conﬂicting directions of policy updates.
As a result, achieving a guaranteed improvement on the joint policy where each agent acts individually remains an open challenge.
In this paper, we extend the theory of trust region learning to cooperative MARL.
Central to our ﬁndings are the multi-agent advantage decomposition lemma and the sequential policy update scheme .
Based on these, we develop Heterogeneous-Agent
Trust Region Policy Optimisation (HATPRO) and Heterogeneous-Agent Proximal Policy Optimisation (HAPPO) algorithms.
Unlike many existing MARL algorithms, HATRPO/HAPPO do not need agents to share parameters, nor do they need any restrictive assumptions on decomposibility of the joint value function.
Most importantly, we justify in theory the monotonic improvement property of
HATRPO/HAPPO.
We evaluate the proposed methods on a series of Multi-Agent
MuJoCo and StarCraftII tasks.
Results show that HATRPO and HAPPO signiﬁcantly outperform strong baselines such as IPPO, MAPPO and MADDPG on all tested tasks, thereby establishing a new state of the art.
I NTRODUCTION
Policy gradient (PG) methods have played a major role in recent developments of reinforcement learning (RL) algorithms (Silver et al., 2014; Schulman et al., 2015a;
Haarnoja et al., 2018).
Among the many PG variants, trust region learning (Kakade & Langford, 2002), with two typical embodiments of Trust Region Policy Optimisation (TRPO) (Schulman et al., 2015a) and Proximal Policy
Optimisation (PPO) (Schulman et al., 2017) algorithms, offer supreme empirical performance in both discrete and continuous RL problems (Duan et al., 2016; Mahmood et al., 2018).
The effectiveness of trust region methods largely stems from their theoretically-justiﬁed policy iteration procedure.
By optimising the policy within a trustable neighbourhood of the current policy, thus avoiding making aggressive updates towards risky directions, trust region learning enjoys the guarantee of monotonic performance improvement at every iteration.
In multi-agent reinforcement learning (MARL) settings (Yang & Wang, 2020), naively applying policy gradient methods by considering other agents as a part of the environment can lose its effectiveness.
This is intuitively clear: once a learning agent updates its policy, so do its opponents; this however changes the loss landscape of the learning agent, thus harming the improvement effect from the PG update.
As a result, applying independent PG updates in MARL offers poor convergence property (Claus & Boutilier, 1998).
To address this, a learning paradigm named centralised training with decentralised execution (CTDE) (Lowe et al., 2017b; Foerster et al., 2018; Zhou et al., 2021) was developed.
In CTDE, each agent is equipped with a joint value function which, during training, has access to the global state and opponents’ actions.
With the help of the centralised value function that accounts for the non-stationarity caused by others, each agent adapts its policy parameters accordingly.
As such, the CTDE paradigm allows a straightforward extension of single-agent
PG theorems (Sutton et al., 2000; Silver et al., 2014) to multi-agent scenarios (Lowe et al., 2017b;
Kuba et al., 2021; Mguni et al., 2021).
Consequently, fruitful multi-agent policy gradient algorithms have been developed (Foerster et al., 2018; Peng et al., 2017; Zhang et al., 2020; Wen et al., 2018; 2020; Yang et al., 2018).
Unfortunately, existing CTDE methods offer no solution of how to perform trust region learning in
MARL.
Lack of such an extension impedes agents from learning monotonically improving policies in a stable manner.
Recent attempts such as IPPO (de Witt et al., 2020a) and MAPPO (Yu et al., 2021) have been proposed to ﬁll such a gap; however, these methods are designed for agents that are homogeneous (i.e., sharing the same action space and policy parameters), which largely limits their applicability and potentially harm the performance.
As we show in Proposition 1 later, parameter sharing could suffer from an exponentially-worse suboptimal outcome.
On the other hand, although
IPPO/MAPPO can be practically applied in a non-parameter sharing way, it still lacks the essential theoretical property of trust region learning, which is the monotonic improvement guarantee.
In this paper, we propose the ﬁrst theoretically-justiﬁed trust region learning framework in MARL.
The key to our ﬁndings are the multi-agent advantage decomposition lemma and the sequential policy update scheme .
With the advantage decomposition lemma, we introduce a multi-agent policy iteration procedure that enjoys the monotonic improvement guarantee.
To implement such a procedure, we propose two practical algorithms: Heterogeneous-Agent Trust Region Policy Optimisation (HATRPO) and Heterogeneous-Agent Proximal Policy Optimisation (HAPPO).
HATRPO/HAPPO adopts the sequential update scheme, which saves the cost of maintaining a centralised critic for each agent in CTDE.
Importantly, HATRPO/HAPPO does not require homogeneity of agents, nor any other restrictive assumptions on the decomposibility of the joint Q-function (Rashid et al., 2018).
We evaluate HATRPO and HAPPO on benchmarks of StarCraftII and Multi-Agent MuJoCo against strong baselines such as MADDPG (Lowe et al., 2017a), IPPO (de Witt et al., 2020b) and MAPPO (Yu et al., 2021); results clearly demonstrate its state-of-the-art performance across all tested tasks.
P RELIMINARIES
In this section, we ﬁrst introduce problem formulation and notations for MARL, and then brieﬂy review trust region learning in RL and discuss the difﬁculty of extending it to MARL.
We end by surveying existing MARL work that relates to trust region methods and show their limitations.
2. C OOPERATIVE MARL P ROBLEM F ORMULATION AND N OTATIONS
We consider a Markov game (Littman, 1994), which is deﬁned by a tuple (cid:104)N , S , A , P, r, γ (cid:105) .
Here,
N = { 1 , . . . , n } denotes the set of agents, S is the ﬁnite state space, A = (cid:81) ni
=
A i is the product of ﬁnite action spaces of all agents, known as the joint action space, P : S ×
A × S → [0 , 1] is the transition probability function, r : S ×
A → R is the reward function, and γ ∈ [0 , 1) is the discount factor.
The agents interact with the environment according to the following protocol: at time step t ∈ N , the agents are at state s t ∈ S ; every agent i takes an action a it ∈
A i , drawn from its policy π i ( ·| s t ) , which together with other agents’ actions gives a joint action a t =
( a 1 t , . .
a nt ) ∈ A , drawn from the joint policy π ( ·| s t ) = (cid:81) ni
=
π i ( · i | s t ) ; the agents receive a joint reward r t = r
( s t , a t ) ∈ R , and move to a state s t +1 with probability P ( s t +1 | s t , a t ) .
The joint policy π , the transition probabililty function
P , and the initial state distribution ρ 0 , induce a marginal state distribution at time t , denoted by ρ t π .
We deﬁne an (improper) marginal state distribution
ρ π (cid:44) (cid:80) ∞ t =
γ t ρ t π .
The state value function and the state-action value function are deﬁned: V π ( s ) (cid:44) E a 0: ∞ ∼ π , s 1: ∞ ∼ P (cid:2) (cid:80) ∞ t =
γ t r t (cid:12)(cid:12) s
= s (cid:3) and
Q π ( s, a ) (cid:44) E s 1: ∞ ∼ P, a 1: ∞ ∼ π (cid:2) (cid:80) ∞
t =0 γ t r t (cid:12)(cid:12) s
= s, a 0 = a (cid:3) .
The advantage function is written as A π ( s, a ) (cid:44) Q π ( s, a ) − V π ( s ) .
In this paper, we consider a fully-cooperative setting where all agents share the same reward function, aiming to maximise the expected total reward:
[Equation]
Throughout this paper, we pay close attention to the contribution to performance from different subsets of agents.
Before proceeding to our methods, we introduce following novel deﬁnitions.
Deﬁnition 1.
Let i 1: m denote an ordered subset { i 1 , . .
, i m } of N , and let − i 1: m refer to its complement.
We write i k when we refer to the k th agent in the ordered subset.
Correspondingly, the multi-agent state-action value function is deﬁned as
[Equation]
and for disjoint sets j 1: k
and i 1: m , the multi-agent advantage function is
[Equation]
Hereafter, the joint policies π = ( π 1 , . . . , π n ) and ¯ π = (¯ π 1 , . .
, ¯ π n ) shall be thought of as the “current”, and the “new” joint policy that agents update towards, respectively.
2. T RUST R EGION A LGORITHMS IN R EINFORCEMENT L EARNING
Trust region methods such as TRPO (Schulman et al., 2015a) were proposed in single-agent RL with an aim of achieving a monotonic improvement of J ( π ) at each iteration.
Formally, it can be described by the following theorem.
Theorem 1.
(Schulman et al., 2015a, Theorem 1) Let π be the current policy and ¯ π be the next candidate policy.
We deﬁne
[Equation]
] , D maxKL ( π, ¯ π ) = max s D KL ( π ( ·| s ) ,
¯ π ( ·| s )) .
Then the inequality of
[Equation]
holds, where C = 4 γ max s,a | A π ( s,a ) | (1 − γ ).
The above theorem states that as the distance between the current policy π and a candidate policy ¯ π decreases, the surrogate L π (¯ π ) , which involves only the current policy’s state distribution, becomes an increasingly accurate estimate of the actual performance metric J (¯ π ) .
Based on this theorem, an iterative trust region algorithm is derived; at iteration k + 1 , the agent updates its policy by
[Equation]
Such an update guarantees a monotonic improvement of the policy, i.e., J ( π k +1 ) ≥ J ( π k ) .
To implement this procedure in practical settings with parameterised policies π θ , Schulman et al.
(2015a) approximated the KL-penalty with a KL-constraint, which gave rise to the TRPO update of
[Equation]
At each iteration k + 1 , TRPO constructs a KL-ball B δ ( π θ k ) around the policy π θ k , and optimises π θ
k +1 ∈ B δ ( π θ k ) to maximise L π θk ( π θ ) .
By Theorem 1, we know that the surrogate objective
L π θk ( π θ ) is close to the true reward J ( π θ ) within B δ ( π θ k ) ; therefore, π θ k leads to improvement.
Furthermore, to save the cost on E s ∼ ρ πθk
[ D KL ( π θ k , π θ )] when computing Equation (3), Schulman et al.
(2017) proposed an approximation solution to TRPO that uses only ﬁrst order derivatives, known as PPO.
PPO optimises the policy parameter θ k +1 by maximising the PPO-clip objective of
[Equation]
The clip operator replaces the ratio π θ ( a | s ) π θk ( a | s ) with 1+ (cid:15) or 1 − (cid:15) , depending on whether or not the ratio is beyond the threshold interval.
This effectively enables PPO to control the size of policy updates.
2. L IMITATIONS OF E XISTING T RUST R EGION M ETHODS IN MARL
Extending trust region methods to MARL is highly non-trivial.
One naive approach is to equip all agents with one shared set of parameters and use agents’ aggregated trajectories to conduct policy optimisation at every iteration.
This approach was adopted by MAPPO (Yu et al., 2021) in which the policy parameter θ is optimised by maximising the objective of
[Equation]
θk (
[Equation]
θ )
[Equation]
n (cid:88)
[Equation]
Unfortunately, this simple approach has signiﬁcant drawbacks.
An obvious demerit is that parameter sharing requires that all agents have identical action spaces, i.e. , A i =
A j , ∀ i, j ∈ N , which limits the class of MARL problems to solve.
Importantly, enforcing parameter sharing is equivalent to putting a constraint θ i
= θ j , ∀ i, j ∈ N on the joint policy space.
In principle, this can lead to a suboptimal solution.
To elaborate, we demonstrate through an example in the following proposition.
Proposition 1.
Let’s consider a fully-cooperative game with an even number of agents n , one state, and the joint action space { 0 , 1 } n , where the reward is given by r ( 0 n/ 2 , 1 n/ 2 ) =
r ( 1 n/ 2 , 0 n/ 2 ) = 1 , and r ( a 1: n ) =
for all other joint actions.
Let J ∗ be the optimal joint reward, and J ∗ share be the optimal joint reward under the shared policy constraint.
Then
[Figure]
For proof see Appendix B.
In the above example, we show that parameter sharing can lead to a suboptimal outcome that is exponentially worse with the increasing number of agents.
We also provide an empirical veriﬁcation of this proposition in Appendix F.
Apart from parameter sharing, a more general approach to extend trust region methods in
MARL is to endow all agents with their own parameters, and at each iteration k + 1 , agents construct trust regions of { B δ ( π i θ ik ) }
i
[Figure]
, and optimise their objectives {
[Figure]
- date (blue) leads to improvement.
Admittedly, this approach can still be supported by the current
MAPPO implementation (Yu et al., 2021) if one turns off parameter sharing, thus distributing the summation in Equation (5) to all agents.
However, such an approach cannot offer a rigorous guarantee of monotonic improvement during training.
In fact, agents’ local improvements in performance can jointly lead to a worse outcome.
For example, in Figure 1, we design a single-state differential game where two agents draw their actions from Gaussian distributions with learnable means µ 1 , µand unit variance, and the reward function is r ( a 1 , a 2 )
= a 1 a 2 .
The failure of MAPPO-style approach comes from the fact that, although the reward function increases in each of the agents’ (one-dimensional) update directions, it decreases in the joint (two-dimensional) update direction.
Having seen the limitations of existing trust region methods in
MARL, in the following sections, we ﬁrst introduce a multiagent policy iteration procedure that enjoys theoreticallyjustiﬁed monotonic improvement guarantee.
To implement this procedure, we propose HATRPO and HAPPO algorithms, which offer practical solutions to apply trust region learning in MARL without the necessity of assuming homogeneous agents while still maintaining the monotonic improvement property.
M ULTI -A GENT T RUST R EGION L EARNING
The purpose of this section is to develop a theoretically-justiﬁed trust region learning procedure in the context of multi-agent learning.
In Subsection 3.1, we present the policy iteration procedure with monotonic improvement guarantee, and in Subsection 3.2, we analyse its properties during training and at convergence.
Throughout the work, we make the following regularity assumptions.
Assumption 1.
There exists η ∈ R , such that 0 < η (cid:28) 1 , and for every agent i ∈ N , the policy space
Π i is η -soft; that means that for every π i ∈ Π i , s ∈ S , and
a i ∈
A i , we have π i ( a i | s ) ≥ η .
3. T RUST R EGION L EARNING IN MARL WITH M ONOTONIC I MPROVEMENT G UARANTEE
We start by introducing a pivotal lemma which shows that the joint advantage function can be decomposed into a summation of each agent’s local advantages.
Importantly, this lemma offers a critical intuition behind the sequential policy-update scheme that our algorithms later apply.
Lemma 1 (Multi-Agent Advantage Decomposition) .
In any cooperative Markov games, given a joint policy π , for any state s , and any agent subset i 1: m , the below equations holds.
[Equation]
For proof see Appendix C.2.
Notably, Lemma 1 holds in general for cooperative Markov games, with no need for any assumptions on the decomposibility of the joint value function such as those in
VDN (Sunehag et al., 2018), QMIX (Rashid et al., 2018) or Q-DPP (Yang et al., 2020).
Lemma 1 indicates an effective approach to search for the direction of performance improvement (i.e., joint actions with positive advantage values) in multi-agent learning.
Speciﬁcally, let agents take actions sequentially by following an arbitrary order i 1: n , assuming agent i 1 takes an action ¯ a isuch
that A
i 1 ( s, ¯ a i 1 ) > 0 , and then, for the rest m = 2 , . . . , n , the agent i m takes an action ¯ a i m such that A
i m ( s, ¯ a i 1: m − 1 , ¯ a i m ) > 0 .
For the induced joint action ¯ a , Lemma 1 assures that A π θ ( s, ¯ a ) is positive, thus the performance is guaranteed to improve.
To formally extend the above process into a policy iteration procedure with monotonic improvement guarantee, we need the following deﬁnitions.
Deﬁnition 2.
Let π be a joint policy, ¯ π i 1: m − 1 = (cid:81) m − 1 j =1 ¯ π i j be some other joint policy of agents i 1: m − 1 , and ˆ π i m be some other policy of agent i m .
Then
[Equation]
Note that, for any ¯ π i 1: m − 1 , we have
[Equation]
Building on Lemma 1 and Deﬁnition 2, we can ﬁnally generalise Theorem 1 of TRPO to MARL.
Lemma 2.
Let π be a joint policy.
Then, for any joint policy ¯ π , we have
[Equation]
For proof see Appendix C.2.
This lemma provides an idea about how a joint policy can be improved.
Namely, by Equation (6), we know that if any agents were to set the values of the above summands
L i 1: m π ( ¯ π i 1: m − 1 , ¯ π i m ) − C D maxKL ( π i m , ¯ π i m ) by sequentially updating their policies, each of them can always make its summand be zero by making no policy update (i.e., ¯ π i m =
π i m ) .
This implies that any positive update will lead to an increment in summation.
Moreover, as there are n agents making policy updates, the compound increment can be large, leading to a substantial improvement.
Lastly, note that this property holds with no requirement on the speciﬁc order by which agents make their updates; this allows for ﬂexible scheduling on the update order at each iteration.
To summarise, we propose the following Algorithm 1.
We want to highlight that the algorithm is
Algorithm 1 Multi-Agent Policy Iteration with Monotonic Improvement Guarantee
[Equation]
markedly different from naively applying the TRPO update, i.e. , Equation (3), on the joint policy of all agents.
Firstly, our Algorithm 1 does not update the entire joint policy at once, but rather update each agent’s individual policy sequentially.
Secondly, during the sequential update, each agent has a unique optimisation objective that takes into account all previous agents’ updates, which is also the key for the monotonic improvement property to hold.
3. T HEORETICAL A NALYSIS
Now we justify by the following theorm that Algorithm 1 enjoys monotonic improvement property.
Theorem 2.
A sequence ( π k ) ∞ k =0 of joint policies updated by Algorithm 1 has the monotonic improvement property, i.e., J ( π k +1 ) ≥ J ( π k ) for all k ∈ N .
For proof see Appendix C.2.
With the above theorem, we ﬁnally claim a successful introduction of trust region learning to MARL, as this generalises the monotonic improvement property of TRPO.
Moreover, we take a step further to study the convergence property of Algorithm 1.
Before stating the result, we introduce the following solution concept.
Deﬁnition 3.
In a fully-cooperative game, a joint policy π ∗ =
( π 1 ∗ , . . .
, π n ∗ ) is a Nash equilibrium (NE) if for every i ∈ N , π i ∈ Π i implies J ( π ∗ ) ≥ J (cid:0) π i , π − i ∗ (cid:1) .
NE (Nash, 1951) is a well-established game-theoretic solution concept.
Deﬁnition 3 characterises the equilibrium point at convergence for cooperative MARL tasks.
Based on this, we have the following result that describes Algorithm 1’s asymptotic convergence behaviour towards NE.
Theorem 3.
Supposing in Algorithm 1 any permutation of agents has a ﬁxed non-zero probability to begin the update, a sequence ( π k ) ∞ k =0 of joint policies generated by the algorithm, in a cooperative Markov game, has a non-empty set of limit points, each of which is a Nash equilibrium.
For proof see Appendix C.3.
In deriving this result, the novel details introduced by Algorithmplayed an important role.
The monotonic improvement property (Theorem 2), achieved through the multi-agent advantage and the sequential update scheme, provided us with a guarantee on the convergence of the return.
Furthermore, randomisation of the update order assured that, at convergence, none of the agents is incentiﬁed to make an update.
The proof is ﬁnalised by excluding a possibility that the algorithm converges at non-equilibrium points.
P RACTICAL A LGORITHMS
When implementing Algorithm 1 in practice, large state and action spaces could prevent agents from designating policies π i ( ·| s ) for each state s separately.
To handle this, we parameterise each agent’s policy π iθ i by θ i , which, together with other agents’ policies, forms a joint policy π θ parametrised by θ =
( θ 1 , . .
, θ n ) .
In this section, we develop two deep MARL algorithms to optimise the θ .
4. HATRPO
Computing D maxKL (cid:0) π
i m θ imk , π i m θ
im (cid:1) in Algorithm 1 is challenging; it requires evaluating the KLdivergence for all states at each iteration.
Similar to TRPO, one can ease this maximal KLdivergence penalty D maxKL (cid:0) π i m θ imk , π i m θ im (cid:1) by replacing it with the expected KL-divergence constraint
[Equation] [Equation]
≤ δ where δ is a threshold hyperparameter, and the expectation can be easily approximated by stochastic sampling.
With the above amendment, we propose practical HATRPO algorithm in which, at every iteration k + 1 , given a permutation of agents i 1: n , agent i m ∈
1 ,...,n } sequentially optimises its policy parameter
θ i m k +1 by maximising a constrained objective:
[Equation]
To compute the above equation, similar to TRPO, one can apply a linear approximation to the objective function and a quadratic approximation to the KL constraint; the optimisation problem in
Equation (7) can be solved by a closed-form update rule as
[Equation]
where H i m k = ∇ 2 θ im
E s ∼ ρ πθ k (cid:2) D KL (cid:0) π
i m θ imk ( ·| s ) , π i m θ im ( ·| s ) (cid:1)(cid:3)(cid:12)(cid:12) θ im =
θ imk is the Hessian of the expected KLdivergence, g i m k is the gradient of the objective in Equation (7), α j < 1 is a positive coefﬁcient that is found via backtracking line search, and the product of ( H i m k ) − 1 g i m k can be efﬁciently computed with conjugate gradient algorithm.
The last missing piece for HATRPO is to estimate E
a
[Equation]
which poses new challenges because each agent’s objective has to take into account all previous agents’ updates, and the size of input vaires
Fortunately, with the following proposition, we can efﬁciently estimate this objective by employing a joint advantage estimator.
Proposition 2.
Let π = (cid:81) nj
=1 π i j be a joint policy, and A π ( s , a ) be its joint advantage function.
Let ¯ π i 1: m − 1 = (cid:81) m − 1 j =1 ¯ π i j be some other joint policy of agents i 1: m − 1 , and ˆ π
i m be some other policy of agent i m .
Then, for every state s ,
[Equation]
For proof see Appendix D.1.
One beneﬁt of applying Equation (9) is that agents only need to maintain a joint advantage estimator
A π ( s , a ) rather than one centralised critic for each individual agent (e.g., unlike CTDE methods such as MADDPG).
Another practical beneﬁt one can draw is that, given an estimator ˆ A ( s , a ) of the advantage function A π θ k ( s , a ) , for example
GAE (Schulman et al., 2015b), we can estimate E
a
[Equation]
m (cid:1)(cid:105) with an estimator of
[Equation]
where M i 1: m =
¯ π i 1: m
[Equation]
1 ( a
[Equation]
m
[Equation] [Equation]
s ) π
i 1: m − 1 ( a i
[Equation]
m
[Equation] [Equation]
s ) ˆ A (cid:0) s, a (cid:1) .
[Equation]
Notably, Equation (10) aligns nicely with the sequential update scheme in HATRPO.
For agent i m , since previous agents i 1: m − 1 have already made their updates, the compound policy ratio for M i 1: m in Equation (10) is easy to compute.
Given a batch B of trajectories with length T , we can estimate the gradient with respect to policy parameters (derived in Appendix D.2) as follows,
[Equation]
The term − 1 · M i 1: m ( s , a ) of Equation (10) is not reﬂected in ˆ g
i m k , as it only introduces a constant with zero gradient.
Along with the Hessian of the expected KL-divergence, i.e. , H i m k , we can update θ i m k +1 by following Equation (8).
The detailed pseudocode of HATRPO is listed in Appendix D.3.
4. HAPPO
To further alleviate the computation burden from H i m k in HATRPO, one can follow the idea of PPO in Equation (4) by considering only using ﬁrst order derivatives.
This is achieved by making agent i m choose a policy parameter θ i m k +1 which maximises the clipping objective of
[Equation]
[Table]
The optimisation process can be performed by stochastic gradient methods such as Adam (Kingma & Ba, 2014).
We refer to the above procedure as HAPPO and Appendix D.4 for its full pseudocode.
4. R ELATED W ORK
We are fully aware of previous attempts that tried to extend TRPO/PPO into MARL.
Despite empirical successes, none of them managed to propose a theoretically-justiﬁed trust region protocol in multi-agent learning, or maintain the monotonic improvement property.
Instead, they tend to impose certain assumptions to enable direct implementations of TRPO/PPO in MARL problems.
For example, IPPO (de Witt et al., 2020a) assume homogeneity of action spaces for all agents and enforce parameter sharing.
Yu et al.
(2021) proposed MAPPO which enhances IPPO by considering a joint critic function and ﬁner implementation techniques for on-policy methods.
Yet, it still suffers similar drawbacks of IPPO due to the lack of monotonic improvement guarantee especially when the parameter-sharing condition is switched off.
Wen et al.
(2021) adjusted PPO for MARL by considering a game-theoretical approach at the meta-game level among agents.
Unfortunately, it can only deal with two-agent cases due to the intractability of Nash equilibrium.
Recently, Li & He (2020) tried to implement TRPO for MARL through distributed consensus optimisation; however, they enforced the same ratio
¯ π i ( a i | s ) /π
i ( a i | s ) for all agents (see their Equation (7)), which, similar
[Figure]
Environment Steps 1e7 0.
E v a l u a t e
W i nn i n g R a t e 2c_vs_64zg (
[Figure]
2c
[Figure]
64zg
[Figure] [Figure]
[Figure]
1e7 0.
E v a l u a t e
W i nn i n g R a t e 3s5z (
[Figure] [Figure]
[Figure] [Figure]
[Figure] [Figure]
1e7 0.
E v a l u a t e
W i nn i n g R a t e corridor
HATRPO HAPPO
MAPPO (
[Figure]
corridor (
[Figure]
all methods achieve 100% win rate, we believe SMAC is not sufﬁciently difﬁcult to discrimi nate the capabilities of these algorithms, especially when non-parameter sharing is not required to parameter sharing, largely limits the policy space for optimisation.
Moreover, their method comes with a δ/n KL-constraint threshold that fails to consider scenarios with large agent number
One of the key ideas behind our HATRPO/HAPPO is the sequential update scheme.
A similar idea of multi-agent sequential update was also discussed in the context of dynamic programming (Bertsekas, 2019) where artiﬁcial “in-between” states have to be considered.
On the contrary, our sequential update sceheme is developed based on Lemma 1, which does not require any artiﬁcial assumptions and hold for any cooperative games.
Furthermore, Bertsekas (2019) requires to maintain a ﬁxed order of updates that is pre-deﬁned for the task, whereas the order in HATRPO/MAPPO can be randomised at each iteration, which also offers desirable convergence property, as stated in Proposition 3 and also veriﬁed through ablation studies in
Appendix F.
The idea of sequential update also appeared in principal component analysis; in EigenGame (Gemp et al., 2020) eigenvectors, represented as players, maximise their own utility functions one-by-one.
Although EigenGame provably solves the PCA problem, it is of little use in MARL, where a single iteration of sequential updates is insufﬁcient to learn complex policies.
Furthermore, its design and analysis rely on closed-form matrix calculus, which has no extension to MARL.
Lastly, we would like to highlight the importance of the decomposition result in Lemma 1.
This result could serve as an effective solution to value-based methods in MARL where tremendous efforts have been made to decompose the joint Q-function into individual Q-functions when the joint Q-function are decomposable (Rashid et al., 2018).
Lemma 1, in contrast, is a general result that holds for any cooperative MARL problems regardless of decomposibility.
As such, we think of it as an appealing contribution to future developments on value-based MARL methods.
E XPERIMENTS AND R ESULTS
We consider two most common benchmarks—StarCraftII Multi-Agent Challenge (SMAC) (Samvelyan et al., 2019) and Multi-Agent MuJoCo (de Witt et al., 2020b)—for evaluating MARL algorithms.
All hyperparameter settings and implementations details can be found in Appendix E.
StarCraftII Multi-Agent Challenge (SMAC) .
SMAC contains a set of StarCraft maps in which a team of ally units aims to defeat the opponent team.
IPPO (de Witt et al., 2020a) and MAPPO (Yu et al., 2021) are known to achieve supreme results on this benchmark.
By adopting parameter sharing, these methods achieve a winning rate of 100 % on most maps, even including the maps that have heterogeneous agents.
Therefore, we hypothesise that non-parameter sharing is not necessarily required and the trick of sharing policies is sufﬁcient to solve SMAC tasks.
We test our methods on two hard maps and one super-hard; results on Figure 2 conﬁrm that SMAC is not sufﬁciently difﬁcult to show off the capabilities of HATRPO/HAPPO when compared against existing methods.
Multi-Agent MuJoCo .
In comparison to SMAC, we believe Mujoco enviornment provides a more suitable testing case for our methods.
MuJoCo tasks challenge a robot to learn an optimal way of motion; Multi-Agent MuJoCo models each part of a robot as an independent agent, for example, a leg for a spider or an arm for a swimmer.
With the increasing variety of the body parts, modelling heterogeneous policies becomes necessary .
Figure 3 demonstrate that, in all scenarios,
HATRPO and HAPPO enjoy superior performance over those of parameter-sharing methods: IPPO and MAPPO, and also outperform non-parameter sharing MADDPG (Lowe et al., 2017b)
both in terms of reward values and variance.
It is also worth noting that the performance gap between HATRPO and its rivals enlarges with the increasing number of agents.
Meanwhile, we can observe that
HATRPO outperforms HAPPO in almost all tasks; we believe it is because the hard KL constraint
[Figure]
p i s o d
[Figure]
R
[Figure]
w a r
[Figure]
i
[Figure]
A v e r a g e E p
i s o d e R e w a r d
[Figure]
(i
[Figure]
(j) 17x1-Agent
[Figure]
in HATRPO, compared to the clipping version in HAPPO, relates more closely to Algorithm 1 that attains monotonic improvement guarantee.
C ONCLUSION
In this paper, we successfully apply trust region learning to multi-agent settings by proposing the ﬁrst
MARL algorithm that attains theoretically-justiﬁed monotonical improvement property.
The key to our development is the multi-agent advantage decomposition lemma that holds in general with no need for any assumptions on agents sharing parameters or the joint value function being decomposable.
Based on this, we introduced two practical deep MARL algorithms: HATRPO and HAPPO.
Experimental results on both discrete and continuous control tasks ( i.e. , SMAC and Multi-Agent
Mujoco) conﬁrm their state-of-the-art performance.
For future work, we will consider incorporating the safety constraint into HATRPO/HAPPO and propose rigorous safety-aware MARL solutions.
Appendices A Preliminaries
A.1 Deﬁnitions and Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Proofs of Preliminary Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B Proof
of
Proposition
C Derivation and Analysis of Algorithm
C.1 Recap of Existing Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2 Analysis of Training of Algorithm 1 . . . . . . . . . . . . . . . . . . . . . . . . .
C.3 Analysis of Convergence of Algorithm 1 . . . . . . . . . . . . . . . . . . . . . . .
D HATRPO and HAPPO
D.1 Proof of Proposition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.2 Derivation of the gradient estimator for HATRPO . . . . . . . . . . . . . . . . . .
D.3 Pseudocode of HATRPO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4 Pseudocode of HAPPO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E Hyper-parameter Settings for Experiments
F Ablation Experiments
G Ablation Study on Non-Parameter Sharing MAPPO/IPPO
H Multi-Agent Particle Environment Experiments
A P RELIMINARIES A. D EFINITIONS AND A SSUMPTIONS
Assumption 1.
There exists η ∈ R , such that 0 < η (cid:28) 1 , and for every agent i ∈ N , the policy space
Π i is η -soft; that means that for every π i ∈ Π i , s ∈ S , and
a i ∈
A i , we have π i ( a i | s ) ≥ η .
Deﬁnition 3.
In a fully-cooperative game, a joint policy π ∗ =
( π 1 ∗ , . . .
, π n ∗ ) is a Nash equilibrium (NE) if for every i ∈ N , π i ∈ Π i implies J ( π ∗ ) ≥ J (cid:0) π i , π − i ∗ (cid:1) .
Deﬁnition 4.
Let X be a ﬁnite set and p : X → R , q : X → R be two maps.
Then, the notion of distance between p and q that we adopt is given by ||
p − q || (cid:44) max x ∈ X | p ( x ) − q ( x ) | .
A. P ROOFS OF P RELIMINARY R ESULTS
Lemma 3.
Every agent i ’s policy space
Π i is convex and compact under the maximum norm.
Proof.
We start from proving convexity od the policy space: we prove that, for any two policies π i ,
¯ π i ∈ Π i , for every α ∈ [0 , 1] , απ i + (1 − α
[Equation]
¯ π i ∈ Π i .
Clearly, for all s ∈ S and a i ∈
A i , we have
[Equation]
Also, for every state s ,
[Equation]
i | s )
=
α + 1 − α = 1 , which establishes convexity.
For compactness, we ﬁrst prove that Π i is closed.
Let (cid:0) π ik (cid:1) ∞ k =0 be a convergent sequence of policies of agent i .
Let π i be the limit.
We will prove that π i is a policy.
First, by Assumption 1, for any k ∈ N , s ∈ S , and a i ∈ A i , we have π ik (cid:0) a i | s (cid:1) ≥ η .
Hence,
[Equation]
Furtheremore, for any k and s , we have (cid:80) a i π ik (cid:0) a i | s (cid:1)
= 1 .
Hence
[Equation]
With these two conditions satisﬁed, π i is a policy, which proves the closure.
Further, for all policies π i , states s and actions a , | π i ( a i | s ) | ≤ 1 .
This means that
||
π
i || max ≤ 1 , which proves boundedness.
Hence, Π i is compact.
Lemma 4 (Continuity of ρ π ) .
The improper state distribution ρ π is continuous in π .
Proof.
First, let us show that for any t ∈ N , the distribution ρ tπ is continous in π .
We will do it by induction.
This obviously holds when t = 0 , as ρ 0 does not depend on policy.
Hence, we can assume that for some t ∈ N , the distribution ρ tπ is continuous in π .
Let us now consider two policies π and ˆ π .
Let s (cid:48) ∈ S .
We have
[Equation]
[Table]
[Equation]
Hence
[Equation]
we obtain
[Equation]
Using the base case
[Equation]
taking the limit as ¯ π → π
[Equation]
we get that the right-hand-side of Equation (12) converges to 0 , which proves that every ρ t +1 π is continuous in π , and ﬁnishes the inductive step.
We can now prove that the total marginal state distribution ρ π is continous in π .
To do that, let’s take an arbitrary (cid:15) > 0 , and a natural T such that T > log [
[Equation]
1 −
[Equation]
] log
[Equation]
Equivalently, we choose T such that 2 γ T 1 − γ < (cid:15) 2 .
Let π and ˆ π be two policies.
We have
[Equation]
Now, by continuity of each of ρ tπ , for t = 0 , 1 , . .
, T − 1 , we have that there exists a δ > 0 such that || π − ˆ π || <
δ implies || ρ tπ − ρ t ˆ π || <
(cid:15) 2 T .
Taking such δ , by Equation (13), we get || ρ π − ρ ˆ π || ≤ (cid:15) , which ﬁnishes the proof.
Lemma 5 (Continuity of Q π ) .
Let π be a policy.
Then Q π ( s, a ) is Lipschitz-continuous in π .
Proof.
Let π and ˆ π be two policies.
Then we have
[Equation] [Equation]
Hence
[Equation]
we get
[Equation]
which implies
[Equation]
Equation (14) establishes Lipschitz-continuity with a constant γ Q max ·|A| 1 − γ
[Equation]
Corollary 1.
From Lemma 5 we obtain that the following functions are Lipschitz-continuous in π :
the state value function V π = (cid:80) a π ( a | s ) Q π ( s, a )
[Equation]
the advantage function A π ( s, a ) =
Q π ( s, a ) − V π ( s ) , and the expected total reward J ( π ) =
E s ∼ ρ
[ V π ( s )] .
Lemma 6.
Let π and ˆ π be policies.
The quantity E s ∼ ρ π , a ∼ ˆ π
[ A π ( s , a )] is continuous in π .
Proof.
We have
E s
[Equation]
Continuity follows from continuity of each ρ π ( s ) (Lemma 4) and A π ( s, a ) (Corollary 1).
Corollary 2 (Continuity in MARL) .
All the results about continuity in π extend to MARL.
Policy π can be replaced with joint policy π ; as π is Lipschitz-continuous in agent i ’s policy π i , the above continuity results extend to conitnuity in π i .
Thus, we will quote them in our proofs for MARL.
B P ROOF OF P ROPOSITION
Proposition 1.
Let’s consider a fully-cooperative game with an even number of agents n , one state, and the joint action space { 0 , 1 } n , where the reward is given by r ( 0 n/ 2 , 1 n/ 2 ) =
r ( 1 n/ 2 , 0 n/ 2 ) = 1 , and r ( a 1: n ) =
for all other joint actions.
Let J ∗ be the optimal joint reward, and J ∗ share be the optimal joint reward under the shared policy constraint.
Then
[Equation]
Proof.
Clearly J ∗ = 1 .
An optimal joint policy in this case is, for example, the deterministic policy with joint action ( 0 n/ 2 , 1 n/ 2 ) .
Now, let the shared policy be ( θ, 1 − θ ) , where θ determines the probability that an agent takes action 0 .
Then, the expected reward is
[Equation]
In order to maximise J ( θ ) , we must maximise θ (1 − θ ) , or equivalently, (cid:112) θ (1 − θ ) .
By the artithmetic-geometric means inequality, we have
[Equation]
where the equality holds if and only if θ = 1 − θ , that is θ = 12 .
In such case we have
[Equation]
which ﬁnishes the proof.
C D ERIVATION AND A NALYSIS OF A LGORITHMC. R ECAP OF E XISTING R ESULTS
Lemma 7 (Performance Difference) .
Let ¯ π
and π be two policies.
Then, the following identity holds,
[Equation]
Proof.
See Kakade & Langford (2002) (Lemma 6.1) or Schulman et al.
(2015a)
(Appendix A).
Theorem 1.
(Schulman et al., 2015a, Theorem 1)
Let π be the current policy and ¯ π be the next candidate policy.
We deﬁne L
[Equation] [Equation]
+
[Equation]
, a ∼ ¯ π [ A π ( s, a )] , D maxKL ( π
[Equation]
¯
[Equation]
= max s D KL ( π ( ·| s ) , ¯ π ( ·| s )) .
Then the inequality of
[Equation]
holds, where C = 4 γ max s,a | A π ( s,a ) | (1 − γ ).
Proof.
See Schulman et al.
(2015a)
(Appendix A and Equation (9) of the paper).
C. A NALYSIS OF T RAINING OF A LGORITHM
Lemma 1 (Multi-Agent Advantage Decomposition) .
In any cooperative Markov games, given a joint policy π , for any state s , and any agent subset i 1: m , the below equations holds.
[Equation]
Proof.
By the deﬁnition of multi-agent advantage function,
[Equation]
which ﬁnishes the proof.
Note that a similar ﬁnding has been shown in Kuba et al.
Lemma 8.
Let π = (cid:81) ni
=1 π i and ¯ π = (cid:81) ni
=1 ¯ π i be joint policies.
Then
[Equation]
Proof.
For any state s , we have
[Equation]
Now, taking maximum over s on both sides yields
[Equation]
as required.
Lemma 2.
Let π be a joint policy.
Then, for any joint policy ¯ π , we have
[Equation]
Proof.
By Theorem
[Equation]
which by Lemma 1 equals
[Equation]
and by Lemma 8 this is at least
[Equation]
Theorem 2.
A sequence ( π k ) ∞ k =0 of joint policies updated by Algorithm 1 has the monotonic improvement property,
i
[Equation]
e., J ( π k +1 ) ≥ J ( π k ) for all k ∈ N .
Proof.
Let π 0 be any joint policy.
For every k ≥ 0 , the joint policy π k +1 is obtained from π k by
Algorithm 1 update; for m = 1 , . . .
[Equation]
By Theorem 1, we have
[Equation]
which by Lemma 8 is lower-bounded by
[Equation]
and as for every m , π i m k +1 is the argmax, this is lower-bounded by
[Equation]
which, as mentioned in Deﬁnition 2, equals
[Equation]
where the last inequality follows from Equation (6).
This proves that Algorithm 1 achieves monotonic improvement.
C. A NALYSIS OF C ONVERGENCE OF A LGORITHM
Theorem 3.
Supposing in Algorithm 1 any permutation of agents has a ﬁxed non-zero probability to begin the update, a sequence ( π k ) ∞ k =0 of joint policies generated by the algorithm, in a cooperative Markov game, has a non-empty set of limit points, each of which is a Nash equilibrium.
Proof.
Step 1 (convergence).
Firstly, it is clear that the sequence ( J ( π k )) ∞ k =0 converges as, by
Theorem 2, it is non-decreasing and bounded above by R max 1 − γ .
Let us denote the limit by ¯ J .
For every k , we denote the tuple of agents, according to whose order the agents perform the sequential updates, by i k 1: n , and we note that (cid:0) i k 1: n (cid:1) k ∈ N is a random process.
Furthermore, we know that the sequence of policies ( π k ) is bounded, so by Bolzano-Weierstrass Theorem, it has at least one convergent subsequence.
Let ¯ π
be any limit point of the sequence (note that the set of limit points is a random set), and (cid:0) π k j (cid:1) ∞
j =0 be a subsequence converging to ¯ π (which is a random subsequence as well).
By continuity of J in π (Corollary 1), we have
[Equation]
For now, we introduce an auxiliary deﬁnition.
Deﬁnition 5 (TR-Stationarity) .
A joint policy ¯ π is trust-region-stationary (TR-stationary) if, for every agent i ,
[Equation]
where C ¯ π = 4 γ(cid:15) (1 − γ ) 2 , and (cid:15) =
max s, a | A ¯ π ( s, a ) | .
We will now establish the TR-stationarity of any limit point joint policy ¯ π (which, as stated above, is a random variable).
Let E i 0: ∞ 1: n [ · ] denote the expected value operator under the random process ( i 0: ∞ 1: n ) .
Let also (cid:15) k
= max s, a | A π k ( s, a ) | , and C k = 4 γ(cid:15) k
(1 − γ ) 2 .
We have 0 =
lim k →∞ E
i 0: ∞ 1: n [ J ( π k +1 ) − J ( π k )] ≥ lim k →∞ E i 0: ∞ 1: n [ L π k ( π k +1 )
− C k D maxKL ( π k , π k +1 )] by Theorem≥ lim k →∞ E i 0: ∞ 1: n
[Equation]
by Equation (15) and the fact that each of its summands is non-negative
Now, we consider an arbitrary limit point ¯ π from the (random) limit set, and a (random) subsequence (cid:0) π k j (cid:1) ∞ j =0 that converges to ¯ π .
We get
[Equation]
As the expectation is taken of non-negative random variables, and for every i ∈ N and k ∈ N , with some positive probability p i , we have i k j
=
i (because every permutation has non-zero probability), the above is bounded from below by
[Equation]
which, as π k j converges to ¯ π , equals to
[Equation]
, by Equation (6).
For convergence of L i π kj ( π i ) we used Deﬁnition 2 combined with Lemma 6, for convergence of C k j we used Corollary 1, and the convergence of D maxKL follows from continuity of D KL and max .
This proves that, for any limit point ¯ π of the random process ( π k ) induced by Algorithm 1, max π i (cid:2)
L
i
¯ π ( π i ) − C
¯ π D maxKL (cid:0)
¯ π i , π i (cid:1)(cid:3)
= 0 , which is equivalent with Deﬁnition 5.
Step 2 (dropping the penalty term).
Now, we have to prove that TR-stationary points are NEs of cooperative Markov games.
The main step is to prove the following statement: a TR-stationary joint policy ¯ π , for every state s ∈ S , satisﬁes
[Equation]
We will use the technique of the proof by contradiction.
Suppose that there is a state s 0 such that there exists a policy ˆ π i with
[Equation]
Let us parametrise the policies π i according to the template
[Equation]
where the values of x ij ( j = 1 , . .
, d i − 1) are such that π i ( ·| s 0 ) is a valid probability distribution.
Then we can rewrite our quantity of interest (the objective of Equation (17) as
[Equation]
which is an afﬁne function of the policy parameterisation.
It follows that its gradient (with respect to x i ) and directional derivatives are constant in the space of policies at state s 0 .
The existance of policy ˆ π i ( ·| s 0 ) , for which Inequality (18) holds, implies that the directional derivative in the direction from ¯ π i ( ·| s 0 ) to ˆ π i ( ·| s 0 ) is strictly positive.
We also have
[Equation]
state [Equation] for brevity)
[Equation]
when evaluated at π i =
¯ π i
[Equation]
which means that the KL-penalty has zero gradient at ¯ π i ( ·| s 0 ) .
Hence, when evaluated at π i ( ·| s 0 ) =
¯ π i ( ·| s 0 ) , the objective
[Equation]
has a strictly positive directional derivative in the direction of ˆ π i ( ·| s 0 ) .
Thus, there exists a policy (cid:101)
π i ( ·| s 0 ) , sufﬁciently close to ¯ π i ( ·| s 0 ) on the path joining it with ˆ π i ( ·| s 0 ) , for which
[Equation]
Let π i ∗ be a policy such that π i ∗ ( ·| s 0 )
= (cid:101)
π i ( ·| s 0 ) , and π i ∗ ( ·| s ) =
¯ π i ( ·| s ) for states s (cid:54) = s 0 .
As for these states we have
[Equation] [Equation]
, it follows that
[Equation]
which is a contradiction with TR-stationarity of ¯ π .
Hence, the claim of Equation (17) is proved.
Step 3 (optimality).
Now, for a ﬁxed joint policy ¯ π − i of other agents, ¯ π i satisﬁes
[Equation]
which is the Bellman optimality equation (Sutton & Barto, 2018).
Hence, for a ﬁxed joint policy ¯ π − i , the policy ¯ π i is optimal:
[Equation]
As agent i was chosen arbitrarily, ¯ π is a Nash equilibrium.
D HATRPO AND HAPPO D. P ROOF OF P ROPOSITION
Proposition 2.
Let π = (cid:81) nj
=1 π i j be a joint policy
[Equation]
and A π ( s , a ) be its joint advantage function.
Let ¯ π i 1: m − 1 = (cid:81) m − 1 j =1 ¯ π i j be some other joint policy of agents
i 1: m −
[Equation]
and ˆ π i m be some other policy of agent i m .
Then, for every state s ,
[Equation]
Proof.
We have
[Equation]
which, by Lemma
[Equation]
equals
[Equation]
D. D ERIVATION OF THE GRADIENT ESTIMATOR FOR HATRPO
[Equation]
Evaluated at θ i m =
θ i m k , the above expression equals
[Equation]
which ﬁnishes the derivation.
D. P SEUDOCODE OF HATRPO
do 4:
Collect a set policy π π
Compute advantage function
Draw
Set M i 1 ( s , a ) =
ˆ A s a
10: for agent i m =
i 1 , . .
, i n do 11:
Estimate the gradient of the agent’s maximisation objective
[Equation]
Use the conjugate gradient algorithm to compute the update direction
[Equation]
where ˆ H i m k is the Hessian of the average KL-divergence
[Equation]
Estimate the maximal step size allowing for meeting the KL-constraint
[Equation]
Update agent i m ’s policy by
[Equation]
where j ∈ { 0 , 1 , . . .
, L } is the smallest such j which improves the sample loss by at least κα j ˆ β
i m k
ˆ x i m k · ˆ g i m k , found by the backtracking line search.
Compute
[Equation]
15: end for 16:
Update V-value network by following formula:
[Equation]
17: end for
D. P SEUDOCODE OF HAPPO
do 4:
Collect a set of running policy π θ k
=
π 1 θ 1 k , . . .
π
nθ
Push transitions o
Sample a random minibatch of B from
Compute advantage function value
Draw
Set M i s a
=
ˆ A
10: for agent i m do 11:
Update i m with i m k
1 , the argmax of the PPO
Clip objective
[Equation]
Compute M i
[Equation]
, a
[Equation]
a
[Equation]
Unless m = n .
13: end for 14:
Update V-value network by following formula: [Equation]
15: end for
E H YPER - PARAMETER S ETTINGS FOR E XPERIMENTS
[Table] [Table]
The implementation of MADDPG is adopted from the Tianshou framework (Weng et al., 2021), all hyperparameters left unchanged at the origin best-performing status.
[Table] [Table]
[Table] [Table]
[Table]
activation ReLU episode length
F A BLATION E XPERIMENTS
In this section, we conduct ablation study to investigate the importance of two key novelties that
our
HATRPO introduced; they are heterogeneity of agents’ parameters and the randomisation of order of agents in the sequential update scheme.
We compare the performance of original HATRPO with a version that shares parameters [Figure] and with a version where the order in sequential update scheme is ﬁxed throughout training.
We run the experiments on two MAMuJoCo tasks (2-agent & 6-agent).
[Figure]
The experiments reveal that, although the modiﬁed versions of HATRPO still outperform baselines (represented by MAPPO), their deviation from the theory harms performance.
In particular, parameter sharing introduces extra variance to training, harms the monotonic improvement property (Theorem 2 assumes heterogeneity), and causes HATRPO to converge to suboptimal policies.
The suboptimality is more severe in the task with more agents, as suggested by Proposition 1.
Similarly, ﬁxed order in the sequential update scheme negatively affected the performance at convergence (especially in the task with 6 agents), as suggested by Proposition 3.
We conclude that the ﬁne performance of HATRPO relies strongly on the close connection between theory an implementation.
The connection becomes increasingly important with the growing number of agents.
G A BLATION S TUDY ON N ON -P ARAMETER S HARING MAPPO/IPPO
We verify that heterogeneous-agent trust region algorithms (represented by HATRPO) achieve superior performance to, originally homogeneous, IPPO/MAPPO algorithms with the parameter-sharing function switched off.
[Figure]
H M ULTI -A GENT P ARTICLE E NVIRONMENT E XPERIMENTS
We verify that heterogeneous-agent trust region algorithms (represented here by HAPPO) quickly solve cooperative MPE tasks.
[Figure]