Solving Robust Markov Decision Processes: Generic, Reliable, Efficient Tobias Meggendorfer, Maximilian Weininger, Patrick Wienhöft Abstract Markov decision processes (MDP) are a well-established model for sequential decision-making in the presence of probabilities. In robust MDP (RMDP), every action is associated with an uncertainty set of probability distributions, modelling that transition probabilities are not known precisely. Based on the known theoretical connection to stochastic games, we provide a framework for solving RMDPs that is generic, reliable, and efficient. It is generic both with respect to the model, allowing for a wide range of uncertainty sets, including but not limited to intervals, L 1 L^{1} - or L 2 L^{2} -balls, and polytopes; and with respect to the objective, including long-run average reward, undiscounted total reward, and stochastic shortest path. It is reliable , as our approach not only converges in the limit, but provides precision guarantees at any time during the computation. It is efficient because – in contrast to state-of-the-art approaches – it avoids explicitly constructing the underlying stochastic game. Consequently, our prototype implementation outperforms existing tools by several orders of magnitude and can solve RMDPs with a million states in under a minute. 1 Lancaster University Leipzig, Leipzig, Germany 2 Institute of Science and Technology Austria, Klosterneuburg, Austria 3 Dresden University of Technology, Dresden, Germany 4 Centre for Tactile Internet with Human-in-the-Loop (CeTI), Dresden, Germany tobias@meggendorfer.de, maximilian.weininger@ista.ac.at, patrick.wienhoeft@tu-dresden.de Code — https://zenodo.org/records/14385450 1 Introduction Robust Markov decision processes. Markov decision processes (MDPs) ( Puterman 1994 ) are the standard model for sequential decision making and planning in the context of non-determinism and uncertainty. In brief, an MDP proceeds as follows: Starting in some state of the modelled system, an agent chooses an action (resolving non-determinism) and the MDP continues to a successor state, sampled from a probability distribution associated with the state-action pair (resolving uncertainty). In practice, this uncertainty is often not known precisely, but rather estimated from data. Robust Markov decision processes (RMDPs) ( Nilim and Ghaoui 2005 ; Iyengar 2005 ) are an extension of MDPs that lift the assumption of knowing every transition probability exactly. Instead of one precise probability distribution per state-action pair, RMDPs have an uncertainty set consisting of (potentially uncountably) many probability distributions. RMDPs have been used in, e.g., healthcare applications ( Zhang, Steimle, and Denton 2017 ) . However, existing approaches to solving RMDP suffer from significant drawbacks, e.g. they are limited to very specific objectives or classes of uncertainty sets, or do not provide any guarantees on the correctness of their result. Alleviating all these problems, we present a framework for solving RMDPs that is generic , reliable , and efficient . Generic Uncertainty Sets. In the literature, many variants of uncertainty sets exist: Firstly, polytopic uncertainty sets ( Chatterjee et al. 2024 ) generalize simple interval uncertainty, e.g. ( Givan, Leach, and Dean 2000 ; Tewari and Bartlett 2007 ) , L^{1} -balls around a given probability distribution, e.g. ( Strehl and Littman 2004 ; Ho, Petrik, and Wiesemann 2018 ) , and contamination models ( Wang et al. 2024 ) . Definable uncertainty sets ( Grand-Clément, Petrik, and Vieille 2023 ) are a recent generalization of polytopic uncertainty. Secondly, non-polytopic (and non-definable) uncertainty sets include the Chi-square ( Iyengar 2005 ) , Kullback-Leibler divergence ( Nilim and Ghaoui 2005 ) , and Wasserstein distance ( Yang 2017 ) uncertainty sets, and L^{p} -balls around a distribution for 10\} . Markov Decision Process. A (finite-state, discrete-time) Markov decision process (MDP) , e.g. ( Puterman 1994 ) , is a tuple \mathsf{M}=(S,A,\mathsf{P},\mathsf{r}) , where S is a finite set of states ; A is a finite set of actions ; \mathsf{P}\colon S\times A\rightharpoonup\mathcal{D}(S) is a (partial) transition function mapping state-action pairs to a distribution over successor states; and \mathsf{r}\colon S\times A\to\mathbb{N} is a reward function mapping state-action pairs to non-negative rewards (see App. A for a reduction from commonly occurring reward functions to natural numbers). We denote by A(s)\neq\emptyset the available actions of a state s where \mathsf{P}(s,a) is defined. The semantics of MDPs are defined by means of policies which are mappings from finite paths (also called histories) to distributions over actions, formally (S\times A)^{\ast}\times S\to\mathcal{D}(A) . Intuitively, a path in an MDP initially consists only of some state s , and evolves under a policy \pi by sampling an action a according to the distribution \pi(s) , receiving the reward \mathsf{r}(s,a) , and transitioning to the next state s^{\prime} sampled according to \mathsf{P}(s,a) . The process continues in this way ad infinitum, always using the whole path as input for the policy (e.g. \pi(sas^{\prime}) in the second step). A policy is memoryless if it only depends on the current state and deterministic if it assigns probability 1 to a single action. Robust MDP. A robust MDP (RMDP) \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) ( Nilim and Ghaoui 2005 ) is a generalization of MDPs, where instead of a fixed distribution the transition function yields an uncertainty set \mathcal{P}(s,a) . More formally, \mathcal{P}\colon S\times A\to 2^{\mathcal{D}(S)} , where 2^{X} denotes the set of all subsets of X . We say that an RMDP is closed if \mathcal{P}(s,a) is closed for every state-action pair. We employ the classical assumption that uncertainty sets are (s,a)-rectangular as in, e.g. ( Nilim and Ghaoui 2005 ; Chatterjee et al. 2024 ; Wang et al. 2024 ) , i.e. the uncertainty sets are independent for each state-action pair. Intuitively, there is one additional step in the evolution of an RMDP: Before the successor state is sampled, the environment chooses a distribution from the uncertainty set \mathcal{P}(s,a) according to an environment policy \tau , i.e. \tau(s_{0}a_{0}\dots s_{n}a_{n})\in\mathcal{P}(s_{n},a_{n}) . Formally, a pair of policies \pi for the agent and \tau for the environment induces a probability measure \mathbb{P}^{\pi,\tau}_{\mathcal{M}} over infinite paths in an RMDP \mathcal{M} , see App. A for details. We denote by \mathbb{E}^{\pi,\tau}_{\mathcal{M},s} the expectation under this probability measure when using s as initial state. Objectives. Objectives define a mapping from infinite paths \rho=s_{0}a_{0}s_{1}a_{1}\cdots to their payoff. We consider undiscounted total reward (TR) as well as long-run average reward (LRA) ( Puterman 1994 , Chps. 7 & 8) , where \mathsf{TR}(\rho)={\sum}_{t=0}^{\infty}\mathsf{r}(s_{t},a_{t})\text{ and } \mathsf{LRA}(\rho)={\liminf}_{n\to\infty}\frac{1}{n}{\sum}_{t=0}^{n-1}\mathsf{r}(s_{t},a_{t}). (Further details can be found in App. A , in particular how stochastic shortest path (SSP) is a variant of TR.) Using \mathsf{Payoff}\in\{\mathsf{TR},\mathsf{LRA}\} , the value of a state s in an RMDP \mathcal{M} under policies (\pi,\tau) is \mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s)=\mathbb{E}^{\pi,\tau}_{\mathcal{M},s}[\mathsf{Payoff}]. Problem Statement. The optimal value of an RMDP \mathcal{M} is the value under the best possible policy of the agent in whichever instantiation the environment chooses. We consider both the problems of maximizing or minimizing the payoff (interpreting rewards as costs when minimizing), defined by \mathsf{V}^{\max}_{\mathcal{M}}(s)=\sup_{\pi}\inf_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s)\text{ and }\mathsf{V}^{\min}_{\mathcal{M}}(s)=\inf_{\pi}\sup_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) We often use the shorthands \mathit{opt}\in\{\max,\min\} and \mathsf{V}^{\mathit{opt}} to talk about both maximizing and minimizing objectives. For simplicity, we write \overline{\mathit{opt}}=\max if \mathit{opt}=\min and \overline{\mathit{opt}}=\min if \mathit{opt}=\max . Uncertainty Set Variants. Throughout the paper, we mostly distinguish two different variants of uncertainty sets: polytopic and arbitrary. Definition 1 . We say an RMDP \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) is polytopic if for each state-action pair (s,a) the uncertainty set \mathcal{P}(s,a)\subseteq\mathbb{R}^{\lvert S\rvert} is a polytope . A polytope is the convex hull of finitely many points \mathbb{R}^{\lvert S\rvert} or, equivalently, it is the intersection of a finite family of closed half-spaces ( Grünbaum 2003 ) . Thus, a polytope classically is given in \mathcal{V} -representation (vertex) or \mathcal{H} -representation (half-space). Computing the \mathcal{V} -representation from \mathcal{H} -representation can result in exponentially many vertices, e.g. already when an interval on every probability is given ( Sen, Viswanathan, and Agha 2006 , Lem. 6) . Many uncertainty set variants are polytopic, for example L^{1} -balls around a probability distribution. However, e.g. L^{2} -balls are not polytopes, which brings us to the second variant: In arbitrary RMDPs, the uncertainty sets are not restricted at all. For our algorithmic results, we assume that the uncertainty sets are closed and satisfy the Constant-Support \xspace Assumption, explained in Sec. 3 . RMDPs Semantics. There are several semantics for RMDP, related to how probability distributions are chosen from the uncertainty set, see e.g. ( Nilim and Ghaoui 2005 ; Iyengar 2005 ) . The main questions are (i) “Is the environment choosing the distribution allowed to use memory (time-varying) or not (stationary)?” , and (ii) “Is the environment an ally (best-case) or an antagonist (worst-case)?” . We prove that for a large class of RMDPs, (i) is irrelevant, as the environment has equal power in both cases (see Corollaries 1 and 2 ). As to (ii), our solutions for the harder worst-case are also applicable to the best-case (see App. A for further discussion). Note that if we assume a stochastic environment instead of an ally or antagonistic environment, the RMDP can be reduced to a standard MDP by collapsing the stochasticity of the environment and the system into a single step. Turn-based Stochastic Game. Our solution approach utilizes a reduction to turn-based stochastic games (SG) . A finite-action SG ( Condon 1992 ; Chen et al. 2013 ) is a tuple \mathcal{G}=(S,A,\mathsf{P},\mathsf{r}) where all components are as for MDP, but with an additional partitioning of S into max-states S_{\mathit{max}} and min-states S_{\mathit{min}} . Additionally, we define infinite-action SGs as SGs where we allow the set of actions A to be infinite. We distinguish between (finite) max-paths and min-paths depending on whether the last state in the path is a max- or a min-state. The semantics of a SG are determined by a pair of policies \pi,\tau , one for each player, with the max-player deciding the next action for a max-path and the min-player for min-paths. These induce a probability measure over infinite paths, which is used to compute the expectation of the given objective. Using \mathsf{V}_{\mathcal{G}}^{\pi,\tau}(s)=\mathbb{E}^{\pi,\tau}_{\mathcal{G},s}[\mathsf{Payoff}] , the value of an SG \mathcal{G} is defined analogously to RMDPs, i.e. \mathsf{V}^{\max}_{\mathcal{G}}(s)=\sup_{\pi}\inf_{\tau}\mathsf{V}_{\mathcal{G}}^{\pi,\tau}(s) and \mathsf{V}^{\min}_{\mathcal{G}}(s)=\inf_{\pi}\sup_{\tau}\mathsf{V}_{\mathcal{G}}^{\pi,\tau}(s) 3 Connection between RMDP and SG Since the environment in an RMDP acts as an antagonist to the agent, there is a natural correspondence between RMDP and SG, as noted in e.g. ( Nilim and Ghaoui 2005 ) . Intuitively, we can add a second player who chooses the instance of the RMDP. This player then chooses one action from the uncertainty set at every state. Thus, we alternate between original MDP state s where the optimizing player chooses action a , and a new antagonistic state s^{a} where the environment selects some probability distribution from the uncertainty set, see, e.g., ( Iyengar 2005 ; Nilim and Ghaoui 2005 ; Chatterjee et al. 2024 ) . For the formal definition, recall that \mathit{opt}\in\{\max,\min\} denotes the optimization direction of the agent’s objective and \overline{\mathit{opt}} is the environment’s optimization direction, i.e. the “inverse” of \mathit{opt} . Definition 2 (Induced SG for arbitrary RMDP) . For an arbitrary RMDP \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) with an \mathit{opt} -objective, its induced SG \mathcal{G}_{\mathcal{M}}=(S^{\mathcal{G}},A^{\mathcal{G}},\mathsf{P}^{\mathcal{G}},\mathsf{r}^{\mathcal{G}}) is defined as follows: • S^{\mathcal{G}}=S^{\mathcal{G}}_{\mathit{opt}}\cup S^{\mathcal{G}}_{\overline{\mathit{opt}}} where – S^{\mathcal{G}}_{\mathit{opt}}=S , and – S^{\mathcal{G}}_{\overline{\mathit{opt}}}=\{s^{a}\mid s\in S,a\in A(s)\} ; • for agent states s\in S^{\mathcal{G}}_{\mathit{opt}} , we have – A^{\mathcal{G}}(s)=A(s) , – \mathsf{P}^{\mathcal{G}}(s,a)=\{s^{a}\mapsto 1\} for a\in A^{\mathcal{G}}(s) , i.e. it surely transitions to the newly added environment state, and – \mathsf{r}^{\mathcal{G}}(s,a)=\mathsf{r}(s,a) for a\in A^{\mathcal{G}}(s) ; • for environment states s^{a}\in S^{\mathcal{G}}_{\overline{\mathit{opt}}} we have – A^{\mathcal{G}}(s^{a})=\mathcal{P}(s,a) , i.e. the uncertainty set, – \mathsf{P}^{\mathcal{G}}(s^{a},\mathsf{P})=\mathsf{P} for \mathsf{P}\in A^{\mathcal{G}}(s^{a}) , and – \mathsf{r}^{\mathcal{G}}(s^{a},\mathsf{P})=\mathsf{r}_{n}(s,a) for \mathsf{P}\in A^{\mathcal{G}}(s^{a}) , where \mathsf{r}_{n} is an (objective-dependent) neutral reward . Intuitively, \mathsf{r}_{n} is chosen in such a way that removing all \overline{\mathit{opt}} -states does not affect the \mathsf{Payoff} of a path, i.e. for a an infinite path in the SG \rho=s_{0}a_{0}s_{1}a_{1}\dots with s_{0}\in S^{\mathcal{G}}_{\mathit{opt}} we have \mathsf{Payoff}(\rho)=\mathsf{Payoff}(s_{0}a_{0}s_{2}a_{2}\dots s_{2k}a_{2k}\dots) . For \mathsf{TR} objectives, the neutral reward is 0 and for \mathsf{LRA} objectives, we define \mathsf{r}_{n}(s^{a})=r(s,a) for all s^{a}\in S^{\mathcal{G}}_{\overline{\mathit{opt}}} . In general, this reduction results in an infinite-action SG, since A^{\mathcal{G}}(s^{a})=\mathcal{P}(s,a) , and the uncertainty set commonly contains uncountably many distributions. However, for RMDPs with polytopic uncertainty sets, we can utilize the fact that the polytope can be captured by randomizing over its finitely many corner points. That is, each action inside the polytope can be simulated by a probabilistic policy randomly choosing between actions corresponding to corners of the polytope. This allows for a finite representation: Definition 3 (Induced SG for polytopic RMDP) . For a polytopic RMDP \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) with C(s,a)=\{\mathsf{P}^{s,a}_{1},\dots,\mathsf{P}^{s,a}_{k}\}\subseteq\mathcal{P}(s,a) denoting the corner points of the polytopic confidence region for \mathcal{P}(s,a) , its induced SG \mathcal{G}^{\mathit{poly}}_{\mathcal{M}}=(S^{\mathcal{G}},A^{\mathcal{G}},\mathsf{P}^{\mathcal{G}},\mathsf{r}^{\mathcal{G}}) can be obtained as in in Def. 2 , only changing the available actions for environment states s^{a}\in S^{\mathcal{G}}_{\overline{\mathit{opt}}} as A^{\mathcal{G}}(s^{a})=\{a^{s}_{1},\dots,a^{s}_{|C(s,a)|}\} , i.e. the corner points of the polytope. We prove the correctness of both reductions for all considered objectives, uncertainty sets, and semantics. Our proof is similar to ( Chatterjee et al. 2024 , Sec. 3.2) ; the novelty is the addition of TR objectives and the formalization of the infinite-action reduction, where the latter requires several changes. Theorem 1 (Connection to SG – Proof in App. C ) . Let \mathcal{M} be an arbitrary RMDP and \mathcal{G}_{\mathcal{M}} its induced infinite-action SG ( Def. 2 ). Then for all s\in S and any TR or LRA objective \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s)=\mathsf{V}_{\mathcal{G}_{\mathcal{M}}}^{\mathit{opt}}(s) . Moreover, if \mathcal{M} is polytopic and \mathcal{G}_{\mathcal{M}}^{\prime} its induced finite-action SG ( Def. 3 ), \mathsf{V}_{\mathcal{G}_{\mathcal{M}}}^{\mathit{opt}}(s)=\mathsf{V}_{\mathcal{G}_{\mathcal{M}}^{\prime}}^{\mathit{opt}}(s) . Implications of the Polytopic Reduction. Using this observation, we can immediately generalize ( Chatterjee et al. 2024 , Cor. 1) to undiscounted reward on polytopic RMDP: In finite-action SGs, memoryless deterministic policies are sufficient for optimizing TR objectives in SGs ( Bertrand et al. 2023 ) . With Thm. 1 , we thus get that there is an optimal memoryless environment policy in RMDPs that is attained at the vertices of the polytope. Corollary 1 (Environment Policy Semantics – Polytopic) . In polytopic RMDPs with TR objectives, both agent and environment have deterministic memoryless optimal policies. Thus, stationary and time-varying semantics coincide. Complications for Arbitrary Uncertainty Sets. Finite-action SG have many useful properties, e.g. existence of memoryless deterministic optimal policies. For RMDPs with arbitrary uncertainty sets, this is not the case in general (see also ( Grand-Clément, Petrik, and Vieille 2023 , Prop. 3.2) ): Example 1 (Optimal Policy Need Not Exist) . Consider the RMDP (in fact, a Robust Markov chain) in Fig. 1 . The only action in state s_{\text{init}} has reward 0 and uncertainty set given by 0\leq q=p^{2} . The other states have values \mathsf{V}(s_{\text{goal}})=1 and \mathsf{V}(s_{\text{sink}})=0 . Then the value of s_{\text{init}} is V(s_{\text{init}})=0 if p=0 and \frac{1}{1+p} otherwise. This function is discontinuous at p=0 . When the environment is maximizing (i.e. the agent is minimizing costs), there is no optimal environment policy; the supremum over all environment policies is 1, but it cannot be attained. Even restricting to closed convex uncertainty sets is not sufficient: Intuitively, convex combinations can only increase q in relation to p , and thus decrease the value. s_{\text{init}} s_{\text{goal}} s_{\text{sink}} 1-p-q p q Figure 1: RMDP without optimal environment-policy. Sufficient Assumptions. So far, we have not put any restrictions on the uncertainty sets; Thm. 1 does not even require them to be closed or convex. However, for our approach we require that optimal policies exist for both agent and environment. To this end, we introduce a sufficient assumption, which will allow us to provide anytime algorithms with a stopping criterion. Constant-Support \xspace Assumption: For all state-action pairs (s,a) , two distributions in the same uncertainty set \mathsf{P}_{1},\mathsf{P}_{2}\in\mathcal{P}(s,a) have the same support, i.e. \support(\mathsf{P}_{1})=\support(\mathsf{P}_{2}) . Intuitively, this requires knowing all possible successors of each state-action pair, which is realistic in cases where the existence of transitions is certain and only their probability is unknown. In the context of robust systems, where typically it is known how the system behaves, this a natural assumption and is also called “positive uncertainty” ( Chatterjee, Sen, and Henzinger 2008 ) . In statistical applications, confidence intervals are derived by sampling an unknown system. Here, knowledge of the transition structure often is either assumed, also called “grey-box knowledge” ( Ashok, Kretínský, and Weininger 2019 ) , or can be ensured by gathering enough samples as many distance-based uncertainty sets, e.g. those in ( Wang et al. 2024 , Sec. 5.3) , satisfy this assumption either naturally or for sufficiently small distances, see App. A . A weaker assumption is to require only knowledge of the minimum positive transition probability ( Daca et al. 2017 ) . For this, we prove at the end of App. C how it reduces to the Constant-Support \xspace case and in the main body focus only on the latter for readability. We write closed constant-support \xspace RMDP to denote a closed RMDP satisfying the assumption. Note that polytopic RMDP and closed constant-support \xspace RMDP are incomparable: closed constant-support \xspace RMDP may be non-polytopic and polytopic RMDP may violate the Constant-Support \xspace Assumption. Theorem 2 (Optimal Policies under Constant-Support \xspace ) . In every closed constant-support \xspace RMDP, optimal policies exist, formally \sup_{\pi}\inf_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s)=\max_{\pi}\min_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) , and analogously for minimization objectives. Moreover, these policies are memoryless deterministic. Proof Sketch — Full Proof in App. C . We first show value functions are continuous with respect to changes of the probabilities in the RMDP except for cases like Ex. 1 where the support of the transition changes the set of reachable states ( Lemma 5 ). Intuitively, small changes to the probabilities can only have limited impact on the behaviour of an MDP, unless the change in probabilities adds or removes transitions, thereby potentially changing the fundamental long-term behaviour of the MDP, such as certain states being (un-)reachable from others. Thus, if the support for all distributions is constant, all value functions are continuous w.r.t the environment policy \tau . Since all uncertainty sets (i.e. the sets of possible values of \tau ) are closed, the value function must admit optimal policies, as every continuous function attains its optimum on a closed domain. Then, existence of memoryless and deterministic optimal policies follow from basic observations on the objectives ( Lemma 4 ). ∎ Corollary 2 (Environment Policy Semantics – Arbitrary) . In closed constant-support \xspace RMDPs, stationary and time-varying semantics coincide. 4 Implicit Bellman Updates We now discuss how to solve RMDPs with value iteration (VI) in an implicit way. This means that we avoid constructing the induced SG explicitly, and the algorithm works directly on the RMDP. The motivation for this is twofold: Firstly, in polytopic RMDPs (given in \mathcal{H} -representation), the induced finite SG (and thus any approach solving it explicitly) requires exponential space. Secondly and more importantly, in general the induced SG has an uncountably infinite number of actions, and thus cannot be constructed explicitly at all. Bellman Updates in SGs. VI centrally relies on the Bellman update . For example, for SGs with TR objective, we start from a lower bound \mathsf{L}_{0} on the value (e.g. \mathsf{L}_{0}(s)=0 for all states s ) and iteratively apply the update \mathsf{L}_{i+1}(s)=\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)+{\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}), (1) where \mathit{opt}=\max if s\in S_{\mathit{max}} and \mathit{opt}=\min otherwise ( Chen et al. 2013 ) . Intuitively, this performs one step in the SG, back-propagating all rewards. In the limit, this sequence of estimates converges for TR objectives ( Chen et al. 2013 ) . Moreover, \frac{1}{i}\mathsf{L}_{i} converges to the LRA value ( Kretínský, Meggendorfer, and Weininger 2023b , Lem. 8) . Bellman Updates in RMDPs – Robust VI. Observe that in the induced SG, for any action that the agent chooses, the game surely transitions to the environment state corresponding to the chosen state-action pair, and it is the environment’s turn to pick the uncertainty set. We can aggregate these two steps to one update in the RMDP by \mathsf{L}_{i+1}(s)=\mathit{opt}_{a\in A(s)}\big(\mathsf{r}(s,a)+{}\\ \overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}{\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime})\big) (2) Theorem 3 (Robust VI convergence – Proof in App. D ) . Let \mathcal{M} be a polytopic or closed constant-support \xspace RMDP. For a TR objective, the sequence L_{i} obtained from Eq. 2 converges to the value in the limit, i.e. for all s\in S it holds that \lim_{i\to\infty}\mathsf{L}_{i}(s)=\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s) . Similarly, for an LRA objective, \lim_{i\to\infty}\frac{\mathsf{L}_{i}(s)}{i}=\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s) . Eq. 2 generalizes robust VI for discounted reward as in, e.g. ( Nilim and Ghaoui 2005 ) . Unlike ( Wang et al. 2024 ) , we impose no restrictions on the structure of the RMDP. A result similar to this theorem is ( Grand-Clément, Petrik, and Vieille 2023 , Thm. 5.2) , which shows convergence for RMDPs with “definable” uncertainty and LRA objective. Implicit Updates. By itself, Eq. 2 is only of theoretical value for now, as \mathcal{P}(s,a) might be uncountably infinite. The key to an effective algorithm is the ability to evaluate the inner expression in Eq. 2 . This only requires optimizing a linear function over the uncertainty set (generalizing the already quite generic “definable” assumption ( Grand-Clément, Petrik, and Vieille 2023 , Def. 4.11) ). Moreover, this optimization can be performed efficiently for many uncertainty sets, of which we provide a (non-exhaustive) list. Lemma 1 (Efficiency of the Implicit Update) . Let \mathcal{P}(s,a) be an uncertainty set given as (i) polytope in \mathcal{H} -representation or (ii) \mathcal{V} -representation, or (iii) (weighted) L^{p} -norm-balls around a probability distribution where p\in\mathbb{N}\cup\{\infty\} . Then, \overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}{\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) can be evaluated with a number of operations that is polynomial w.r.t. |S| and the representation of \mathcal{P}(s,a) . Proof Sketch — Full Proof in App. D . Case (i) reduces to a polynomially sized linear program, which is PTIME ( Karmarkar 1984 ) . For (ii), iterating over all vertices takes linear time. For L^{1} - and L^{\infty} -balls it suffices to order the successors according to \mathsf{L}_{i} and maximize their probability in this order. For general L^{p} -balls we compute the surface point where the gradient of the objective function is orthogonal to its surface. We note that when considering interval constraints (a special case of (iii)), this coincides with the technique of ordering-maximization ( Givan, Leach, and Dean 2000 ; Lahijanian, Andersson, and Belta 2015 ) , which is also employed by IntervalMDP.jl ( Mathiesen, Lahijanian, and Laurenti 2024 ) . ∎ Algorithm 1 Best-Effort Implicit Value Iteration for RMDP Input : Polytopic or closed constant-support \xspace RMDP \mathcal{M} and precision hint \varepsilon>0 Output : Lower bounds on the optimal total reward value \mathsf{V}_{\mathcal{M}}^{\mathit{opt}} 1: \mathsf{L}_{0}(\cdot)\leftarrow 0 , i\leftarrow 0 2: while true do 3: for all s\in S do 4: \mathsf{L}_{i+1}(s)\leftarrow\mathit{opt}_{a\in A(s)}\big(\mathsf{r}(s,a)+{} \quad\quad\quad\overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime})\big) 5: if \max_{s\in S}\mathsf{L}_{i+1}(s)-\mathsf{L}_{i}(s)<\varepsilon then 6: return \mathsf{L}_{i+1} 7: i\leftarrow i+1 Thus, for a large class of RMDPs (with any of the listed uncertainty sets and LRA or TR objectives), every single step of VI is fast. Further, while the overall number of steps for VI can be exponential, typically a much smaller number of iterations suffices ( Hartmanns et al. 2023 ) , suggesting that implicit Bellman updates yields an efficient VI approach. Together, this gives rise to a generic implicit value iteration algorithm, presented in Alg. 1 . Thm. 3 directly yields that the computed \mathsf{L}_{i} converge to the true value in the limit and Lem. 1 shows that the updates in Line 4 can be performed effectively and efficiently. However, note that such a (one-sided) VI does not yet give us a stopping criterion. In particular, while the rule in Line 5 usually works well in practice, it does not guarantee that the computed values are close to the true value. Obtaining such a guarantee is the topic of the next section. 5 Implicit Anytime Value Iteration The approach of Sec. 4 converges in the limit (similar to ( Grand-Clément, Petrik, and Vieille 2023 ; Wang et al. 2024 ) ), however we cannot bound the distance between \mathsf{L}_{i} and \mathsf{V}_{\mathcal{M}}^{\mathit{opt}} for any concrete i . In other words, we do not know how close we are to the true value at any time and thus cannot give any guarantees upon stopping the VI. This absence of a stopping criterion is explicitly noted as an open question in ( Grand-Clément, Petrik, and Vieille 2023 , Sec. 5.2) . Even for non-robust systems, efficient stopping criteria were a major challenge. One prominent solution is bounded value iteration (BVI) , see e.g. ( Kretínský, Meggendorfer, and Weininger 2023a ) . The main idea is to compute an additional sequence of upper bounds \mathsf{U}_{i} that over -approximates the value and converges to it in the limit, yielding an anytime algorithm . Our goal is to obtain such an algorithm for RMDP. Definition 4 (Anytime Algorithm with Stopping Criterion) . An anytime algorithm (with stopping criterion) for RMDPs maintains two sequences \mathsf{L}_{i},\mathsf{U}_{i} such that for all states s (i) for every iteration i\in\mathbb{N} , \mathsf{L}_{i}(s)\leq\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s)\leq\mathsf{U}_{i}(s) , and (ii) \lim_{i\to\infty}\mathsf{U}_{i}(s)-\mathsf{L}_{i}(s)=0 . Intuitively, an anytime algorithm is correct at every step and guarantees a precision of \mathsf{U}_{i}(s)-\mathsf{L}_{i}(s) ; moreover, eventually the algorithm terminates for every precision \varepsilon>0 . Using Thm. 1 , we can obtain an explicit anytime algorithm for polytopic RMDPs, namely by constructing the induced finite-action SG and applying the algorithms of ( Kretínský, Meggendorfer, and Weininger 2023a ) . Key Contribution. To obtain an algorithm that is efficient and applicable for arbitrary uncertainty sets, we now propose an implicit anytime algorithm. For ease of presentation, the descriptions in this section focus on closed constant-support \xspace RMDPs with TR objective. We later provide an intuition how to extend the results to LRA objectives and non-constant support RMDPs (details are provided in Apps. E and F ). Challenges. Obtaining converging upper bounds is not as simple as for lower bounds. In particular, just applying Bellman updates to upper bounds does not necessarily converge. Example 2 (Non-Convergence of Upper Bounds) . Consider the RMDP (even MDP) in Fig. 2 (left) and assume BVI starts with an upper bound of \mathsf{U}_{0}(p)=\mathsf{U}_{0}(q)=t>1 . The correct value is \mathsf{V}_{\mathcal{M}}^{\max}=1 , since p has the value of q , and q can pick action \mathit{exit} to obtain a reward of 1 and enter the sink s , from which point onward no further rewards are collected. However, the Bellman update in q chooses the action \mathit{stay} that maximizes the upper bound, keeping it at t . Thus, \mathsf{U}(p)=\mathsf{U}(q)=t is a spurious fixpoint of the Bellman updates for all t>1 , and BVI does not converge from above. p q s stay \colon 0 stay \colon 0 stay \colon 0 exit \colon 1 pq s stay \colon 0 stay \colon 0 exit \colon 1 stay \colon 0 Figure 2: An MDP where value iteration from above does not converge (left) and the collapsed MDP (right). Convergence by Collapsing End Components. The core problem are so-called end components (ECs) , e.g. ( De Alfaro 1997 , Chp. 3.3) , which are cyclic parts of the state space where the agent can remain arbitrarily long without obtaining any reward. The solution introduced in ( Brázdil et al. 2014 ; Haddad and Monmege 2018 ) is to collapse these ECs, i.e. to replace them with a single representative and remove all internal behaviour. In the example, the states p and q can be aggregated into a single state while removing the \mathit{stay} actions, as depicted in Fig. 2 (right). The modified MDP has the same value (where all collapsed states have the value of their representative) and in it, Bellman updates have a unique fixpoint so that BVI converges. Since in constant-support RMDPs the environment cannot affect the set of successor states, ECs are solely under the agents control and we can lift the solution of collapsing from MDP to RMDP. Lemma 2 (Collapsing – Proof in App. E ) . Let \mathcal{M} be a closed constant-support \xspace RMDP with a TR objective. We can construct a linearly sized RMDP \mathcal{M}^{\prime}=\mathsf{COLLAPSE}(\mathcal{M}) in polynomial time, such that \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}=\mathsf{V}_{\mathcal{M}^{\prime}}^{\mathit{opt}} and in \mathcal{M}^{\prime} , the Bellman updates have a unique fixpoint. Initializing Upper Bounds. Classical BVI requires an (a-priori) upper bound \mathsf{U} that for all states over-approximates their value. Such a bound can be obtained in two steps, which we only briefly outline in the interest of space. First, we identify states with infinite value, which can be done by graph analysis, extending methods for SG ( Chen et al. 2013 ) to work implicitly in RMDPs. The remaining states with finite value almost surely reach a sink state where no further reward is obtained. Their value can be bounded by extending a standard approach to our setting, see e.g. ( Kretínský, Meggendorfer, and Weininger 2023b , App. B) . In essence, we can conservatively bound the expected number of steps until a sink state is reached and assume that until then the maximal single-step reward is obtained. We call this procedure \mathsf{INIT\_TR} and formally describe it in App. E . Lemma 3 ( \mathsf{INIT\_TR} – Proof in App. E ) . Let \mathcal{M} be a polytopic or closed constant-support \xspace RMDP. There exists a procedure \mathsf{INIT\_TR} that for \mathcal{M} and a TR objective computes functions \mathsf{L},\mathsf{U} such that (i) all states s with infinite value have \mathsf{L}(s)=\mathsf{U}(s)=\infty and (ii) all states s with finite value have \mathsf{L}(s)=0 and \mathsf{U}(s)=t , where t\in\mathbb{Q} is an upper bound on the maximum finite expected total reward. In practice, optimistic value iteration (OVI) ( Hartmanns and Kaminski 2020 ; Azeem et al. 2022 ) has proven to be more efficient. Instead of fixing upper bounds a-priori, we adaptively guess and verify them, using effectively the same building blocks. The details of OVI are rather involved and we avoid discussion to not distract from the key results. For scalability, our implementation uses this approach. Algorithm. Algorithm 2 Bounded Value Iteration for RMDP Input : closed constant-support \xspace RMDP \mathcal{M} and desired precision \varepsilon>0 Output : \varepsilon -precise lower and upper bounds \mathsf{L} and \mathsf{U} on the optimal total reward value \mathsf{V}_{\mathcal{M}}^{\mathit{opt}} 1: \mathcal{M}^{\prime}\leftarrow\mathsf{COLLAPSE}(\mathcal{M}) 2: \mathsf{L}_{0},\mathsf{U}_{0}\leftarrow\mathsf{INIT\_TR}(\mathcal{M}^{\prime}) 3: i\leftarrow 0 4: while \mathsf{U}(s_{i})-\mathsf{L}(s_{i})>\varepsilon do 5: for all s\in S^{\prime} do 6: \mathsf{L}_{i+1}(s)\leftarrow\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)\penalty\ + \quad\quad\quad\overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) 7: \mathsf{U}_{i+1}(s)\leftarrow\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)\penalty\ + \quad\quad\quad\overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{U}_{i}(s^{\prime}) 8: i\leftarrow i+1 9: return (\mathsf{L}_{i},\mathsf{U}_{i}) Alg. 2 shows the overall BVI algorithm for TR objectives. First, it collapses ECs to ensure that Bellman updates have a unique fixpoint and computes the initial bounds. Then the main loop applies implicit Bellman updates Eq. 2 . Since by Lem. 3 the initial bounds are correct and by Lem. 2 Bellman updates have a unique fixpoint, the lower and upper bounds eventually become arbitrarily close. Long-Run Average Reward. For closed constant-support \xspace RMDPs with LRA objectives, a very similar construction is possible based on ( Ashok et al. 2017 ) . We modify the \mathsf{COLLAPSE} procedure as follows (see App. E for the formal description): When replacing an EC, add an action to its representative that leads to a sink state and as reward obtains the value of staying in the EC forever. Thus, playing this action in the modified RMDP corresponds to playing optimally in the EC of the original RMDP, and thus preserves the values. In this way, we can reduce LRA objectives to TR objectives and then apply Alg. 2 . Theorem 4 (Implicit Anytime Algorithm with Stopping Criterion – Proof in App. E ) . For every closed constant-support \xspace RMDP \mathcal{M} with TR objective and precision \varepsilon>0 , Alg. 2 is an anytime algorithm ( Def. 4 ). For LRA objectives, its modification (see Alg. 3 ) is an anytime algorithm. Both algorithms work implicitly , i.e. without constructing the induced SG. Beyond Constant-Support \xspace . In RMDPs where the environment can affect the successors of an action, the solution of collapsing is not applicable anymore. In particular, states in an EC may have different values, as the environment can “lock” the agent in subpart of the EC. This was the key complication for developing stopping criteria for SGs, see e.g. ( Kretínský, Meggendorfer, and Weininger 2023a , Sec. III-B) , necessitating additional analysis of the ECs. Moreover, we aim to do so implicitly, adding another layer of complexity. In App. F we provide implicit anytime algorithms for SSP and maximizing TR and explain the complications for LRA and minimizing TR, for which we may need to resort to an exponential blowup by enumerating possible supports. We conjecture that this can be avoided but leave this question for future work. Optimal Policies. Often, we are not only interested in the value of an RMDP, but also optimal policies. These can be derived without computational overhead for both the agent and the environment: Using the connection between RMDP and SG, we can apply ( Kretínský, Meggendorfer, and Weininger 2023a , Lem. 1) . Intuitively, during every Bellman update, we remember the optimal action for every state. Then, when the algorithm terminates, these actions form an optimal policy. 6 Experimental Evaluation We implemented a prototype in Java, based on PET ( Meggendorfer and Weininger 2024a ) . For linear optimization, we use the (pure Java) library oj! Algorithms . We ran our experiments on a machine with standard hardware (AMD Ryzen 5 CPU, 16GB RAM) running Linux Mint OS and using OpenJDK 21 as JRE. Our tool, its source code, all models, and instructions to replicate all results can be found at ( Meggendorfer 2024 ) . Features. For uncertainty sets, our prototype supports (i) linear constraints, i.e. \mathcal{H} -representation of polytopes, (ii) rectangular constraints, i.e. lower and upper bounds for probabilities, and (iii) norm-based constraints, i.e. giving a centre point q together with a radius r and including all probabilities with L^{1} , L^{2} , or L^{\infty} distances at most r from q . (Note that both L^{1} and L^{\infty} constraints are a special case of linear constraints, but L^{1} constraints can be exponentially more succinct.) In terms of models, our tool supports three formats. Firstly, a simple, explicit format in JSON (described in the artefact). Secondly, we can consider a robust variant of PRISM models ( Kwiatkowska, Norman, and Parker 2011 ) , obtained by adding L^{1} , L^{2} , or L^{\infty} balls of a given radius on each action. Finally, our tool supports interval models in PRISM language (i.e. rectangular constraints). For properties, our tool supports maximizing and minimizing LRA, TR, and SSP. For LRA and minimizing TR, Constant-Support is required (due to the discussion above). Models. We consider several sources of models. Firstly, we handcrafted ten models where we could manually derive the correct value to validate our tool, in particular covering many corner-cases. Since these models are small, we do not include them for performance evaluation. Secondly, we use models from ( Chatterjee et al. 2024 ) and their scaled up versions. Finally, we modified several standard models from ( Hartmanns et al. 2019 ) by adding rectangular constraints on selected transitions or adding L^{p} balls around all transitions. All considered (and further) models are included in the artefact. Previous Approaches. For ( Grand-Clément, Petrik, and Vieille 2023 ; Wang et al. 2024 ) , neither code nor case studies are available online. We consider the implementation of ( Chatterjee et al. 2024 ) , denoted RPPI , which also implements the approaches of ( Wang et al. 2023 ) , called RVI and RRVI . We mention a few caveats: Our tool is implemented in Java, while the implementation of ( Chatterjee et al. 2024 ) is written in Python and uses stormpy (Python binding for the model checker Storm ( Hensel et al. 2022 ) ), which might be a source of performance differences. Moreover, our input formats are fundamentally different: The approach of ( Chatterjee et al. 2024 ) only supports linear constraints and assumes that the vertices of the constraint set is explicitly given, i.e. in \mathcal{V} -representation. In contrast, we support many different representations. Naturally, the performance of an algorithm depends on the appropriate input representation, and one could argue that choosing different input formats is giving an unfair advantage. However, constraint sets given by L^{p} -balls or rectangular constraints are the typical use-case for RMDP. In particular, the implementation of ( Chatterjee et al. 2024 ) explicitly generates the \mathcal{V} -representation from L^{1} -balls or rectangular constraints. As such, we represent our model instances in this implicit way. As a further competitor, PRISM ( Kwiatkowska, Norman, and Parker 2011 ) , a state-of-the-art probabilistic model checker, supports TR objectives. They also use a value iteration based approach, however it does not provide guarantees and only works on models with rectangular constraints and Constant-Support \xspace . On the considered models our results coincided with those of PRISM , giving further indication for the correctness of our approach and implementation. Guarantees and Runtime. We remark that RVI and RRVI as well as PRISM do not give a practical stopping criterion. For the former two, the implementation from ( Chatterjee et al. 2024 ) aids them by stopping once the iterates are sufficiently close to the correct value, while PRISM stops once the iterates do not changes much between steps. Notably, PRISM ’s heuristic can indeed lead to stopping early and wrongly, see ( Haddad and Monmege 2018 ) . In contrast, our approach produces converging lower and upper bounds and thus also provides a correct stopping criterion. Computing both bounds until achieving precision of \varepsilon ( 10^{-6} in our experiments) naturally requires more effort than just working with one side and stopping at the correct time via an oracle or heuristics: Firstly, BVI needs to perform twice as many operations in each step (updating lower and upper bound). Secondly, the lower bound may already (unknowingly) have converged to the correct value (leading to PRISM stopping), yet the upper bound may still require further updates until convergence. Intuitively, PRISM ’s approach “only” proves that a certain lower bound is achievable, while BVI additionally proves that nothing better is possible. Experimental Results Model Ours RVI RRVI RPPI cont-50 < 1 223 < 1 30 cont-75 < 1 700 < 1 70 cont-100 < 1 M/O cont-125 1 M/O lake-10-U < 1 – T/O 7 lake-10-M < 1 – – 26 lake-15-U < 1 – T/O 136 lake-15-M 2 – – T/O lake-100-U 6 – T/O T/O lake-100-M 12 – – T/O Table 1: Comparison of our approach for maximizing LRA to the approaches implemented in ( Chatterjee et al. 2024 ) on the models used in that paper. We report solving times (excluding model building / parsing) in seconds. A dash indicates the approach does not support a particular model. T/O denotes a timeout of 15 minutes, M/O a memory-out crash. lake- n are their frozenlake models of size n\times n , the suffix U or M indicates the unichain or multichain variant. cont- n are the contamination models with n states. Table 1 shows that our approach massively outperforms RVI , RRVI , and RRPI by several orders of magnitude. In particular, it seems that the runtime of their approaches grow significantly faster than ours. For example, going from lake-10-M to lake-15-M increases the runtime of RPPI by a factor of about 50, while ours only increases by a factor of \approx 5. We believe this is partly due to implementation inefficiencies, but more importantly due the exponential space requirement of constructing the induced SG explicitly. In particular, just building the game structure for lake-100-U in their implementation takes 200s, and crashes with a memory-out on cont-100 . Model |S| |A| Ours PRISM firewire 46,878 92,144 78 111 frozenlake 22,500 90,000 52 25 lake_swarm 20,736 82,944 60 68 brp 217,155 217,155 88 40 Table 2: Comparison of our approach to PRISM . Columns |S| and |A| denote the number of states and actions in the model, respectively. We report solving times in seconds as in Table 1 . The models are obtained by adding rectangular constraints to existing ones. Moreover, all experiments use a TR objective (as PRISM only supports these for RMDP). Note that our tool gives guarantees and PRISM does not, thus higher runtimes are to be expected (see previous discussion). In Table 2 , we compare to the approach of PRISM . Our approach has runtimes in the same order of magnitude, with differences likely due to implementation details. However, recall that by design our tool needs to work more, as it provides guarantees. Thus, these results demonstrate that additionally obtaining guarantees via our approach does not drastically increase the runtime and scales to significantly sized models. Finally, we also evaluated our tool on robust variants of large, established models by adding L^{1} - and L^{2} -norm balls. As there are no competing tools, we delegate details to App. G in the interest of space. In brief, we observed that our approach can efficiently handle complicated uncertainty sets such as L^{2} -balls – out of reach for state-of-the-art tools, and it can solve models with over a million states in under a minute. IntervalMDP.jl . Finally, for completeness we also tried evaluating IntervalMDP.jl ( Mathiesen, Lahijanian, and Laurenti 2024 ) on the models considered in Table 2 . However, the tool ran out of memory for each model already when loading the model (even before specifying an objective). We conjecture that this is due to the tool working with the (large) explicit representation and not the PRISM language directly. However, we again emphasize that their focus is quite different, and as such we cannot draw meaningful conclusions. 7 Conclusion We have generalized the connection between RMDPs and SGs to include arbitrary uncertainty sets and total reward objectives, we have shown that and how Bellman updates can be performed implicitly and efficiently, and we have provided anytime algorithms with stopping criteria. Together, we have presented a framework for solving RMDPs that is generic, reliable and efficient. In the future, we aim to to investigate what form solutions can take when lifting the Constant-Support \xspace Assumption. Appendix A Extended Preliminaries In this appendix, we provide more details on the background, including extensive explanations and pointers to instructive sources. Probability Measure over Paths. Throughout the proofs in the appendices, we require detailed usage of the concepts of infinite path and the probability measure over these paths induced by a Markov chain (i.e. an RMDP or SG under a pair of policies). For a detailed introduction, we refer to ( Baier and Katoen 2008 , Chp. 10.1) , especially the excursus on probability spaces and the pages following it until Ex. 10.11. Here, we briefly recall some relevant notions: \mathsf{Paths}_{X} denotes the set of infinite paths in the system X , where X can be an RMDP or SG. Formally, an infinite path is a sequence alternating between states and actions of the system s_{0}a_{0}s_{1}a_{1}\dots\in(S\times A)^{\omega} . A Markov chain induces a unique probability measures over sets of infinite paths. Objectives. We describe the objectives in more detail. In particular, we include discounted total reward, explain different semantics of TR (denoted by \star=c or \star=\inf ) and explain how SSP is a variant of TR. • Discounted Total Reward: This is the case where the total reward is multiplied with a discount factor \gamma<1 at every step. Formally, we have \mathsf{DiscTR}(\rho)={\sum}_{t=0}^{\infty}\gamma^{t}\mathsf{r}(s_{t},a_{t}) . App. B explains how this objective is included in our framework. • Undiscounted Total Reward and Stochastic Shortest Path: This is the case where \mathsf{Payoff}=\mathsf{TR} . If the goal is to minimize this objective, rewards are commonly called costs. The stochastic shortest path objective, see e.g. ( Bertsekas and Tsitsiklis 1991 ) , is a special case of this objective: In addition to the reward (or rather cost) function, it also includes a set of target states; upon reaching these, no further reward is accumulated. To ensure that the Bellman update is a contraction in this case, the assumption is employed that there exists a proper policy that reaches the target state almost surely ( Bertsekas and Tsitsiklis 1991 , Assm. 1) . Our setting generalizes this, as we do not require this assumption. There are different semantics, depending on the payoff of paths that do not reach the target states. There exist three natural settings ( Chen et al. 2013 , Sec. 3) , depending on the payoff a path obtains if it does not reach a target state. – \star=\infty : A path not reaching a target obtains a payoff of \infty . Intuitively, when minimizing costs, this corresponds to using maximum cost as a punishment for not reaching a target. – \star=0 : A path not reaching a target obtains a payoff of 0 . Intuitively, when maximizing rewards, this corresponds to using minimum payoff as punishment for not reaching a target. – \star=c : There is no special case distinction and every path just obtains its payoff. This can result in infinite payoff when a path reaches a cycle containing states with positive reward. Note that in this semantics, the target set can be omitted from the definition of the objective, since there is no special case and any absorbing state with a state-reward of 0 effectively acts as a target state. In the main body, we focus on the \star=c setting, as it can be defined without target states and thus is the most concise. The case \star=0 can be reduced to the case treated in the main body using ( Chen et al. 2013 , Sec. 4.3.3) . The case \star=\infty is explicitly treated in the appendices, as it is substantially different from, namely dual to, \star=c . • Long-Run Average Reward: This is the case where \mathsf{Payoff}=\mathsf{LRA} . There are two Bellman updates associated with this objective: Firstly, using Eq. 1 and dividing by the number of updates yields a sequence converging to the value in the limit. Secondly, by omitting the rewards from the equation, we obtain an equation characterizing the value; it is the least fixpoint of the following equation, assuming all cycles have the correct value. \mathsf{V}(s)=\mathit{opt}_{a\in A(s)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{V}(s^{\prime}), (3) We refer to the discussion in ( Kretínský, Meggendorfer, and Weininger 2023a , Sec. II-C) for more information. • Rescaling Reward Functions: For \mathsf{TR} , it is standard to focus on positive models, i.e. exclude negative rewards, since in these cases the value might not be well-defined, see ( Puterman 1994 , Sec. 5.2) . Rescaling rational rewards to natural numbers works by multiplying every reward with the largest denominator. For \mathsf{LRA} , we can similarly rescale rewards, using any linear modification (scaling or shifting), see ( Kretínský, Meggendorfer, and Weininger 2023b , App. A-A) . • Other Objectives: The classical reachability and safety objectives are generalized by \mathsf{LRA} and thus included in our framework. Adding other objectives is rather straightforward: It requires (i) defining the neutral reward to make the reduction to SG work (see Sec. 3 ) and extending the unified framework of guaranteed value iteration to this objective, as outlined in ( Kretínský, Meggendorfer, and Weininger 2023a , Sec. VI-H) . Uncertainty Set Variants. We expand on the discussion on uncertainty set variants provided in the main body. In particular, we enumerate many variants that have been used in the literature and explain how many of them satisfy the Constant-Support \xspace Assumption. • Rectangularity: We employ the classical assumption that uncertainty sets are (s,a)-rectangular as in, e.g., ( Iyengar 2005 ; Nilim and Ghaoui 2005 ; Chatterjee et al. 2024 ; Wang et al. 2024 ) , i.e. the uncertainty sets are independent for each state-action pair; and we require the uncertainty set to be closed. See ( Iyengar 2005 , App. A) for a discussion of this assumption and its consequences. One could also consider s -rectangular uncertainty sets, see ( Grand-Clément, Petrik, and Vieille 2023 ) for a very recent collection of results in that case; or even parametric models where the uncertainty can be dependent between different states, see e.g. ( Jansen, Junges, and Katoen 2022 ) for a survey. • Subsumed Uncertainty Set Representations: Polytopic RMDPs already subsume many commonly employed uncertainty set representations. Paraphrasing ( Chatterjee et al. 2024 , Sec. 2) : “[Polytopic RMDPs] strictly subsume RMDPs with L^{1} -uncertainty (or total variation) sets [ ( Ho, Petrik, and Wiesemann 2018 ) ], interval MDPs ( Givan, Leach, and Dean 2000 ) and contamination models [ ( Wang et al. 2024 , Sec. 5.3.1) ]. Furthermore, all our results are applicable to uncertainty sets [which have a polytopic convex hull].” • Non-Polytopic Uncertainty Sets: In the literature, non-polytopic uncertainty sets that have been considered include the Chi-square uncertainty set ( Iyengar 2005 ) , the Kullback-Leibler divergence uncertainty set ( Nilim and Ghaoui 2005 ) , and the Wasserstein distance uncertainty set ( Yang 2017 ) . In all of these cases the uncertainty set is defined as the set of points with distance at most \zeta to some point-estimate, using the respective metric. Another natural set of metrics to use for this distance-based definition are L^{p} distance functions. For the Kullback-Leibler divergence uncertainty set, our constant support assumption is always satisfied due to definition of the Kullback-Leibler divergence. In contrast, the Chi-square, Wasserstein, and L^{p} distance uncertainty sets allow for a change in support while maintaining a finite distance, however, for \zeta small enough (smaller than the smallest component of the point-estimate), they also satisfy Constant-Support \xspace . We emphasize that state-of-the-art methods either cannot handle these uncertainty sets or require strong assumptions on the structure of the MDP, e.g. unichain MDP ( Wang et al. 2024 ) . A recent subclass of uncertainty sets introduced in ( Grand-Clément, Petrik, and Vieille 2023 ) are definable uncertainty sets. Intuitively, definable uncertainty sets only allow “well behaved” uncertainty sets composed of restrictions that are either polynomial or exponential inequalities. While this subsumes many uncertainty sets, in particular all polygonal uncertainty sets we discuss and the L^{p} -metric based ones, the restriction is incomparable to our assumption since there are uncertainty sets with constant support that are not definable, e.g. the Kullback-Leibler divergence uncertainty sets. • Other Common Restrictions. For most of the paper, we assume that the uncertainty sets are closed. This is a common assumption satisfied by all previously mentioned uncertainty set and necessary since optimal policies need not exist, even with Constant-Support \xspace , due to similar problems as in Ex. 1 . Moreover, closed uncertainty sets are also compact since they are clearly bounded. Notice that for any closed uncertainty set, we can equivalently consider its convex hull: Any point \mathsf{P} inside the convex hull of a closed uncertainty set is a convex combination of some points \{\mathsf{P}_{1},\dots,\mathsf{P}_{k}\} of the uncertainty set. Since we optimize for linear objective functions, the value of \mathsf{P} cannot be larger than the value of \max_{i}\mathsf{P}_{i} . Thus, extending the uncertainty set to its convex hull does not affect the optimal value and w.l.o.g. we may only consider convex uncertainty sets. RMDPs Semantics. There are different semantics regarding the environment policy. We summarize the ones suggested in ( Nilim and Ghaoui 2005 ; Bart et al. 2018 ; Chatterjee et al. 2024 ; Wang et al. 2024 ) . Recall that the main questions are (i) “Is the environment choosing the distribution allowed to use memory (time-varying) or not (stationary)?” , and (ii) “Is the environment an ally (best-case) or an antagonist (worst-case)?” . For (i), the policy can be memoryless (stationary/once-and-for-all), depending on the length of the path (time-varying/Markovian), or using the whole path (Interval-Markov-decision-process/history-dependent). Moreover, in the at-every-step semantics, it can additionally aggregate or split states of the original model in the manner of probabilistic bisimulation. In our case, all semantics coincide, since memoryless policies are sufficient to achieve the optimal value (see Cor. 1 for polytopic RMDP and Cor. 2 for closed constant-support \xspace RMDP). Thus, the reader can imagine the environment policy as picking a single “consistent” MDP where all transition distributions are contained in the uncertainty sets. For (ii), our problem statement uses the pessimistic, worst-case interpretation of RMDPs, since the environment is antagonistic to the agent. In the optimistic, best-case interpretation, the environment uses the same optimization direction as the agent, i.e. \sup when maximizing and \inf when minimizing the payoff ( Iyengar 2005 ) . The best-case interpretation is simpler because there is no alternation of optimization direction. Hence, in the induced SG ( App. C ), the newly added states for the environment belong to an ally, and control over them can be given to the agent. Thus, in the resulting system all states belong to one player, and it is not an SG, but an MDP. Consequently, we can employ the simpler solution approaches for MDPs that do not have to take player alternation into account; and solutions for the more general SGs automatically work. Overall, the solutions presented in the paper also work for the simpler optimistic interpretation. Appendix B Discounted Total Reward Objectives. This section walks through the contributions of the paper and on the one hand explains how they are also applicable to discounted reward objectives, and on the other hand points to papers that have already established the results. The goal of this section is to show the generality of the framework by proving that discounted reward objectives are included. Discounted rewards for RMDP with general uncertainty sets were considered in ( Nilim and Ghaoui 2005 ; Iyengar 2005 ) . The connection to stochastic games was observed by both and formalized in the polytopic setting by ( Chatterjee et al. 2024 ) . The Bellman updates (see Eq. 1 ) are modified by including the discount factor. \gamma<1 \mathsf{L}_{i+1}(s)=\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)+\sum_{s^{\prime}\in S}\gamma\cdot\mathsf{P}(s,a)(s^{\prime})\mathsf{L}_{i}(s^{\prime}), (4) The Bellman update is a contraction, in particular also without Constant-Support \xspace ( Iyengar 2005 , Theorem 3.2) , ensuring convergence. The total reward in step i is at most \gamma^{i}\mathsf{r}_{\max} , where \mathsf{r}_{\max} is the maximum occurring reward. Thus, the distance between \mathsf{L}_{i} and \mathsf{V} is bounded: The discounted reward accumulated after step i is bounded by \zeta_{i}=\sum_{j=i+1}^{\infty}\gamma^{j}\mathsf{r}_{\max}=\frac{\gamma^{i+1}\mathsf{r}_{\max}}{1-\gamma} . Hence \mathsf{U}_{i}(s)=\mathsf{L}_{i}(s)+\zeta_{i} for all s\in S is an anytime safe and converging upper bound on the value function. Alternatively, since a path can get at most \gamma^{i}\mathsf{r}_{\max} in step i , the upper bound can be initialized with \sum_{i=0}^{\infty}\gamma^{i}\mathsf{r}_{\max}=\frac{\mathsf{r}_{\max}}{1-\gamma} and updated via the Bellman update. For this method, anytime correctness is proven in the same way as in the undiscounted case (see proof of Theorem 4 in App. E ). Consequently, correctness does not require the additional measures taken Sec. 5 for this objective. In ( Iyengar 2005 ) the Bellman update rule is introduced in an implicit manner, similar to how we perform it in Section 4 . For special uncertainty sets, concrete efficient computation methods for the Bellman updates were already known before in the literature: For interval constraints, ( Givan, Leach, and Dean 2000 ) introduces robust value iteration, whereas for L^{1} uncertainty sets, ( Strehl and Littman 2004 ) implement an implicit update rule. Appendix C Connection between RMDPs and SGs Correctness of the Induced SG ( Thm. 1 ) See 1 Proof. Recall that for an RMDP \mathcal{M} with a pair of policies for agent and environment (\pi,\tau) , any quantative objective is defined as the expected value of a random variable over infinite paths: \mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s)=\mathbb{E}^{\pi,\tau}_{\mathcal{M},s}[\mathsf{Payoff}], where \mathsf{Payoff} is the function mapping infinite paths to their payoff. The same holds for SG for a given \mathit{opt} -player policy \pi^{\prime} and \overline{\mathit{opt}} -player policy \tau^{\prime} : \mathsf{V}_{\mathcal{G}}^{\pi^{\prime},\tau^{\prime}}(s)=\mathbb{E}^{\pi^{\prime},\tau^{\prime}}_{\mathcal{G},s}[\mathsf{Payoff}] Intuitively, our proof shows the equality of the values by showing a “correspondence” between the probability measures over infinite paths in both the SG and the RMDP. Given this correspondence, the claim follows by definition of the value. More formally, the correspondence requires mappings between the RMDP and SG, namely between their paths and policies. Throughout the proof, we fix an RMDP \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) with an \mathit{opt} -objective and its induced SG \mathcal{G}=(S^{\mathcal{G}},A^{\mathcal{G}},\mathsf{P}^{\mathcal{G}},\mathsf{r}^{\mathcal{G}}) The outline of the proof is as follows: 1. We define a surjection \mathsf{destutter} from infinite paths in the SG to infinite paths in the RMDP. 2. We define a surjection \mathsf{projA} between \mathit{opt} -policies in the SG and a gent policies in the RMDP. 3. We define a surjection \mathsf{projE} from \overline{\mathit{opt}} -policies in the SG to e nvironment policies in the RMDP. 4. We show that for every set of paths X in the SG, under some pair of policies (\pi,\tau) , its probability is equal to the projected set of paths in the RMDP under policies (\mathsf{projA}(\pi),\mathsf{projE}(\tau)) . Formally, let X^{\prime}=\{\rho\in\mathsf{Paths}_{\mathcal{M}}\mid\exists\rho^{\prime}\in\mathsf{Paths}_{\mathcal{G}}.\rho=\mathsf{destutter}(\rho^{\prime})\} . Then we show for all states s : \displaystyle\mathbb{P}_{\mathcal{G},s}^{\pi,\tau}[X]=\mathbb{P}_{\mathcal{M},s}^{\mathsf{projA}(\pi),\mathsf{projE}(\tau)}[X^{\prime}] 5. Using this and the definition of value, we conclude that the values in an RMDP and its induced SG are equal. Intuitively, from an optimal policy in one of them, we can construct an optimal policy in the other. There are two differences between arbitrary and polytopic RMDP in the proof: The definition of the mapping for the environment policy in Step 3, and the application of this definition to prove the correspondence in Step 4. We highlight that the proof in ( Chatterjee et al. 2023 , App. A) uses a very similar structure. We modified it for three reasons. These are, in ascending order of importance: (i) clarity of presentation, (ii) the addition of \mathsf{TR} objectives and non-polytopic uncertainty sets, and (iii) consequently establishing that the mapping for environment policies is only a surjection, not a bijection as in their proof. Step 1: Path Mapping. Let \rho=s_{0}a_{0}s_{1}a_{1}\dots\in\mathsf{Paths}_{\mathcal{G}} be an infinite path in the induced SG. Note that the states alternate between \mathit{opt} and \overline{\mathit{opt}} states by construction. Thus, to obtain a path containing only states and actions of the original RMDP, we remove every second state-action pair. Formally, let s_{j} be the first \mathit{opt} -state in the path (i.e. j\in\{0,1\} ), and define the mapping: \mathsf{destutter}(\rho)=s_{j}a_{j}s_{j+2}a_{j+2}\dots. This mapping is also applicable to finite paths. Further, we lift it to sets of paths X\subseteq\mathsf{Paths}_{\mathcal{G}} , i.e. \mathsf{destutter}(X)=\{\mathsf{destutter}(\rho)\mid\rho\in X\} . It is a surjection because by construction of the induced SG, for every path in the RMDP, there exists at least one path in the SG, but there can also be multiple (using different \overline{\mathit{opt}} -actions). Step 2: Agent Policy Mapping. The available actions are the same for each state in the RMDP and its induced SG. Hence, the output of the policies has the same “signature” . Thus, for the mapping the only thing required is to remove the additional components of the SG from the finite path that is used as input to the policy. \mathsf{projA}(\pi)(\rho)=\pi(\mathsf{destutter}(\rho)) Step 3: Environment Policy Mapping. For the environment policy mapping, there is a difference between the case of arbitrary and polytopic RMDP. In an arbitrary RMDP, the same definition as for the agent policy suffices, since every action in the SG uniquely corresponds to a distribution in the uncertainty set. For polytopic RMDPs and the finite-action induced SG, more work is required, since the distribution might need to be constructed from the corner points of the polytope. However, since a polytope is defined as the convex hull of its vertices, the distribution \mathsf{P} that results from combining the corner points certainly is contained in the uncertainty set. Denoting by this point by \mathsf{construct}(\mathsf{P}) , we define the environment policy mapping: \mathsf{projE}(\tau)(\rho)=\mathsf{construct}(\tau(\mathsf{destutter}(\rho))) We highlight that contrary to ( Chatterjee et al. 2023 , App. A) , this is not a bijection, but only a surjection, since for each point in a polytope, there may exist uncountably many combinations of corner points to construct this point. In their work, they define deterministic policies in RMDPs as those that pick a corner point of a polytope, whereas we define them as picking an arbitrary point within the polytope. With their definition, the mapping between memoryless deterministic policies is indeed a bijection. The reason for this difference in definition is that for polytopes given in \mathcal{H} -representation, we avoid explicitly constructing all the exponentially many vertices. Having a surjection is sufficient for the proof. Step 4: “Correspondence” between Probability Measures Our subgoal is to prove that for all states s\in S of the RMDP, all SG policy pairs (\pi,\tau) and all sets of paths X\subseteq\mathsf{Paths}_{\mathcal{G}} , we have \displaystyle\mathbb{P}_{\mathcal{G},s}^{\pi,\tau}[X]=\mathbb{P}_{\mathcal{M},s}^{\mathsf{projA}(\pi),\mathsf{projE}(\tau)}[\mathsf{destutter}(X)] (Note that as compared to the claim in the outline, we renamed X^{\prime} to \mathsf{destutter}(X) ) The probability measures over infinite paths are defined by means of cylinder sets ( Baier and Katoen 2008 , Def. 10.9) . The cylinder set of of a finite path \varrho is the set of all infinite paths \rho that are a continuation of \varrho , i.e. they have \varrho as prefix. The probability of a cylinder set is the probability of the finite path; we overload the \mathbb{P} symbol to also work on finite paths. For every finite path \varrho in the SG, we have \mathbb{P}_{\mathcal{G},s}^{\pi,\tau}[\varrho]=\mathbb{P}_{\mathcal{M},s}^{\mathsf{projA}(\pi),\mathsf{projE}(\tau)}[\mathsf{destutter}(\varrho)] . This can be proven by a straightforward induction on the length of the path, similar to Step 2 in ( Chatterjee et al. 2023 , App. A) . In the induction step, we unfold two states of the finite path in the SG and show that the definitions of our mappings yield an equality. From this, the subgoal follows, as we know that the probabilities of all cylinder sets in the RMDP and SG correspond, and thus the probability measures correspond. Step 5: Equality of the Values Up to this step, the whole proof was objective-independent. Essentially, we showed that the induced SG can model all behaviours of the RMDP, i.e. that their probability measures correspond. To lift this correspondence to value-equality, we first show that the value of every path \rho in the SG and its projection in the RMDP are equal, i.e. \mathsf{Payoff}(\rho)=\mathsf{Payoff}(\mathsf{destutter}(\rho)) . The argument is the one given in the definition of the reward function of the induced SG ( Def. 2 ): for \mathsf{TR} , the reward of 0 does not affect the payoff of a path. And for \mathsf{LRA} , duplicating every reward and doubling the length of the path results in the same average payoff. Overall, we have \displaystyle\mathsf{V}_{\mathcal{G}}^{\pi,\tau}(s) \displaystyle=\mathbb{E}^{\pi,\tau}_{\mathcal{G},s}[\mathsf{Payoff}] \displaystyle=\mathbb{E}_{\mathcal{M},s}^{\mathsf{projA}(\pi),\mathsf{projE}(\tau)}[\mathsf{Payoff}] (*) \displaystyle=\mathsf{V}_{\mathcal{M}}^{\mathsf{projA}(\pi),\mathsf{projE}(\tau)}(s) The step marked with (*) uses the fact that the probability measures and the payoffs of the paths correspond. Finally, the value of an SG or RMDP is the value under an optimal pair of policies. The value in the SG is at most that the RMDP, since from a pair of optimal policies (\pi,\tau) , the mappings \mathsf{projA} and \mathsf{projE} construct policies in the RMDP with the same value. As the mappings are surjective, we can invert them to find for every pair of policies in the RMDP a pair of policies in the SG with the same value; thus, the value of the SG is at least that of the RMDP. Overall, the values are equal. ∎ Existence of Optimal Policies in Closed Constant-Support RMDPs – Thm. 2 Recalling Relevant Notions. For this section, we again recall some relevant basic definitions: We use \mathsf{Paths}_{X} and \mathsf{FPaths}_{X} to denote the set of infinite and finite paths in the system X , respectively, see App. A . A maximal end component (MEC) is a strongly connected sub-MDP that is inclusion-maximal ( De Alfaro 1997 , Chp. 3.3) . We recall the definition as phrased in ( Kretínský, Meggendorfer, and Weininger 2023a , Sec. II-E) Definition 5 (End Component (EC)) . An EC in an MDP \mathsf{M} is a pair (R,B) with \emptyset\neq R\subseteq S and \emptyset\neq B\subseteq\bigcup_{s\in R}A(s) such that (i) for all s\in R and a\in A(s)\cap B we have \support(\mathsf{P}(s,a))\subseteq R and (ii) for all s,s^{\prime}\in R there is a finite path sa_{0}s_{1}\ldots a_{n}s^{\prime}\in(R\times B)^{\ast}\times R , i.e. the path stays inside R and only uses actions in B . Inclusion maximal ECs are called maximal end component (MEC) . We lift the definition to RMDPs in the same way that it is usually lifted to SGs: in the first condition, we require that there exists \mathsf{P}\in\mathcal{P}(s,a) such that \support(\mathsf{P}(s,a))\subseteq R ; intuitively, there exists an environment policy that can keep the path inside the EC. Note that in RMDPs satisfying Constant-Support \xspace , the environment policy cannot affect the graph structure, and thus is irrelevant for the computation of MECs. Optimal Policies Are Memoryless Deterministic. Since optimal policies do not exist in general, we investigate cases in which we can prove their existence. We formally define this property as follows: Opt-Policy-Existence \xspace : There exist optimal agent and environment policies: \sup_{\pi}\inf_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s)=\max_{\pi}\min_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) , and analogously for minimization objectives. We first show that memoryless deterministic policies suffice in case an optimal policy exists. Lemma 4 . An RMDP satisfies Opt-Policy-Existence \xspace if and only if there also exist memoryless deterministic optimal policies for both agent and environment. Proof. The backwards direction is straightforward: If memoryless deterministic optimal policies exist then Opt-Policy-Existence \xspace obviously holds. We now consider the forward direction. For clarity of presentation, we focus this proof on maximizing objectives; the proof for minimizing is analogous. By assumption we have \mathsf{V}^{\max}_{\mathcal{M}}(s)=\max_{\pi}\min_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) In the following, let \pi^{*} and \tau^{*} be the witnessing optimizing policies. We start by showing there are deterministic and memoryless optimal environment policies. Total reward. For \mathsf{TR} memorylessness follows directly from the Bellman equations: Let \varrho_{1},\varrho_{2}\in\mathsf{FPaths}_{\mathcal{M}} such that \varrho_{1} and \varrho_{2} end in s\in S . Then, for all \pi , we have \displaystyle\tau^{*}(\varrho_{1}) \displaystyle=\arg\min_{\tau}\mathsf{Payoff}(\varrho_{1})+\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) \displaystyle=\arg\min_{\tau}\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) \displaystyle=\arg\min_{\tau}\mathsf{Payoff}(\varrho_{2})+\mathsf{V}_{\mathcal{M}}^{\pi,\tau}(s) \displaystyle=\tau^{*}(\varrho_{2}) Now let \tau^{*} be a memoryless optimal policy and let s\in S and a\in A(s) . Define \mathsf{P}^{*}=\arg\min\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{V}^{\max}_{\mathcal{M}}(s^{\prime}) . Note that, despite \mathcal{P} being uncountably infinite, from Opt-Policy-Existence \xspace it follows that there is a minimizing policy for the Bellman equations which implies this minimum \mathsf{P}^{*} exists. Let \tau^{*}_{\mathit{det}} be the policy with \tau^{*}_{\mathit{det}}(s,a)(P^{*})=1 and 0 else. Then, by the Bellman equation, \displaystyle\phantom{{}={}}\sum_{\mathsf{P}\in\mathcal{P}}\left(\tau^{*}_{\mathit{det}}(s)(\mathsf{P})\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{V}^{\max}_{\mathcal{M}}(s^{\prime})\right) \displaystyle=\min_{\tau}\sum_{\mathsf{P}\in\mathcal{P}}\left(\tau(s)(\mathsf{P})\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{V}^{\max}_{\mathcal{M}}(s^{\prime})\right) \displaystyle=\sum_{\mathsf{P}\in\mathcal{P}}\left(\tau^{*}(s,a)(\mathsf{P})\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{V}^{\max}_{\mathcal{M}}(s^{\prime})\right) which, for all s\in S , implies \mathsf{V}^{\cdot,\tau^{*}}(s)=\mathsf{V}^{\cdot,\tau^{*}_{\mathit{det}}}(s) , showing that \tau^{*}_{\mathit{det}}(s) is a memoryless deterministic optimal policy. Long-run average reward. Memorylessness follows from the fact that \mathsf{LRA} is a prefix-independent objective,: For \varrho\in\mathsf{FPaths} and \rho\in\mathsf{Paths} we have \mathsf{LRA}(\varrho\rho)=\mathsf{LRA}(\rho) and thus choosing the minimizing action in a state does not depend on the finite history leading up to the state. The proof for determinism is the same as for \mathsf{TR} . Agent policy. We have shown that the optimal environment policy is memoryless and deterministic. Fixing this optimal policy \tau^{*} leads to an induced MDP \mathcal{M}^{\cdot,\tau^{*}} that is finite, both in action- and state-space. In this case it is well known that memoryless deterministic policies are optimal ( Puterman 1994 , Chp. 8) . ∎ Lemma 5 . For every closed constant-support \xspace RMDP \mathcal{M}=(S,A,\mathcal{P}) and pair \pi,\tau of agent and environment policy, the value function \mathsf{V}^{\pi,\tau} is continuous w.r.t \tau . Proof. We denote the Markov Chain induced by \pi,\tau on \mathcal{M} as \mathcal{M}^{\pi,\tau} . Notice that due to the closedness of the confidence region together with Constant-Support \xspace we can give an a priori bound on the minimum transition probability in \mathcal{M}^{\pi,\tau} . We denote this as p_{\mathit{min}} . By definition, \mathsf{V} is continuous if small perturbations of \tau in \mathcal{M}^{\pi,\tau} only lead to small changes in \mathsf{V}(s) for all s\in S . Formally, we define the \varepsilon -neighbourhood of \tau as \displaystyle T(\tau,\varepsilon)=\{\tau^{\prime} \displaystyle\in\mathcal{P}\mid \displaystyle\forall s\in S,a\in A(s)\colon\lVert\tau(s),\tau^{\prime}(s,a)\rVert_{1}\leq\varepsilon\} where \lVert\cdot,\cdot\rVert_{1} denotes the L^{1} -distance. To prove the lemma, it remains to show that for every \delta>0 there is a \varepsilon>0 such that for all agent policies \pi , environment policies \tau and \varepsilon -perturbations \tau^{\prime}\in T(\tau,\varepsilon) and s\in S we have \mathsf{V}_{\mathcal{M}^{\pi,\tau}}(s)\in\mathsf{V}_{\mathcal{M}^{\pi,\tau^{\prime}}}(s)\pm\delta We now show this separately for all objective functions we consider. Total-reward objectives. Let \mathcal{M} be an RMDP and \pi and \tau agent and environment policies in \mathcal{M} , respectively. Further, let \tau^{\prime}\in T(\tau,\varepsilon) . Then \mathcal{M}^{\pi,\tau^{\prime}} is an \varepsilon -perturbation of \mathcal{M}^{\pi,\tau} . First, notice that V_{\mathcal{M}^{\pi,\tau}}(s)=\infty iff there is a set of paths R\subseteq\mathsf{Paths} with positive probability measure where all \rho\in R start in s and have \mathsf{Payoff}(\rho)=\infty . Due to Constant-Support \xspace R also has positive probability in \mathcal{M}^{\pi,\tau^{\prime}} and thus V_{\mathcal{M}^{\pi,\tau^{\prime}}}(s)=\infty . Note that we may remove all states s that have V_{\mathcal{M}^{\pi,\tau}}(s)=\infty from \mathcal{M} and analyse the remaining RMDP separately, as states with finite value may not reach states with infinite value for total-reward objectives. We now consider RMDP where no such paths exists. In this case, we can construct Markov Chains \mathsf{M}_{1} and \mathsf{M}_{2} with the same value as \mathcal{M}^{\pi,\tau} and \mathcal{M}^{\pi,\tau^{\prime}} by collapsing each bottom strongly connected component (BSCC) ( Baier and Katoen 2008 ) into a single absorbing state with a deterministic self-loop and reward 0. Note that for all states s within a zero-reward BSCC we have V_{\mathcal{M}^{\pi,\tau}}(s)=0=V_{\mathcal{M}^{\pi,\tau^{\prime}}}(s) . We now show that \mathsf{V}_{\mathcal{M}^{\pi,\tau}}\in\mathsf{V}_{\mathcal{M}^{\pi,\tau^{\prime}}}\pm\delta for all transient states. As \mathsf{M}_{1} and \mathsf{M}_{2} are absorbing, we can represent their transition matrices in the canonical form ( Puterman 1994 , App. A) \mathsf{P}_{1}=\begin{pmatrix}I&0\\ R_{1}&Q_{1}\end{pmatrix} where: • Q_{1} is the transition matrix among the transient states in \mathsf{M}_{1} . • R_{1} is the transition matrix from transient states to absorbing states in \mathsf{M}_{1} . • 0 is the zero matrix • I is the identity matrix and dimensions of the matrices are determined by the number of transient and absorbing states. For the transient states the value function as a vector \mathbf{v} is characterized by \mathbf{v}_{1}=\mathsf{r}+Q_{1}\mathbf{v}_{1} The analogous statement holds for \mathsf{M}_{2} . Therefore we can write \displaystyle\mathbf{v}_{1}-\mathbf{v}_{2} \displaystyle=\mathsf{r}+Q_{1}\mathbf{v}_{1}-\mathsf{r}-Q_{2}\mathbf{v}_{2} \displaystyle=Q_{1}\mathbf{v}_{1}-Q_{2}\mathbf{v}_{2}+Q_{1}\mathbf{v}_{2}-Q_{1}\mathbf{v}_{2} \displaystyle=Q_{1}(\mathbf{v}_{1}-\mathbf{v}_{2})+(Q_{1}-Q_{2})\mathbf{v}_{2} \displaystyle=Q_{1}(\mathbf{v}_{1}-\mathbf{v}_{2})+(Q_{1}-Q_{2})\mathbf{v}_{2} \displaystyle=(I-Q_{1})^{-1}(Q_{1}-Q_{2})\mathbf{v}_{2} Notice that (I-Q_{1})^{-1} is the fundamental matrix of a Markov Chain ( Puterman 1994 , App. A) . In particular the inverse is always well defined for absorbing Markov Chains and only has positive entries that intuitively give the expected number of times a given state is visited when starting in a certain state. As \mathsf{M}_{1} is absorbing, we can compute an upper bound on all the entries in (I-Q_{1})^{-1} ( Baier et al. 2017 ) : (I-Q_{1})^{-1}_{ij}\leq\frac{1}{1-p_{\mathit{min}}^{|S|}} Let Q^{i} denote the i -th row of Q . By Hölder’s inequality ( Hölder 1889 ) we have for all i\leq\mathit{dim}(Q_{1}) that \lvert(Q^{i}_{1}-Q^{i}_{2})\mathbf{v}_{2}\rvert\leq\lVert Q^{i}_{1},Q^{i}_{2}\rVert_{1}\lVert\mathbf{v}_{2}\rVert_{\infty}\leq\varepsilon\frac{\lVert\mathsf{r}\rVert_{2}}{1-p_{\mathit{min}}^{|S|}} where the bound on \lVert\mathbf{v}_{2}\rVert_{\infty} follows from bounds on the expected number of visits to each state. Together with the positivity of the entries in (I-Q_{1})^{-1} and the fact all matrices have at most dimension |S| this yields \lvert\mathbf{v}_{1}-\mathbf{v}_{2}\rvert\leq\varepsilon|S|\frac{\lVert\mathsf{r}\rVert_{2}}{(1-p_{\mathit{min}}^{|S|})^{2}} Hence, choosing \varepsilon=\frac{\delta(1-p_{\mathit{min}}^{|S|})^{2}}{|S|\lVert\mathsf{r}\rVert_{2}} shows the claim. Mean-payoff objectives. Recall that we only need to show continuity of \mathsf{V}(s) with respect to changes in environment policy \tau . Then the induced system \mathcal{M}^{\pi,\cdot} is an MDP with compact action sets ( Puterman 1994 , Sec. 8.4.4) . Due to Constant-Support \xspace the environment policy \tau cannot influence which end components exist in the induced Markov Chain \mathcal{M}^{\pi,\tau} . Hence \mathcal{M}^{\pi,\cdot} only contains MECs \mathcal{E}=(T,R) such that R=\bigcup_{s\in T}{A}(s) . In particular this means any run in \mathcal{M}^{\pi,\cdot} entering \mathcal{E}=(T,R) cannot leave T . Consequently, if we denote the RMDP with states T and actions R and transitions as in \mathcal{M}^{\pi,\cdot} as \mathcal{M}^{\mathcal{E}} , for all s\in T we have \mathsf{V}_{\mathcal{M}^{\pi,\cdot}}(s)=\mathsf{V}_{\mathcal{M}^{\mathcal{E}}}(s) . By definition, the underlying graph of \mathcal{E} is strongly connected, i.e. \mathcal{M}^{\mathcal{E}} is irreducible. Further, we may assume \mathcal{M}^{\mathcal{E}} to be aperiodic: If \mathcal{M}^{\mathcal{E}} was periodic we can add self-loops to all actions without altering the value function. Thus \mathcal{M}^{\mathcal{E}} is communicating, which implies it has a fundamental matrix ( Puterman 1994 , Chp. 8) which is a sufficient condition for continuity of the value function ( Puterman 1994 , App. C) . For all states s not contained in a MEC their value V_{\mathcal{M}^{\pi,\cdot}}(s) is a weighted sum of all \mathsf{V}_{\mathcal{M}^{\mathcal{E}_{i}}}(s) , where the weight for a MEC \mathcal{E}_{i} is its reachability probability from s , which may depend on \tau . The task to maximize or minimize this weighted sum can be reformulated as a TR objective and thus V_{\mathcal{M}^{\pi,\tau}}(s) is also continuous w.r.t. \tau for transient s . ∎ See 2 Proof. Let \mathcal{M}=(S,A,\mathcal{P}) be an RMDP. By Lemma 5 the value function \mathsf{V}(s) is continuous for all s\in S with respect to changes in the environment policy \tau , assuming Constant-Support \xspace . The existence of optimal policy then immediately follows from the closedness of the confidence region. Finally, by Lemma 4 , there is also a memoryless deterministic optimal policy. ∎ Assumption on the Minimum Transition Probability Minimum-Probability \xspace Assumption: There exists a minimum positive transition probability p_{\min}>0 such that for all state-action pairs (s,a) , for all distributions \mathsf{P}\in\mathcal{P}(s,a) , we have that for all successor states s^{\prime} either \mathsf{P}(s^{\prime})=0 or \mathsf{P}(s^{\prime})\geq p_{\min} . This assumption was introduced in ( Daca et al. 2017 ) and also used in, e.g., ( Ashok, Kretínský, and Weininger 2019 ) . We can reduce the problem of solving an RMDP with closed uncertainty sets satisfying Minimum-Probability \xspace to solving finitely many closed constant-support \xspace RMDPs as follows: For every uncertainty set there are finitely many possible supports of the contained probability distributions. For each of these (potentially exponentially many) supports, construct an RMDP with only this support, that is thus closed and satisfies the Constant-Support \xspace Assumption. Note that p_{\min} is crucial here since otherwise the uncertainty set may be open when restricted to certain supports, leading to similar problems as in Ex. 1 . The optimum over all of the closed constant-support \xspace RMDPs is the solution to the original RMDP. Appendix D Details for Section 4 We suggest to read the description of objectives in App. A before proceeding with this appendix. Converging VI-algorithm – Thm. 3 See 3 Proof. Undiscounted Total Reward \star=c . Every Bellman update according to Eq. 2 in the RMDP corresponds to two Bellman updates according to Eq. 1 in the induced SG, because \mathsf{P}(s,a)(s^{a})=1 in the SG. Thus, denoting the estimates in the SG by \mathsf{L}^{\mathcal{G}} and using Thm. 1 , we have that \mathsf{L}_{2i}^{\mathcal{G}}(s)=\mathsf{L}_{i}(s) . Since Bellman updates converge in SGs for undiscounted reward ( Chen et al. 2013 , App. B.1) , the claim for undiscounted total reward follows. Note that that paper defines the objective with a target set, unlike our definition. However, as argued in App. A , this target set can be omitted. In particular, this is exactly what the proof of VI-convergence in ( Chen et al. 2013 , App. B.1) does: It reduces to the case without target states. It is interesting that in this setting we do not need to treat states with infinite reward separately because VI converges from below, and in states with infinite value, the limit of the lower bound is indeed infinity. Nonetheless, in practice it is preferable to first find states with infinite value and remove them from the computation. This can be done using graph analysis, see Lem. 3 . Undiscounted Total Reward \star=\infty . In this setting, the target set is required to describe the objective, and the converging VI-algorithm is slightly different. The value is the greatest fixpoint of Eq. 2 , not the least as in the \star=c setting ( Chen et al. 2013 , Sec. 4.3.2) . Thus, VI needs to be run from above, starting from an upper bound that is greater than the value in all states. In particular, this also requires identifying states with infinite value. This can be done using \mathsf{INIT\_TR} , see Lem. 3 and the next subsection of this appendix. Setting \mathsf{L}_{0} to this upper bound and then applying Eq. 2 converges by the same argument as in the \star=c case, using the proof of correctness for this setting from ( Chen et al. 2013 , App. B.2) . Long-Run Average Reward. Let \mathsf{L} be the sequence in the RMDP computed according to Eq. 2 , and \mathsf{L}^{\mathcal{G}} be the sequence of bounds in the induced SG computed according to Eq. 1 . Intuitively, collecting the undiscounted total reward for a number of steps i that is “large enough” and then dividing by this number of steps i results in a good approximation of the long-run average reward. Formally, this is proven in ( Kretínský, Meggendorfer, and Weininger 2023b , Lem. 8) , i.e. for we have \lim_{i\to\infty}\frac{\mathsf{L}^{\mathcal{G}}_{i}(s)}{i}=\mathsf{V}_{\mathcal{G}}(s) , where \mathsf{V}_{\mathcal{G}} is the value in the SG with the LRA objective. In the induced SG, the reward of every newly added state s^{a} is the same as that of the original state s . Thus, we have that \mathsf{L}_{i}^{\mathcal{G}}(s)=2\cdot\mathsf{L}_{i/2}(s) . Combining these statements, we get that \displaystyle\mathsf{V}_{\mathcal{M}}(s) \displaystyle=\mathsf{V}_{\mathcal{G}}(s) (By Thm. 1 .) \displaystyle=\lim_{i\to\infty}\frac{\mathsf{L}^{\mathcal{G}}_{i}(s)}{i} (By the first statement.) \displaystyle=\lim_{i\to\infty}\frac{2\cdot\mathsf{L}_{i/2}(s)}{i} (By the second statement.) \displaystyle=\lim_{i\to\infty}\frac{\mathsf{L}_{i/2}(s)}{i/2} (Rewriting.) \displaystyle=\lim_{j\to\infty}\frac{\mathsf{L}_{j}(s)}{j} (Rewriting.) This proves that VI converges in the RMDP, i.e. using Eq. 2 converges to the LRA value. We highlight that this works for arbitrary RMDPs, without restrictions to unichain as in, e.g., ( Wang et al. 2024 ) . ∎ Efficiency of the Implicit Update – Lem. 1 See 1 Note that this list is not exhaustive and methods for efficiently optimizing a linear function over the mentioned uncertainty sets are mostly known in the literature. The lemma is intended to show how our framework can efficiently be applied for many standard uncertainty sets. We want to especially emphasize that our approach is the first to be able to handle general L^{p} -distance based uncertainty sets, including the practically relevant L^{2} -norm. Proof. \mathcal{H} -representation. The \mathcal{H} -representation gives a set of half-spaces by linear inequalities. This is already the constraint set of an LP. The size of the objective function {\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) is linear in |S| . Lastly, solving the LP is doable in polynomial time ( Karmarkar 1984 ) . \mathcal{V} -representation As a linear function is maximized over a polygon at a corner point, it suffices to compute {\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) for all corner points \mathsf{P}(s,a) and choosing the maximum. For each corner point this requires at most |S| multiplications and additions, and the number of corner points is clearly polynomial in the size of the \mathcal{V} -representation of \mathcal{P}(s,a) . L^{\infty} -ball. Note that the weighted L^{\infty} -ball constraint with respect to a (non-negative) weight vector w , i.e. \lVert\mathsf{P}(s,a)-\mathsf{P}^{*}(s,a)\rVert_{\infty}^{w}\leq\zeta , is equivalent to interval constraints \mathsf{P}^{*}(s,a)(s^{\prime})-\frac{\zeta}{w_{s^{\prime}}}\leq\mathsf{P}(s,a)(s^{\prime})\leq\mathsf{P}^{*}(s,a)(s^{\prime})+\frac{\zeta}{w_{s^{\prime}}} for all s^{\prime}\in S . For the other way around, we can represent each set of interval constraints as a weighted L^{\infty} -ball by choosing \mathsf{P}^{*}(s,a)(s^{\prime}) as the midpoint of the respective interval, and weights inversely proportional to the interval width. An easy way to show the statement is to reduce this to an LP again. However, it is practically more efficient to greedily assign transition probabilities ( Givan, Leach, and Dean 2000 ) : First, order all states according to \mathsf{L}_{i}(s) . Then, starting from \mathsf{P}(s,a) increase (resp. decrease) the probability of all states with large \mathsf{L}_{i}(s^{\prime}) by \frac{\zeta}{w_{s^{\prime}}} while decreasing (resp. increasing) the probability of all states with small \mathsf{L}_{i}(s^{\prime\prime}) by \frac{\zeta}{w_{s^{\prime\prime}}} . As we sort and then iterate over all successor states once, this requires polynomially many arithmetic operations in |S| . L^{1} -ball. A similar idea can be applied for L^{1} -balls ( Strehl and Littman 2004 ) and weighted L^{1} -balls ( Ho, Petrik, and Wiesemann 2018 ) given as \lVert\mathsf{P}(s,a)-\mathsf{P}^{*}(s,a)\rVert_{1}^{w}\leq\zeta : Again, start with \mathsf{P}^{*}(s,a) . Sort all states by \frac{L_{i}(s)}{w_{s}} , then add (resp. remove) a total probability mass of \zeta/2 from the highest value states while removing (resp. adding) probability mass of \zeta/2 from the lowest value states. Again, we sort and iterate over all successors,requiring polynomially many arithmetic operations in |S| . L^{p} -ball. Assume an uncertainty set \lVert\mathsf{P}(s,a)-\mathsf{P}^{*}(s,a)\rVert_{p}^{w}\leq\zeta such that Constant-Support \xspace is satisfied for some support of size k and f(\mathsf{P}(s,a))={\sum}_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) ought to be maximized. For an arbitrary state s^{*} we can rewrite f as \displaystyle{\sum}_{s^{\prime}\in S\setminus\{s^{*}\}}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) \displaystyle+ \displaystyle\left(1-{\sum}_{s^{\prime}\in S\setminus\{s^{*}\}}\mathsf{P}(s,a)(s^{\prime})\right)\mathsf{L}_{i}(s^{*}) We claim that the point defined by \mathsf{P}^{\mathit{opt}}(s,a)=\mathsf{P}^{*}(s,a)-\zeta\frac{\mathbf{x}}{\lVert\mathbf{x}\rVert_{p}^{w}} where \mathbf{x}=\mathsf{L}_{i}-\frac{\lVert\mathsf{L}_{i}\rVert_{1}}{k} , maximizes the objective function and is in \mathcal{P}(s,a) . For containment, i.e. \mathsf{P}^{\mathit{opt}}(s,a)\in\mathcal{P}(s,a) , notice that \mathsf{P}^{\mathit{opt}}(s,a)-\mathsf{P}^{*}(s,a)=\zeta\frac{\mathbf{x}}{\lVert\mathbf{x}\rVert_{p}^{w}} and thus \lVert\mathsf{P}^{\mathit{opt}}(s,a)-\mathsf{P}^{*}(s,a)\rVert_{p}^{w}=\zeta . Further, due to Constant-Support \xspace we have that all entries in \mathsf{P}^{\mathit{opt}}(s,a) are positive and sum to 1 , yielding a probability distribution. To see \mathsf{P}^{\mathit{opt}}(s,a) is maximizing, consider the gradient of the objective function f w.r.t. \mathsf{P}(s,a) which is simply \mathsf{L}_{i} . The normal vector at \mathsf{P}^{\mathit{opt}}(s,a) w.r.t. the surface of the L^{2} -ball has the same direction as the vector from \mathsf{P}^{*}(s,a) to \mathsf{P}^{\mathit{opt}}(s,a) . This is again \mathsf{P}^{\mathit{opt}}(s,a)-\mathsf{P}^{*}(s,a)=\zeta\frac{\mathbf{x}}{\lVert\mathbf{x}\rVert_{p}^{w}} , and thus parallel to the gradient. This means \mathsf{P}^{\mathit{opt}}(s,a) is locally maximizing f , and since f has constant gradient, indeed also globally maximizing within \mathcal{P} . In the case of minimizing objectives the proof is analogous after changing the sign of -\zeta\frac{\mathbf{x}}{\lVert\mathbf{x}\rVert_{p}^{w}} . For the general case, i.e. without assuming Constant-Support \xspace , we can apply the same method but if \mathsf{P}^{\mathit{opt}}(s,a) contains negative entries S^{-} , we clamp them to 0 and redo the process on the L^{2} -ball obtained by projecting the original L^{2} -ball onto S\setminus S^{-} and reducing the radius to \sqrt[p]{\zeta^{p}-\sum_{s^{-}\in S^{-}}\mathsf{P}(s,a)(s^{-})} . It is straightforward to show that iteratively applying this procedure results in \mathsf{P}^{\mathit{opt}}(s,a) such that its distance to \mathsf{P}^{*}(s,a) is bounded by \zeta . Optimality of the zero-entries of \mathsf{P}^{\mathit{opt}}(s,a) follows from the constant gradient of the objective function, and for the non-zero entries from the Constant-Support \xspace case. We only require polynomially many operations to directly compute \mathsf{P}^{\mathit{opt}}(s,a) . In case negative entries appear, we potentially need to do the same computation up to |S| times, leaving the overall number of operations polynomial still. ∎ Appendix E Details for Section 5 Definition of Procedure: \mathsf{COLLAPSE} Recall the following intuition for the \mathsf{COLLAPSE} procedure from the main body: The core problem leading to non-convergence of the upper bounds ( Ex. 2 ) are so-called end components (ECs) , e.g. ( De Alfaro 1997 , Chp. 3.3) , which are cyclic parts of the state space where a path can remain forever under some policy. In other words, there exists an “improper” policy that keeps the path inside the EC without making progress. The formal definition of ECs is given in App. C , Def. 5 . Solution Idea. The core of the problem is that the Bellman update picks a staying action in an EC, believing it to yield an upper bound that is too high. Thus, we need to remove these staying actions so that the Bellman updates have a unique fixpoint. The solution introduced in ( Brázdil et al. 2014 ; Haddad and Monmege 2018 ) is to collapse ECs, i.e. to replace them with a single representative that has all the exiting actions, but none of the staying actions. One important observation is that ECs can only lead to spurious fixpoints when all states in them have a reward of 0 (cf. ( Kretínský, Meggendorfer, and Weininger 2023a , Cor. 1) ). We provide an intuition: Consider an EC with a positive state-reward: If the maximizing player can keep the play inside it, its value is infinite and this is detected by \mathsf{INIT\_TR} . If the minimizing player has the possibility to leave the EC, then Bellman updates for that player prefer leaving actions, and there cannot be a cyclic dependency. Based on this insight, we say an EC \mathcal{E}=(T,R) is a zero-reward end component if \mathsf{r}(s,a)=0 for all s\in T,a\in R(s) . Intuitively, collapsing a zero-reward ECs consists of the following steps: • replace each EC \mathcal{E}_{i} by a new state s_{\mathcal{E}_{i}} • add an action to s_{\mathcal{E}_{i}} for each action leaving \mathcal{E}_{i} in the original RMDP, copying transitions and rewards • redefine all transitions into an EC by summing all transition probabilities • add a staying action to each s_{\mathcal{E}_{i}} , leading to a dedicated sink state The last condition is necessary to simulate staying inside the EC forever, in case this policy would be optimal for the agent (e.g. for minimizing TR objectives with \star=c ). Formally, we define it as follows: Definition 6 . Let \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) with zero-reward MECs (\mathcal{E}_{i})_{1\leq i\leq m} . Then \mathsf{COLLAPSE}(\mathcal{M})=(S^{\prime},A^{\prime},\mathcal{P}^{\prime},\mathsf{r}^{\prime}) where • S^{\prime}=\left(S\setminus\left(\bigcup_{i=1}^{m}T_{i}\right)\right)\cup\left(\bigcup_{i=1}^{m}s_{\mathcal{E}_{i}}\right)\cup\{s_{\mathit{sink}}\} • A^{\prime}(s)={A}(s) for all s\in S\cap S^{\prime} • A^{\prime}(s_{\mathcal{E}_{i}})=\{\alpha_{s,a}\mid s\in T_{i},a\in{A}(s)\setminus R_{i}(s)\}\cup\{\mathit{stay}\} for all 1\leq i\leq m • \mathcal{P}^{\prime}(s,a)=\{\mathsf{P}^{\prime}(s,a)\mid\mathsf{P}\in\mathcal{P}\} where – \mathsf{P}^{\prime}(s,a)(s^{\prime})=\mathsf{P}(s,a)(s^{\prime}) for s^{\prime}\in S\cap S^{\prime} – \mathsf{P}^{\prime}(s,a)(s_{\mathcal{E}_{i}})=\sum_{s^{\prime}\in T_{i}}\mathsf{P}(s,a)(s^{\prime}) for all 1\leq i\leq m for all s\in S,a\in{A}(s) • \mathcal{P}^{\prime}(s_{\mathcal{E}_{i}},\alpha_{s,a})=\mathcal{P}^{\prime}(s,a) for all 1\leq i\leq m • \mathcal{P}^{\prime}(s_{\mathcal{E}_{i}},\mathit{stay})=\{\mathsf{P}(s_{\mathcal{E}_{i}},\mathit{stay})(s_{\mathit{sink}})=1\} for all 1\leq i\leq m • \mathcal{P}^{\prime}(s_{\mathit{sink}},\mathit{stay})=\{\mathsf{P}(s_{\mathcal{E}_{i}},\mathit{stay})(s_{\mathit{sink}})=1\} • \mathsf{r}^{\prime}(s,a)=\mathsf{r}(s,a) for all s\in S\cap S^{\prime},a\in A(s) • \mathsf{r}^{\prime}(s_{\mathcal{E}_{i}},\alpha_{s,a})=\mathsf{r}(s,a) for all 1\leq i\leq m • \mathsf{r}^{\prime}(s_{\mathcal{E}_{i}},\mathit{stay})=0 for all 1\leq i\leq m • \mathsf{r}^{\prime}(s_{\mathit{sink}},\mathit{stay})=0 Correctness of Collapsing – Lem. 2 See 2 Proof. For this proof we denote the components of the RMDPs as \mathcal{M}=(S,A,\mathcal{P},\mathsf{r}) and \mathcal{M}^{\prime}=(S^{\prime},A^{\prime},\mathsf{P}^{\prime},\mathsf{r}^{\prime}) . Note that for ease of presentation, the statement of the lemma contains the slightly informal claim \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}=\mathsf{V}_{\mathcal{M}^{\prime}}^{\mathit{opt}} ; it is informal as \mathcal{M} and \mathcal{M}^{\prime} do not have the same state space. More formally, we require that for all unchanged states s\in S\cap S^{\prime} we have \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s)=\mathsf{V}_{\mathcal{M}^{\prime}}^{\mathit{opt}}(s) , and for every state in a collapsed MEC, its value is equal to that of its representative: Every s\in S\setminus S^{\prime} is part of some MEC \mathcal{E}_{i} and we have \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(s)=\mathsf{V}_{\mathcal{M}^{\prime}}^{\mathit{opt}}(s_{\mathcal{E}_{i}}) . Linear Size. As \mathsf{COLLAPSE} replaces end components in \mathcal{M} by single representative states we have |S|\geq|S^{\prime}| and |A|\geq|A^{\prime}| . Thus, the size of \mathcal{M} is clearly linear in the size of \mathcal{M} . Polynomial Time. Due to Constant-Support \xspace the environment policy \tau does not have any influence on the underlying graph structure, in particular on the set of ECs. Thus finding the zero-reward MECs to collapse can be done by considering the induced MDP \mathcal{M}^{\cdot,\tau} for any \tau . The set of MECs in an MDP can be computed in polynomial time ( De Alfaro 1997 ) . Preservation of Values. We can see that \mathsf{V}_{\mathcal{M}}=\mathsf{V}_{\mathcal{M}^{\prime}} as we can map policies in \mathcal{M}^{\prime} to policies in \mathcal{M} such that values are preserved. Outside of zero-reward ECs the mapping is straightforward, simply copying the policy. Inside of a zero-reward EC, \mathcal{E}=(T,R) we can associate each pair of policies \pi^{\prime},\tau^{\prime} in \mathcal{M}^{\prime} with a probability distribution over actions exiting the EC and staying within the EC. That is, in the induced Markov chain \mathcal{M}^{\prime\pi^{\prime},\tau^{\prime}} there is a unique probability p^{s,a}_{\mathcal{E}} that a run of \mathcal{M}^{\prime\pi^{\prime},\tau^{\prime}} leaves T via state s\in T and action a\in A(s) . Additionally, there is a unique probability p^{\mathit{stay}_{\mathcal{E}}} (potentially 0 ) that T is never left. Constructing \pi,\tau such that \pi(s_{\mathcal{E}})(\alpha_{s,a})=p^{s,a}_{\mathcal{E}} ensures that all paths leaving \mathcal{E} have the same probability mass (up to stutter-equivalence). As the rewards inside the EC are 0 , all paths also have the same \mathsf{Payoff} . Further, letting \pi(s_{\mathcal{E}})(\mathit{stay})=p^{\mathit{stay}}_{\mathcal{E}} ensures that the set of paths staying within \mathcal{E} in \mathcal{M}^{\prime} and the path going to s_{\mathit{sink}} in \mathcal{M} have the same probability mass. As both yield a total reward of 0 , the value functions must be preserved, i.e. \mathsf{V}_{\mathcal{M}}=\mathsf{V}_{\mathcal{M}^{\prime}} . Unique Fixpoint. We formalize a Bellman update as a function \mathsf{VI}(\mathsf{V}) that outputs an updated value function as in Algorithm 2 , i.e. for all s\in S^{\prime} : \displaystyle\mathsf{VI}(\mathsf{V})(s)= \displaystyle\mathit{opt}_{a\in{A}(s)} \displaystyle\overline{\mathit{opt}}_{\mathsf{P}^{\prime}\in\mathcal{P}}\left\{\mathsf{r}(s)+\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{V}(s^{\prime})\right\}. Further, we define a metric distance between two value functions \mathsf{W} and \mathsf{V} with respect to an |S| -dimensional weight vector w as d_{w}(\mathsf{W},\mathsf{V})=\max_{s\in S}\left\{\frac{|\mathsf{W}(s)-\mathsf{V}(s)|}{w_{s}}\right\}. To prove uniqueness of the fixpoint, we can construct a weight vector w from \mathcal{M} such that \mathsf{VI} is a contraction mapping on all non-terminal and non-infinite-value states with respect to d_{w} . Let S_{\infty}\subseteq S be the set of states with \mathsf{V}(s)=\infty . Let S_{1}\subseteq S be the set of terminal states in \mathcal{M}^{\prime} , i.e. states with only deterministic zero-reward self-loops. This is non-empty since \mathcal{M} by construction since in particular s_{\mathit{sink}}\in S_{1} . We partition the set of agent policies into the set of proper and improper policies with respect to s\in S\setminus S_{\infty} . We call a policy proper w.r.t S\setminus S_{\infty} iff for all s\in S\setminus S_{\infty} , from s it eventually reaches S_{1} with probability 1. Again, due to Constant-Support \xspace the agent policy is sufficient to determine this qualitative property. Note that, for maximizing objectives, all policies are proper: If an improper policy existed w.r.t some s\in S\setminus S_{\infty} we would have a witness for \mathsf{V}(s)=\infty and thus s\in S_{\infty} . For minimizing objectives, improper policies may exist. However, improper policies are never a witness for a fixpoint: If a policy is improper w.r.t some s\in S\setminus S_{\infty} we have \mathsf{V}(s)<\infty since s\not\in S_{\infty} . However, the agent picking an improper policy can only lead to a fixpoint \mathsf{V}(s)=\infty (since we collapsed all zero-reward ECs where an improper policy would yield value 0). Hence, improper policies cannot be a fixpoint w.r.t the Bellman update and we only consider proper policies going forward. For each proper policy we can partition S\setminus(S_{1}\cup S_{\infty}) into sets S_{2},\dots S_{m} s.t. for each s\in S_{k} where k\geq 2 and a\in{A}(s) there is a state s^{\prime}\in\bigcup_{i=1}^{k-1}S_{i} with P(s,a,s^{\prime})>0 . Let p_{\mathit{min}} be the minimal transition probability in \mathcal{M} . For all 1\leq k\leq m and s\in S_{k} define w_{s}=1-p_{min}^{2k} . Notice that this implies w_{s}<1 . Further, let \gamma=\frac{1-p_{min}^{2m-1}}{1-p_{min}^{2m}} . Pick some non-terminal s\in S_{k} with k\geq 2 and a\in{A}(s) . Choose some t\in\bigcup_{i=1}^{k-1}S_{i} with P(s,a,t)>0 (this exists by construction of the partitions). Notice that this implies w_{s}=1-p_{min}^{2k} and w_{t}\leq 1-p_{min}^{2(k-1)} . Then the following inequalities hold: \displaystyle\frac{\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})w_{s^{\prime}}}{w_{s}} \displaystyle\leq\frac{\mathsf{P}(s,a,t)w_{t}+\sum_{s^{\prime}\in S,s^{\prime}\neq t}\mathsf{P}(s,a,s^{\prime})}{w_{s}} \displaystyle=\frac{\mathsf{P}(s,a,t)w_{t}+1-\mathsf{P}(s,a,t)}{w_{s}} \displaystyle=\frac{1-\mathsf{P}(s,a,t)(1-w_{t})}{w_{s}} \displaystyle\leq\frac{1-p_{min}(1-w_{t})}{w_{s}} \displaystyle\leq\frac{1-p_{min}(p_{min}^{2(k-1)})}{1-p_{min}^{2k}} \displaystyle=\frac{1-p_{min}^{2k-1}}{1-p_{min}^{2k}} \displaystyle=\gamma Now pick some non-terminal state s\in S\setminus S_{1} . Let \mathsf{W} and \mathsf{V} be value functions on S and assume w.l.o.g that \mathsf{VI}(\mathsf{W})(s)\geq\mathsf{VI}(\mathsf{V})(s) . Let a^{*}=\arg\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{W}(s^{\prime}) and \mathsf{P}^{*}=\arg\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\sum_{s^{\prime}\in S}\mathsf{P}(s,a^{*},s^{\prime})\mathsf{V}(s^{\prime}) . Then \displaystyle\phantom{{}={}}|\mathsf{VI}(\mathsf{W})(s)-\mathsf{VI}(\mathsf{V})(s)| \displaystyle=\bigg|\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{W}(s^{\prime}) \displaystyle\phantom{{}={}}-\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\sum_{s^{\prime}\in S}\mathsf{P}(s,a,s^{\prime})\mathsf{V}(s^{\prime})\bigg| \displaystyle\leq\left|\sum_{s^{\prime}\in S}\mathsf{P}^{*}(s,a^{*},s^{\prime})\mathsf{W}(s^{\prime})-\sum_{s^{\prime}\in S}\mathsf{P}^{*}(s,a^{*},s^{\prime})\mathsf{V}(s^{\prime})\right| \displaystyle=\sum_{s^{\prime}\in S}\mathsf{P}^{*}(s,a^{*},s^{\prime})\left|\mathsf{W}(s^{\prime})-\mathsf{V}(s^{\prime})\right| \displaystyle=\sum_{s^{\prime}\in S\setminus S_{1}}\mathsf{P}^{*}(s,a^{*},s^{\prime})\left|\mathsf{W}(s^{\prime})-\mathsf{V}(s^{\prime})\right| \displaystyle=\sum_{s^{\prime}\in S\setminus S_{1}}\mathsf{P}^{*}(s,a^{*},s^{\prime})w_{s^{\prime}}\frac{\left|\mathsf{W}(s^{\prime})-\mathsf{V}(s^{\prime})\right|}{w_{s^{\prime}}} \displaystyle\leq\sum_{s^{\prime}\in S\setminus S_{1}}\mathsf{P}^{*}(s,a^{*},s^{\prime})w_{s^{\prime}}\max_{t\in S}\frac{\left|\mathsf{W}(t)-\mathsf{V}(t)\right|}{w_{t}} \displaystyle\leq\gamma w_{s}\max_{t\in S}\frac{\left|\mathsf{W}(t)-\mathsf{V}(t)\right|}{w_{t}} Thus it follows that \frac{\left|\mathsf{VI}(\mathsf{W})(s)-\mathsf{VI}(\mathsf{V})(s)\right|}{w_{s}}\leq\gamma\max_{t\in S}\frac{\left|\mathsf{W}(t)-\mathsf{V}(t)\right|}{w_{t}}. In particular, since the choice of s was arbitrary among the non-terminal states: \max_{s\in S\setminus S_{1}}\frac{\left|\mathsf{VI}(\mathsf{W})(s)-\mathsf{VI}(\mathsf{V})(s)\right|}{w_{s}}\leq\gamma\max_{t\in S}\frac{\left|\mathsf{W}(t)-\mathsf{V}(t)\right|}{w_{t}} Thus, \mathsf{VI} is a contraction mapping w.r.t. the weighting function d_{w} . We can easily check that d_{w} is a metric, and thus, by the Banach fixed point theorem, \mathsf{VI} has a unique fixpoint. ∎ Definition of Procedure: \mathsf{INIT\_TR} In several places throughout the paper, we need to (i) detect states with infinite value and (ii) find an upper bound on the maximum finite value. We aggregate both of these in the \mathsf{INIT\_TR} -procedure. In ( Buffet 2005 ) , a key contribution is the analysis whether some states have infinite value. We provide a simpler algorithm, based on existing procedures in SGs; in the following, we briefly recall them, provide instructive pointers, and explain how they can be applied in RMDPs without explicitly constructing the induced SG. We highlight that \mathsf{INIT\_TR} even works in polytopic RMDPs with non-constant support, unlike \mathsf{COLLAPSE} , which crucially depends on the Constant-Support \xspace Assumption. Note that a procedure such as \mathsf{INIT\_TR} is trivial for LRA: no state can have infinite value and the maximum occurring state reward \mathsf{r}_{\max} is an upper bound on the value because an average cannot be greater than the largest summand. (i) Detecting States with Infinite Value. The overall idea is to reduce the problem to questions of (almost) sure reachability, and then use a graph predecessor operator. In ( Chen et al. 2013 , Sec. 4.3) , the authors only state that the infinite value states can be found by applying methods from ( de Alfaro and Henzinger 2000 ) . We provide more details because we additionally prove that the computation can be done implicitly in an RMDP. Operators and Their Implicit Computation. The computation utilizes the operators \mathsf{SPre} and \mathsf{APre} , see ( de Alfaro and Henzinger 2000 , Tab. 2) . Intuitively, these compute the sure and almost sure predecessors of a set of states, respectively. We summarize the description of ( de Alfaro and Henzinger 2000 ) as far as it is relevant, and we simplify it, since in our setting we only consider turn-based games, not concurrent ones. Thus, a state in the induced SG is always owned by a single player. Depending on the optimization direction \mathit{opt} , a state can be added if there exists a policy making it a predecessor, or if all policies make it a predecessor. As the cases are analogous, we write exists (for all) to speak about both simultaneously. A state s is in \mathsf{SPre}(X) if and only if there exists a policy (for all policies) such that under this policy X is surely reached from s . In other words, for all actions the policy chooses, their support is a subset of X . For agent-states, every action surely leads to the newly added state in the induced SG; thus, the check amounts to checking the newly added environment-state. This check can be done implicitly. First, for simplicity consider an uncertainty set given as a set of linear constraints A\vec{x}+\vec{b}\leq 0 , where \vec{x} is the vector of probabilities assigned to states (i.e. \vec{x}_{s} is the probability of state s ). Then, solve the following linear program: \displaystyle\max\sum_{s\in X}\vec{x}_{s} \displaystyle\penalty\ \penalty\ \text{s.t. }\penalty\ A\vec{x}+\vec{b}\leq 0, A state s is in \mathsf{SPre}(X) if and only if the solution is 1, because only then is there a way for the environment to surely reach X . If we require all policies to reach X , then replace \max with \min in the objective function. To generalize this to arbitrary uncertainty sets, note that we only require to optimize the sum of probabilities \sum_{s\in X}\vec{x}_{s} , i.e. a linear function, over the uncertainty set. The \mathsf{APre} -operator is slightly more involved, as it uses two sets X and Y , and then checks whether one is reached surely and the other with positive probability. Nonetheless, the same idea applies: Encoding the constraints of the uncertainty set and checking whether the sum of probabilities of states in X is equal to 1 or positive for some (all) policies suffices to check whether the successor set is reached surely or with positive probability, respectively. Thus, the \mathsf{APre} -operator can also be computed implicitly. For all the uncertainty variants listed in Lemma 1 , this update takes polynomial time. Using the Operators. In the \star=c setting, a state can have infinite value for two reasons: It is in the set A of states that can remain in a cycle where some state has positive reward; or it can reach the set A with positive probability. The latter states are a simple positive reachability condition. Intuitively, we find them by starting from the target set A and iteratively adding states that can reach our current working set with positive probability. Formally, by ( de Alfaro and Henzinger 2000 , Thm. 2 and 3) they can be computed using only the sure predecessor operator \mathsf{SPre} . Finding the set A is slightly more difficult: It corresponds to a Büchi condition where states with positive reward are the target set. Then, a state that is surely winning the Büchi condition infinitely often obtains a positive reward, and thus has infinite value. By the argument in ( de Alfaro and Henzinger 2000 , Sec. 4.1) , this again only requires the sure predecessor operator \mathsf{SPre} . Finally, in the \star=\infty setting, a state has infinite value if it does not reach the target set almost surely. For this, we use the \mathsf{APre} operator as described in ( de Alfaro and Henzinger 2000 , Sec. 3.2) . By the results in ( de Alfaro and Henzinger 2000 , Tab. 1) , all these computations take a number of operations that is at most quadratic. Algorithm. We summarize the steps to compute states with infinite reward. For \star=c : • Compute the set A of states that can reach a state with positive reward infinitely often (Büchi condition with target set \{s\in S\mid\mathsf{r}(s)>0\}) . • Compute the states A^{\prime} that can reach A with positive probability (positive reachability condition, equivalent to the complement of all states that surely do not reach A ). • For all s\in A^{\prime} , set \mathsf{L}(s)=\mathsf{U}(s)=\infty . For \star=\infty , compute the set B of states that almost surely reach the target set (almost sure reachability condition). Then, for all s\in S\setminus B , set \mathsf{L}(s)=\mathsf{U}(s)=\infty . (ii) Computing an Upper Bound on the Value. Intuitively, in all states that have finite value, every \lvert S\rvert many steps, some probability mass has to reach a sink state where no further reward is accumulated. Denoting the minimum occurring transition probability under some optimal policies by p_{\min} , we know that this probability mass is at least p_{\min}^{\lvert S\rvert} . The reward of this path reaching a sink state is at most \mathsf{r}_{\max}=\lvert S\rvert\cdot\max_{s\in S}\mathsf{r}(s) . Using this, we get the following upper bound on the value ( Kretínský, Meggendorfer, and Weininger 2023b , App. B) : \sum_{i=0}^{\infty}(1-p_{\min}^{\lvert S\rvert})^{i}\cdot\mathsf{r}_{\max} . In a polytopic RMDP, p_{\min} can be computed by finding the minimum transition probability occurring in any vertex of the polytope (combinations of vertices need not be checked, as p_{\min} is given with respect to some optimal pair of policies, and memoryless deterministic policies which pick only vertices of the polytope are sufficient for optimal play). We are not aware of a way to do this implicitly when given a polytopes in \mathcal{H} -representation. Similarly, under the Constant-Support \xspace , while p_{\min} is guaranteed to exist, it might be non-trivial to find. However, this is not an issue as we use this finite upper bound mainly for presentation purposes. In practice, it is usually very large, cf. ( Meggendorfer and Weininger 2024b , App. B) , and thus we employ a more involved, but more efficient method called optimistic value iteration (OVI) ( Hartmanns and Kaminski 2020 ; Azeem et al. 2022 ) . Intuitively, it only performs value iteration from below until it seems likely that it has converged. Then, it guesses an upper bound by adding small constant to the lower bound of all states, and verifies that this guess is indeed correct. To this end, it checks whether applying value iteration decreases the bound in all states. As there are several technicalities in this approach, we refrain from phrasing our algorithm in this form, and rather use the more accessible phrasing with an a priori upper bound. In our implementation, we utilize OVI. Correctness of \mathsf{INIT\_TR} – Lem. 3 See 3 Proof. The desired properties follow from the description of the algorithm above. ∎ Modification of \mathsf{COLLAPSE} for Long-Run Average Reward. Intuition. Recall the following intuition from the main body: For closed constant-support \xspace RMDPs with LRA objectives, a very similar construction is possible based on ( Ashok et al. 2017 ) . We modify the \mathsf{COLLAPSE} procedure as follows: When replacing an EC, add an action to its representative that leads to a sink state and as reward obtains the value of staying in the EC forever. Thus, playing this action in the modified RMDP corresponds to playing optimally in the EC of the original RMDP, and thus preserves the values. In this way, we can reduce LRA objectives to TR objectives and then apply Alg. 2 . Changes to Def. 6 The only change is in the definition of the reward function of the \mathit{stay} -action added to the representative states s_{\mathcal{E}_{i}} . All states in a MEC have the same value under the Constant-Support \xspace Assumption, since from any state in the MEC, the agent can almost surely reach the part of the MEC that is optimal for the LRA objective. Assume we know the optimal value of staying in a MEC forever \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(\mathcal{E}_{i}) ; we explain below how to obtain this value. Then, set \mathsf{r}^{\prime}(s_{\mathcal{E}_{i}},\mathit{stay})=\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(\mathcal{E}_{i}) for all 1\leq i\leq m . Correctness of the Modified Collapsing. Intuitively, the modified collapsing allows the agent to choose to remain in a MEC and obtain its optimal value as the reward of the \mathit{stay} -action. Thus, analyzing the collapsed RMDP \mathcal{M}^{\prime} with a TR objective yields the same value as the original RMDP \mathcal{M} with a LRA objective, cf. ( Ashok et al. 2017 , Thm. 2) . Hence, we can reduce the problem of computing the LRA of an RMDP to computing the TR of its collapsed version. Computing the Staying Value. For RMDPs inducing finite-action SGs, naturally an explicit construction of the SG and an exact computation of the staying value is possible. However, such an exact computation is impractical already in non-robust MDPs and SGs, see ( Ashok et al. 2017 , Sec. 3.3) and ( Kretínský, Meggendorfer, and Weininger 2023b , App. E-B) . We summarize the approach these sources suggest to use instead: on-demand VI : • For every MEC \mathcal{E}=(R,B) , run a total reward VI inside it until the long-run average reward can be approximated with precision \varepsilon_{\text{inner}} . This approximation works using the common stopping criterion for communicating MDPs and SGs (where all states have the same value): In every iteration i , we can bound the value using the difference for every state \Delta_{i}(s)=x_{i}-x_{i-1} as follows: \min_{s\in R}\Delta_{i}(s)\leq\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(\mathcal{E})\leq\max_{s\in R}\Delta_{i}(s) . Thus, we have a lower and upper bound on \mathsf{V}_{\mathcal{M}}^{\mathit{opt}}(\mathcal{E}) . • Construct two collapsed RMDPs, once using the lower bound on the staying value, once using the upper bounds on the staying value. The value of the original RMDP certainly is between these two, cf. ( Ashok et al. 2017 , Cor. 1) . Solve the lower bound RMDP using VI from below and the upper bound RMDP using VI from above. • Sporadically continue the VI inside the MECs to obtain more precise estimates of the staying values. Provided that the updates would happen infinitely often if the algorithm ran forever, eventually the precision inside the MECs \varepsilon_{\text{inner}} becomes small enough such that the values of the lower bound RMDP and the upper bound RMDP are \varepsilon -close, and the overall algorithm can terminate. See 4 Proof. This proof is very similar to the anytime algorithm proofs in the non-robust setting. Nonetheless, we include it for completeness. For TR objectives Lemma 2 shows that \mathsf{COLLAPSE} does not affect the value function and outputs an RMDP on which \mathsf{VI} is a contraction mapping. By using the modified \mathsf{COLLAPSE} function for LRA objectives (see the previous subsection) on an RMDP \mathcal{M} we obtain an RMDP \mathcal{M}^{\prime} such that for each state the long-run average reward in \mathcal{M} is equal to the total reward in \mathcal{M} . Further, \mathsf{VI} has a unique fixpoint on \mathcal{M}^{\prime} : The proof is equivalent to Lemma 2 since the only difference of the modified \mathsf{COLLAPSE} is a change in the reward function on a non-terminal state. Note that for this proof we assume staying values are computed exactly in the modified \mathsf{COLLAPSE} transformation. For a correctness and termination proof of the on-demand VI, note that we get two RMDPs with their values under- and over-approximating the value of the original RMDP. Solving these, we get lower and upper bounds on the original value. When the distance between these two RMDPs becomes small enough, we terminate. See ( Ashok et al. 2017 ) for a more detailed proof. Going forward, we consider an RMDP \mathcal{M} with a TR objective such that \mathsf{VI} has a unique fixpoint. Correctness. We first show that after termination both conditions hold, i.e. that the algorithm is correct. Note that Line 4 in Algorithm 2 ensures \mathsf{U}(s)-\mathsf{L}(s)\leq\varepsilon holds once the while-loop terminates. The second condition for an anytime algorithm, namely \lim_{i\to\infty}\mathsf{U}_{i}(s)-\mathsf{L}_{i}(s) , follows from termination of the algorithm for any \varepsilon which we prove below. For the first condition of Def. 4 , we show the statement via induction on the number of iterations on the while-loop in Line 4 . For all target states s we trivially have \mathsf{V}(s)=\mathsf{U}_{0}(s)=\mathsf{L}_{0}(s) . As without loss of generality these are absorbing, we have \mathsf{L}_{i}(s)\leq\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}\leq\mathsf{U}_{i}(s) for all i\in\mathbb{N} . Similarly, for all states s with \mathsf{V}(s)=\infty we set \mathsf{U}_{i}(s)=\mathsf{L}_{i}(s)=\infty=\mathsf{V}(s) for all i\in\mathbb{N} due to \mathsf{INIT\_TR} . It remains to consider non-target states with a finite value. The base case holds by the correctness of the initialization, see Lem. 3 . The induction hypothesis is \mathsf{L}_{i}(s)\leq\mathsf{V}_{\mathcal{M}}(s)\leq\mathsf{U}_{i}(s) . Then we show the induction step: \displaystyle\mathsf{L}_{i+1}(s) \displaystyle=\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\left\{R(s)+\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{L}_{i}(s^{\prime})\right\} \displaystyle\leq\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\left\{R(s)+\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}\right\} \displaystyle=\mathsf{V}_{\mathcal{M}}(s) The analogous statement for \mathsf{U}(s) can be proved analogously: \displaystyle\mathsf{U}_{i+1}(s) \displaystyle=\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\left\{R(s)+\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{U}_{i}(s^{\prime})\right\} \displaystyle\geq\mathit{opt}_{a\in{A}(s)}\overline{\mathit{opt}}_{\mathsf{P}\in\mathcal{P}}\left\{R(s)+\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\mathsf{V}_{\mathcal{M}}^{\mathit{opt}}\right\} \displaystyle=\mathsf{V}_{\mathcal{M}}(s) Thus, Algorithm 2 not only returns a correct result, but also all intermediate value functions \mathsf{L}_{i} and \mathsf{U}_{i} are sound, making the algorithm anytime-correct. Termination. For termination we need to show that eventually \mathsf{U}(s)-\mathsf{L}(s)\leq\varepsilon holds for all s . First, for states with \mathsf{V}(s)=\infty we have by Lemma 3 that \mathsf{L}(s)=\mathsf{U}(s)=\infty (and we assume that \infty-\infty=0 ). Second, for target states we can set \mathsf{L}(s)=\mathsf{U}(s)=0 in \mathsf{INIT\_TR} and these are never updated during the algorithm. Lastly, for all non-target and non-infinite-value states we have by Lemma 2 that the Bellman operator is a contraction mapping on those states. Thus, by the Banach fixed-point theorem, repeatedly applying it to any starting vector lets it converge to its fixpoint. That is, \lim_{i\to\infty}\mathsf{L}_{i}=\mathsf{V}^{*}=\lim_{i\to\infty}\mathsf{U}_{i} where \mathsf{V}^{*} is the unique fixpoint of the Bellman operator. In particular this means there is some n for which |\mathsf{U}_{n}(s)-\mathsf{L}_{n}(s)| , and as \mathsf{U}_{i}(s)\geq\mathsf{L}_{i}(s) (see Correctness paragraph) this implies \mathsf{U}_{n}(s)-\mathsf{L}_{n}(s) , ∎ Appendix F Implicit Anytime Algorithm for RMDPs without Constant-Support In Sec. 5 , we have provided anytime algorithms for RMDPs with TR or LRA objectives satisfying Constant-Support \xspace . Here, we investigate the situation without this assumption. For accessibility, we first focus on the case of maximizing TR with the \star=c semantics, before explaining how the case of minimizing TR with \star=\inf (the generalization of SSP, see App. A ) is dual. Then we provide the pseudocode for the algorithm and prove its correctness. Finally, we explain the complications arising in the remaining cases, i.e. minimizing TR with \star=c , maximizing TR with \star=\inf , or LRA. Recalling the Solution for SG Our goal is to have an anytime algorithm, namely BVI which computes not only a sequence under-approximating the value, but also a sequence of upper bounds. Already in MDPs, in ECs (see Def. 5 ) these upper bounds can be stuck at spurious fixpoints and thus not converge, see Ex. 2 in the main body. Intuitively, Bellman updates are under the illusion that staying yields the upper bound, while in fact staying in an EC forever yields value 0. The solution in MDPs which also works for RMDPs satisfying Constant-Support \xspace is to replace ECs and thus eliminate cyclic behaviour. This is correct, since in MDPs (and RMDPs with Constant-Support \xspace ), all states in an EC have the same value. In SGs, this is not the case, as we demonstrate with the following example based on ( Eisentraut et al. 2022 , Sec. 3) . p p^{\text{stay}} q q^{\text{stay}} \alpha \beta stay stay exit exit Figure 3: MEC in an SG where not all states have the same value, see Ex. 3 Example 3 (Different Values in MECs in SGs) . Consider the SG in Fig. 3 . It results from an RMDP with states p and q , both of which have an action stay and exit. The stay actions have an uncertainty set that can freely choose between going to p or q . The exit actions lead to the outside of the MEC \{p,q\} , and for simplicity, we just assume that they obtain a value of \alpha or \beta , respectively. If \alpha<\beta , then the value of q is \beta , as its best policy is to exit and obtain the higher value (recall the agent is maximizing TR). For p , the optimal policy also is to exit and obtain \alpha . Playing stay gives the environment the choice to return to p or go to q which gives a higher value. Thus, the environment will always go towards p , and playing stay results in remaining in the MEC and obtaining a payoff of 0. Thus, p and q have different values, because the environment can prevent p from reaching the best exit of the MEC. This is only possible because the RMDP does not satisfy Constant-Support \xspace , allowing the environment to affect the graph structure. The example shows that states in a MEC can have different values in SGs, and in RMDPs that do not satisfy Constant-Support \xspace . Thus, collapsing MECs and replacing them with a single representative cannot preserve the values. We need to find the sub-part of the MEC that is most problematic. Example 4 (Simple End Components) . Consider again Fig. 3 and assume \alpha<\beta . Collapsing \{p,p^{\text{stay}}\} is correct, as both states have the same value of \alpha . This problematic part of the graph where all states actually have the same value is called simple end component (SEC) ( Kretínský, Meggendorfer, and Weininger 2023a , Def. 3) . However, finding SECs requires knowing that indeed \{p,p^{\text{stay}}\} is the problematic part. For this, we utilized the fact that \alpha<\beta . But the we do not know the values \alpha and \beta , as they are what we are currently computing. While we do have approximations, these approximations can switch their relative order during the algorithm. Thus, a correct algorithm cannot commit to collapsing a part of the graph, but has to be more conservative. Intuitively, the solution is to guess a SEC-candidate based on the current estimates, then collapse it, perform one Bellman update, and “uncollapse” it. A different intuition, introduced in ( Eisentraut et al. 2022 ) is that the estimates in the SEC-candidate are deflated , releasing the “pressure of the too high upper bound” and setting the estimates to that of the agent’s best exit. This is correct (cf. ( Kretínský, Meggendorfer, and Weininger 2023a , Lem. 5) ) and it converges ( Kretínský, Meggendorfer, and Weininger 2023a , Thm. 3) – using the fact that the estimates are eventually close enough so that the correct SEC-candidates are guessed. In summary, an anytime algorithm for SGs has to perform the following steps: Firstly, infer the policy of of the antagonist in order to guess SEC-candidates. In the example, based on \alpha<\beta , we inferred that \{p,p^{\text{stay}}\} is the SEC-candidate. Secondly, adjust the value of all states in the SEC-candidate to be that of the best exit of the agent. In the example, we updated \{p,p^{\text{stay}}\} to \alpha . We remark that SECs are always zero-reward ECs, see ( Kretínský, Meggendorfer, and Weininger 2023a , Cor. 1) . Intuitively, if an EC has a state with positive reward, its value is \infty and Bellman updates from above are correct by initialization. The Dual Case. So far, we have considered maximizing the rewards in the \star=c case. There, only the upper bounds can get stuck at a spurious fixpoint, and thus we only required deflating, i.e. reducing upper bounds. Finding SEC-candidates in this case requires inferring the policy of the minimizing environment player who can lock the agent in some SEC; to ensure that eventually the right policy is used, we infer it according to the converging lower bound sequence \mathsf{L} . When considering minimizing rewards in the \star=\inf case, the situation is dual. Staying in a MEC again is the worst-case for the agent, this time because it results in infinite value. Hence, there are spurious lower bounds, where the agent is under the illusion that staying yields a small value, while in fact it results in infinite value. Thus, we need to inflate the lower bounds. For finding SEC-candidates, the environment policy is inferred according to the converging upper bound sequence \mathsf{U} . We refer to ( Kretínský, Meggendorfer, and Weininger 2023a , Sec. VI-H) for more details. Algorithm Description In Alg. 3 , we provide the pseudocode of the anytime algorithm for RMDPs without Constant-Support \xspace . It is based on ( Kretínský, Meggendorfer, and Weininger 2023a , Alg. 2) , using some of the insights simplifying it described in their Sec. VI-C. 1 1 1 We remark that we cannot build on the simpler ( Kretínský, Meggendorfer, and Weininger 2023a , Alg. 1) , because it would require solving an infinite-action MDP. Moreover, we use some generic notation to make it applicable both when maximizing TR \star=c and minimizing TR with \star=\inf . Algorithm 3 Bounded Value Iteration for RMDP without Constant-Support \xspace Input : RMDP \mathcal{M} , not necessarily satisfying the Constant-Support \xspace Assumption and desired precision \varepsilon>0 Output : \varepsilon -precise lower and upper bounds \mathsf{L} and \mathsf{U} on the optimal total reward \mathsf{V}_{\mathcal{M}}^{\mathit{opt}} 1: \mathsf{L}_{0},\mathsf{U}_{0}\leftarrow\mathsf{INIT\_TR}(\mathcal{M}^{\prime}) 2: i\leftarrow 0 3: while \mathsf{U}(s_{i})-\mathsf{L}(s_{i})>\varepsilon do 4: for all s\in S do 5: \mathsf{L}_{i+1}(s)\leftarrow\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)\penalty\ + \quad\quad\quad\overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{L}_{i}(s^{\prime}) 6: \mathsf{U}_{i+1}(s)\leftarrow\mathit{opt}_{a\in A(s)}\mathsf{r}(s,a)\penalty\ + \quad\quad\quad\overline{\mathit{opt}}_{\mathsf{P}(s,a)\in\mathcal{P}(s,a)}\sum_{s^{\prime}\in S}\mathsf{P}(s,a)(s^{\prime})\cdot\mathsf{U}_{i}(s^{\prime}) 7: Infer environment policy \tau from \mathsf{L} ( \star=c ) or \mathsf{U} ( \star=\inf ) 8: for all SEC-candidates C in \mathcal{M} under \tau do 9: Deflate ( \star=c ) or inflate ( \star=\inf ) the estimates for all s\in C 10: i\leftarrow i+1 11: return (\mathsf{L}_{i},\mathsf{U}_{i}) The algorithm is similar to Alg. 2 : After initializing the bounds, it performs implicit Bellman updates on them. The difference is that here, we do not collapse MECs, but instead perform additional operations during the main loop, as outlined above. Concretely, Line 7 infers an environment policy; this is possible using the witnesses of the Bellman updates, and uses either lower or upper bounds, depending on the objective. Next, Line 8 finds SEC-candidates under this policy. Note that this can be done implicitly, as the successors of the environment state are fixed when considering a particular witness. Finally, Line 9 applies de- or inflating, updating the estimates of the SEC-candidates. Theorem 5 (Implicit Anytime Algorithm without Constant-Support \xspace ) . Let \mathcal{M} be a polytopic RMDP with (i) a maximizing TR objective under \star=c semantics, (ii) a minimizing TR objective under \star=\inf semantics, or (iii) an SSP objective, and let \varepsilon>0 be a precision. Then, Alg. 3 is an anytime algorithm ( Def. 4 ). It works implicitly, i.e. without constructing the induced SG. Proof. Alg. 3 is an anytime algorithm because of the connection between RMDPs and SGs ( Thm. 1 ) and the fact that the algorithm follows the steps of ( Kretínský, Meggendorfer, and Weininger 2023a , Alg. 2) which is an anytime algorithm by their Thm. 3, and works for all considered objectives (recall that SSP is a special case of TR). The difficulty is to prove that it can be done implicitly. Achieving this implicitness is the reason for restricting the objectives and restricting to polytopic RMDPs. The steps shared with Alg. 2 , namely initializing and Bellman updates, can be done implicitly as argued in the proof of Thm. 4 . It remains to investigate the new steps: • Line 7 : Inferring a policy can be done implicitly by keeping the witness of the optimization problem (this is possible for all forms considered in Lem. 1 ). However, the proof in requires that the sequence of inferred is a stable strategy recommender ( Kretínský, Meggendorfer, and Weininger 2023a , Def. 1) , i.e. that the policies eventually are optimal. This is why we restrict the proof to polytopic RMDPs. In these, memoryless deterministic optimal strategies exist, and thus we can obtain a stable strategy recommender, cf. ( Kretínský, Meggendorfer, and Weininger 2023a , Lem. 1) . For arbitrary uncertainty sets without the Constant-Support \xspace , optimal policies need not exist at all, and thus a crucial assumption of the proof of the original algorithm ( Kretínský, Meggendorfer, and Weininger 2023a , Thm. 3) is violated. We leave lifting this restriction by analyzing the structure of near-optimal policies in arbitrary RMDPs as future work. • Line 8 : Finding SECs amounts to finding MECs in the MDP induced by the environment policy \tau . This is a finite-action MDP where standard algorithms work. Note that if we were fixing the agent policy (which is necessary for the excluded objectives minimizing TR \star=c or maximizing TR \star=\inf ), the resulting MDP would have exponentially many actions for polytopic RMDPs, and infinitely many actions in general, hence the restriction of the objectives. • Line 9 : Deflating or inflating essentially view the whole SEC as a single state and apply a Bellman update on the exiting actions of the agent. Thus, this can be done implicitly using the standard methods described in Sec. 4 . ∎ Complications for Other Objectives and Non-Polytopic RMDPs. In the proof of Thm. 5 , we pointed out the reasons for the restriction of the objectives and uncertainty sets. Here, we summarize the insights: Finding SEC-candidates requires applying a policy and searching for MECs in the induced MDP. We restrict to the objectives where the policy to be fixed is the environment policy, because otherwise the induced MDP is exponential/infinite. In these cases, we can resort to the explicit algorithm for polytopic RMDPs, but a general algorithm is elusive. We conjecture that it is possible to derive an implicit MEC-search algorithm for these cases, but leave it as future work. Orthogonally, the original proof of ( Kretínský, Meggendorfer, and Weininger 2023a , Thm. 3) requires the existence of memoryless deterministic optimal policies, which is why we restrict to polytopic RMDPs to guarantee this existence. It is possible that this assumption is too restrictive, and by a detailed analysis of the near-optimal policies in an arbitrary RMDP, the proof can be extended. Appendix G Additional Experimental Results In Table 3 , we report the results on models from the established benchmark set ( Hartmanns et al. 2019 ) , complemented with norm-balls. For all these models, there is no competitor able to solve them, since no tool can deal with norm-balls. Moreover, the experiments of ( Chatterjee et al. 2024 ; Wang et al. 2024 ) consider models with at most a few thousand states, whereas we demonstrate scalability to more than a million states and actions with non-trivial uncertainty sets. Model |S| |A| Solving Time philosophers 93,068 437,050 7 rabin 668,836 1,170,736 45 csma 1,460,287 1,471,059 32 Table 3: Performance of our approach on large models complemented with norm-balls as uncertainty sets. We use the same notation as in Table 2 , recalled here for convenience: The columns |S| and |A| denote the number of states and actions with more than one successor (where the uncertainty set is not a singleton) in the model, respectively. We report solving times (excluding model building and parsing) in seconds.