Full text
Shepherding Hordes of Markov Chains Milan ˇ Ceˇska1, Nils Jansen2, Sebastian Junges3(B), and Joost-Pieter Katoen3 1Brno University of Technology, Brno, Czech Republic 2Radboud University, Nijmegen, The Netherlands 3RWTH Aachen University, Aachen, Germany [email protected] Abstract. This paper considers large families of Markov chains (MCs) that are defined over a set of parameters with finite discrete domains. Such families occur in software product lines, planning under partial observability, and sketching of probabilistic programs. Simple questions, like ‘does at least one family member satisfy a property?’, are NP-hard. We tackle two problems: distinguish family members that satisfy a given quantitative property from those that do not, and determine a family member that satisfies the property optimally, i.e., with the highest probability or reward. We show that combining two well-known techniques, MDP model checking and abstraction refinement, mitigates the computational complexity. Experiments on a broad set of benchmarks show that in many situations, our approach is able to handle families of millions of MCs, providing superior scalability compared to existing solutions. 1 Introduction Randomisation is key to research fields such as dependability (uncertain system components), distributed computing (symmetry breaking), planning (unpredictable environments), and probabilistic programming. Families of alternative designs differing in the structure and system parameters are ubiquitous. Software dependability has to cope with configuration options, in distributed computing the available memory per process is highly relevant, in planning the observability of the environment is pivotal, and program synthesis is all about selecting correct program variants. The automated analysis of such families has to face a formidable challenge—in addition to the state-space explosion affecting each family member, the family size typically grows exponentially in the number of features, options, or observations. This affects the analysis of (quantitative) software product lines [18,28,43,45,46], strategy synthesis in planning under partial observability [12,14,29,36,41], and probabilistic program synthesis [9,13,27,40]. This paper considers families of Markov chains (MCs) to describe configurable probabilistic systems. We consider finite MC families with finite-state family members. Family members may have different transition probabilities and distinct topologies—thus different reachable state spaces. The latter aspect This work has been supported by the DFG RTG 2236 “UnRAVeL” and the Czech Science Foundation grant No. Robust 17-12465S. c The Author(s) 2019 T. Vojnar and L. Zhang (Eds.): TACAS 2019, Part II, LNCS 11428, pp. 172–190, 2019. https://doi.org/10.1007/978-3-030-17465-1_10
Shepherding Hordes of Markov Chains 173 goes beyond the class of parametric MCs as considered in parameter synthesis [10,22,24,31] and model repair [6,16,42]. For an MC family Dand quantitative specification ϕ, with ϕa reachability probability or expected reward objective, we consider the following synthesis problems: (a) does some member in Dsatisfy a threshold on ϕ? (aka: feasibility synthesis), (b) which members of Dsatisfy this threshold on ϕand which ones do not? (aka: threshold synthesis), and (c) which family member(s) satisfy ϕ optimally, e.g., with highest probability? (aka: optimal synthesis). The simplest synthesis problem, feasibility, is NP-complete and can naively be solved by analysing all individual family members—the so-called one-by-one approach. This approach has been used in [18] (and for qualitative systems in e.g. [19]), but is infeasible for large systems. An alternative is to model the family D by a single Markov decision process (MDP)—the so-called all-in-one MDP [18]. The initial MDP state non-deterministically chooses a family member of D,and then evolves in the MC of that member. This approach has been implemented in tools such as ProFeat [18], and for purely qualitative systems in [20]. The MDP representation avoids the individual analysis of all family members, but its size is proportional to the family size. This approach therefore does not scale to large families. A symbolic BDD-based approach is only a partial solution as family members may induce different reachable state-sets. This paper introduces an abstraction-refinement scheme over the MDP representation1. The abstraction forgets in which family member the MDP operates. The resulting quotient MDP has a single representative for every reachable state in a family member. It typically provides a very compact representation of the family Dand its analysis using off-the-shelf MDP model-checking algorithms yields a speed-up compared to the all-in-one approach. Verifying the quotient MDP yields under- and over-approximations of the min and max probability (or reward), respectively. These bounds are safe as all consistent schedulers, i.e., those that pick actions according to a single family member, are contained in all schedulers considered on the quotient MDP. (CEGAR-based MDP model checking for partial information schedulers, a slightly different notion than restricting schedulers to consistent ones, has been considered in [30]. In contrast to our setting, [30] considers history-dependent schedulers and in this general setting no guarantee can be given that bounds on suprema converge [29]). Model-checking results of the quotient MDP do provide useful insights. This is evident if the resulting scheduler is consistent. If the verification reveals that the min probability exceeds rfor a specification ϕwith a ≤rthreshold, then— even for inconsistent schedulers—it holds that all family members violate ϕ.If the model checking is inconclusive, i.e., the abstraction is too coarse, we iteratively refine the quotient MDP by splitting the family into sub-families. We do so in an efficient manner that avoids rebuilding the sub-families. Refinement employs a light-weight analysis of the model-checking results. 1Classical CEGAR for model checking of software product lines has been proposed in [21]. This uses feature transition systems, is purely qualitative, and exploits existential state abstraction.
174 M. ˇ Ceˇska et al. We implemented our abstraction-refinement approach using the Storm model checker [25]. Experiments with case studies from software product lines, planning, and distributed computing yield possible speed-ups of up to 3 orders of magnitude over the one-by-one and all-in-one approaches (both symbolic and explicit). Some benchmarks include families of millions of MCs where family members are thousands of states. The experiments reveal that—as opposed to parameter synthesis [10,24,31]—the threshold has a major influence on the synthesis times. To summarise, this work presents: (a) MDP-based abstraction-refinement for various synthesis problems over large families of MCs, (b) a refinement strategy that mitigates the overhead of analysing sub-families, and (c) experiments showing substantial speed-ups for many benchmarks. Extra material can be found in [1,11]. 2 Preliminaries We present the basic foundations for this paper, for details, we refer to [4,5]. Probabilistic models. Aprobability distribution over a finite or countably infinite set Xis a function μ:X→[0,1] with x∈Xμ(x)=μ(X) = 1. The set of all distributions on Xis denoted Distr(X). The support of a distribution μis supp(μ)={x∈X|μ(x)>0}. A distribution is Dirac if |supp(μ)|=1. Definition 1 (MC). Adiscrete-time Markov chain (MC) Dis a triple (S, s0,P),whereSis a finite set of states, s0∈Sis an initial state, and P:S→Distr(S)is a transition probability matrix. MCs have unique distributions over successor states at each state. Adding nondeterministic choices over distributions leads to Markov decision processes. Definition 2 (MDP). AMarkov decision process (MDP) is a tuple M= (S, s0,Act,P)where S, s0as in Definition 1, Act is a finite set of actions, and P:S×Act Distr(S)is a partial transition probability function. The available actions in s∈Sare Act (s)={a∈Act |P(s, a)=⊥}.An MDP with |Act (s)|= 1 for all s∈Sis an MC. For MCs (and MDPs), a statereward function is rew :S→R≥0. The reward rew(s) is earned upon leaving s. Apath of an MDP Mis an (in)finite sequence π=s0 a0 −→ s1 a1 −→···, where si∈S,ai∈Act (si), and P(si,a i)(si+1)= 0 for all i∈N. For finite π, last(π) denotes the last state of π. The set of (in)finite paths of Mis PathsM fin (PathsM). The notions of paths carry over to MCs (actions are omitted). Schedulers resolve all choices of actions in an MDP and yield MCs. Definition 3 (Scheduler). Ascheduler for an MDP M=(S, s0,Act ,P)is a function σ:PathsM fin →Act such that σ(π)∈Act(last(π)) for all π∈PathsM fin . Scheduler σis memoryless if last(π) = last(π)=⇒σ(π)=σ(π)for all π,π∈PathsM fin . The set of all schedulers of Mis ΣM.
Shepherding Hordes of Markov Chains 175 Definition 4 (Induced Markov Chain). The MC induced by MDP Mand σ∈ΣMis given by Mσ=(PathsM fin ,s 0,Pσ)where: Pσ(π,π)=P(last(π),σ(π))(s)if π=πσ(π) −−−→s 0otherwise. Specifications. For a MC D, we consider unbounded reachability specifications of the form ϕ=P∼λ(♦G) with G⊆Sa set of goal states, λ∈[0,1] ⊆R, and ∼∈{<, ≤,≥,>}. The probability to satisfy the path formula φ=♦G in Dis denoted by Prob(D,φ). If ϕholds for D,thatis,Prob(D,φ)∼λ,we write D|=ϕ. Analogously, we define expected reward specifications of the form ϕ=E∼κ(♦G) with κ∈R≥0. We refer to λ/κas thresholds. While we only introduce reachability specifications, our approaches may be extended to richer logics like arbitrary PCTL [32], PCTL* [3], or ω-regular properties. For an MDP M, a specification ϕholds (M|=ϕ) if and only if it holds for the induced MCs of all schedulers. The maximum probability Probmax(M,φ) to satisfy a path formula φfor an MDP Mis given by a maximising scheduler σmax ∈ΣM, that is, there is no scheduler σ∈ΣMsuch that Prob(Mσmax ,φ)<Prob(Mσ,φ). Analogously, we define the minimising probability Probmin(M,φ), and the maximising (minimising) expected reward ExpRewmax(M,φ)(ExpRewmin(M,φ)). The probability (expected reward) to satisfy path formula φfrom state s∈ Sin MC Dis Prob(D,φ)(s)(ExpRew(D, φ)(s)). The notation is analogous for maximising and minimising probability and expected reward measures in MDPs. Note that the expected reward ExpRew(D, φ) to satisfy path formula φis only defined if Prob(D,φ) = 1. Accordingly, the expected reward for MDP Munder scheduler σ∈ΣMrequires Prob(Mσ,φ)=1. 3 Families of MCs We present our approaches on the basis of an explicit representation of a familyofMCsusing a parametric transition probability function. While arbitrary probabilistic programs allow for more modelling freedom and complex parameter structures, the explicit representation alleviates the presentation and allows to reason about practically interesting synthesis problems. In our implementation, we use a more flexible high-level modelling language, cf. Sect. 5. Definition 5 (Family of MCs). Afamily of MCs is defined as a tuple D= (S, s0,K,P)where Sis a finite set of states, s0∈Sis an initial state, Kis a finite set of discrete parameters such that the domain of each parameter k∈K is Tk⊆S,andP:S→Distr(K)is a family of transition probability matrices. The transition probability function of MCs maps states to distributions over successor states. For families of MCs, this function maps states to distributions over parameters. Instantiating each of these parameters with a value from its domain yields a “concrete” MC, called a realisation.
176 M. ˇ Ceˇska et al. 01 2 3 1 0.5 0.5 1 0.5 0.5 (a) Dr1with r1(k1)=0,r 1(k2)=2 0 1 2 3 0.5 0.51 0.5 0.5 0.5 0.5 (b) Dr2with r2(k1)=1,r 2(k2)=2 0 1 23 0.5 0.5 0.5 0.5 0.5 0.5 1 (c) Dr3with r3(k1)=1,r 3(k2)=3 01 2 3 1 0.5 0.5 1 0.5 0.5 (d) Dr4with r4(k1)=0,r 4(k2)=3 Fig. 1. The four different realisations of D. Definition 6 (Realisation). Arealisation of a family D=(S, s0,K,P)is a function r:K→Swhere ∀k∈K:r(k)∈Tk. A realisation ryields a MC Dr=(S, s0,P(r)),whereP(r)is the transition probability matrix in which each k∈Kin Pis replaced by r(k).LetRDdenote the set of all realisations for D. As a family Dof MCs is defined over finite parameter domains, the number of family members (i.e. realisations from RD)ofDis finite, viz. |D|:=|RD|= k∈K|Tk|, but exponential in |K|. Subsets of RDinduce so-called subfamilies of D. While all these MCs share the same state space, their reachable states may differ, as demonstrated by the following example. Example 1 (Family of MCs). Consider a family of MCs D=(S, s0,K,P) where S={0,1,2,3},s0=0,andK={k0,k 1,k 2}with domains Tk0={0},T k1= {0,1},andTk2={2,3}. The parametric transition function Pis defined by: P(0) = 0.5: k0+0.5: k1P(1) = 0.5: k1+0.5: k2 P(2) = 1: k2P(3) = 0.5: k1+0.5: k2 Figure 1shows the four MCs that result from the realisations {r1,r 2,r 3,r 4}= RDof D. States that are unreachable from the initial state are greyed out. We state two synthesis problems for families of MCs. The first is to identify the set of MCs satisfying and violating a given specification, respectively. The second is to find a MC that maximises/minimises a given objective. We call these two problems threshold synthesis and max/min synthesis. Problem 1 (Threshold synthesis). Let Dbe a family of MCs and ϕaprobabilistic reachability or expected reward specification. The threshold synthesis problem is to partition RDinto Tand Fsuch that ∀r∈T:Drϕand ∀r∈F:Drϕ. As a special case of the threshold synthesis problem, the feasibility synthesis problem is to find just one realisation r∈R Dsuch that Drϕ.
Shepherding Hordes of Markov Chains 177 Problem 2 (Max synthesis). Let Da family of MCs and φ=♦Gfor G⊆S.Themax synthesis problem is to find a realisation r∗∈R Dsuch that Prob(Dr∗,φ) = maxr∈RD{Prob(Dr,φ)}. The problem is defined analogously for an expected reward measure or minimising realisations. Example 2 (Synthesis problems). Recall the family of MCs Dfrom Example 1. For the specification ϕ=P≥0.1(♦{1}), the solution to the threshold synthesis problem is T={r2,r 3}and F={r1,r 4}, as the goal state 1 is not reachable for Dr1and Dr4.Forφ=♦{1}, the solution to the max synthesis problem on Dis r2or r3,asDr2and Dr3have probability one to reach state 1. Approach 1 (One-by-one [18]). A straightforward solution to both synthesis problems is to enumerate all realisations r∈R D, model check the MCs Dr,and either compare all results with the given threshold or determine the maximum. We already saw that the number of realisations is exponential in |K|. Theorem 1. The feasibility synthesis problem is NP-complete. The theorem even holds for almost-sure reachability properties. The proof is a straightforward adaption of results for augmented interval Markov chains [17, Theorem 3], partial information games [15], or partially observable MDPs [14]. 4 Guided Abstraction-Refinement Scheme In the previous section, we introduced the notion of a family of MCs, two synthesis problems and the one-by-one approach. Yet, for a sufficiently high number of realisations such a straightforward analysis is not feasible. We propose a novel approach allowing us to more efficiently analyse families of MCs. 4.1 All-in-one MDP We first consider a single MDP that subsumes all individual MCs of a family D, and is equipped with an appropriate action and state labelling to identify the underlying realisations from RD. Definition 7 (All-in-one MDP [18,28,43]). The all-in-one MDP of a family D=(S, s0,K,P)of MCs is given as MD=(SD,s D 0,Act D,PD)where SD= S×R D∪{sD 0},Act D={ar|r∈R D},andPDis defined as follows: PD(sD 0,a r)((s0,r)) = 1 and PD((s, r),a r)((s,r)) = P(r)(s)(s). Example 3 (All-in-one MDP). Figure 2shows the all-in-one MDP MDfor the family Dof MCs from Example 1. Again, states that are not reachable from the initial state sD 0are marked grey. For the sake of readability, we only include the transitions and states that correspond to realisations r1and r2.
178 M. ˇ Ceˇska et al. sD 0 (0,r 1) (0,r 2) (1,r 1) (1,r 2) (2,r 1) (2,r 2) (3,r 1) (3,r 2) ar1 ar2 1 1 ar1 ar2 1 0.5 0.5 ar1 ar2 0.5 0.5 0.5 0.5 ar1 ar2 1 1 ar1 ar2 0.5 0.5 0.5 0.5 Fig. 2. Reachable fragment of the all-in-one MDP MDfor realisations r1and r2. From the (fresh) initial state sD 0of the MDP, the choice of an action arcorresponds to choosing the realisation rand entering the concrete MC Dr. This property of the all-in-one MDP is formalised as follows. Corollary 1. For the all-in-one MDP MDof family Dof MCs2: {MD σr|σrmemoryless deterministic scheduler}={Dr|r∈R D}. Consequently, the feasibility synthesis problem for ϕhas the solution r∈R Diff there exists a memoryless deterministic scheduler σrsuch that MD σrϕ. Approach 2 (All-in-one [18]). Model checking the all-in-one MDP determines max or min probability (or expected reward) for all states, and thereby for all realisations, and thus provides a solution to both synthesis problems. As also the all-in-one MDP may be too large for realistic problems, we merely use it as formal starting point for our abstraction-refinement loop. 4.2 Abstraction First, we define a predicate abstraction that at each state of the MDP forgets in which realisation we are, i.e., abstracts the second component of a state (s, r). Definition 8 (Forgetting). Let MD=(SD,s D 0,Act D,PD)be an all-in-one MDP. Forgetting is an equivalence relation ∼f⊆SD×SDsatisfying (s, r)∼f(s,r)⇐⇒ s=sand sD 0∼f(sD 0,r)∀r∈R D. Let [s]∼denote the equivalence class wrt. ∼fcontaining state s∈SD. Forgetting induces the quotient MDP MD ∼=(SD ∼,[sD 0]∼,Act D,PD ∼),where PD ∼([s]∼,a r)([s]∼)=P(r)(s)(s). At each state of the quotient MDP, the actions correspond to any realisation. It includes states that are unreachable in every realisation. Remark 1 (Action space). According to Definition 8, for every state [s]∼there are |D|actions. Many of these actions lead to the same distributions over successor states. In particular, two different realisations rand rlead to the same distribution in sif r(k)=r(k) for all k∈Kwhere P(s)(k)= 0. To avoid this spurious blow-up of actions, we a-priori merge all actions yielding the same distribution. 2The original initial state s0of the family of MCs needs to be the initial state of MD σr.
Shepherding Hordes of Markov Chains 179 [sD 0]∼[1]∼[2]∼[3]∼ ar1 ar2 1 0.5 0.5 ar1 ar2 0.50.5 0.5 0.5 ar1 ar2 1 1 ar1 ar2 0.5 0.5 0.5 0.5 Fig. 3. The quotient MDP MD ∼for realisations r1and r2. The quotient MDP under forgetting involves that the available actions allow to switch realisations and thereby create induced MCs different from any MC in D. We formalise the notion of a consistent realisation with respect to parameters. Definition 9 (Consistent realisation). For a family Dof MCs and k∈K, k-realisation-consistency is an equivalence relation ≈k⊆R D×RDsatisfying: r≈kr⇐⇒ r(k)=r(k). Let [r]≈kdenote the equivalence class w.r.t. ≈kcontaining r∈R D. Definition 10 (Consistent scheduler). For quotient MDP MD ∼after forgetting and k∈K, a scheduler σ∈ΣMD ∼is k-consistent if for all π,π∈PathsMD ∼ fin : σ(π)=ar∧σ(π)=ar=⇒r≈kr. A scheduler is K-consistent (short: consistent)ifitisk-consistent for all k∈K. Lemma 1. For the quotient MDP MD ∼of family Dof MCs: {MD ∼σr∗|σr∗consistent scheduler}={Dr|r∈R D}. Proof (Idea). For σr∈ΣMD, we construct σr∗∈ΣMD ∼such that σr∗([s]∼)=ar for all s. Clearly σr∗is consistent and MD σr=MD ∼σr∗is obtained via a map between (s, r) and [s]∼.Forσr∗∈ΣMD ∼, we construct σr∈ΣMDsuch that if σr∗([s]∼)=arthen σr(sD 0)=ar. For all other states, we define σr((s, r)) = ar independently of σr∗. Then MD σr=MD ∼σr∗is obtained as above. The following theorem is a direct corollary: we need to consider exactly the consistent schedulers. Theorem 2. For all-in-one MDP MDand specification ϕ, there exists a memoryless deterministic scheduler σr∈ΣMDsuch that MD σrϕiff there exists a consistent deterministic scheduler σr∗∈ΣMD ∼such that MD ∼σr∗ϕ.
180 M. ˇ Ceˇska et al. Example 4. Recall the all-in-one MDP MDfrom Example 3. The quotient MDP MD ∼is depicted in Fig. 3. Only the transitions according to realisations r1and r2are included. Transitions from previously unreachable states, marked grey in Example 3, are now available due to the abstraction. The scheduler σ∈ΣMD ∼ with σ([sD 0]∼)=ar2and σ([1]∼)=ar1is not k1-consistent as different values are chosen for k1by r1and r2.IntheMCMD ∼σinduced by σand MD ∼,the probability to reach state [2]∼is one, while under realisation r1, state 2 is not reachable. Approach 3 (Scheduler iteration). Enumerating all consistent schedulers for MD ∼and analysing the induced MC provides a solution to both synthesis problems. However, optimising over exponentially many consistent schedulers solves the NP-complete feasibility synthesis problem, rendering such an iterative approach unlikely to be efficient. Another natural approach is to employ solving techniques for NP-complete problems, like satisfiability modulo linear real arithmetic. Approach 4 (SMT). A dedicated SMT-encoding (in [11]) of the induced MCs of consistent schedulers from MD ∼that solves the feasibility problem. 4.3 Refinement Loop Although iterating over consistent schedulers (Approach 3) is not feasible, model checking of MD ∼still provides useful information for the analysis of the family D. Recall the feasibility synthesis problem for ϕ=P≤λ(φ). If Probmax(MD ∼,φ)≤λ, then all realisations of Dsatisfy ϕ. On the other hand, Probmin(MD ∼,φ)>λ implies that there is no realisation satisfying ϕ.Ifλlies between the min and max probability, and the scheduler inducing the min probability is not consistent, we cannot conclude anything yet, i.e., the abstraction is too coarse. A natural countermeasure is to refine the abstraction represented by MD ∼, in particular, split the set of realisations leading to two synthesis sub-problems. Definition 11 (Splitting). Let Dbe a family of MCs, and R⊆R Dasetof realisations. For k∈Kand predicate Akover S,splitting partitions Rinto R={r∈R|Ak(r(k))}and R⊥={r∈R|¬Ak(r(k))}. Splitting the set of realisations, and considering the subfamilies separately, rather than splitting states in the quotient MDP, is crucial for the performance of the synthesis process as we avoid rebuilding the quotient MDP in each iteration. Instead, we only restrict the actions of the MDP to the particular subfamily. Definition 12 (Restricting). Let MD ∼=(SD ∼,[sD 0]∼,Act D,PD ∼)be a quotient MDP and R⊆R Da set of realisations. The restriction of MD ∼wrt. Ris the MDP MD ∼[R]=(SD ∼,[sD 0]∼,Act D[R],PD ∼)where ActD[R]={ar|r∈R}.3 3Naturally, PD ∼in MD ∼[R] is restricted to Act D[R].
Shepherding Hordes of Markov Chains 187 feasibility synthesis with unsatisfiable specifications is handled perfectly well by MDP abstraction, while this is the worst-case for enumeration-based approaches. Likewise, max synthesis can be understood as threshold synthesis with a shifting threshold max∗: If the max∗is quickly set close to max, MDP abstraction yields superior performance. Roughly, we can quickly approximate max∗when some of the parameter values are clearly beneficial for the specification. 6 Conclusion and Future Work We contributed to the efficient analysis of families of Markov chains. In particular, we discussed and implemented existing approaches to solve practically interesting synthesis problems, and devised a novel abstraction refinement scheme that mitigates the computational complexity of the synthesis problems, as shown by the empirical evaluation. In the future, we will include refinement strategies based on counterexamples as in [23,34]. References 1. Repository with benchmarks. https://github.com/moves-rwth/shepherd 2. Arming, S., Bartocci, E., Chatterjee, K., Katoen, J.-P., Sokolova, A.: Parameterindependent strategies for pMDPs via POMDPs. In: McIver, A., Horvath, A. (eds.) QEST 2018. LNCS, vol. 11024, pp. 53–70. Springer, Cham (2018). https://doi.org/ 10.1007/978-3-319-99154-2 4 3. Aziz, A., Singhal, V., Balarin, F., Brayton, R.K., Sangiovanni-Vincentelli, A.L.: It usually works: the temporal logic of stochastic systems. In: Wolper, P. (ed.) CAV 1995. LNCS, vol. 939, pp. 155–165. Springer, Heidelberg (1995). https://doi.org/ 10.1007/3-540-60045-0 48 4. Baier, C., de Alfaro, L., Forejt, V., Kwiatkowska, M.: Model checking probabilistic systems. In: Clarke, E., Henzinger, T., Veith, H., Bloem, R. (eds.) Handbook of Model Checking, pp. 963–999. Springer, Cham (2018). https://doi.org/10.1007/ 978-3-319-10575-8 28 5. Baier, C., Katoen, J.: Principles of Model Checking. MIT Press, Cambridge (2008) 6. Bartocci, E., Grosu, R., Katsaros, P., Ramakrishnan, C.R., Smolka, S.A.: Model repair for probabilistic systems. In: Abdulla, P.A., Leino, K.R.M. (eds.) TACAS 2011. LNCS, vol. 6605, pp. 326–340. Springer, Heidelberg (2011). https://doi.org/ 10.1007/978-3-642-19835-9 30 7. Benini, L., Bogliolo, A., Paleologo, G., Micheli, G.D.: Policy optimization for dynamic power management. IEEE Trans. Comput.-Aided Des. Integr. Circ. Syst. 8(3), 299–316 (2000) 8. Budde, C.E., Dehnert, C., Hahn, E.M., Hartmanns, A., Junges, S., Turrini, A.: JANI: quantitative model and tool interaction. In: Legay, A., Margaria, T. (eds.) TACAS 2017. LNCS, vol. 10206, pp. 151–168. Springer, Heidelberg (2017). https:// doi.org/10.1007/978-3-662-54580-5 9 9. Calinescu, R., ˇ Ceˇska, M., Gerasimou, S., Kwiatkowska, M., Paoletti, N.: Efficient synthesis of robust models for stochastic systems. J. Syst. Softw. 143, 140–158 (2018)
188 M. ˇ Ceˇska et al. 10. ˇ Ceˇska, M., Dannenberg, F., Paoletti, N., Kwiatkowska, M., Brim, L.: Precise parameter synthesis for stochastic biochemical systems. Acta Informatica 54(6), 589–623 (2017) 11. ˇ Ceˇska, M., Jansen, N., Junges, S., Katoen, J.P.: Shepherding hordes of Markov chains. CoRR abs/1902.xxxxx (2019) 12. Chades, I., Carwardine, J., Martin, T.G., Nicol, S., Sabbadin, R., Buffet, O.: MOMDPs: a solution for modelling adaptive management problems. In: AAAI. AAAI Press (2012) 13. Chasins, S., Phothilimthana, P.M.: Data-driven synthesis of full probabilistic programs. In: Majumdar, R., Kunˇcak, V. (eds.) CAV 2017. LNCS, vol. 10426, pp. 279–304. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63387-9 14 14. Chatterjee, K., Chmelik, M., Davies, J.: A symbolic SAT-based algorithm for almost-sure reachability with small strategies in POMDPs. In: AAAI, pp. 3225– 3232. AAAI Press (2016) 15. Chatterjee, K., K¨oßler, A., Schmid, U.: Automated analysis of real-time scheduling using graph games. In: HSCC, pp. 163–172. ACM (2013) 16. Chen, T., Hahn, E.M., Han, T., Kwiatkowska, M.Z., Qu, H., Zhang, L.: Model repair for Markov decision processes. In: TASE, pp. 85–92. IEEE (2013) 17. Chonev, V.: Reachability in augmented interval Markov chains. CoRR abs/1701.02996 (2017) 18. Chrszon, P., Dubslaff, C., Kl¨uppelholz, S., Baier, C.: ProFeat: feature-oriented engineering for family-based probabilistic model checking. Formal Asp. Comput. 30(1), 45–75 (2018) 19. Classen, A., Cordy, M., Heymans, P., Legay, A., Schobbens, P.: Model checking software product lines with SNIP. STTT 14(5), 589–612 (2012) 20. Classen, A., Cordy, M., Heymans, P., Legay, A., Schobbens, P.: Formal semantics, modular specification, and symbolic verification of product-line behaviour. Sci. Comput. Program. 80, 416–439 (2014) 21. Cordy, M., Heymans, P., Legay, A., Schobbens, P.Y., Dawagne, B., Leucker, M.: Counterexample guided abstraction refinement of product-line behavioural models. In: SIGSOFT FSE, pp. 190–201. ACM (2014) 22. Cubuktepe, M., Jansen, N., Junges, S., Katoen, J.-P., Topcu, U.: Synthesis in pMDPs: a tale of 1001 parameters. In: Lahiri, S.K., Wang, C. (eds.) ATVA 2018. LNCS, vol. 11138, pp. 160–176. Springer, Cham (2018). https://doi.org/10.1007/ 978-3-030-01090-4 10 23. Dehnert, C., Jansen, N., Wimmer, R., ´ Abrah´am, E., Katoen, J.-P.: Fast debugging of PRISM models. In: Cassez, F., Raskin, J.-F. (eds.) ATVA 2014. LNCS, vol. 8837, pp. 146–162. Springer, Cham (2014). https://doi.org/10.1007/978-3-319- 11936-6 11 24. Dehnert, C., et al.: PROPhESY: a PRObabilistic ParamEter SYnthesis tool. In: Kroening, D., P˘as˘areanu, C.S. (eds.) CAV 2015. LNCS, vol. 9206, pp. 214–231. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21690-4 13 25. Dehnert, C., Junges, S., Katoen, J.-P., Volk, M.: A storm is coming: a modern probabilistic model checker. In: Majumdar, R., Kunˇcak, V. (eds.) CAV 2017. LNCS, vol. 10427, pp. 592–600. Springer, Cham (2017). https://doi.org/10.1007/978-3- 319-63390-9 31 26. Gario, M., Micheli, A.: PySMT: a solver-agnostic library for fast prototyping of SMT-based algorithms. In: SMT Workshop 2015 (2015) 27. Gerasimou, S., Calinescu, R., Tamburrelli, G.: Synthesis of probabilistic models for quality-of-service software engineering. Autom. Softw. Eng. 25(4), 785–831 (2018)
Shepherding Hordes of Markov Chains 189 28. Ghezzi, C., Sharifloo, A.M.: Model-based verification of quantitative non-functional properties for software product lines. Inf. Softw. Technol. 55(3), 508–524 (2013) 29. Giro, S., D’Argenio, P.R., Fioriti, L.M.F.: Distributed probabilistic input/output automata: expressiveness, (un)decidability and algorithms. Theor. Comput. Sci. 538, 84–102 (2014) 30. Giro, S., Rabe, M.N.: Verification of partial-information probabilistic systems using counterexample-guided refinements. In: Chakraborty, S., Mukund, M. (eds.) ATVA 2012. LNCS, vol. 7561, pp. 333–348. Springer, Heidelberg (2012). https://doi.org/ 10.1007/978-3-642-33386-6 26 31. Hahn, E.M., Hermanns, H., Zhang, L.: Probabilistic reachability for parametric Markov models. Softw. Tools Technol. Transfer 13(1), 3–19 (2011) 32. Hansson, H., Jonsson, B.: A logic for reasoning about time and reliability. Formal Aspects Comput. 6(5), 512–535 (1994) 33. Herman, T.: Probabilistic self-stabilization. Inf. Process. Lett. 35(2), 63–67 (1990) 34. Jansen, N., et al.: Symbolic counterexample generation for large discrete-time Markov chains. Sci. Comput. Program. 91, 90–114 (2014) 35. Junges, S., et al.: Finite-state controllers of POMDPs using parameter synthesis. In: UAI, pp. 519–529. AUAI Press (2018) 36. Kochenderfer, M.J.: Decision Making Under Uncertainty: Theory and Application, 1st edn. The MIT Press, Cambridge (2015) 37. Kwiatkowska, M., Norman, G., Parker, D.: Probabilistic verification of Herman’s self-stabilisation algorithm. Formal Aspects Comput. 24(4), 661–670 (2012) 38. Kwiatkowska, M., Norman, G., Parker, D.: PRISM 4.0: verification of probabilistic real-time systems. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 585–591. Springer, Heidelberg (2011). https://doi.org/10.1007/978- 3-642-22110-1 47 39. de Moura, L., Bjørner, N.: Z3: an efficient SMT solver. In: Ramakrishnan, C.R., Rehof, J. (eds.) TACAS 2008. LNCS, vol. 4963, pp. 337–340. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78800-3 24 40. Nori, A.V., Ozair, S., Rajamani, S.K., Vijaykeerthy, D.: Efficient synthesis of probabilistic programs. In: PLDI, pp. 208–217. ACM (2015) 41. Norman, G., Parker, D., Zou, X.: Verification and control of partially observable probabilistic systems. Real-Time Syst. 53(3), 354–402 (2017) 42. Pathak, S., ´ Abrah´am, E., Jansen, N., Tacchella, A., Katoen, J.-P.: A greedy approach for the efficient repair of stochastic models. In: Havelund, K., Holzmann, G., Joshi, R. (eds.) NFM 2015. LNCS, vol. 9058, pp. 295–309. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-17524-9 21 43. Rodrigues, G.N., et al.: Modeling and verification for probabilistic properties in software product lines. In: HASE, pp. 173–180. IEEE (2015) 44. Skaf, J., Boyd, S.: Techniques for exploring the suboptimal set. Optim. Eng. 11(2), 319–337 (2010) 45. Vandin, A., ter Beek, M.H., Legay, A., Lluch-Lafuente, A.: QFLan: a tool for the quantitative analysis of highly reconfigurable systems. In: Havelund, K., Peleska, J., Roscoe, B., de Vink, E. (eds.) FM 2018. LNCS, vol. 10951, pp. 329–337. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-95582-7 19 46. Varshosaz, M., Khosravi, R.: Discrete time Markov chain families: modeling and verification of probabilistic software product lines. In: SPLC Workshops, pp. 34–41. ACM (2013)
190 M. ˇ Ceˇska et al. Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.