Scenario-Based Risk Certificates for Multi-Property Vulnerability Discovery in Parametric MDPs
Organizations: Key Laboratory of System Software (Chinese Academy of Sciences), Beijing, China · Institute of Software, Chinese Academy of Sciences, Beijing, China · University of Chinese Academy of Sciences, Beijing, China
Abstract
Safety-critical systems such as network protocols and distributed algorithms depend on environmental parameters whose exact values are uncertain. Parametric Markov decision processes (pMDPs) model such systems by making transition probabilities symbolic functions of the parameters. For a single quantitative requirement, parametric verification asks which parameter valuations satisfy the requirement. In practice, however, engineers often monitor several safety and performance requirements at once, and one valuation may make several requirements vulnerable simultaneously. In this paper we study multi-property vulnerability discovery under requirement-wise semantics: given a pMDP and M quantitative requirements, we construct candidate regions of the parameter space that may contain violations, and study budgets for random testing under a specified parameter distribution. To solve this, we adopt a two-layered approach in which the scenario-approximation layer provides PAC guarantees on identifying conservative vulnerability regions for each requirement while the testing layer treats random parameter exploration as coverage of overlapping regions and yields a stopping certificate computed from the marginal region masses alone; a composition theorem then bounds the expected non-discovery score by the scenario approximation error plus the testing risk from the two layers. For confirmed discoveries, candidate hits are checked by model checking and budgets use independently certified discovery probabilities. Experiment evaluate these certificates using empirical surrogates and independent confidence bounds.
Figures & tables
| Method / Tool | Model and semantics | Parameter-region output | Guarantee |
|---|---|---|---|
| PRISM [ 36 ] ; Storm [ 28 ] | MDP; common scheduler | none (concrete model) | none |
| PROPhESY [ 16 ] ; Storm-pars [ 32 ] | pMC/pMDP; separate requirements | exact partition per requirement | none |
| DiPS [ 25 ] | pMC; joint data constraints over PCTL requirements | adaptive box partition | data-derived CIs |
| PacPMA [ 42 ] | pMC; one requirement | approximate region | per-requirement PAC |
| Badings et al. [ 5 ] | pMDP; one requirement | approximate region | per-requirement PAC |
| Forejt et al. [ 21 ] ; Hartmanns et al. [ 26 ] | MDP; common scheduler | Pareto/multi-cost tradeoff | none |
| Benchmark | States | |||||
|---|---|---|---|---|---|---|
| BRP | 2691 | 2 | 0.031 | 0.257 | 0.077 | 0.016 |
| Consensus | 272 | 3 | 0.031 | 0.300 | 0.064 | 0.000 |
| Crowds | 1145 | 2 | 0.031 | 0.257 | 0.078 | 0.000 |
| EGL | 23863 | 2 | 0.031 | 0.285 | 0.053 | 0.016 |
| FireWire | 4093 | 4 | 0.031 | 0.303 | 0.101 | 0.047 |
| Herman | 9 | 2 | 0.031 | 0.282 | 0.073 | 0.000 |
| Benchmark | Scenario | Certification | Testing | Total (s) | |
|---|---|---|---|---|---|
| BRP | 2 | 0.7 / 282 | 6.5 / 512 | 1.8 / 137 (1280) | 9.3 |
| Consensus | 3 | 1.6 / 423 | 4.7 / 768 | 1.7 / 257 (1920) | 8.1 |
| Crowds | 2 | 0.6 / 362 | 1.3 / 512 | 0.3 / 131 (1280) | 2.4 |
| EGL | 2 | 2.1 / 282 | 9.7 / 512 | 2.3 / 133 (1280) | 14.3 |
| FireWire | 4 | 1.5 / 564 | 5.5 / 1024 | 1.3 / 253 (2560) | 8.5 |
| Herman | 2 | 0.6 / 362 | 0.1 / 512 | 0.04 / 171 (1280) | 0.8 |
| Benchmark | ||||
|---|---|---|---|---|
| BRP | 2 | 10 | 11 | 3.92 |
| Consensus | 3 | 9 | 10 | 3.99 |
| Crowds | 2 | 10 | 11 | 3.94 |
| EGL | 2 | 9 | 9 | 3.10 |
| FireWire | 4 | 11 | 11 | 4.13 |
| Herman | 2 | 10 | 10 | 2.61 |
| Saving vs. union bound | |||||||||
| 2 | 33 | 29 | 29 | 29 | 29 | 12% | 12% | 12% | 12% |
| 4 | 37 | 30 | 30 | 30 | 30 | 19% | 19% | 19% | 19% |
| 8 | 42 | 33 | 33 | 33 | 33 | 21% | 21% | 21% | 21% |
| 16 | 46 | 36 | 36 | 36 | 36 | 22% | 22% | 22% | 22% |
| Saving | |||
|---|---|---|---|
| 1 | 42 | 42 | 0% |
| 2 | 33 | 42 | 21% |
| 4 | 31 | 42 | 26% |
| 8 | 30 | 42 | 29% |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Requirement | Formula | Bound |
| BRP | Pmax no reception | ||
| Rmin steps | |||
| Consensus | Pmin heads | ||
| Pmax disagree | |||
| Rmin steps | |||
| Crowds | Pmax observe twice |
| Benchmark | Requirement | |||||||
|---|---|---|---|---|---|---|---|---|
| BRP | Pmax no reception | 0.410 | 0.000 | 0.000 | 0.307 | 0.307 | 0.031 | 0.307 |
| Rmin steps | 0.355 | 0.000 | 0.039 | 0.257 | 0.257 | 0.031 | 0.257 | |
| Consensus | Pmin heads | 0.445 | 0.000 | 0.020 | 0.340 | 0.340 | 0.031 | 0.340 |
| Pmax disagree | 0.430 | 0.000 | 0.078 | 0.325 | 0.325 | 0.031 | 0.325 | |
| Rmin steps | 0.402 | 0.000 | 0.430 | 0.300 | 0.300 | 0.031 | 0.300 | |
| Crowds | Pmax observe twice | 0.355 | 0.000 | 0.008 | 0.257 | 0.257 | 0.031 | 0.257 |
| Model instance | States | Scenario | Certification | Testing | Total (s) |
|---|---|---|---|---|---|
| Crowds (small) | 1145 | 0.6 / 170 | 0.3 / 128 | 0.1 / 56 | 1.1 |
| Crowds (medium) | 42115 | 1.2 / 170 | 15.5 / 128 | 7.0 / 59 | 23.8 |
| Crowds (large) | 321751 | 33.1 / 170 | 184.6 / 128 | 89.9 / 64 | 308.1 |
| FireWire (small) | 4093 | 0.7 / 130 | 0.6 / 128 | 0.3 / 59 | 1.7 |
| FireWire (medium) | 17190 | 1.1 / 130 | 2.6 / 128 | 1.1 / 57 | 4.9 |
| FireWire (large) | 212268 | 11.6 / 130 | 52.6 / 128 | 23.1 / 58 | 88.0 |
| Family | Largest completed states | Time (s) |
|---|---|---|
| BRP | 20,744 | 356.6 |
| Consensus | 3,088 | 793.0 |
| Crowds | 572,153 | 407.8 |
| EGL | 3,342,334 | 596.1 |
| FireWire | 883,109 | 1203.9 |
| Herman | 129 | 118.8 |
| Benchmark | Absolute error | True | Conservative | Miss | |||
|---|---|---|---|---|---|---|---|
| Emp. | PAC. | Emp. | PAC. | Emp. | PAC. | ||
| BRP | 0.164 | 0.260 | 0.375 | 0.458 | 0.403 | 0.000 | 0.000 |
| Consensus | 0.025 | 0.037 | 0.438 | 0.673 | 0.528 | 0.000 | 0.000 |
| Crowds | 0.010 | 0.019 | 0.395 | 0.423 | 0.398 | 0.000 | 0.000 |
| EGL | 0.005 | 0.007 | 0.413 | 0.433 | 0.415 | 0.000 | 0.000 |
| FireWire | 1e-4 | 1e-4 | 0.408 | 0.408 | 0.408 | 0.000 | 0.000 |
| Degree | Scenario | Consensus | EGL | Herman | WLAN | Mean | Max miss |
|---|---|---|---|---|---|---|---|
| 1 | 280–320 | 0.091 | 0.037 | 0.003 | 1.232 | 0.341 | 0.000 |
| 2 | 400–560 | 0.024 | 0.006 | 6e-05 | 0.349 | 0.095 | 0.000 |
| 3 | 560–960 | 0.022 | 5e-04 | 6e-05 | 0.344 | 0.091 | 0.000 |
| 4 | 760–1560 | 0.009 | 5e-05 | 2e-06 | 0.175 | 0.046 | 0.000 |
| 5 | 1000–2400 | 0.009 | 7e-06 | 2e-06 | 0.185 | 0.048 | 0.000 |
Formal Verification
Formal verification uses mathematical models and machine-checked proofs to establish whether software and systems satisfy precise specifications.
See all 397 papers