From Offline Long-Run to Online Short-Run: Exploring A New Approach - - PowerPoint PPT Presentation

from offline long run to online short run exploring a new
SMART_READER_LITE
LIVE PREVIEW

From Offline Long-Run to Online Short-Run: Exploring A New Approach - - PowerPoint PPT Presentation

From Offline Long-Run to Online Short-Run: Exploring A New Approach of Hybrid Systems Model Checking for MDPnP Tao Li*, Qixin Wang*, Feng Tan*, Lei Bu, Jian-nong Cao*, Xue Liu, Yufei Wang*, Rong Zheng *The Hong Kong Polytechnic Univ. CPS Week


slide-1
SLIDE 1

From Offline Long-Run to Online Short-Run: Exploring A New Approach of Hybrid Systems Model Checking for MDPnP

Tao Li*, Qixin Wang*, Feng Tan*, Lei Bu, Jian-nong Cao*, Xue Liu, Yufei Wang*, Rong Zheng *The Hong Kong Polytechnic Univ. CPS Week 2011

slide-2
SLIDE 2

Content

Demand Background Challenge Solution Evaluation Related Work

slide-3
SLIDE 3

Content

Demand Background Challenge Solution Evaluation Related Work

slide-4
SLIDE 4

MDPnP leads to better safety, capability, and convenience of medical settings.

slide-5
SLIDE 5

MDPnP can help prevent many serious/lethal accidents in medical settings.

slide-6
SLIDE 6

Following the success of requiring avionics to be verifiably safe  MDPnP to be verifiably safe.

slide-7
SLIDE 7

Content

Demand Background Challenge Solution Evaluation Related Work

slide-8
SLIDE 8

A key tool for traditional computer systems verification is model checking.

slide-9
SLIDE 9

Computer systems model checking verifies safety, liveliness, persistence, and other properties.

slide-10
SLIDE 10

MDPnP is not just a computer system, it is a hybrid of computer & other systems, i.e., CPS.

Laser Tracheotomy MDPnP

slide-11
SLIDE 11

MDPnP is not just a computer system, it is a hybrid of computer & other systems, i.e., CPS.

Laser Tracheotomy MDPnP Computer

slide-12
SLIDE 12

MDPnP is not just a computer system, it is a hybrid of computer & other systems, i.e., CPS.

Computer Biochemical Laser Tracheotomy MDPnP

slide-13
SLIDE 13

MDPnP is not just a computer system, it is a hybrid of computer & other systems, i.e., CPS.

Computer Biochemical Mechanical Laser Tracheotomy MDPnP

slide-14
SLIDE 14

MDPnP is not just a computer system, it is a hybrid of computer & other systems, i.e., CPS.

Computer Biochemical Communication Mechanical Laser Tracheotomy MDPnP

slide-15
SLIDE 15

A state-of-the-art CPS model checking is Hybrid Systems Model Checking: Comp + Fdbk Ctrl.

Bouncing Ball Example

slide-16
SLIDE 16

The state-of-the-art CPS model checking is Hybrid Systems Model Checking: Comp + Fdbk Ctrl.

Thermostat Example

slide-17
SLIDE 17

The state-of-the-art CPS model checking is Hybrid Systems Model Checking: Comp + Fdbk Ctrl.

Thermostat Example

slide-18
SLIDE 18

Content

Demand Background Challenge Solution Evaluation Related Work

slide-19
SLIDE 19

However, existing hybrid systems model checking (computer + fdbk ctrl) doesn’t very well fit MDPnP.

slide-20
SLIDE 20

However, existing hybrid systems model checking (computer + fdbk ctrl) doesn’t very well fit MDPnP.

Existing model checking: Offline (partly due to lack of time cost bound), Time-Unbounded Behavior (Long-Run Future)

slide-21
SLIDE 21

However, existing hybrid systems model checking (computer + fdbk ctrl) doesn’t very well fit MDPnP.

Challenge 1: No good offline models for complex biomedical systems of human body. Existing model checking: Offline (partly due to lack of time cost bound), Time-Unbounded Behavior (Long-Run Future)

slide-22
SLIDE 22

However, existing hybrid systems model checking (computer + fdbk ctrl) doesn’t very well fit MDPnP.

Challenge 1: No good offline models for complex biomedical systems of human body. Challenge 2: Verification state space easily explode. Existing model checking: Offline (partly due to lack of time cost bound), Time-Unbounded Behavior (Long-Run Future)

slide-23
SLIDE 23

Take laser tracheotomy offline hybrid systems modeling as an example.

slide-24
SLIDE 24

Take laser tracheotomy offline hybrid systems modeling as an example.

slide-25
SLIDE 25

Take laser tracheotomy offline hybrid systems modeling as an example.

slide-26
SLIDE 26

Take laser tracheotomy offline hybrid systems modeling as an example.

slide-27
SLIDE 27

Take laser tracheotomy offline hybrid systems modeling as an example: model SpO2 offline?

slide-28
SLIDE 28

Content

Demand Background Challenge Solution Evaluation Related Work

slide-29
SLIDE 29

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

slide-30
SLIDE 30

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

Traditional model checking vs. Ours: Offline  Online Periodical Real-Time Long-Run Future  Short-Run Future

slide-31
SLIDE 31

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

Challenge 1: No good offline models for complex biomedical systems of human body. Traditional model checking vs. Ours: Offline  Online Periodical Real-Time Long-Run Future  Short-Run Future

slide-32
SLIDE 32

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

Challenge 1: No good offline models for complex biomedical systems of human body. Most vital signs’ online short-run behavior is easy to predict. Traditional model checking vs. Ours: Offline  Online Periodical Real-Time Long-Run Future  Short-Run Future

slide-33
SLIDE 33

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

Challenge 1: No good offline models for complex biomedical systems of human body. Challenge 2: Verification state space easily explode. Most vital signs’ online short-run behavior is easy to predict. Traditional model checking vs. Ours: Offline  Online Periodical Real-Time Long-Run Future  Short-Run Future

slide-34
SLIDE 34

Online periodical real-time hybrid systems model checking of time-bounded (i.e., short-run) future!

Challenge 1: No good offline models for complex biomedical systems of human body. Challenge 2: Verification state space easily explode. Traditional model checking vs. Ours: Offline  Online Periodical Real-Time Long-Run Future  Short-Run Future Most vital signs’ online short-run behavior is easy to predict. Online  Fixes Many Parameters Short-Run  Shrink State Space

slide-35
SLIDE 35

Let’s model the patient again, now online and short-run, with period T.

slide-36
SLIDE 36

Let’s model the patient again, now online and short-run, with period T.

slide-37
SLIDE 37

The online short-run model for ventilator.

slide-38
SLIDE 38

The online short-run model for ventilator.

slide-39
SLIDE 39

The online short-run model for laser-scalpel.

slide-40
SLIDE 40

The online short-run model for laser-scalpel.

slide-41
SLIDE 41

The online short-run model for supervisor.

slide-42
SLIDE 42

The online short-run model for supervisor.

slide-43
SLIDE 43

Question: Can the hybrid systems model checking finish (terminate) within period T ?

slide-44
SLIDE 44

Question: Can the hybrid systems model checking finish (terminate) within period T ?

Hybrid Systems Model Checking  undecidable

slide-45
SLIDE 45

Question: Can the hybrid systems model checking finish (terminate) within period T ?

Hybrid Systems Model Checking  undecidable Linear Hybrid Automaton (LHA) model checking  undecidable

slide-46
SLIDE 46

Question: Can the hybrid systems model checking finish (terminate) within period T ?

Hybrid Systems Model Checking  undecidable Linear Hybrid Automaton (LHA) model checking  undecidable Simple Time-Bounded (STB) LHA model checking 

slide-47
SLIDE 47

Question: Can the hybrid systems model checking finish (terminate) within period T ?

Hybrid Systems Model Checking  undecidable Linear Hybrid Automaton (LHA) model checking  undecidable Simple Time-Bounded (STB) LHA model checking  We proved a well-known reachability calculation procedure terminates within polynomial time.

slide-48
SLIDE 48

Question: Can the hybrid systems model checking finish (terminate) within period T ?

Hybrid Systems Model Checking  undecidable Linear Hybrid Automaton (LHA) model checking  undecidable Simple Time-Bounded (STB) LHA model checking  We proved a well-known reachability calculation procedure terminates within polynomial time. STB LHA is powerful enough to describe laser tracheotomy scenario, a representative MDPnP application.

slide-49
SLIDE 49

Content

Demand Background Challenge Solution Evaluation Related Work

slide-50
SLIDE 50

Evaluation Setup

slide-51
SLIDE 51

Evaluation Setup

Emulated Oxymeter and O2 sensor using NIH PhysioNet real-world patient vital sign traces.

slide-52
SLIDE 52

Evaluation Setup

Emulated Oxymeter and O2 sensor using NIH PhysioNet real-world patient vital sign traces. Sampling/Model-Checking Period: T = 3 second.

slide-53
SLIDE 53

Evaluation Setup

Emulated Oxymeter and O2 sensor using NIH PhysioNet real-world patient vital sign traces. Sampling/Model-Checking Period: T = 3 second. Hand written online model generator + PHAVer hybrid systems model checker

slide-54
SLIDE 54

Evaluation Setup

Emulated Oxymeter and O2 sensor using NIH PhysioNet real-world patient vital sign traces. Sampling/Model-Checking Period: T = 3 second. Hand written online model generator + PHAVer hybrid systems model checker Lenovo Thinkpad X201 + Intel Core i5 + 2.9G Mem + 32-bit Ubuntu 10.10

slide-55
SLIDE 55

Statistics of execution (modeling + checking) time cost: real-time feasible (with pipelining).

slide-56
SLIDE 56

Statistics of online SpO2 prediction accuracy

slide-57
SLIDE 57

Content

Demand Background Challenge Solution Evaluation Related Work

slide-58
SLIDE 58

Related Work

Runtime Verification [finkbeiner02] Online discrete systems model checking [qi09][easwaran06] Other hybrid systems model checkers [robby03][bartocci08]

slide-59
SLIDE 59

Thank You!

slide-60
SLIDE 60

References

[bartocci08] E. Bartocci, F. Corradini, E. Entcheva, R. Grosu, and S. A. Smolka, Cellexcite: An efficient simulation environment for excitable cells. BMC Bioinformatics, 9(2):1-13, Mar. 2008. [easwaran06] Arvind Easwaran, Sampath Kannan, Oleg Sokolsky: Steering of Discrete Event Systems: Control Theory Approach. Workshop on Runtime Verification 2006. [finkbeiner02] B. Finkbeiner, S. Sankaranarayanan, and H. Sipma, Collecting statistics over runtime executions. ENTCS, 70:4, 2002 [qi09] Z. Qi, A. Liang, H. Guan, M. Wu, and Z. Zhang, A hybrid model checking and runtime monitoring method for c++ web services. Proc. of the Fifth International Joint Conference on INC, IMS and IDC, 2009. [robby03] Robby, M. B. Dwyer, and J. Hatcliff. Bogor: An extensible and highly- modular software model checking framework. Proc. of the 9th European Software Engineering Conference (ESEC/FSE-11), 2003.

slide-61
SLIDE 61

Backup

slide-62
SLIDE 62

A key tool for traditional (computer systems) verification is model checking.

slide-63
SLIDE 63

A key tool for traditional (computer systems) verification is model checking.

slide-64
SLIDE 64

A key tool for traditional (computer systems) verification is model checking.

slide-65
SLIDE 65

A key tool for traditional (computer systems) verification is model checking.

slide-66
SLIDE 66

MDPnP is not just computer systems, it is a hybrid

  • f computer & other systems, i.e., CPS.

Computer Mechanics Aerodynamics Feedback Control Material Communications