[Paper Review] Shepherding Hordes of Markov Chains
This paper proposes an abstraction-refinement framework for scalable synthesis over large families of Markov chains (MCs) by modeling the family as a Markov decision process (MDP) and applying iterative abstraction to avoid full enumeration. The method achieves speedups of up to 1,000× over baseline approaches on families with millions of MCs, especially when thresholds are near optimal values.
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.
Motivation & Objective
- Address the computational intractability of analyzing large families of Markov chains (MCs), where family size grows exponentially with parameters.
- Enable efficient feasibility, threshold, and optimal synthesis for quantitative properties like reachability probabilities and expected rewards.
- Overcome limitations of existing approaches—such as one-by-one analysis and monolithic MDPs—by introducing a lightweight, iterative abstraction-refinement scheme.
- Provide scalable solutions for real-world applications in software product lines, planning under partial observability, and probabilistic program synthesis.
Proposed method
- Model a family of MCs as a single MDP, where the initial state non-deterministically selects a family member, enabling joint analysis.
- Construct a quotient MDP by abstracting away the choice of family member, collapsing states that are reachable in any member into a single representative state.
- Use off-the-shelf MDP model checking to compute under- and over-approximations of min/max probabilities or rewards across all family members.
- Apply iterative refinement: when results are inconclusive, split the family into sub-families based on scheduler inconsistency and MDP strategy analysis, avoiding full re-computation.
- Leverage lightweight analysis of MDP strategies to guide splitting decisions, prioritizing regions of the parameter space with higher potential for satisfying the threshold.
- Integrate the approach into the Storm model checker, enabling symbolic and explicit state-space exploration with efficient data structures.
Experimental results
Research questions
- RQ1Can abstraction-refinement over an MDP representation significantly reduce the computational cost of analyzing families of Markov chains with millions of members?
- RQ2How does the threshold value in a quantitative specification affect the number of refinement iterations and overall performance of the synthesis algorithm?
- RQ3To what extent does the abstraction-refinement scheme outperform one-by-one and all-in-one MDP approaches in terms of scalability and runtime?
- RQ4How effective is the strategy-guided refinement in reducing the number of iterations, especially in cases where optimal parameter values are highly sensitive to state conditions?
Key findings
- The proposed abstraction-refinement approach achieves speedups of up to 1,000× over both one-by-one and all-in-one MDP analysis on benchmarks with families of millions of Markov chains.
- The number of refinement iterations strongly depends on the threshold: thresholds closer to the optimal value require fewer iterations, leading to superior performance.
- The quotient MDP representation is significantly more compact than the all-in-one MDP, especially in benchmarks like Maze and Pole, where it achieves very high compression.
- Performance degrades when the threshold is far from the optimum due to increased over-approximation and more inconclusive model-checking results.
- In cases with highly inconsistent schedulers—such as in the Herman ring benchmark—sub-optimal splitting leads to higher iteration counts and reduced speedup.
- Feasibility synthesis (checking if any member satisfies a property) performs best under the abstraction, as it benefits most from early pruning of infeasible sub-families.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.