Title: Error Control for Probabilistic Model Checking
1Error Control forProbabilistic Model Checking
- HÃ¥kan L. S. Younes
- Carnegie Mellon University
2Contributions
- Framework for expressing correctness guarantees
of model-checking algorithms - Enables comparison of different algorithms
- Improves understanding of sampling-based
algorithms - New sampling-based algorithm for probabilistic
model checking - Better error control through undecided results
3Probabilistic Model Checking
- Given a model M, a state s, and a property ?,
does ? hold in s for M ? - Model stochastic discrete event system
- Property probabilistic temporal logic formula
arrival
departure
q
The probability is at least 0.1 that the
queuebecomes full within 5 minutes
4Temporal Stochastic Logic (CSL)
- Standard logic operators ? ?, ? ? ?,
- Probabilistic operator ?? ?
- Holds in state s iff probability is at least ?
for paths satisfying ? and starting in s - Until ? ? T ?
- Holds over path ? iff ? becomes true along ?
within time T, and ? is true until then
5Property Example
- The probability is at least 0.1 that the queue
becomes full within 5 minutes - ?0.1? ? 5 full
6Possible Results ofModel Checking
- Given a state s and a formula ?, a model-checking
algorithm A can - Accept ? as true in s (s ?? ?)
- Reject ? as false in s (s ?? ?)
- Return an undecided result (s ?I ?)
- An error occurs if
- A rejects ? when ? is true (false negative)
- A accepts ? when ? is false (false positive)
7Ideal Error Control
- Bound on false negatives ?
- Prs ?? ? s ? ? ? ?
- Bound on false positives ?
- Prs ?? ? s ? ? ? ?
- Bound on undecided results ?
- Prs ?I ? ? ?
8Unrealistic Expectations
1 ? ?
s ? ?? ?
s ? ?? ?
Probability of acceptingP? ? as true in s
?
p
?
Actual probability of ? holding
9Temporal Stochastic Logic with Indifference
Regions (CSL?)
- Indifference region of width 2? centered around
probability thresholds - Probabilistic operator ?? ?
- Holds in state s if probability is at least ? ?
for paths satisfying ? and starting in s - Does not hold if probability is at most ? - ?
- Too close to call if probability is within ?
distance of ?
10Error Control forCurrent Solution Methods
- Bound on false negatives ?
- Prs ?? ? s ?? ? ? ?
- Bound on false positives ?
- Prs ?? ? s ?? ? ? ?
- No undecided results ? 0
- Prs ?I ? 0
?
?
11Probabilistic Model Checkingwith Indifference
Regions
1 ?
s ? ?? ?
s ? ?? ?
Probability of acceptingP? ? as true in s
s ?? ?? ?
s ?? ?? ?
?
?
?
p
?
? ?
? - ?
Actual probability of ? holding
12Hypothesis TestingYounes Simmons (CAV02)
- Single sampling plan ?n, c?
- Generate n sample execution paths
- Accept ?? ? iff more than c paths satisfy ?
- Probability of accepting ?? ? as true
- Sequential acceptance sampling
13Statistical EstimationHérault et al. (VMCAI04)
- Estimate p using sample of size n
- Choosing n
- Acceptance condition for ?? ?
Same as single sampling plan ?n, ?n? 1??!
14Statistical Estimation vs.Hypothesis Testing
15Numerical Transient AnalysisBaier et al. (CAV00)
- Estimate p with truncation error ?
- Acceptance condition for ?? ?
- Prs ?? ? s ?? ? 0
- Prs ?? ? s ?? ? 0
?
?
16Alternative Error Control
- Bound on false negatives ?
- Prs ?? ? s ? ? ? ?
- Bound on false positives ?
- Prs ?? ? s ? ? ? ?
- Bound on undecided results ?
- Prs ?I ? (s ?? ?) ? (s ?? ?) ? ?
?
?
17Probabilistic Model Checkingwith Undecided
Results
Acceptance probability
1 ?
Undecided result withprobability at least 1 ?
?
?
Rejection probability
?
p
?
? ?
? - ?
Actual probability of ? holding
18Statistical Solution Method
- Simultaneous acceptance sampling plans
- H0 p ? ? against H1 p ? ? ?
- H0 p ? ? ? against H1 p ? ?
- Combining the results
- Accept ?? ? if H0 and H0 are accepted
- Reject ?? ? if H1 and H1 are accepted
- Undecided result otherwise
?
?
?
?
?
?
?
?
19Empirical Evaluation(Symmetric Polling System)
serv1 ? P0.5? U T poll1
20Empirical Evaluation(Symmetric Polling System)
? ? ? 102
21Summary
- Statistical estimation is never more efficient
than hypothesis testing - Statistical methods are randomized algorithms for
CSL? model checking - Numerical methods are exact algorithms for CSL?
model checking - New statistical solution method with finer error
control (? parameter)