Multi-Environment MDPs with Prior and Universal Semantics
Abstract
Multiple-environment Markov decision processes (MEMDPs) equip an MDP with several probabilistic transition functions (one per possible environment) so that the state is observable but the environment is not. Previous work studies two semantics: (i) the universal semantics, where an adversary picks the environment; and (ii) the prior semantics, where the environment is drawn once before execution from a fixed distribution. We clarify the relation between these semantics. For parity objectives, we show that the qualitative questions, i.e. value one, coincide, and we develop a new algorithm for the general value of MEMDP with prior semantics. In particular, we show that the prior value of an MEMDP with a parity objective can be approximated to any precision with a space efficient algorithm; equivalently, the associated gap problem is decidable in PSPACE when probabilities are given in unary (and in EXPSPACE otherwise). We then prove that the universal value equals the infimum of prior values over all beliefs. This yields a new algorithm for the universal gap problem with the same complexity (PSPACE for unary probabilities, EXPSPACE in general), improving on earlier doubly-exponential-space procedures. Finally, we observe that MEMDPs under the prior semantics form an important tractable subclass of POMDPs: our algorithms exploit the fact that belief entropy never increases, and we establish that any POMDP with this property reduces effectively to a prior-MEMDP, showing that prior-MEMDPs capture a broad and practically relevant subclass of POMDPs.
Keywords and phrases:
Multi-Environement MDP, approximation algorithm, Partially-observable MDPCategory:
Track B: Automata, Logic, Semantics, and Theory of ProgrammingCopyright and License:
2012 ACM Subject Classification:
Theory of computation Logic and verification ; Theory of computation Random walks and Markov chainsAcknowledgements:
We also wish to thank Prof. Guillermo Perez and Pierre Vandenhove for their valuable discussions on the topic of this paper.Funding:
The work presented in this article was supported by the FNRS-DFG Weave project “Mixing Formal Methods and Learning Techniques for Strategy Synthesis in Partially Observable Markov Decision Processes.”Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Multiple-environment Markov decision processes (MEMDPs), first introduced in [13], generalize classical MDPs. They model decision-making problems where the system state is perfectly observable, while the stochastic environment is unknown but fixed and chosen or drawn before execution from a finite set of candidates. Formally, an MEMDP consists of a common state and action space together with a probabilistic transition function per possible environment. A single controller acts without being explicitely revealed which environment is operating. Intuitively, this model lies between fully observable MDPs and partially observable Markov decision processes (POMDPs): it captures a natural class of partial-information problems while avoiding many undecidability barriers of general POMDPs.
Initial work introduced MEMDPs and showed that key synthesis questions that are undecidable for POMDPs become decidable (and sometimes efficiently so) in MEMDPs, thereby justifying the model as a tractable yet expressive variant of POMDPs [13]. Subsequent work further developed the theory for -regular objectives and clarified the algorithmic landscape [6, 17]. Beyond foundational interest, MEMDPs have been advocated as a practical modeling tool: their structure enables cheaper belief updates than in general POMDPs and supports applications such as contextual recommendation and parameter uncertainty in probabilistic models [4].
Universal and prior semantics
In previous works, MEMDPs have been studied under two different semantics: [13, 17, 6] study the model under the universal semantics and [4] studies the model under the prior semantics. In the universal (adversarial) semantics, an adversary picks the environment that the fixed controller strategy has to face; the value of a strategy is its probability to satisfy the objective in the worst environment. In the prior semantics, the environment is drawn initially at random from a fixed distribution (the prior, known to the player); the value is the corresponding expectation. In both cases, the chosen environment is not revealed to the controller. We focus on parity objectives, that are a canonical way of expressing -regular properties, and establish structural and algorithmic links between these semantics.
Before presenting our main contributions, we note a qualitative equivalence between the two semantics. The value 1 notions coincide in both the almost-sure and limit-sure senses: there exist strategies that achieve value 1 (resp. arbitrarily close to 1) in the universal semantics if and only if there exist strategies whose prior value is 1 (resp. arbitrarily close to 1). This correspondence lets us transfer value 1 results between the two semantics (see Corollary 3).
Contributions
Our main contributions can be summarized as follows:
-
1.
Approximating the prior value. We give an algorithm that approximates the prior value of an MEMDP to arbitrary precision. This is the most technically demanding part of our contribution. More precisely, we show how to solve algorithmically the -gap problem for the prior semantics. This problem asks, given an MEMDP , a prior belief about the operating environment, a parity objective , a threshold , and a precision , to answer YES if the prior value is at least , NO if this value is at most , with no requirement otherwise. Our algorithm runs in PSPACE when probabilities are given in unary, and in EXPSPACE otherwise (see Theorem 10).
-
2.
From prior to universal. We also show that the universal value equals the infimum, over all prior beliefs, of the corresponding prior values (see Theorem 11). Using this result together with the 1-Lipschitz continuity of the prior value with respect to the prior belief, we obtain a new algorithm for the universal -gap problem with the same complexity as for the prior value (PSPACE for unary probabilities, EXPSPACE in general), see Theorem 15, improving on earlier doubly-exponential-space procedures proposed in [6].
-
3.
MEMDPs with prior semantics as a tractable POMDP subclass. A key reason for MEMDP tractability is that the hidden environment is fixed, which constrains belief dynamics: the expected (information theory) entropy of the belief about the operating environment is non-increasing. In other words, as a belief entropy measures the amount of information carried by that belief, this means that, on average, the information carried by the environment belief over time does not decrease. We show that in fact any POMDP whose belief entropy is non-increasing can be reduced to a prior-MEMDP (at an exponential cost). Thus, our algorithms apply beyond “pure” MEMDPs and capture a significant subclass of POMDPs, while avoiding classical undecidability phenomena for -regular objectives (see Theorem 20).
Related work
As recalled above, MEMDPs were introduced under the universal semantics by Raskin and Sankur in [13] as a formal model for decision making in scenarios where the environment is fixed yet unknown, and is chosen from a finite set of candidate models. Within this framework, several qualitative -regular synthesis problems become decidable, in contrast to the corresponding situation for POMDPs. Subsequent work has refined the qualitative complexity landscape. For almost-sure satisfaction of Rabin objectives, Suilen et al. establish a PSPACE-complete decision procedure [17]. For parity objectives, Chatterjee et al. prove that the value-1 problem is PSPACE-complete in general (and solvable in PTime when the number of environments is fixed), demonstrate that pure strategies suffice to achieve value 1, and present a double-exponential-space approximation scheme for computing the value [6]. Under the prior semantics, MEMDPs have further been proposed as a computationally tractable subclass of POMDPs with discounted payoffs, leveraging more efficient belief-state updates and a non-increasing belief-entropy property [4].
For context, classical (fully observable) MDP qualitative problems are solvable in polynomial time [1], while analogous POMDP questions are much harder as most of them are undecidable [12, 11], and only bounded horizon questions are known to be decidable [12]. So, in this context, MEMDPs occupy a particular place: they retain an interesting part of the partial-information expressiveness but avoid key undecidability barriers that arise in POMDPs. The positive results obtained in this paper add and refine those obtained in [13, 4, 17, 6].
In [7], the authors independently introduced a subclass of POMDPs, coined Posterior-Deterministic POMDPs, which coincides with the Dirac-preserving POMDPs that we define in Section 5.
We additionally refer to [3], which consider Multi-environment POMDPs to both handle partial observability and multiple environments, and studies both finite-horizon and infinite-horizon discounted-reward objectives. Although their framework is more general than ours, they target a different class of objectives, since we focus on undiscounted infinite-horizon objectives. In this setting, the authors propose both exact and approximate solution algorithms.
Structure of the paper
Section 2 fixes the notation and formally defines MEMDPs together with the universal and prior values. Section 3 addresses the qualitative and quantitative problems for the prior semantics: it establishes the value-1 equivalence with the universal semantics and develops our approximation algorithm for the prior -gap problem. Section 4 relates the two semantics by proving that the universal value is the infimum of prior values over all beliefs, and derives an improved complexity for the universal gap problem. Section 5 characterizes MEMDPs as exactly the POMDPs with non-increasing belief entropy, up to an exponential blow-up. Missing details and full proofs can be found in the extended version of the paper [2].
2 Definitions
Consider a non-empty set . The support of a function is the set . A function is a distribution over if it has countable support and . We let denote the set of all probability distributions over the set . A probability distribution is Dirac if . For all sets and , we let .
MDPs and strategies
A Markov Decision Process (MDP for short) is a tuple where is a non-empty finite set of states, is a non-empty finite set of actions, and is the transition function mapping each state-action pair to a probability distribution over successor states. An element in (resp. ) is called a finite (resp. infinite) run, an element in (resp. ) is called a finite (resp. infinite) path. A strategy on is a function mapping finite runs to probability distributions over actions. We let denote the set of all strategies on .
Objectives
Consider a non-empty finite set . An objective is a Borel set: . We focus on parity objectives, i.e. objectives such that there is a labeling function such that is the set of infinite paths whose highest label seen infinitely often is even: .
Consider an MDP . A strategy induces a probability measure on the set of finite runs, which can be canonically extended to the associated Borel -algebra over infinite runs. We first define the probability measure induced by a strategy after a fixed finite run . For , we define the value by induction on the length of as follows. If , then we put if is a prefix of , and otherwise. For all such that is a prefix of and for all , we define
Then, for all , we define the probability of the cylinder set by . We naturally extend this into a probability measure on Borel sets: . We obtain the probability measure of Borel sets in via projection.
MEMDPs
A Multi-Environment Markov Decision Process (MEMDP for short) is a tuple where is a non-empty finite set of environments, and for all , is an MDP, which we denote . Unless otherwise stated, an MEMDP refers to the tuple . For all , a state-action pair is -distinguishing if . We let denote the set of all -distinguishing state-action pairs. We also let .
Values in MEMDPs
Consider an MEMDP and a parity objective whose probability we seek to maximize. When synthesizing a strategy in an MEMDP, we do not know in which environment it executes. Thus, when defining the value of a synthesized strategy, we may require either that it performs well in all environments or, given a prior belief on the operating environment, that it performs well on average. The goal of this paper is to study the latter “prior” value, and to link it to the former “universal” value. Specifically, given an MEMDP , a state , and a parity objective , we define -values
and -values, given a prior belief
Example 1.
Let us consider Fig. 1, which represents an MEMDP. States, actions, and probabilistic successors are defined as in a classical MDP, with the key difference that here we consider multiple valuations of the parameters that label the probabilistic transitions (i.e., the parameters on the outgoing edges of the triangular nodes).
As a first example, assume that we want to model a deck of cards in which card has two copies and card has one copy. In this case, the probability of drawing card is , while the probability of drawing card is . Suppose moreover that the player is always allowed to request another draw before making a guess; this is captured by setting .
To model the fact that the duplicated card is card , we assign the parameters and , meaning that guessing card leads with certainty to the winning state , while guessing card leads to the losing state . Symmetrically, we set and . We refer to this valuation of the parameters as environment . We can define another environment, denoted , that models the situation in which card is duplicated instead. In this case, the parameters are set to and , together with , , , and .
Finally, to encode the reachability objective (i.e., reaching state ), we use the following parity labeling: all states have label , except the winning state , which has label . Under this labelling, the parity objective is satisfied if and only if the play eventually reaches , i.e., the player correctly guesses the duplicated card.
3 Qualitative and quantitative problem
In this section, we focus on deciding the existence of strategies with good enough prior-values. We first study the qualitative problems (value 1) and then turn to the quantitative problem.
3.1 Qualitative problem
For value (arbitrarily close to) 1, the universal and prior settings coincide.
Proposition 2.
Consider an MEMDP , a state , and a parity objective . Let such that . Then if and only if and, for all : if and only if .
Proof sketch.
If , then there are strategies whose -values are arbitrarily close to 1, thus their -values are arbitrarily close to 1. Hence, . Furthermore, if a strategy has a -value, w.r.t. , of at least for some , with , then its smallest value in any environment (since ) is at least . Hence, if then . The other equivalence is straightforward.
The complexity of deciding the existence of almost-surely winning strategies (value 1) and of limit-surely winning strategies (values arbitrarily close to 1) is thus the same in MEMDPs with parity objectives in the universal and prior settings. We deduce the corollary below.
Corollary 3 (of [6, Theorems 4, 13]).
In an MEMDP, given a prior belief and a parity objective, the problem of deciding the existence of strategies of -value (arbitrarily close to) 1 is -complete. When the number of environments is fixed, it can be solved in polynomial time.
Example 4.
Consider again the MEMDP from Example 1. It is easy to see that no strategy can guarantee winning with probability . Indeed, after any finite number of draws, the empirical frequencies may still be atypical and hence suggest the wrong duplicated card.
Nevertheless, for every , the player can request sufficiently many draws so that the probability of observing such a misleading sample drops below . By the law of large numbers, this implies that although almost-sure winning is impossible, the player can make the winning probability arbitrarily close to by choosing an appropriate family of strategies (indexed by ).
This reasoning applies both under the universal semantics and under the prior semantics whenever the prior distribution assigns positive probability to both environments. In either case there is no surely winning strategy, but there exists a family of strategies witnessing limit-sure winning; in particular, the construction works for any fixed prior over the two environments.
3.2 Quantitative problem
Let us now turn to the quantitative problem. We design an algorithm that, for any prescribed precision level , computes an -approximation of the -value . This approximation procedure is subsequently employed to solve the associated gap problem, defined as follows: given a parameter , one must output YES if , NO if , and an arbitrary answer otherwise. Since there are inputs for which no specific output is required, the gap problem is not a classical decision problem; it is instead a promise problem [9].
Our goal is to compute an approximation of the -value given a prior environment belief . When playing in an MEMDP, the environment belief is updated each time distinguishing state-action pairs are encountered to account for the change of likelihood of different environments, e.g. when we visit a transition such that for some , the environment is more likely than before compared to environment . We formally define below this belief update.
Definition 5 (Belief update).
Consider an MEMDP . Let . For all , we let be defined by, for all :
Then, for all , we let be an arbitrary distribution if , and otherwise, for all :
Given any initial state and prior belief , we define a (“likelihood”) function which iteratively updates the environment belief: for all , and, for all , we let .
Example 6.
Let us illustrate how belief updates work on our running example. Assume that the prior over the two environments is given by the distribution , so the initial belief is skewed towards environment (i.e., towards card being duplicated). Now suppose that after the first draw we observe card , meaning that we reach state . This observation should increase our confidence that the operating environment is indeed . Applying the update rule above, the posterior belief becomes , and . Conversely, if the first draw yields card , then the posterior belief becomes , and .
Our algorithm computing an approximation of the -value works recursively on the number of environments in the support of the belief. When there is a single environment in the support, we are actually in an MDP, and we can compute in polynomial time the values of all states [1]. Assume now that the support of the prior belief is of size at least 2. If the belief in an environment ever drops to 0, because we have visited a transition such that , we can call the algorithm recursively with a belief of smaller support. Alternatively, the belief in an environment may be close to 0. In that case, it is almost harmless (in terms of value change) to truncate the belief into one with a smaller support, by 1-Lipschitz continuity of the -value, stated in the lemma below.
Lemma 7.
Consider an MEMDP and a parity objective . For all beliefs , we have , with . Furthermore, for all beliefs such that , there is such that and .
The environment belief is updated each time a distinguishing state-action pair is visited. However, even if many distinguishing state-action pairs are visited, it could be that there is no environment whose belief drops to 0. Nonetheless, if enough distinguishing state-action pairs are visited, with high probability, there is an environment whose belief drops close to 0.
Theorem 8.
Consider an MEMDP and a prior environment belief . Let , and denote the maximum number of bits to write any probability occurring in . For all , we let: , with meaning that is a prefix of . For all , we let denote the number of times visits a distinguishing state-action pair.
Then, for all , letting , there is such that ensuring that for all strategies and environments :
This theorem constitutes a crucial result of this paper, its proof is rather intricate. Below, we only describe the two main ingredients of that proof.
Proof sketch.
Assume that some is the operating environment. Consider another environment and assume, for simplicity, that for all . Our goal is to show that, regardless of the strategy , with high probability, runs that visit enough -distinguishing state-action pairs are such that is arbitrarily small. We focus on the ratio of the beliefs in the environments and , which initially is equal to . After some run , it is equal to . Since the sum of random variables is easier to analyze than their product, we aim at showing (): “Regardless of the strategy , with high probability, if visits enough -distinguishing state-action pairs, the sum is low enough”. An instrumental result in the proof of this fact is that there is some such that, for all :. This is a consequence of the difference between the arithmetic and geometric means.
In order to show (), we want to use Hoeffding’s inequality [10] (which was also a central tool used in [6]). Informally, this inequality entails that if we consider independent real-valued random variables, the probability that their sum is higher than their expected value decreases exponentially with . In our case, we could consider the random variables , for , that map the -th transition visited for which to the real value . However, these random variables are clearly not independent and thus Hoeffding’s inequality cannot be applied. Nonetheless, since we can show that the expected value of all of these random variables is at most , we can adapt the proof of Hoeffding’s inequality to show that, regardless of the strategy , with probability exponentially small in , the sum of the first random variables is not much higher than .
Overall, if we appropriately choose , we obtain that, in the environment , for all strategies , the probability to visit at least -distinguishing state-action pairs while having the belief in the environment never dropping below to be at most . The quantity is chosen such that if at least distinguishing state-action pairs are visited, for all environments , there is an environment such that at least -distinguishing state-action pairs are visited. The theorem follows.
Example 9.
Let us consider our running example with environments and as above, except that we consider a small , so that with high probability, the strategy can gather many observations before having to make a guess. As we have seen in the above example on the update of the belief, visiting state increases the belief in environment , and visiting state increases the belief in environment . A consequence of the above theorem is that, with high probability, the number of visits to the states revealing a card is massively skewed towards either (and the belief in drops close to 0) or (and the belief in drops close to 0). Once this occurs, we can almost harmlessly truncate the belief (recall Lemma 7) and obtain a regular MDP, in which we can compute the value in polynomial time.
Algorithm solving the gap problem
We have designed Algorithm 1 that, given an MEMDP , a parity objective , a prior environment belief and some , computes, for every state , a value such that . The algorithm takes as additional argument an integer which bounds the maximum number of distinguishing state-action pairs that can be visited before the environment belief is truncated. The algorithm should be called with 111We use instead of because the algorithm performs several approximations by truncating environment beliefs, the sum of all these approximations should total at most .. This algorithm works recursively on the number of environments in the support of the belief; the base case is handled in Line 1: in an MDP with parity objectives, we can compute in polynomial time the values of all states. Then, if we have visited enough distinguishing state-action pairs () or the smallest positive belief is sufficiently close to 0, we recursively call the algorithm on a truncated environment belief with smaller support (Lines 2-4). Otherwise, for each distinguishing state-action pair , and states such that (recall Definition 5), we compute the value of that state with an updated belief by recursively calling the algorithm with a bound that is either reset to if the support of the belief has shrunk, or equal to otherwise (Lines 5-8). We then transform the MEMDP into an MDP by adding two fresh sink states and redirecting all transitions such that is a distinguishing state-action pair leading to the state with probability and to the state with probability ; we also modify the parity objective into a parity objective for which looping on is winning and looping on is losing (Line 9). We can finally compute the value of the states in that MDP with the objective (Line 10). They correspond to the values of the MEMDP .
Input: MEMDP , parity objective , belief , ,
Consider now the complexity of Algorithm 1. First, note that, whenever it recursively calls itself, either the support of the belief has shrunk, or the bound (which resets to ) on the number of visited distinguishing state-action pairs has decreased. Thus, the recursion depth is bounded by . In addition, the number of bits used to describe the environment beliefs grows linearly with the number of updates and truncations. The space taken by the algorithm is in fact in , where is the number of bits to represent the prior belief .
The gap problem can be solved by calling Algorithm 1 with , and comparing the result with . Given the bound on from Theorem 8, we obtain the theorem below.
Theorem 10.
In an MEMDP , given a prior belief (given in binary), a parity objective, a threshold (given in binary), and a precision (given in binary), the gap problem with -values can be decided in . If the probabilities involved in the MEMDP are given in unary, the gap problem can be decided in .
4 Relating the - and -values
The procedure described in [6] that solves the gap problem with -values executes in space doubly exponential in (the number of states). On the other hand, we have exhibited an algorithm solving the gap problem with -values in polynomial space when the probabilities are given in unary, in exponential space otherwise. Our goal now is to link the - and -values so that we can use our algorithm to solve more efficiently the gap problem with -values.
It is clear that the -value is lower than or equal to the -value for any prior belief. In fact, the -value is actually equal to the infimum -value over all possible prior beliefs.
Theorem 11.
Consider an MEMDP , a state , and a parity objective . We have: .
Example 12.
We reconsider our running example and modify the two environments and as follows. In both environments, we set , so the player is required to guess the duplicated card immediately after a single draw. If all other aspects of the environments remain unchanged, the -value is ; it is attained by the strategy that guesses the environment corresponding to the single observed card. Under a uniform prior over the two environments, the -value coincides with this value. We now introduce asymmetric environments. In , card 1 is duplicated twice and card 2 is duplicated once (hence ), while in , card 2 is duplicated twice (hence ). In this setting, the -value remains equal to ; however, the infimum of the -values is now achieved under a prior that is slightly biased towards the less favorable environment, namely , rather than under the uniform prior over environments.
To establish Theorem 11, we introduce the notion of mixed strategies. Given a set of states and set of actions , a mixed strategy on is a probability distribution over the strategies (even though the set is uncountable, the probability distributions that we consider have a countable support). We naturally define, in an MDP , the probability measure induced by a mixed strategy : . For all Borel objectives , we naturally extend to mixed strategies the -values and -values given a prior belief . Then, we can relate the supremum -values that mixed strategies can achieve with the infimum -values over all prior beliefs.
Lemma 13.
Consider an MEMDP , a state , and a parity objective . We have:
Therefore: .
Proof sktech.
The first equality is a direct consequence of a standard generalization of von Neuman’s minimax theorem [18], which holds because the set of environments is finite [16]. Furthermore, for all non-empty sets and , we have and . Therefore, we have that for all , ; and for all , .
To establish Theorem 11, it is now sufficient to show that mixed strategies in do not achieve higher -value than strategies in , as stated in the lemma below.
Lemma 14.
Consider an MEMDP , a state , and a parity objective . We have: .
Proof sketch.
Given any , we define such that, for all and Borel objectives : . Thus, . The lemma follows.
Note that a similar result is established in [3, Theorem 2], although with a different proof technique and in a different context (i.e. finite-horizon or infinite-horizon discounted reward instead of parity), as discussed in the introduction.
How to use Theorem 11
Lemmas 13 and 14 together imply Theorem 11. This theorem gives us that computing the -value amounts to computing the infimum of -values over all prior beliefs. Furthermore, Lemma 7 gives us that -values induced by two close beliefs are not far-off. Therefore, we can obtain an -approximation of the -value by computing the -value for enough prior beliefs that tightly cover the set of all beliefs. We deduce the theorem below that significantly improves the doubly-exponential-space complexity established in [6].
Theorem 15.
In an MEMDP given a parity objective, a threshold (in binary), and a precision (in binary), the gap problem with -values can be decided in . If the probabilities are given in unary, the gap problem can be decided in .
Proof sketch..
Let , , and . We have and, for all , there is such that . Enumerating all beliefs in can be done in space polynomial in and . Furthermore, all the beliefs in are described with a number of bits polynomial in and . Therefore, executing Algorithm 1 on any belief in with takes space exponential in the input (resp. polynomial in the input, if the probabilities are given in unary).
Our goal is now to use Theorem 11 to derive a lower bound on the complexity of approximating the -value with probabilities written in unary, we have already established a polynomial space upper bound. It was shown in [14, Theorem 26] that the gap problem with -values and reachability objectives in two-environment MEMDPs with probabilities written in unary is -hard. Thus, we focus below on how to approximate -values in MEMDPs with two-environments. As argued below, this can be done with only polynomially many calls to an oracle approximating the -value, which allows the transfer of the above -hardness result.
Proposition 16.
In an MEMDP with two environments, given a parity objective , and a precision , letting , we can compute a -approximation of the -value in time polynomial in , with calls to an oracle computing -approximation of the -values on beliefs and described with a number of bits polynomial in .
Proof sketch.
Let . We consider such that, for all , , with such that . By Theorem 11, the infimum -value is the -value, i.e. . The function is quasi-convex: for all : . This implies that, for all , if , then , and if , . We design a binary-search-like procedure based on this observation that finds an approximation of the minimal -value by searching in intervals of decreasing length (it is multiplied by at each step) until that length becomes small enough (which is sufficient because is 1-Lipschitz continuous).
Corollary 17.
In two-environment MEMDPs with probabilities in unary, deciding the -value gap problem with parity objectives cannot be done in polynomial time unless .
5 Characterization of MEMDPs with entropy
When playing in an MEMDP, we have only partial information about where we are: we know the current state, but we do not know the operating environment. In fact, MEMDPs are a special kind of Partially Observable MDPs (POMDP for short), i.e. MDPs in which we play on an underlying set of states to which we have only indirect access via an observation that may be identical for different states. Formally, a POMDP is a tuple where is an MDP, is a non-empty set of observations, and . An MEMDP naturally induces the POMDP such that:
-
;
-
for all , ;
-
; and for all , .
Strategies in POMDPs are functions in . Given any strategy , for any state , we naturally define the probability measure . Given and , we let .
The goal of this section is to characterize MEMDPs among POMDPs. To do so, we study the belief in PODMPs. When playing in a POMDP, we start with an initial belief about the current state222In POMDPs, we always have an initial belief about the current state. That is why, although MEMDPs in the “prior” semantics are special kinds POMDPs, it is not the case of MEMDPs in the “universal” semantics.; that belief is updated according to the actions played and observations gathered.
Definition 18 (Belief in POMDP).
Consider a POMDP . A belief is a probability distribution . Given , , and , we let denote the likelihood of given :
We let denote the set of observations compatible with . For all , we let denote the updated belief, defined by for :
When playing in an MEMDP, if we ever know for sure the current environment (i.e. the environment belief is Dirac), then this will never change. POMDPs induced by MEMDPs are thus said to be Dirac-preserving, i.e. for all (with seen as a Dirac belief), we have: .
As pointed out in [4], there is an alternative way to capture the behavior of POMDPs induced by MEMDPs via the (information theory) notion of entropy [15] of a belief. Formally, the entropy of a belief is defined by . The entropy of a belief is a measure of the amount of information carried by that belief: the higher the entropy, the less carried information. A belief is Dirac if and only if its entropy is null; the maximal value of the entropy is , it is achieved by the uniform probability distribution.
In MEMDPs, the amount of information we have about the current environment never shrinks: the more distinguishing state-action pairs we visit, the better we know in which environment we are playing. As established in [4], this corresponds to the fact that POMDPs induced by MEMDPs have non-increasing (expected) entropy i.e. they are such that, for all and : .
Clearly, POMDPs with non-increasing entropy are Dirac-preserving. In fact, the converse is also true: all Dirac-preserving POMDPs have non-increasing entropy. (This is harder to show.)
Proposition 19.
A POMDP has non-increasing entropy iff it is Dirac-preserving.
The benefit of the above proposition is twofold. First, the notion of POMDPs with non-increasing entropy is natural, as this corresponds to POMDPs where the knowledge about the current state is monotonous (on average). However, it is not clear from the definition of POMDPs with non-increasing entropy how to effectively decide if a POMDP satisfies this property. It is now apparent that this can be done in polynomial time, since checking that a POMDP is Dirac-preserving can be done by enumerating all triplets of states, actions and observations. Second, given any Dirac-preserving POMDP with an observation-compatible parity objective333Observation-compatible parity objectives, or visible objectives, are a common assumption in POMDPs. They define objectives that can be observed by the player: after playing and observing the sequence of observations traversed during the play, the player can determine whether it is winning or not; see for instance [5]., that is, a parity objective induced by a labelling function such that whenever , and given an initial belief, we can construct an exponentially larger MEMDP, together with a parity objective and an prior environment belief, such that the value in the POMDP coincides with the -value in the MEMDP. This is formally stated below.
Theorem 20.
Consider a Dirac-preserving POMDP , an observation-compatible parity objective , and an initial belief . Then, we can compute in exponential time an MEMDP , a parity objective , and an environment belief such that there is a distinguished state for which .
Proof sktech.
Consider a Dirac-preserving POMDP and an initial belief . Playing in a Dirac-preserving POMDP where the initial state is known amounts to playing in an MDP; similarly, playing in a MEMDP where the operating environment is known amounts to playing in a MDP. Thus, in the MEMDP that we build, we choose as set of environments the set of possible initial states, i.e. , and we view the initial belief as the prior belief on the operating environment. As set of states, we consider the tuples of one current state in per initial state in (this is where the exponential blow-up comes from); with all the states in a tuple mapped to the same observation in by the function . For all , the definition of then relies on the Dirac-preserving assumption. Finally, an observation-compatible parity objective can then be translated into a parity objective on these tuples since the labeling function of only depends on the image of the states by the observation function . We obtain that, up to an exponential blow-up, MEMDPs are exactly POMDPs with non-increasing entropy. Furthermore, note that the limit-sure [8] and gap [11] decision problems on arbitrary POMDPs with observation-compatible parity objectives are undecidable. Thus, Dirac-preserving POMDPs constitute a particularly well-behaved subclass of POMDPs.
References
- [1] Christel Baier and Joost-Pieter Katoen. Principles of model checking. MIT Press, 2008.
- [2] Benjamin Bordais and Jean-François Raskin. Multi-environment mdps with prior and universal semantics. CoRR, abs/2602.10938, 2026. doi:10.48550/arXiv.2602.10938.
- [3] Eline M. Bovy, Caleb Probine, Marnix Suilen, Ufuk Topcu, and Nils Jansen. Code for the AB-HSVI algorithm and the experiments in the paper: "multi-environment pomdps: Discrete model uncertainty under partial observability" (neurips 2025) (version 1). https://doi.org/10.5281/zenodo.17425571, October 2025. Accessed on YYYY-MM-DD. doi:10.5281/ZENODO.17425571.
- [4] Krishnendu Chatterjee, Martin Chmelík, Deep Karkhanis, Petr Novotný, and Amélie Royer. Multiple-environment markov decision processes: Efficient analysis and applications. In J. Christopher Beck, Olivier Buffet, Jörg Hoffmann, Erez Karpas, and Shirin Sohrabi, editors, Proceedings of the Thirtieth International Conference on Automated Planning and Scheduling, Nancy, France, October 26–30, 2020, pages 48–56. AAAI Press, 2020. URL: https://ojs.aaai.org/index.php/ICAPS/article/view/6644.
- [5] Krishnendu Chatterjee, Laurent Doyen, and Thomas A. Henzinger. Qualitative analysis of partially-observable markov decision processes. In Petr Hlinený and Antonín Kucera, editors, Mathematical Foundations of Computer Science 2010, 35th International Symposium, MFCS 2010, Brno, Czech Republic, August 23-27, 2010. Proceedings, volume 6281 of Lecture Notes in Computer Science, pages 258–269. Springer, 2010. doi:10.1007/978-3-642-15155-2_24.
- [6] Krishnendu Chatterjee, Laurent Doyen, Jean-François Raskin, and Ocan Sankur. The value problem for multiple-environment mdps with parity objective. In Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis, editors, 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8–11, 2025, volume 334 of LIPIcs, pages 150:1–150:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ICALP.2025.150.
- [7] Nathanaël Fijalkow, Arka Ghosh, Roman Kniazev, Guillermo A. Pérez, and Pierre Vandenhove. Computing the reachability value of posterior-deterministic pomdps, 2026. doi:10.48550/arXiv.2602.07473.
- [8] Hugo Gimbert and Youssouf Oualhadj. Probabilistic automata on finite words: Decidable and undecidable problems. In Samson Abramsky, Cyril Gavoille, Claude Kirchner, Friedhelm Meyer auf der Heide, and Paul G. Spirakis, editors, Automata, Languages and Programming, 37th International Colloquium, ICALP 2010, Bordeaux, France, July 6-10, 2010, Proceedings, Part II, volume 6199 of Lecture Notes in Computer Science, pages 527–538. Springer, 2010. doi:10.1007/978-3-642-14162-1_44.
- [9] Oded Goldreich. On promise problems: A survey. In Oded Goldreich, Arnold L. Rosenberg, and Alan L. Selman, editors, Theoretical Computer Science, Essays in Memory of Shimon Even, volume 3895 of Lecture Notes in Computer Science, pages 254–290. Springer, 2006. doi:10.1007/11685654_12.
- [10] Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American statistical association, 58(301):13–30, 1963.
- [11] Omid Madani, Steve Hanks, and Anne Condon. On the undecidability of probabilistic planning and related stochastic optimization problems. Artificial Intelligence, 147(1-2):5–34, 2003. doi:10.1016/S0004-3702(02)00378-8.
- [12] Christos H. Papadimitriou and John N. Tsitsiklis. The complexity of markov decision processes. Mathematics of Operations Research, 12(3):441–450, 1987. doi:10.1287/moor.12.3.441.
- [13] Jean-François Raskin and Ocan Sankur. Multiple-environment markov decision processes. In Venkatesh Raman and S. P. Suresh, editors, 34th International Conference on Foundation of Software Technology and Theoretical Computer Science, FSTTCS 2014, New Delhi, India, December 15–17, 2014, volume 29 of LIPIcs, pages 531–543. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2014. doi:10.4230/LIPIcs.FSTTCS.2014.531.
- [14] Jean-François Raskin and Ocan Sankur. Multiple-environment markov decision processes. CoRR, abs/1405.4733, 2014. arXiv:1405.4733.
- [15] Claude E. Shannon. A mathematical theory of communication. ACM SIGMOBILE Mob. Comput. Commun. Rev., 5(1):3–55, 2001. doi:10.1145/584091.584093.
- [16] Maurice Sion. On general minimax theorems. Pacific Jouronal of Mathematics, 1958.
- [17] Marnix Suilen, Marck van der Vegt, and Sebastian Junges. A PSPACE algorithm for almost-sure rabin objectives in multi-environment mdps. In Rupak Majumdar and Alexandra Silva, editors, 35th International Conference on Concurrency Theory, CONCUR 2024, Calgary, Canada, September 9–13, 2024, volume 311 of LIPIcs, pages 40:1–40:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.CONCUR.2024.40.
- [18] John Von Neumann and Oskar Morgenstern. Theory of games and economic behavior, 2nd rev, 1947.
