diagnosis 01
play

Diagnosis (01) Definitions Alban Grastien - PowerPoint PPT Presentation

Diagnosis (01) Definitions Alban Grastien alban.grastien@rsise.anu.edu.au Presentation 1 Modeling of a diagnosis problem 2 Formal definition of diagnosis 3 Presentation 1 Diagnosis problem Diagnosis as a logic problem Model-Based


  1. Diagnosis (01) Definitions Alban Grastien alban.grastien@rsise.anu.edu.au

  2. Presentation 1 Modeling of a diagnosis problem 2 Formal definition of diagnosis 3

  3. Presentation 1 Diagnosis problem Diagnosis as a logic problem Model-Based Diagnosis Modeling of a diagnosis problem 2 Formal definition of diagnosis 3

  4. Diagnosis problem Given a system a set of observations Goal find if a problem happens, and if yes which one restore a good behavior

  5. Example: car System: Observations: the car does not start Possible diagnoses: the battery does not work, the starter is broken, the car is out of petrol, etc. Possible repair: first, test plan to discriminate between the diagnoses (check the battery, etc. )

  6. Example: human body System: Observations: Fever (40 degrees), headache Possible diagnoses: cold, migraine Possible repair: take three pills per day

  7. Deduction Famous syllogism of Aristotle: Socrates is a man Every man is mortal Deduction Socrates is mortal

  8. Abduction Every man is mortal Socrates is mortal Abduction Socrates is a man (eg. Sherlock Holmes)

  9. Abduction Every man is mortal Every duck is mortal Socrates is mortal Socrates is mortal Abduction Abduction Socrates is a man Socrates is a duck (eg. Sherlock Holmes)

  10. Abduction Every man is mortal Every duck is mortal Socrates is mortal Socrates is mortal Abduction Abduction Socrates is a man Socrates is a duck (eg. Sherlock Holmes) Every ET is mortal But ETs do not exist Not an abduction Socrates is an ET

  11. Induction Socrates is a man Socrates is mortal Induction Every man is mortal Every mortal is a man No man but Socrates is mortal etc.

  12. What is diagnosis? Deduction? Abduction? Induction?

  13. What is diagnosis? Deduction Abduction Induction

  14. Expert Diagnosis vs Model-based Diagnosis Expert Diagnosis Need an expertise (human experience, logs from past experience, etc. ) Efficient: direct mapping from the observations to the diagnosis Model-based Diagnosis Need a model of the system Robust Justification

  15. Historical Heuristic approaches Expert systems (70) Approaches of static systems based on model (80) Approaches of dynamic systems based on model (90) Approches of reconfigurable systems based on model (00)

  16. Historical Heuristic approaches Expert systems (70) Approaches of static systems based on model (80) Approaches of dynamic systems based on model (90) Approches of reconfigurable systems based on model (00)

  17. Static system System whose state does not depend on the previous states Example: Davis Circuit A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E A = 2 B = 3 C = 3 D = 2 E = 2 F = 10 G =12

  18. Presentation 1 Modeling of a diagnosis problem 2 Formal definition of diagnosis 3

  19. Model Knowledge about “how the world works” [Russel and Norvig, 2003]

  20. Model Knowledge about “how the world works” [Russel and Norvig, 2003] Mathematical representation of the behavior of the environment that enables to simulate it. [Grastien, 2005]

  21. Model of a diagnosis problem A system model is a couple ( SD , COMP ) where SD is a set of first-order logic sentences describing the behavior of the system COMP is a set of constants, a constant = one component An observed system is a tuple ( SD , COMP , OBS ) where ( SD , COMP ) is a system model OBS is the set of observations

  22. Model – example A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E COMP = { a 1 , a 2 , m 1 , m 2 , m 3 }

  23. Model – example A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E Adder ( SD ): Add ( x ) ∧¬ Ab ( x ) ∧ In 1 ( x , u ) ∧ In 2 ( x , v ) ∧ Sum ( u , v , w ) ⇒ Out ( x , w ) Add ( x ) ∧¬ Ab ( x ) ∧ In 1 ( x , u ) ∧ Out ( x , w ) ∧ Sum ( u , v , w ) ⇒ In 2 ( x , v ) Add ( x ) ∧¬ Ab ( x ) ∧ In 2 ( x , v ) ∧ Out ( x , w ) ∧ Sum ( u , v , w ) ⇒ In 1 ( x , u ) Multiplier ( SD ): Mult ( x ) ∧¬ Ab ( x ) ∧ In 1 ( x , u ) ∧ In 2 ( x , v ) ∧ Prod ( u , v , w ) ⇒ Out ( x , w ) Mult ( x ) ∧¬ Ab ( x ) ∧ In 1 ( x , u ) ∧ Out ( x , w ) ∧ Prod ( u , v , w ) ⇒ In 2 ( x , v ) Mult ( x ) ∧¬ Ab ( x ) ∧ In 2 ( x , v ) ∧ Out ( x , w ) ∧ Prod ( u , v , w ) ⇒ In 1 ( x , u )

  24. Model – example A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E Component types ( SD ) Add ( a 1 ) , Add ( a 2 ) , Mult ( m 1 ) , Mult ( m 2 ) , Mult ( m 3 ) Connections ( SD ) Out ( m 1 , u ) ∧ In 1 ( a 1 , v ) ⇒ u = v Out ( m 2 , u ) ∧ In 2 ( a 1 , v ) ⇒ u = v Out ( m 2 , u ) ∧ In 1 ( a 2 , v ) ⇒ u = v Out ( m 3 , u ) ∧ In 2 ( a 2 , v ) ⇒ u = v Out ( m 1 , u ) ∧ In 1 ( m 3 , v ) ⇒ u = v

  25. Observations OBS is a set of atomic sentences each atomic sentence represents an observation A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E In 1 ( m 1 , 3 ) , In 2 ( m 1 , 2 ) In 1 ( m 2 , 2 ) , In 2 ( m 2 , 3 ) In 1 ( m 3 , 2 ) , In 2 ( m 3 , 3 ) Out ( a 1 , 10 ) , Out ( a 2 , 12 )

  26. Presentation 1 Modeling of a diagnosis problem 2 Formal definition of diagnosis 3

  27. State A state of the system ( SD , COMP ) is the Ab-clause denoted Φ ∆ where ∆ ⊆ COMP defined by: � � ( ¬ Ab ( c )) ∧ ( Ab ( c )) c ∈ COMP \ ∆ c ∈ ∆ The components in ∆ have an abnormal behavior (they are faulty)

  28. State A state of the system ( SD , COMP ) is the Ab-clause denoted Φ ∆ where ∆ ⊆ COMP defined by: � � ( ¬ Ab ( c )) ∧ ( Ab ( c )) c ∈ COMP \ ∆ c ∈ ∆ The components in ∆ have an abnormal behavior (they are faulty) ∆ = { a 1 , a 2 } Ab ( a 1 ) ∧ Ab ( a 2 ) ∧ ¬ Ab ( m 1 ) ∧ ¬ Ab ( m 2 ) ∧ ¬ Ab ( m 3 )

  29. State A state of the system ( SD , COMP ) is the Ab-clause denoted Φ ∆ where ∆ ⊆ COMP defined by: � � ( ¬ Ab ( c )) ∧ ( Ab ( c )) c ∈ COMP \ ∆ c ∈ ∆ The components in ∆ have an abnormal behavior (they are faulty) ∆ = { a 1 , a 2 } Ab ( a 1 ) ∧ Ab ( a 2 ) ∧ ¬ Ab ( m 1 ) ∧ ¬ Ab ( m 2 ) ∧ ¬ Ab ( m 3 ) ∆ = {} ¬ Ab ( a 1 ) ∧ ¬ Ab ( a 2 ) ∧ ¬ Ab ( m 1 ) ∧ ¬ Ab ( m 2 ) ∧ ¬ Ab ( m 3 )

  30. State A state of the system ( SD , COMP ) is the Ab-clause denoted Φ ∆ where ∆ ⊆ COMP defined by: � � ( ¬ Ab ( c )) ∧ ( Ab ( c )) c ∈ COMP \ ∆ c ∈ ∆ The components in ∆ have an abnormal behavior (they are faulty) ∆ = { a 1 , a 2 } Ab ( a 1 ) ∧ Ab ( a 2 ) ∧ ¬ Ab ( m 1 ) ∧ ¬ Ab ( m 2 ) ∧ ¬ Ab ( m 3 ) ∆ = {} ¬ Ab ( a 1 ) ∧ ¬ Ab ( a 2 ) ∧ ¬ Ab ( m 1 ) ∧ ¬ Ab ( m 2 ) ∧ ¬ Ab ( m 3 ) ∆ = { a 1 , a 2 , m 1 , m 2 , m 3 } Ab ( a 1 ) ∧ Ab ( a 2 ) ∧ Ab ( m 1 ) ∧ Ab ( m 2 ) ∧ Ab ( m 3 )

  31. Definition of diagnosis A diagnosis of the observed system ( COMP , SD , OBS ) is a state Φ ∆ such that SD ∧ OBS ∧ Φ ∆ is satisfiable (consistent)

  32. Definition of diagnosis A diagnosis of the observed system ( COMP , SD , OBS ) is a state Φ ∆ such that SD ∧ OBS ∧ Φ ∆ is satisfiable (consistent) The state is possible according to ( SD , COMP , OBS )

  33. Definition of diagnosis A diagnosis of the observed system ( COMP , SD , OBS ) is a state Φ ∆ such that SD ∧ OBS ∧ Φ ∆ is satisfiable (consistent) The state is possible according to ( SD , COMP , OBS ) A diagnosis exists if SD ∧ OBS is satisfiable. If not, the model is either not well-designed or incomplete

  34. Abnormal observations The observations are abnormal if SD ∧ OBS ∧ Φ ∅ is not satisfiable

  35. Example How many diagnoses can you find in this example? A mult-1 X add-1 F B C mult-2 Y D add-2 G Z mult-3 E Observations In 1 ( m 1 , 3 ) , In 2 ( m 1 , 2 ) , In 1 ( m 2 , 2 ) , In 2 ( m 2 , 3 ) In 1 ( m 3 , 2 ) , In 2 ( m 3 , 3 ) , Out ( a 1 , 10 ) , Out ( a 2 , 12 )

Recommend


More recommend