Skip to main content
Entropy logoLink to Entropy
. 2021 Apr 29;23(5):551. doi: 10.3390/e23050551

Forward and Backward Bellman Equations Improve the Efficiency of the EM Algorithm for DEC-POMDP

Takehiro Tottori 1,*, Tetsuya J Kobayashi 1,2,3,4
Editor: Hector Zenil
PMCID: PMC8145255  PMID: 33947054

Abstract

Decentralized partially observable Markov decision process (DEC-POMDP) models sequential decision making problems by a team of agents. Since the planning of DEC-POMDP can be interpreted as the maximum likelihood estimation for the latent variable model, DEC-POMDP can be solved by the EM algorithm. However, in EM for DEC-POMDP, the forward–backward algorithm needs to be calculated up to the infinite horizon, which impairs the computational efficiency. In this paper, we propose the Bellman EM algorithm (BEM) and the modified Bellman EM algorithm (MBEM) by introducing the forward and backward Bellman equations into EM. BEM can be more efficient than EM because BEM calculates the forward and backward Bellman equations instead of the forward–backward algorithm up to the infinite horizon. However, BEM cannot always be more efficient than EM when the size of problems is large because BEM calculates an inverse matrix. We circumvent this shortcoming in MBEM by calculating the forward and backward Bellman equations without the inverse matrix. Our numerical experiments demonstrate that the convergence of MBEM is faster than that of EM.

Keywords: decision-making, planning, multiagent, uncertainty, decentralized partially observable Markov decision process, control as inference

1. Introduction

Markov decision process (MDP) models sequential decision making problems and has been used for planning and reinforcement learning [1,2,3,4]. MDP consists of an environment and an agent. The agent observes the state of the environment and controls it by taking actions. The planning of MDP is to find the optimal control policy maximizing the objective function, which is typically solved by the Bellman equation-based algorithms such as value iteration and policy iteration [1,2,3,4].

Decentralized partially observable MDP (DEC-POMDP) is an extension of MDP to a multiagent and partially observable setting, which models sequential decision making problems by a team of agents [5,6,7]. DEC-POMDP consists of an environment and multiple agents, and the agents cannot observe the state of the environment and the actions of the other agents completely. The agents infer the environmental state and the other agents’ actions from their observation histories and control them by taking actions. The planning of DEC-POMDP is to find not only the optimal control policy but also the optimal inference policy for each agent, which maximize the objective function [5,6,7]. Applications of DEC-POMDP include planetary exploration by a team of rovers [8], target tracking by a team of sensors [9], and information transmission by a team of devices [10]. Since the agents cannot observe the environmental state and the other agents’ actions completely, it is difficult to extend the Bellman equation-based algorithms for MDP to DEC-POMDP straightforwardly [11,12,13,14,15].

DEC-POMDP can be solved using control as inference [16,17]. Control as inference is a framework to interpret a control problem as an inference problem by introducing auxiliary variables [18,19,20,21,22]. Although control as inference has several variants, Toussaint and Storkey showed that the planning of MDP can be interpreted as the maximum likelihood estimation for a latent variable model [18]. Thus, the planning of MDP can be solved by EM algorithm, which is the typical algorithm for the maximum likelihood estimation of latent variable models [23]. Since the EM algorithm is more general than the Bellman equation-based algorithms, it can be straightforwardly extended to POMDP [24,25] and DEC-POMDP [16,17]. The computational efficiency of the EM algorithm for DEC-POMDP is comparable to that of other algorithms for DEC-POMDP [16,17,26,27,28], and the extensions to the average reward setting and to the reinforcement learning setting have been studied [29,30,31].

However, the EM algorithm for DEC-POMDP is not efficient enough to be applied to real-world problems, which often have a large number of agents or a large size of an environment. Therefore, there are several studies in which improvement of the computational efficiency of the EM algorithm for DEC-POMDP was attempted [26,27]. Because these studies achieve improvements by restricting possible interactions between agents, their applicability is limited. Therefore, it is desirable to have improvement in the efficiency for more general DEC-POMDP problems.

In order to improve the computational efficiency of EM algorithm for general DEC-POMDP problems, there are two problems that need to be resolved. The first problem is the forward–backward algorithm up to the infinite horizon. The EM algorithm for DEC-POMDP uses the forward–backward algorithm, which has also been used in EM algorithm for hidden Markov models [23]. However, in the EM algorithm for DEC-POMDP, the forward–backward algorithm needs to be calculated up to the infinite horizon, which impairs the computational efficiency [32,33]. The second problem is the Bellman equation. The EM algorithm for DEC-POMDP does not use the Bellman equation, which plays a central role in the the planning and in the reinforcement learning for MDP [1,2,3,4]. Therefore, the EM algorithm for DEC-POMDP cannot use the advanced techniques based on the Bellman equation, which makes it possible to solve large-size problems [34,35,36].

In some previous studies, resolution of these problems was attempted by replacing the forward–backward algorithm up to the infinite horizon with the Bellman equation [32,33]. However, in these studies, the computational efficiency could not be improved completely. For example, Song et al. replaced the forward–backward algorithm with the Bellman equation and showed that their algorithm is more efficient than EM and other DEC-POMDP algorithms by the numerical experiments [32]. However, since a parameter dependency is overlooked in [32], their algorithm may not find the optimal policy under a general situation (see Appendix D for more details). Moreover, Kumar et al. showed that the forward–backward algorithm can be replaced by linear programming with the Bellman equation as a constraint [33]. However, their algorithm may be less efficient than the EM algorithm when the size of problems is large. Therefore, previous studies have not yet completely improved the computational efficiency of EM algorithm for DEC-POMDP.

In this paper, we propose more efficient algorithms for DEC-POMDP than EM algorithm by introducing the forward and backward Bellman equations into it. The backward Bellman equation corresponds to the traditional Bellman equation, which has been used in previous studies [32,33]. In contrast, the forward Bellman equation has not yet been used for the planning of DEC-POMDP explicitly. This equation is similar to that recently proposed in the offline reinforcement learning of MDP [37,38,39]. In the offline reinforcement learning of MDP, the forward Bellman equation is used to correct the difference between the data sampling policy and the policy to be evaluated. In the planning of DEC-POMDP, the forward Bellman equation plays the important role in inferring the environmental state.

We propose the Bellman EM algorithm (BEM) and the modified Bellman EM algorithm (MBEM) by replacing the forward–backward algorithm with the forward and backward Bellman equations. They are different in terms of how to solve the forward and backward Bellman equations. BEM solves the forward and backward Bellman equations by calculating an inverse matrix. BEM can be more efficient than EM because BEM does not calculate the forward–backward algorithm up to the infinite horizon. However, since BEM calculates the inverse matrix, it cannot always be more efficient than EM when the size of problems is large, which is the same problem as [33]. Actually, BEM is essentially the same as [33]. In the linear programming problem of [33], the number of variables is equal to that of constraints, which enables us to solve it only from the constraints without the optimization. Therefore, the algorithm in [33] becomes equivalent to BEM, and they suffers from the same problem as BEM.

This problem is addressed by MBEM. MBEM solves the forward and backward Bellman equations by applying the forward and backward Bellman operators to the arbitrary initial functions infinite times. Although MBEM needs to calculate the forward and backward Bellman operators infinite times, which is the same problem with EM, MBEM can evaluate approximation errors more tightly owing to the contractibility of these operators. It can also utilize the information of the previous iteration owing to the arbitrariness of the initial functions. These properties enable MBEM to be more efficient than EM. Moreover, MBEM resolves the drawback of BEM because MBEM does not calculate the inverse matrix. Therefore, MBEM can be more efficient than EM even when the size of problems is large. Our numerical experiments demonstrate that the convergence of MBEM is faster than that of EM regardless of the size of problems.

The paper is organized as follows: In Section 2, DEC-POMDP is formulated. In Section 3, the EM algorithm for DEC-POMDP, which was proposed in [16], is briefly reviewed. In Section 4, the forward and backward Bellman equations are derived, and the Bellman EM algorithm (BEM) is proposed. In Section 5, the forward and backward Bellman operators are defined, and the modified Bellman EM algorithm (MBEM) is proposed. In Section 6, EM, BEM, and MBEM are summarized and compared. In Section 7, the performances of EM, BEM, and MBEM are compared through the numerical experiment. In Section 8, this paper is concluded, and future works are discussed.

2. DEC-POMDP

DEC-POMDP consists of an environment and N agents (Figure 1 and Figure 2a) [7,16]. xtX is the state of the environment at time t. ytiYi, ztiZi, and atiAi are the observation, the memory, and the action available to the agent i{1,,N}, respectively. X, Yi, Zi, and Ai are finite sets. yt:=(yt1,..,ytN), zt:=(zt1,..,ztN), and at:=(at1,..,atN) are the joint observation, the joint memory, and the joint action of the N agents, respectively.

Figure 1.

Figure 1

Schematic diagram of DEC-POMDP. DEC-POMDP consists of an environment and N agents (N=2 in this figure). xt is the state of the environment at time t. yti, zti, and ati are the observation, the memory, and the action available to the agent i{1,,N}, respectively. The agents update their memories based on their observations, and take their actions based on their memories to control the environmental state. The planning of DEC-POMDP is to find their optimal memory updates and action selections that maximize the objective function.

Figure 2.

Figure 2

Dynamic Bayesian networks of DEC-POMDP (a) and the latent variable model for the time horizon T{0,1,2,} (b). xt is the state of the environment at time t. yti, zti, and ati are the observation, the memory, and the action available to the agent i{1,,N}, respectively. (a) rtR is the reward, which is generated at each time. (b) o{0,1} is the optimal variable, which is generated only at the time horizon T.

The time evolution of the environmental state xt is given by the initial state probability p(x0) and the state transition probability p(xt+1|xt,at). Thus, agents can control the environmental state xt+1 by taking appropriate actions at. The agent i cannot observe the environmental state xt and the joint action at1 completely, and obtains the observation yti instead of them. Thus, the observation yt obeys the observation probability p(yt|xt,at1). The agent i updates its memory from zt1i to zti based on the observation yti. Thus, the memory zti obeys the initial memory probability νi(z0i) and the memory transition probability λi(zti|zt1i,yti). The agent i takes the action ati based on the memory zti by following the action probability πi(ati|zti). The reward function r(xt,at) defines the amount of reward that is obtained at each step depending on the state of the environment xt and the joint action at taken by the agents.

The objective function in the planning of DEC-POMDP is given by the expected return, which is the expected discounted cumulative reward:

J(θ)=Eθt=0γtr(xt,at). (1)

θ:=(π,λ,ν) is the policy, where π:=(π1,,πN), λ:=(λ1,,λN), and ν:=(ν1,,νN). γ(0,1) is the discount factor, which decreases the weight of the future reward. The closer γ is to 1, the closer the weight of the future reward is to that of the current reward.

The planning of DEC-POMDP is to find the policy θ that maximizes the expected return J(θ) as follows:

θ:=argmaxθJ(θ). (2)

In other words, the planning of DEC-POMDP is to find how to take the action and how to update the memory for each agent to maximize the expected return.

3. EM Algorithm for DEC-POMDP

In this section, we explain the EM algorithm for DEC-POMDP, which was proposed in [16].

3.1. Control as Inference

In this subsection, we show that the planning of DEC-POMDP can be interpreted as the maximum likelihood estimation for a latent variable model (Figure 2b).

We introduce two auxiliary random variables: the time horizon T{0,1,2,} and the optimal variable o{0,1}. These variables obey the following probabilities:

p(T)=(1γ)γT, (3)
p(o=1|xT,aT)=r¯(xT,aT):=r(xT,aT)rminrmaxrmin (4)

where rmax and rmin are the maximum and the minimum value of the reward function r(x,a), respectively. Thus, r¯(x,a)[0,1] is satisfied.

By introducing these variables, DEC-POMDP changes from Figure 2a to Figure 2b. While Figure 2a considers the infinite time horizon, Figure 2b considers the finite time horizon T, which obeys Equation (3). Moreover, while the reward rt:=r(xt,at) is generated at each time in Figure 2a, the optimal variable o is generated only at the time horizon T in Figure 2b.

Theorem 1

([16]). The expected return J(θ) in DEC-POMDP (Figure 2a) is linearly related to the likelihood p(o=1;θ) in the latent variable model (Figure 2b) as follows:

J(θ)=(1γ)1(rmaxrmin)p(o=1;θ)+rmin. (5)

Note that o is the observable variable, and x0:T, y1:T, z0:T, a0:T, T are the latent variables.

Proof. 

See Appendix A.1. □

Therefore, the planning of DEC-POMDP is equivalent to the maximum likelihood estimation for the latent variable model as follows:

θ=argmaxθp(o=1;θ). (6)

Intuitively, while the planning of DEC-POMDP is to find the policy which maximizes the reward, the maximum likelihood estimation for the latent variable model is to find the policy which maximizes the probability of the optimal variable. Since the probability of the optimal variable is proportional to the reward, the planning of DEC-POMDP is equivalent to the maximum likelihood estimation for the latent variable model.

3.2. EM Algorithm

Since the planning of DEC-POMDP can be interpreted as the maximum likelihood estimation for the latent variable model, it can be solved by the EM algorithm [16]. EM algorithm is the typical algorithm for the maximum likelihood estimation of latent variable models, which iterates two steps, E step and M step [23].

In the E step, we calculate the Q function, which is defined as follows:

Q(θ;θk):=Eθklogp(o=1,x0:T,y0:T,z0:T,a0:T,T;θ)o=1 (7)

where θk is the current estimator of the optimal policy.

In the M step, we update θk to θk+1 by maximizing the Q function as follows:

θk+1:=argmaxθQ(θ;θk). (8)

Since each iteration between the E step and the M step monotonically increases the likelihood p(o=1;θk), we can find θ that locally maximizes the likelihood p(o=1;θ).

3.3. M Step

Proposition 1

([16]). In the EM algorithm for DEC-POMDP, Equation (8) can be calculated as follows:

πk+1i(a|z)=ai,ziπk(a|z)x,x,zp(x,z|x,z,a;λk)F(x,z;θk)r¯(x,a)+γV(x,z;θk)a,zπk(a|z)x,x,zp(x,z|x,z,a;λk)F(x,z;θk)r¯(x,a)+γV(x,z;θk), (9)
λk+1i(z|z,y)=zi,zi,yiλk(zi|zi,yi)x,xp(x,y|x,z;πk)F(x,z;θk)V(x,z;θk)z,z,yλk(zi|zi,yi)x,xp(x,y|x,z;πk)F(x,z;θk)V(x,z;θk), (10)
νk+1i(z)=ziνk(z)xp0(x)V(x,z;θk)zνk(z)xp0(x)V(x,z;θk). (11)

ai:=(a1,,ai1,ai+1,,aN). yi and zi are defined in the same way. F(x,z;θ) and V(x,z;θ) are defined as follows:

F(x,z;θ):=t=0γtpt(x,z;θ), (12)
V(x,z;θ):=t=0γtp0(o=1|x,z,T=t;θ) (13)

where pt(x,z;θ):=p(xt=x,zt=z;θ), and p0(o=1|x,z,T;θ):=p(o=1|x0=x,z0=z,T;θ).

Proof. 

See Appendix A.2. □

F(x,z;θ) quantifies the frequency of the state x and the memory z, which is called the frequency function in this paper. V(x,z;θ) quantifies the probability of o=1 when the initial state and memory are x and z, respectively. Since the probability of o=1 is proportional to the reward, V(x,z;θ) is called the value function in this paper. Actually, V(x,z;θ) corresponds to the value function [33].

3.4. E Step

F(x,z;θk) and V(x,z;θk) need to be obtained to calculate Equations (9)–(11). In [16], F(x,z;θk) and V(x,z;θk) are calculated by the forward–backward algorithm, which has been used in EM algorithm for the hidden Markov model [23].

In [16], the forward probability αt(x,z) and the backward probability βt(x,z) are defined as follows:

αt(x,z;θk):=pt(x,z;θk), (14)
βt(x,z;θk):=p0(o=1|x,z,T=t;θk). (15)

It is easy to calculate α0(x,z;θk) and β0(x,z;θk) as follows:

α0(x,z;θk)=p0(x,z;νk):=p0(x)νk(z), (16)
β0(x,z;θk)=r¯(x,z;πk):=aπk(a|z)r¯(x,a). (17)

Moreover, αt+1(x,z;θk) and βt+1(x,z;θk) are easily calculated from αt(x,z;θk) and βt(x,z;θk):

αt+1(x,z;θk)=x,zp(x,z|x,z;θk)αt(x,z;θk), (18)
βt+1(x,z;θk)=x,zβt(x,z;θk)p(x,z|x,z;θk) (19)

where

p(x,z|x,z;θk)=y,aλk(z|z,y)p(y|x,a)p(x|x,a)πk(a|z). (20)

Equations (18) and (19) are called the forward and backward equations, respectively. Using Equations (16)–(19), αt(x,z;θk) and βt(x,z;θk) can be efficiently calculated from t=0 to t=, which is called the forward–backward algorithm [23].

By calculating the forward–backward algorithm from t=0 to t=, F(x,z;θk) and V(x,z;θk) can be obtained as follows [16]:

F(x,z;θk)=t=0γtαt(x,z;θk), (21)
V(x,z;θk)=t=0γtβt(x,z;θk). (22)

However, F(x,z;θk) and V(x,z;θk) cannot be calculated exactly by this approach because it is practically impossible to calculate the forward–backward algorithm until t=. Therefore, the forward–backward algorithm needs to be terminated at t=Tmax, where Tmax is finite. In this case, F(x,z;θk) and V(x,z;θk) are approximated as follows:

F(x,z;θk)=t=0γtαt(x,z;θk)t=0Tmaxγtαt(x,z;θk), (23)
V(x,z;θk)=t=0γtβt(x,z;θk)t=0Tmaxγtβt(x,z;θk). (24)

Tmax needs to be large enough to reduce the approximation errors. In the previous study, a heuristic termination condition was proposed as follows [16]:

γTmaxp(o=1|Tmax;θk)T=0Tmax1γTp(o=1|T;θk). (25)

p(o=1|T;θk)=x,zαT(x,z;θk)βT(x,z;θk) where T=T+T. However, the relation between Tmax and the approximation errors is unclear in Equation (25). We propose a new termination condition to guarantee the approximation errors as follows:

Proposition 2.

We set an acceptable error bound ε>0. If

Tmax>log(1γ)εlogγ1 (26)

is satisfied, then

F(x,z;θk)t=0Tmaxγtαt(x,z;θk)<ε, (27)
V(x,z;θk)t=0Tmaxγtβt(x,z;θk)<ε (28)

are satisfied.

Proof. 

See Appendix A.3. □

3.5. Summary

In summary, the EM algorithm for DEC-POMDP is given by Algorithm 1. In the E step, we calculate αt(x,z;θk) and βt(x,z;θk) from t=0 to t=Tmax by the forward–backward algorithm. In M step, we update θk to θk+1 using Equations (9)–(11). The time complexities of the E step and the M step are O((|X||Z|)2Tmax) and O((|X||Z|)2|Y||A|), respectively. Note that A:=i=1NAi, and Y and Z are defined in the same way. The EM algorithm for DEC-POMDP is less efficient when the discount factor γ is closer to 1 or the acceptable error bound ε is smaller because Tmax needs to be larger in these cases.

Algorithm 1 EM algorithm for DEC-POMDP
  • k0, Initialize θk.

  • Tmax(log(1γ)ε)/logγ1

  • while θk or J(θk) do not converge do

  •    Calculate p(x,z|x,z;θk) by Equation (20).

  •    //—E step—//

  •     α0(x,z;θk)p0(x,z;νk)

  •     β0(x,z;θk)r¯(x,z;πk)

  •    for  t=1,2,,Tmax  do

  •        αt(x,z;θk)x,zp(x,z|x,z;θk)αt1(x,z;θk)

  •        βt(x,z;θk)x,zβt1(x,z;θk)p(x,z|x,z;θk)

  •    end for

  •     F(x,z;θk)t=0Tmaxγtαt(x,z;θk)

  •     V(x,z;θk)t=0Tmaxγtβt(x,z;θk)

  •    //—M step—//

  •    Update θk to θk+1 by Equations (9)–(11).

  •     kk+1

  • end while

  • return  θk

4. Bellman EM Algorithm

In the EM algorithm for DEC-POMDP, αt(x,z;θk) and βt(x,z;θk) are calculated from t=0 to t=Tmax to obtain F(x,z;θk) and V(x,z;θk). However, Tmax needs to be large to reduce the approximation errors of F(x,z;θk) and V(x,z;θk), which impairs the computational efficiency of the EM algorithm for DEC-POMDP [32,33]. In this section, we calculate F(x,z;θk) and V(x,z;θk) directly without calculating αt(x,z;θk) and βt(x,z;θk) to resolve the drawback of EM.

4.1. Forward and Backward Bellman Equations

The following equations are useful to obtain F(x,z;θk) and V(x,z;θk) directly:

Theorem 2.

F(x,z;θ) and V(x,z;θ) satisfy the following equations:

F(x,z;θ)=p0(x,z;ν)+γx,zp(x,z|x,z;θ)F(x,z;θ), (29)
V(x,z;θ)=r¯(x,z;π)+γx,zp(x,z|x,z;θ)V(x,z;θ). (30)

Equations (29) and (30) are called the forward Bellman equation and the backward Bellman equation, respectively.

Proof. 

See Appendix B.1. □

Note that the direction of time is different between Equations (29) and (30). In Equation (29), x and z are earlier state and memory than x and z, respectively. In Equation (30), x and z are later state and memory than x and z, respectively.

The backward Bellman Equation (30) corresponds to the traditional Bellman equation, which has been used in other algorithms for DEC-POMDP [11,12,13,14]. In contrast, the forward Bellman equation, which is introduced in this paper, is similar to that recently proposed in the offline reinforcement learning [37,38,39].

Since the forward and backward Bellman equations are linear equations, they can be solved exactly as follows:

F(θ)=(IγP(θ))1p(ν), (31)
V(θ)=((IγP(θ))1)Tr(π) (32)

where

Fi(θ):=F((x,z)=i;θ),Vi(θ):=V((x,z)=i;θ)Pij(θ):=p((x,z)=i|(x,z)=j;θ)pi(ν):=p0((x,z)=i;ν),ri(π):=r¯((x,z)=i;π)

Therefore, we can obtain F(x,z;θk) and V(x,z;θk) from the forward and backward Bellman equations.

4.2. Bellman EM Algorithm (BEM)

The forward–backward algorithm from t=0 to t=Tmax in the EM algorithm for DEC-POMDP can be replaced by the forward and backward Bellman equations. In this paper, the EM algorithm for DEC-POMDP that uses the forward and backward Bellman equations instead of the forward–backward algorithm from t=0 to t=Tmax is called the Bellman EM algorithm (BEM).

4.3. Comparison of EM and BEM

BEM is summarized as Algorithm 2. The M step in Algorithm 2 is almost the same as that in Algorithm 1—only the E step is different. While the time complexity of the E step in EM is O((|X||Z|)2Tmax), that in BEM is O((|X||Z|)3).

Algorithm 2 Bellman EM algorithm (BEM)
  • k0, Initialize θk.

  • while θk or J(θk) do not converge do

  •    Calculate p(x,z|x,z;θk) by Equation (20).

  •    //—E step—//

  •     F(θk)(IγP(θk))1p(νk)

  •     V(θk)((IγP(θk))1)Tr(πk)

  •    //—M step—//

  •    Update θk to θk+1 by Equations (9)–(11).

  •     kk+1

  • end while

  • return  θk

BEM can calculate F(x,z;θk) and V(x,z;θk) exactly. Moreover, BEM can be more efficient than EM when the discount factor γ is close to 1 or the acceptable error bound ε is small because Tmax needs to be large enough in these cases. However, when the size of the state space |X| or that of the joint memory space |Z| is large, BEM cannot always be more efficient than EM because BEM needs to calculate the inverse matrix (IγP(θk))1. To circumvent this shortcoming, we propose a new algorithm, the modified Bellman EM algorithm (MBEM), to obtain F(x,z;θk) and V(x,z;θk) without calculating the inverse matrix.

5. Modified Bellman EM Algorithm

5.1. Forward and Backward Bellman Operators

We define the forward and backward Bellman operators as follows:

Aθf(x,z):=p0(x,z;ν)+γx,zp(x,z|x,z;θ)f(x,z), (33)
Bθv(x,z):=r¯(x,z;π)+γx,zp(x,z|x,z;θ)v(x,z) (34)

where f,v:X×ZR. From the forward and backward Bellman equations, Aθ and Bθ satisfy the following equations:

F(x,z;θ)=AθF(x,z;θ), (35)
V(x,z;θ)=BθV(x,z;θ). (36)

Thus, F(x,z;θk) and V(x,z;θk) are the fixed points of Aθ and Bθ, respectively. Aθ and Bθ have the following useful property:

Proposition 3.

Aθ and Bθ are contractive operators as follows:

AθfAθg1γfg1, (37)
BθuBθvγuv (38)

where f,g,u,v:X×ZR.

Proof. 

See Appendix C.1. □

Note that the norm is different between Equations (37) and (38). It is caused by the difference of the time direction between Aθ and Bθ. While x and z are earlier state and memory than x and z, respectively, in the forward Bellman operator Aθ, x and z are later state and memory than x and z, respectively, in the backward Bellman operator Bθ.

We obtain F(x,z;θk) and V(x,z;θk) using Equations (35)–(38), as follows:

Proposition 4.

limLAθLf(x,z)=F(x,z;θ), (39)
limLBθLv(x,z)=V(x,z;θ) (40)

where f,v:X×ZR.

Proof. 

See Appendix C.2. □

Therefore, it is shown that F(x,z;θk) and V(x,z;θk) can be calculated by applying the forward and backward Bellman operators, Aθ and Bθ, to arbitrary initial functions, f(x,z) and v(x,z), infinite times.

5.2. Modified Bellman EM Algorithm (MBEM)

The calculation of the forward and backward Bellman equations in BEM can be replaced by that of the forward and backward Bellman operators. In this paper, BEM that uses the forward and backward Bellman operators instead of the forward and backward Bellman equations is called modified Bellman EM algorithm (MBEM).

5.3. Comparison of EM, BEM, and MBEM

Since MBEM does not need the inverse matrix, MBEM can be more efficient than BEM when the size of the state space |X| and that of the joint memory space |Z| are large. Thus, MBEM resolves the drawback of BEM.

On the other hand, MBEM has the same problem as EM. MBEM calculates Aθk and Bθk infinite times to obtain F(x,z;θk) and V(x,z;θk). However, since it is practically impossible to calculate Aθk and Bθk infinite times, the calculation of Aθk and Bθk needs to be terminated after Lmax times, where Lmax is finite. In this case, F(x,z;θk) and V(x,z;θk) are approximated as follows:

F(x,z;θk)=Aθkf(x,z)AθkLmaxf(x,z), (41)
V(x,z;θk)=Bθkv(x,z)BθkLmaxv(x,z). (42)

Lmax needs to be large enough to reduce the approximation errors of F(x,z;θk) and V(x,z;θk), which impairs the computational efficiency of MBEM. Thus, MBEM can potentially suffer from the same problem as EM. However, we can theoretically show that MBEM is more efficient than EM by comparing Tmax and Lmax under the condition that the approximation errors of F(x,z;θk) and V(x,z;θk) are smaller than the acceptable error bound ε.

When f(x,z)=p0(x,z;νk) and v(x,z)=r¯(x,z;πk), Equations (41) and (42) can be calculated as follows:

AθkLmaxf(x,z)=t=0Lmaxγtpt(x,z;θ), (43)
BθkLmaxv(x,z)=t=0Lmaxγtp0(o=1|x,z,T=t;θ) (44)

which are the same with Equations (23) and (24), respectively. Thus, in this case, Lmax=Tmax, and the computational efficiency of MBEM is the same as that of EM. However, MBEM has two useful properties that EM does not have, and therefore, MBEM can be more efficient than EM. In the following, we explain these properties in more detail.

The first property of MBEM is the contractibility of the forward and backward Bellman operators, Aθk and Bθk. From the contractibility of the Bellman operators, Lmax is determined adaptively as follows:

Proposition 5.

We set an acceptable error bound ε>0. If

AθkLfAθkL1f1<1γγε, (45)
BθkLvBθkL1v<1γγε (46)

are satisfied, then

F(x,z;θk)AθkLf(x,z;θk)<ε, (47)
V(x,z;θk)BθkLv(x,z;θk)<ε (48)

are satisfied.

Proof. 

See Appendix C.3. □

Tmax is always constant for every E step, Tmax=(log(1γ)ε)/logγ1. Thus, even if the approximation errors of F(x,z;θk) and V(x,z;θk) are smaller than ε when tTmax, the forward–backward algorithm cannot be terminated until t=Tmax because the approximation errors of F(x,z;θk) and V(x,z;θk) cannot be evaluated in the forward–backward algorithm.

Lmax is adaptively determined depending on AθkLf(x,z) and BθkLv(x,z). Thus, if AθkLf(x,z) and BθkLv(x,z) are close enough to F(x,z;θk) and V(x,z;θk), the E step of MBEM can be terminated because the approximation errors of F(x,z;θk) and V(x,z;θk) can be evaluated owing to the contractibility of the forward and backward Bellman operators.

Indeed, when f(x,z)=p0(x,z;νk) and v(x,z)=r¯(x,z;πk), MBEM is more efficient than EM as follows:

Proposition 6.

When f(x,z)=p0(x,z;νk) and v(x,z)=r¯(x,z;πk), LmaxTmax is satisfied.

Proof. 

See Appendix C.4. □

The second property of MBEM is the arbitrariness of the initial functions, f(x,z) and v(x,z). In MBEM, the initial functions, f(x,z) and v(x,z), converge to the fixed points, F(x,z;θk) and V(x,z;θk), by applying the forward and backward Bellman operators, Aθk and Bθk, Lmax times. Therefore, if the initial functions, f(x,z) and v(x,z), are close to the fixed points, F(x,z;θk) and V(x,z;θk), Lmax can be reduced. Then, the problem is what kind of the initial functions are close to the fixed points.

We suggest that F(x,z;θk1) and V(x,z;θk1) are set as the initial functions, f(x,z) and v(x,z). In most cases, θk1 is close to θk. When θk1 is close to θk, it is expected that F(x,z;θk1) and V(x,z;θk1) are close to F(x,z;θk) and V(x,z;θk). Therefore, by setting F(x,z;θk1) and V(x,z;θk1) as the initial functions f(x,z) and v(x,z), respectively, Lmax is expected to be reduced. Hence, MBEM can be more efficient than EM because MBEM can utilize the results of the previous iteration, F(x,z;θk1) and V(x,z;θk1), by this arbitrariness of the initial functions.

However, it is unclear how small Lmax can be compared to Tmax by setting F(x,z;θk1) and V(x,z;θk1) as the initial functions f(x,z) and v(x,z). Therefore, numerical evaluations are needed. Moreover, in the first iteration, we cannot use the results of the previous iteration, F(x,z;θk1) and V(x,z;θk1). Therefore, in the first iteration, we set f(x,z)=p0(x,z;νk) and v(x,z)=r¯(x,z;πk) because these initial functions guarantee LmaxTmax from Proposition 6.

MBEM is summarized as Algorithm 3. The M step of Algorithm 3 is exactly the same as that of Algorithms 1 and 2, and only the E step is different. The time complexity of the E step in MBEM is O((|X||Z|)2Lmax). MBEM does not use the inverse matrix, which resolves the drawback of BEM. Moreover, MBEM can reduce Lmax by the contractibility of the Bellman operators and the arbitrariness of the initial functions, which can resolve the drawback of EM.

Algorithm 3 Modified Bellman EM algorithm (MBEM)
  • k0, Initialize θk.

  • F(x,z;θk1)p0(x,z;νk)

  • V(x,z;θk1)r¯(x,z;πk)

  • while θk or J(θk) do not converge do

  •    Calculate p(x,z|x,z;θk) by Equation (20).

  •    //—E step—//

  •     F0(x,z)F(x,z;θk1)

  •     V0(x,z)F(x,z;θk1)

  •     L0

  •    repeat

  •        FL+1(x,z)AθkFL(x,z)

  •        VL+1(x,z)BθkVL(x,z)

  •        LL+1

  •    until max{FLFL11,VLVL1}<1γγε

  •    //—M step—//

  •    Update θk to θk+1 by Equations (9)–(11).

  •     kk+1

  • end while

  • return  θk

6. Summary of EM, BEM, and MBEM

EM, BEM, and MBEM are summarized as in Table 1. The M step is exactly the same among these algorithms, and only the E step is different:

  • EM obtains F(x,z;θk) and V(x,z;θk) by calculating the forward–backward algorithm up to Tmax. Tmax needs to be large enough to reduce the approximation errors of F(x,z;θk) and V(x,z;θk), which impairs the computational efficiency.

  • BEM obtains F(x,z;θk) and V(x,z;θk) by solving the forward and backward Bellman equations. BEM can be more efficient than EM because BEM calculates the forward and backward Bellman equations instead of the forward–backward algorithm up to Tmax. However, BEM cannot always be more efficient than EM when the size of the state |X| or that of the memory |Z| is large because BEM calculates an inverse matrix to solve the forward and backward Bellman equations.

  • MBEM obtains F(x,z;θk) and V(x,z;θk) by applying the forward and backward Bellman operators, Aθk and Bθk, to the initial functions, f(x,z) and v(x,z), Lmax times. Since MBEM does not need to calculate the inverse matrix, MBEM may be more efficient than EM even when the size of problems is large, which resolves the drawback of BEM. Although Lmax needs to be large enough to reduce the approximation errors of F(x,z;θk) and V(x,z;θk), which is the same problem as EM, MBEM can evaluate the approximation errors more tightly owing to the contractibility of Aθk and Bθk, and can utilize the results of the previous iteration, F(x,z;θk1) and V(x,z;θk1), as the initial functions, f(x,z) and v(x,z). These properties enable MBEM to be more efficient than EM.

Table 1.

Summary of EM, BEM, and MBEM.

EM Bellman EM (BEM) Modified Bellman EM (MBEM)
E step forward–backward algorithm
F(x,z;θk)t=0Tmaxγtαt(x,z;θk)
V(x,z;θk)t=0Tmaxγtβt(x,z;θk)
O((|X||Z|)2Tmax)
forward and backward Bellman equations
F(θk)=(IγP(θk))1p(νk)
V(θk)=((IγP(θk))1)Tr(πk)
O((|X||Z|)3)
forward and backward Bellman operators
F(x,z;θk)AθkLmaxf(x,z)
V(x,z;θk)BθkLmaxv(x,z)
O((|X||Z|)2Lmax)
M step Equations (9)–(11)
O((|X||Z|)2|Y||A|)
Equations (9)–(11)
O((|X||Z|)2|Y||A|)
Equations (9)–(11)
O((|X||Z|)2|Y||A|)

7. Numerical Experiment

In this section, we compare the performance of EM, BEM, and MBEM using numerical experiments of four benchmarks for DEC-POMDP: broadcast [40], recycling robot [15], wireless network [27], and box pushing [41]. Detailed settings such as the state transition probability, the observation probability, and the reward function are described at http://masplan.org/problem_domains, accessed on 22 June 2020. We implement EM, BEM, and MBEM in C++.

Figure 3 shows the experimental results. In all the experiments, we set the number of agent N=2, the discount factor γ=0.99, the upper bound of the approximation error ε=0.1, and the size of the memory available to the ith agent |Zi|=2. The size of the state |X|, the action |Ai|, and the observation |Yi| are different for each problem, which are shown on each panel. We note that the size of the state |X| is small in the broadcast (a,e,i) and the recycling robot (b,f,j), whereas it is large in the wireless network (c,g,k) and the box pushing (d,h,l).

Figure 3.

Figure 3

Experimental results of four benchmarks for DEC-POMDP: (a,e,i) broadcast; (b,f,j) recycling robot; (c,g,k) wireless network; (d,h,l) box pushing. (ad) The expected return J(θk) as a function of the computational time. (eh) The expected return J(θk) as a function of the iteration k. (il) Tmax and Lmax as functions of the iteration k. In all the experiments, we set the number of agent N=2, the discount factor γ=0.99, the upper bound of the approximation error ε=0.1, and the size of the memory available to the ith agent |Zi|=2. The size of the state |X|, the action |Ai|, and the observation |Yi| are different for each problem, which are shown on each panel.

While the expected return J(θk) with respect to the computational time is different between the algorithms (a–d), that with respect to the iteration k is almost the same (e–h). This is because the M step of these algorithms is exactly the same. Therefore, the difference of the computational time is caused by the computational time of the E step.

The convergence of BEM is faster than that of EM in the small state size problems, i.e., Figure 3a,b. This is because EM calculates the forward–backward algorithm from t=0 to t=Tmax, where Tmax is large. On the other hand, the convergence of BEM is slower than that of EM in the large state size problems, i.e., Figure 3c,d. This is because BEM calculates the inverse matrix.

The convergence of MBEM is faster than that of EM in all the experiments in Figure 3a–d. This is because Lmax is smaller than Tmax as shown in Figure 3i–l. While EM requires about 1000 calculations of the forward–backward algorithm to guarantee that the approximation error of F(x,z;θk) and V(x,z;θk) is smaller than ε, MBEM requires only about 10 calculations of the forward and backward Bellman operators. Thus, MBEM is more efficient than EM. The reason why Lmax is smaller than Tmax is that MBEM can utilize the results of the previous iteration, F(x,z;θk1) and V(x,z;θk1), as the initial functions, f(x,z) and v(x,z). It is shown from Lmax and Tmax in the first iteration. In the first iteration k=0, Lmax is almost the same with Tmax because F(x,z;θk1) and V(x,z;θk1) cannot be used as the initial functions f(x,z) and v(x,z) in the first iteration. On the other hand, in the subsequent iterations k1, Lmax is much smaller than Tmax because MBEM can utilize the results of the previous iteration, F(x,z;θk1) and V(x,z;θk1), the initial functions f(x,z) and v(x,z).

8. Conclusions and Future Works

In this paper, we propose the Bellman EM algorithm (BEM) and the modified Bellman EM algorithm (MBEM) by introducing the forward and backward Bellman equations into the EM algorithm for DEC-POMDP. BEM can be more efficient than EM because BEM does not calculate the forward–backward algorithm up to the infinite horizon. However, BEM cannot always be more efficient than EM when the size of the state or that of the memory is large because BEM calculates the inverse matrix. MBEM can be more efficient than EM regardless of the size of problems because MBEM does not calculate the inverse matrix. Although MBEM needs to calculate the forward and backward Bellman operators infinite times, MBEM can evaluate the approximation errors more tightly owing to the contractibility of these operators, and can utilize the results of the previous iteration owing to the arbitrariness of initial functions, which enables MBEM to be more efficient than EM. We verified this theoretical evaluation by the numerical experiment, which demonstrates that the convergence of MBEM is much faster than that of EM regardless of the size of problems.

Our algorithms still leave room for further improvements that deal with the real-world problems, which often have a large discrete or continuous state space. Some of them may be addressed by the advanced techniques of the Bellman equations [1,2,3,4]. For example, MBEM may be accelerated by the Gauss–Seidel method [2]. The convergence rate of the E step of MBEM is given by the discount factor γ, which is the same as that of EM. However, the Gauss–Seidel method modifies the Bellman operators, which allows the convergence rate of MBEM to be smaller than the discount factor γ. Therefore, even if F(x,z;θk1) and V(x,z;θk1) are not close to F(x,z;θk) and V(x,z;θk), MBEM may be more efficient than EM by the Gauss–Seidel method. Moreover, in DEC-POMDP with a large discrete or continuous state space, F(x,z;θk) and V(x,z;θk) cannot be expressed exactly because it requires a large space complexity. This problem may be resolved by the value function approximation [34,35,36]. The value function approximation approximates F(x,z;θk) and V(x,z;θk) using parametric models such as neural networks. The problem is how to find the optimal approximate parameters. The value function approximation finds them by the Bellman equation. Therefore, the potential extensions of our algorithms may lead to the applications to the real-world DEC-POMDP problems.

Acknowledgments

We would like to thank the lab members for a fruitful discussion.

Appendix A. Proof in Section 3

Appendix A.1. Proof of Theorem 1

J(θ) can be calculated as follows:

J(θ):=Eθt=0γtr(xt,at)=x0:,a0:p(x0:,a0:;θ)t=0γtr(xt,at)=t=0γtxt,atp(xt,at;θ)r(xt,at)=(1γ)1T=0p(T)xT,aTp(xT,aT;θ)(rmaxrmin)p(o=1|xT,aT)+rmin=(1γ)1(rmaxrmin)p(o=1;θ)+rmin (A1)

where x0::={x0,,x} and a0::={a0,,a}.

Appendix A.2. Proof of Proposition 1

In order to prove Proposition 1, we calculate Q(θ;θk). It can be calculated as follows:

Q(θ;θk):=Eθklogp(o=1,x0:T,y0:T,z0:T,a0:T,T;θ)o=1=Eθki=1Nt=0Tlogπi(ati|zti)+t=1Tlogλi(zti|zt1i,yti)+logνi(z0i)o=1+C=i=1NQ(πi;θk)+Q(λi;θk)+Q(νi;θk)+C, (A2)

where

Q(πi;θk):=Eθkt=0Tlogπi(ati|zti)o=1, (A3)
Q(λi;θk):=Eθkt=1Tlogλi(zti|zt1i,yti)o=1, (A4)
Q(νi;θk):=Eθklogνi(z0i)o=1. (A5)

C is a constant independent of θ.

Proposition A1

([16]). Q(πi;θk), Q(λi;θk), and Q(νi;θk) are calculated as follows:

Q(πi;θk)a,zπk(a|z)logπi(ai|zi)x,x,zp(x,z|x,z,a;λk)F(x,z;θk)(r¯(x,a)+γV(x,z;θk)), (A6)
Q(λi;θk)z,z,yλk(z|z,y)logλi(zi|zi,yi)x,xp(x,y|x,z;πk)F(x,z;θk)V(x,z;θk), (A7)
Q(νi;θk)zp0(z;νn)logνi(zi)xp0(x)V(x,z;θk). (A8)

F(x,z;θk) and V(x,z;θk) are defined by Equations (12) and (13).

Proof. 

Firstly, we prove Equation (A6). Q(πi;θk) can be calculated as follows:

Q(πi;θk):=Eθkt=0Tlogπi(ati|zti)o=1=1p(o=1;θk)T=0x0:T,y0:T,z0:T,a0:Tp(o=1,x0:T,y0:T,z0:T,a0:T,T;θk)t=0Tlogπi(ati|zti)=1p(o=1;θk)T=0t=0Txt,zt,atp(o=1,xt,zt,at,T;θk)logπi(ati|zti)=1p(o=1;θk)T=0t=0Txt,zt,atp(T)pt(xt,zt;θk)πk(at|zt)pt(o=1|xt,zt,at,T;θk)logπi(ati|zti)=1p(o=1;θk)T=0t=0Tx,z,ap(T)pt(x,z;θk)πk(a|z)pt(o=1|x,z,a,T;θk)logπi(ai|zi)=1p(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)T=0p(T)t=0Tpt(x,z;θk)pt(o=1|x,z,a,T;θk). (A9)

Since T=0t=0T=t=0TT=t, we have

Q(πi;θk)=1p(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)t=0pt(x,z;θk)T=tp(T)pt(o=1|x,z,a,T;θk)=1γp(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)t=0pt(x,z;θk)T=tγTpt(o=1|x,z,a,T;θk). (A10)

Since pt(o=1|x,z,a,T;θk)=p0(o=1|x,z,a,Tt;θk), -4.6cm0cm

Q(πi;θk)=1γp(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)t=0pt(x,z;θk)T=tγTp0(o=1|x,z,a,Tt;θk)=1γp(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)t=0γtpt(x,z;θk)T=0γTp0(o=1|x,z,a,T;θk)=1γp(o=1;θk)x,z,aπk(a|z)logπi(ai|zi)F(x,z;θk)T=0γTp0(o=1|x,z,a,T;θk). (A11)

T=0γTp0(o=1|x,z,a,T;θk) can be calculated as follows:

T=0γTp0(o=1|x,z,a,T;θk)=r¯(x,a)+T=1γTp0(o=1|x,z,a,T;θk)=r¯(x,a)+T=1γTx,zp1(o=1|x,,T;θk)p(x,z|x,z,a;λk)=r¯(x,a)+γx,zp(x,z|x,z,a;λk)T=0γTp0(o=1|x,z,T;θk)=r¯(x,a)+γx,zp(x,z|x,z,a;λk)V(x,z;θk). (A12)

From Equations (A11) and (A12), we obtain

Q(πi;θk)=1γp(o=1;θk)a,zπk(a|z)logπi(ai|zi)x,x,zp(x,z|x,z,a;λk)F(x,z;θk)(r¯(x,a)+γV(x,z;θk)). (A13)

Therefore, Equation (A6) is proved.

Secondly, we prove Equation (A7). Q(λi;θk) can be calculated as follows:

Q(λi;θk):=Eθkt=1Tlogλi(zti|zt1i,yti)o=1=1p(o=1;θk)T=1x0:T,y0:T,z0:T,a0:Tp(o=1,x0:T,y0:T,z0:T,a0:T,T;θk)t=1Tlogλi(zti|zt1i,yti)=1p(o=1;θk)T=1t=1Txt1:t,yt,zt1:tp(o=1,xt1:t,yt,zt1:t,T;θk)logλi(zti|zt1i,yti)=1p(o=1;θk)T=1t=1Txt1:t,yt,zt1:tp(T)pt1(xt1,zt1;θk)p(xt,yt|xt1,zt1;πk)×λk(zt|zt1,yt)pt(o=1|xt,zt,T;θk)logλi(zti|zt1i,yti)=1p(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)×T=1p(T)t=1Tpt1(x,z;θk)pt(o=1|x,z,T;θk). (A14)

Since T=1t=1T=t=1T=t, we have

Q(λi;θk)=1p(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)×t=1pt1(x,z;θk)T=tp(T)pt(o=1|x,z,T;θk)=1γp(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)×t=1pt1(x,z;θk)T=tγTpt(o=1|x,z,T;θk). (A15)

Since pt(o=1,x,z,T;θk)=p0(o=1|x,z,Tt;θk),

Q(λi;θk)=1γp(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)×t=1pt1(x,z;θk)T=tγTp0(o=1|x,z,Tt;θk)=(1γ)γp(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)×t=0γtpt(x,z;θk)T=0γTp0(o=1|x,z,T;θk)=(1γ)γp(o=1;θk)x,x,y,z,zλk(z|z,y)logλi(zi|zi,yi)p(x,y|x,z;πk)F(x,z;θk)V(x,z;θk). (A16)

Therefore, Equation (A7) is proved.

Finally, we prove Equation (A8). Q(νi;θk) can be calculated as follows:

Q(νi;θk):=Eθklogνi(z0i)o=1=1p(o=1;θk)T=0x0:T,y0:T,z0:T,a0:Tp(o=1,x0:T,y0:T,z0:T,a0:T,T;θk)logνi(z0i)=1p(o=1;θk)T=0x0,z0p(o=1,x0,z0,T;θk)logνi(z0i)=1p(o=1;θk)T=0x0,z0p(T)p0(x0)νk(z0)p0(o=1|x0,z0,T;θk)logνi(z0i)=1p(o=1;θk)T=0x,zp(T)p0(x)νk(z)p0(o=1|x,z,T;θk)logνi(zi)=1p(o=1;θk)zνk(z)logνi(zi)xp0(x)T=0p(T)p0(o=1|x,z,T;θk)=1γp(o=1;θk)zνk(z)logνi(zi)xp0(x)V(x,z;θk). (A17)

Therefore, Equation (A8) is proved. □

Equations (9)–(11) can be calculated from Equations (A6)–(A8) using the Lagrange multiplier method [16]. Therefore, Proposition 1 is proved.

Appendix A.3. Proof of Proposition 2

The left-hand side of Equation (27) can be calculated as follows:

F(x,z;θk)t=0Tmaxγtαt(x,z;θk)=t=Tmax+1γtαt(x,z;θk)t=Tmax+1γtαt(x,z;θk)=t=Tmax+1γt=γTmax+11γ. (A18)

Therefore, if

γTmax+11γ<ε (A19)

is satisfied, Equation (27) is satisfied. From Equation (A19), we obtain Equation (26). Therefore, Equation (26)⇒Equation (27) is proved. Equation (26)⇒Equation (28) can be proved in the same way.

Appendix B. Proof in Section 4

Proof of Theorem 2

F(x,z;θ) can be calculated as follows:

F(x,z;θ):=t=0γtpt(x,z;θ)=p0(x,z;ν)+t=1γtpt(x,z;θ)=p0(x,z;ν)+t=1γtx,zp(x,z|x,z;θ)pt1(x,z;θ)=p0(x,z;ν)+γx,zp(x,z|x,z;θ)t=1γt1pt1(x,z;θ)=p0(x,z;ν)+γx,zp(x,z|x,z;θ)F(x,z;θ). (A20)

Therefore, Equation (29) is proved. Equation (30) can be proved in the same way.

Appendix C. Proof in Section 5

Appendix C.1. Proof of Proposition 3

The left-hand side of Equation (37) can be calculated as follows:

AθfAθg1=γP(θ)fP(θ)g1γP(θ)1fg1=γfg1. (A21)

where Pij(θ):=p((x,z)=i|(x,z)=j;θ), fi:=f((x,z)=i), and gi:=g((x,z)=i). Equation (38) can be proved in the same way.

Appendix C.2. Proof of Proposition 4

We prove Equation (39) by showing limLF(θ)AθLf1=0. Since F(x,z;θ) is the fixed point of Aθ,

F(θ)AθLf1=AθLFAθLf1. (A22)

From the contractibility of Aθ,

AθLF(θ)AθLf1γLF(θ)f1. (A23)

Since F(θ)f1 is finite, the right-hand side is 0 when L. Hence,

limLF(θ)AθLf1=0 (A24)

is satisfied, and Equation (39) is proved. Equation (40) can be proved in the same way.

Appendix C.3. Proof of Proposition 5

From the definition of the norm,

F(θk)AθkLfF(θk)AθkLf1. (A25)

The right-hand side can be calculated as follows:

F(θk)AθkLf1F(θk)AθkL+1f1+AθkL+1fAθkLf1=AθkF(θk)AθkL+1f1+AθkL+1fAθkLf1γF(θk)AθkLf1+γAθkLfAθkL1f1. (A26)

From this inequality, we have

F(θk)AθkLf1γ1γAθkLfAθkL1f1. (A27)

Therefore, if AθkLfAθkL1f1<(1γ)γ1ε is satisfied,

F(θk)AθkLf<ε (A28)

holds. Equation (48) is proved in the same way.

Appendix C.4. Proof of Proposition 6

When f(x,z)=p0(x,z;νk) and v(x,z)=r¯(x,z;πk), the termination conditions of MBEM can be calculated as follows:

AθkLfAθkL1f1γL1Aθkff1=γL1γP(θk)p(νk)1γLP(θk)1p(νk)1=γL, (A29)
BθkLvBθkL1vγL. (A30)

The calculation of BθkLvBθkL1v is omitted because it is the same as that of AθkLfAθkL1f1. If

γL<1γγεL>log(1γ)εlogγ1 (A31)

is satisfied,

AθkLfAθkL1f1<(1γ)γ1ε, (A32)
BθkLvBθkL1v<(1γ)γ1ε (A33)

holds. Thus, Lmax satisfies

Lmaxlog(1γ)εlogγ1. (A34)

·:RZ is defined by x:=min{nZ|n>x}. From Proposition 2, the minimum Tmax is given by the following equation:

Tmax=log(1γ)εlogγ1. (A35)

Therefore, LmaxTmax holds.

Appendix D. A Note on the Algorithm Proposed by Song et al.

In this section, we show that a parameter dependency is overlooked in the algorithm of [32]. We outline the derivation of the algorithm in [32] and discuss the parameter dependency. Since we use the notation in this paper, it is recommended to read the full paper before reading this section.

Firstly, we calculate the expected return J(θ) to derive the algorithm in [32]. Since [32] considers the case where ν(z)=δz,z0, we also consider the same case in this section. The expected return J(θ) can be calculated as follows:

J(θ):=Eθt=0γtr(xt,at)=x0,a0p(x0)π(a0|z0)r(x0,a0)+γx1,y1,z1p(x1|x0,a0)p(y1|x1,a0)λ(z1|z0,y1)V(x1,z1;θ). (A36)

V(x,z;θ) is the value function, which is defined as follows:

V(x,z;θ):=Eθt=0γtr(xt,at)x0=x,z0=z. (A37)

Equation (A36) can be rewritten as:

J(θ)=a0iπi(a0i|z0i)r˜(z0i,a0i;πi)+a0i,y1i,z1iπi(a0i|z0i)λi(z1i|z0i,y1i)V˜(z0i,a0i,y1i,z1i;θ) (A38)

where

r˜(z0i,a0i;πi):=x0,a0ip(x0)πi(a0i|z0i)r(x0,a0),V˜(z0i,a0i,y1i,z1i;θ) (A39)
:=γx0,a0i,x1,y1i,z1ip(x0)πi(a0i|z0i)p(x1|x0,a0)p(y1|x1,a0)λi(z1i|z0i,y1i)V(x1,z1;θ). (A40)

Maximizing J(θ) is equivalent to maximizing logJ(θ), and logJ(θ) can be calculated as follows:

logJ(θ)=loga0iη(z0i,a0i;θk)πi(a0i|z0i)r˜(z0i,a0i;πi)η(z0i,a0i;θk)+a0i,y1i,z1iρ(z0i,a0i,y1i,z1i;θk)πi(a0i|z0i)λi(z1i|z0i,y1i)V˜(z0i,a0i,y1i,z1i;θ)ρ(z0i,a0i,y1i,z1i;θk) (A41)

where

η(z0i,a0i;θk)=πki(a0i|z0i)r˜(z0i,a0i;πki)ξ(z0i;θk), (A42)
ρ(z0i,a0i,y1i,z1i;θk)=πki(a0i|z0i)λki(z1i|z0i,y1i)V˜(z0i,a0i,y1i,z1i;θk)ξ(z0i;θk), (A43)
ξ(z0i;θk)=a0iπki(a0i|z0i)r˜(z0i,a0i;πki)+a0i,y1i,z1iπki(a0i|z0i)λki(z1i|z0i,y1i)V˜(z0i,a0i,y1i,z1i;θk). (A44)

By the Jensen’s inequality, Equation (A41) can be calculated as follows:

logJ(θ)a0iη(z0i,a0i;θk)logπi(a0i|z0i)r˜(z0i,a0i;πi)η(z0i,a0i;θk)+a0i,y1i,z1iρ(z0i,a0i,y1i,z1i;θk)logπi(a0i|z0i)λi(z1i|z0i,y1i)V˜(z0i,a0i,y1i,z1i;θ)ρ(z0i,a0i,y1i,z1i;θk)=:Q(θ;θk). (A45)

logJ(θ)=Q(θ;θk) is satisfied when θ=θk.

Then, θk+1 is defined as follows:

θk+1:=argmaxθQ(θ;θk) (A46)

In this case, the following proposition holds:

Proposition A2

([32]). logJ(θk+1)logJ(θk).

Proof. 

From Equation (A45), logJ(θk+1)Q(θk+1;θk). From Equation (A46), Q(θk+1;θk)Q(θk;θk)=logJ(θk). Therefore, logJ(θk+1)logJ(θk) is satisfied. □

Therefore, since Equation (A46) monotonically increases J(θ), we can find θ, which locally maximizes J(θ). This is the algorithm in [32].

Then, the problem is how to calculate Equation (A46). It cannot be calculated analytically because θ dependency of V˜(z0i,a0i,y1i,z1i;θ) is too complex. However, ref. [32] overlooked the parameter dependency of r˜(z0i,a0i;πi) and V˜(z0i,a0i,y1i,z1i;θ), and therefore, it calculated Equation (A46) as follows:

πk+1i(a0i|z0i)=η(z0i,a0i;θk)+y1i,z1iρ(z0i,a0i,y1i,z1i;θk)a0iη(z0i,a0i;θk)+y1i,z1iρ(z0i,a0i,y1i,z1i;θk), (A47)
λk+1i(z1i|z0i,y1i)=a0iρ(z0i,a0i,y1i,z1i;θk)a0i,z1iρ(z0i,a0i,y1i,z1i;θk). (A48)

However, Equations (A47) and (A48) do not correspond to Equation (A46), and therefore, the algorithm as a whole may not always provide the optimal policy.

Author Contributions

Conceptualization, T.T., T.J.K.; Formal analysis, T.T., T.J.K.; Funding acquisition, T.J.K.; Writing—original draft, T.T., T.J.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by JSPS KAKENHI Grant Number 19H05799 and by JST CREST Grant Number JPMJCR2011.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Bertsekas D.P. Dynamic Programming and Optimal Control: Vol. 1. Athena Scientific; Belmont, MA, USA: 2000. [Google Scholar]
  • 2.Puterman M.L. Markov Decision Processes: Discrete Stochastic Dynamic Programming. John Wiley & Sons; Hoboken, NJ, USA: 2014. [Google Scholar]
  • 3.Sutton R.S., Barto A.G. Introduction to Reinforcement Learning. Volume 135 MIT Press; Cambridge, MA, USA: 1998. [Google Scholar]
  • 4.Sutton R.S., Barto A.G. Reinforcement Learning: An Introduction. MIT Press; Cambridge, MA, USA: 2018. [Google Scholar]
  • 5.Kochenderfer M.J. Decision Making under Uncertainty: Theory and Application. MIT Press; Cambridge, MA, USA: 2015. [Google Scholar]
  • 6.Oliehoek F. Value-Based Planning for Teams of Agents in Stochastic Partially Observable Environments. Amsterdam University Press; Amsterdam, The Netherlands: 2010. [Google Scholar]
  • 7.Oliehoek F.A., Amato C. A Concise Introduction to Decentralized POMDPs. Volume 1 Springer; Berlin/Heidelberg, Germany: 2016. [Google Scholar]
  • 8.Becker R., Zilberstein S., Lesser V., Goldman C.V. Solving transition independent decentralized Markov decision processes. J. Artif. Intell. Res. 2004;22:423–455. doi: 10.1613/jair.1497. [DOI] [Google Scholar]
  • 9.Nair R., Varakantham P., Tambe M., Yokoo M. Networked distributed POMDPs: A synthesis of distributed constraint optimization and POMDPs; Proceedings of the AAAI’05: Proceedings of the 20th National Conference on Artificial Intelligence; Pittsburgh, PA, USA. 9–13 July 2005; pp. 133–139. [Google Scholar]
  • 10.Bernstein D.S., Givan R., Immerman N., Zilberstein S. The complexity of decentralized control of Markov decision processes. Math. Oper. Res. 2002;27:819–840. doi: 10.1287/moor.27.4.819.297. [DOI] [Google Scholar]
  • 11.Bernstein D.S., Hansen E.A., Zilberstein S. Bounded policy iteration for decentralized POMDPs; Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence (IJCAI); Edinburgh, UK. 30 July–5 August 2005; pp. 52–57. [Google Scholar]
  • 12.Bernstein D.S., Amato C., Hansen E.A., Zilberstein S. Policy iteration for decentralized control of Markov decision processes. J. Artif. Intell. Res. 2009;34:89–132. doi: 10.1613/jair.2667. [DOI] [Google Scholar]
  • 13.Amato C., Bernstein D.S., Zilberstein S. Optimizing fixed-size stochastic controllers for POMDPs and decentralized POMDPs. Auton. Agents Multi-Agent Syst. 2010;21:293–320. doi: 10.1007/s10458-009-9103-z. [DOI] [Google Scholar]
  • 14.Amato C., Bonet B., Zilberstein S. Finite-state controllers based on mealy machines for centralized and decentralized pomdps; Proceedings of the AAAI Conference on Artificial Intelligence; Atlanta, GA, USA. 11–15 July 2010. [Google Scholar]
  • 15.Amato C., Bernstein D.S., Zilberstein S. Optimizing memory-bounded controllers for decentralized POMDPs. arXiv. 20121206.5258 [Google Scholar]
  • 16.Kumar A., Zilberstein S. Anytime planning for decentralized POMDPs using expectation maximization; Proceedings of the 26th Conference on Uncertainty in Artificial Intelligence; Catalina Island, CA, USA. 8–11 July 2010; pp. 294–301. [Google Scholar]
  • 17.Kumar A., Zilberstein S., Toussaint M. Probabilistic inference techniques for scalable multiagent decision making. J. Artif. Intell. Res. 2015;53:223–270. doi: 10.1613/jair.4649. [DOI] [Google Scholar]
  • 18.Toussaint M., Storkey A. Probabilistic inference for solving discrete and continuous state Markov Decision Processes; Proceedings of the 23rd International Conference on Machine Learning; Pittsburgh, PA, USA. 25–29 June 2006; pp. 945–952. [Google Scholar]
  • 19.Todorov E. General duality between optimal control and estimation; Proceedings of the 47th IEEE Conference on Decision and Control; Cancun, Mexico. 9–11 December 2008; pp. 4286–4292. [Google Scholar]
  • 20.Kappen H.J., Gómez V., Opper M. Optimal control as a graphical model inference problem. Mach. Learn. 2012;87:159–182. doi: 10.1007/s10994-012-5278-7. [DOI] [Google Scholar]
  • 21.Levine S. Reinforcement learning and control as probabilistic inference: Tutorial and review. arXiv. 20181805.00909 [Google Scholar]
  • 22.Sun X., Bischl B. Tutorial and survey on probabilistic graphical model and variational inference in deep reinforcement learning; Proceedings of the IEEE Symposium Series on Computational Intelligence (SSCI); Xiamen, China. 6–9 December 2019; pp. 110–119. [Google Scholar]
  • 23.Bishop C.M. Pattern Recognition and Machine Learning. Springer; Berlin/Heidelberg, Germany: 2006. [Google Scholar]
  • 24.Toussaint M., Harmeling S., Storkey A. Probabilistic Inference for Solving (PO) MDPs. School of Informatics, University of Edinburgh; Edinburgh, UK: 2006. Technical Report; Technical Report EDI-INF-RR-0934. [Google Scholar]
  • 25.Toussaint M., Charlin L., Poupart P. Hierarchical POMDP Controller Optimization by Likelihood Maximization. UAI. 2008;24:562–570. [Google Scholar]
  • 26.Kumar A., Zilberstein S., Toussaint M. Scalable multiagent planning using probabilistic inference; Proceedings of the 22nd International Joint Conference on Artificial Intelligence; Barcelona, Spain. 16–22 July 2011. [Google Scholar]
  • 27.Pajarinen J., Peltonen J. Efficient planning for factored infinite-horizon DEC-POMDPs; Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence; Barcelona, Spain. 16–22 July 2011; p. 325. [Google Scholar]
  • 28.Pajarinen J., Peltonen J. Periodic finite state controllers for efficient POMDP and DEC-POMDP planning. Adv. Neural Inf. Process. Syst. 2011;24:2636–2644. [Google Scholar]
  • 29.Pajarinen J., Peltonen J. Joint European Conference on Machine Learning and Knowledge Discovery in Databases, Proceedings of the European Conference, ECML PKDD 2013, Prague, Czech Republic, 23–27 September 2013. Springer; Berlin/Heidelberg, Germany: 2013. Expectation maximization for average reward decentralized POMDPs; pp. 129–144. [Google Scholar]
  • 30.Wu F., Zilberstein S., Jennings N.R. Monte-Carlo expectation maximization for decentralized POMDPs; Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence; Beijing, China. 3–9 August 2013. [Google Scholar]
  • 31.Liu M., Amato C., Anesta E., Griffith J., How J. Learning for decentralized control of multiagent systems in large, partially-observable stochastic environments; Proceedings of the AAAI Conference on Artificial Intelligence; Phoenix, AZ, USA. 12–17 February 2016; [Google Scholar]
  • 32.Song Z., Liao X., Carin L. Solving DEC-POMDPs by Expectation Maximization of Value Function; Proceedings of the AAAI Spring Symposia; Palo Alto, CA, USA. 21–23 March 2016. [Google Scholar]
  • 33.Kumar A., Mostafa H., Zilberstein S. Dual formulations for optimizing Dec-POMDP controllers; Proceedings of the AAAI; Phoenix, AZ, USA. 12–17 February 2016. [Google Scholar]
  • 34.Bertsekas D.P. Approximate policy iteration: A survey and some new methods. J. Control. Theory Appl. 2011;9:310–335. doi: 10.1007/s11768-011-1005-3. [DOI] [Google Scholar]
  • 35.Liu D.R., Li H.L., Wang D. Feature selection and feature learning for high-dimensional batch reinforcement learning: A survey. Int. J. Autom. Comput. 2015;12:229–242. doi: 10.1007/s11633-015-0893-y. [DOI] [Google Scholar]
  • 36.Mnih V., Kavukcuoglu K., Silver D., Rusu A.A., Veness J., Bellemare M.G., Graves A., Riedmiller M., Fidjeland A.K., Ostrovski G., et al. Human-level control through deep reinforcement learning. Nature. 2015;518:529–533. doi: 10.1038/nature14236. [DOI] [PubMed] [Google Scholar]
  • 37.Hallak A., Mannor S. Consistent on-line off-policy evaluation; Proceedings of the International Conference on Machine Learning, PMLR; Sydney, Australia. 6–11 August 2017; pp. 1372–1383. [Google Scholar]
  • 38.Gelada C., Bellemare M.G. Off-policy deep reinforcement learning by bootstrapping the covariate shift; Proceedings of the AAAI Conference on Artificial Intelligence; Honolulu, HI, USA. 27 January–1 February 2019; pp. 3647–3655. [Google Scholar]
  • 39.Levine S., Kumar A., Tucker G., Fu J. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv. 20202005.01643 [Google Scholar]
  • 40.Hansen E.A., Bernstein D.S., Zilberstein S. Dynamic programming for partially observable stochastic games; Proceedings of the AAAI; Palo Alto, CA, USA. 22–24 March 2004; pp. 709–715. [Google Scholar]
  • 41.Seuken S., Zilberstein S. Improved memory-bounded dynamic programming for decentralized POMDPs. arXiv. 20121206.5295 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Not applicable.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES