Synthesis in pMDPs: A Tale of 1001 Parameters

Murat Cubuktepe, Nils Jansen, Sebastian Junges, Joost-Pieter Katoen, Ufuk Topcu

Here is a concise, blog-style summary of the paper "Synthesis in pMDPs: A Tale of 1001 Parameters".

TL;DR

This paper introduces a highly scalable method for parameter synthesis in parametric Markov Decision Processes (pMDPs) by reformulating the problem as a non-convex quadratically-constrained quadratic program (QCQP). By tightly integrating a convex-concave iterative optimization procedure with a probabilistic model checker, the authors' tool, PROPheSY, scales from handling just a handful of parameters to thousands, outperforming existing state-of-the-art tools by orders of magnitude.

What Problem Does This Paper Address?

Probabilistic model checking is a powerful automation technique used to verify systems that exhibit stochastic behavior, such as randomized network protocols or autonomous robots. However, during early design phases, exact system quantities—like failure rates or transition probabilities—are often unknown. This uncertainty is captured using parametric models, where transition probabilities are expressed as algebraic functions of real-valued parameters.

The parameter synthesis problem asks: Find a specific assignment of values to these parameters such that the system is guaranteed to satisfy a given specification (e.g., "the probability of a network collision is less than 0.1%") under all possible adversarial strategies.

Prior approaches relied on exact symbolic methods (like SMT solvers) or geometric programming, which suffer from severe scalability limitations. Consequently, state-of-the-art tools typically choked on models with more than 10 parameters. This paper aims to break through this "parameter wall."

An example of a simple parametric model with a single parameter $v$ can be seen below:

![Fig.

  1. A pMC with parameter v.](/figures/art_f13f543692694536ab5574b0edd0e540)

Methods

The authors tackle the scalability challenge by shifting the problem from symbolic logic to continuous optimization:

  1. QCQP Reformulation: They transform the standard non-linear programming (NLP) formulation of pMDP synthesis into a Quadratically-Constrained Quadratic Program (QCQP). Because the problem is inherently non-convex (and thus NP-hard), standard convex optimization solvers cannot be used directly.
  2. Convex-Concave Procedure (CCP): To handle the non-convexity, they reshape the QCQP into a Difference-of-Convex (DC) problem. They apply CCP, an iterative heuristic that linearizes the concave parts of the constraints, turning the problem into a sequence of convex quadratic programs that can be solved rapidly using commercial solvers like Gurobi.
  3. Sparse Matrix Convexification: Standard CCP techniques use expensive eigenvalue decompositions that destroy matrix sparsity. The authors introduce a clever bilinear decomposition trick tailored specifically to preserve the sparsity of the pMDP transition matrices, drastically reducing approximation errors and computational overhead.
  4. In-the-Loop Model Checking: Pure black-box optimization solvers frequently suffer from numerical instabilities. The authors' key innovation is integrating the probabilistic model checker Storm directly into the CCP loop. After each optimization iteration, the model checker verifies the intermediate parameter values. This allows for early termination if a valid solution is found before full convergence, and it resets optimization variables to mathematically sound values, preventing the solver from getting trapped in poor local optima.

Datasets

The authors evaluated their approach on a comprehensive suite of benchmarks:

  • Standard pMC Benchmarks: Classic models from the PARAM website (e.g., BRP, Crowds, Nand, Zeroconf) featuring 2 parameters.
  • POMDP-derived Strategy Synthesis Problems: Complex gridworlds (GridX, Maze), network protocols (Network), and authentication protocols (Repudiation) mapped to pMDPs, scaling up to thousands of parameters.
  • PRISM Case Studies: Parametric variants of randomized distributed algorithms like CSMA and WLAN.

Key Insights and Ideas

  • Verification as a Shortcut for Optimization: The biggest "aha moment" is that optimization and model checking shouldn't be isolated, sequential steps. Using a model checker inside the optimization loop acts as a powerful regularizer. It corrects numerical drift and catches valid solutions long before the optimization algorithm formally converges.
  • Sparsity is King: By avoiding dense eigenvalue calculations and leveraging a bilinear convexification approach, the method keeps the underlying matrices sparse, which is the secret sauce for scaling to thousands of variables.
  • Adversarial Robustness: Unlike previous geometric programming techniques, this method synthesizes parameters that remain valid against all possible adversarial schedulers, making it highly applicable to worst-case environment conditions.

Key Results

The proposed method was implemented in the open-source tool PROPheSY and yielded dramatic performance improvements:

  • Unprecedented Scaling: PROPheSY successfully solved benchmarks with up to 2,420 parameters (Netw 5,2), whereas previous exact SMT and geometric programming methods failed on anything larger than ~10 parameters.
  • Massive Speedups: On the Maze 5 benchmark (with a strict expected cost threshold), standard SMT solvers timed out (1800+ seconds), while the CCP method found a valid parameter instantiation in 422 seconds.
  • Outperforming Sampling: Compared to an optimized implementation of Particle Swarm Optimization (PSO), the CCP approach was significantly faster and more reliable on complex, tightly coupled parameter spaces where random sampling is highly inefficient.

Limitations and Future Work

Despite its success, the authors note a few limitations:

  • Memory and Convergence Walls: The method is not a silver bullet; it ran out of memory on the massive Netw 4,3 instance and struggled to find values close to the global optimum in the Repudiation benchmark.
  • Strictly Affine Functions: The current framework requires transition probabilities to be affine combinations of parameters. It cannot natively handle higher-order polynomial transitions.
  • Hyperparameter Sensitivity: The algorithm's performance is highly sensitive to its internal tuning constants ($\tau$ and $\mu$), meaning minor changes to the model encoding can cause unpredictable changes in runtime.

Future Directions: The authors plan to extend the framework to automatically handle non-affine transition functions and explore a hybrid approach that combines the global search strengths of PSO with the local convergence speed of CCP.

Summary updated

BibTeX
@inproceedings{cubuktepe2018synthesis,
  author = {Murat Cubuktepe and Nils Jansen and Sebastian Junges and Joost-Pieter Katoen and Ufuk Topcu},
  title = {{Synthesis in pMDPs: A Tale of 1001 Parameters}},
  booktitle = {ATVA},
  year = {2018},
  doi = {10.1007/978-3-030-01090-4\_10},
}
Figure