FT228/4 Knowledge Based Decision Support Systems

Slides:



Advertisements
Similar presentations
© Negnevitsky, Pearson Education, Introduction, or what is uncertainty? Introduction, or what is uncertainty? Basic probability theory Basic probability.
Advertisements

Representing uncertain knowledge
Naïve Bayes. Bayesian Reasoning Bayesian reasoning provides a probabilistic approach to inference. It is based on the assumption that the quantities of.
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department 1 Lecture 12 Dealing With Uncertainty Probabilistic.
Representations for KBS: Uncertainty & Decision Support
Bayesian Network and Influence Diagram A Guide to Construction And Analysis.
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
1 Inferences with Uncertainty Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson Copyright 1998, Prentice Hall, Upper Saddle.
Bayesian Networks CSE 473. © Daniel S. Weld 2 Last Time Basic notions Atomic events Probabilities Joint distribution Inference by enumeration Independence.
 Negnevitsky, Pearson Education, Lecture 3 Uncertainty management in rule- based expert systems n Introduction, or what is uncertainty? n Basic.
Uncertainty in Expert Systems (Certainty Factors).
Chapter 7 Reasoning in Uncertain Situations
Artificial Intelligence Universitatea Politehnica Bucuresti Adina Magda Florea
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Uncertainty Everyday reasoning and decision making is based on uncertain evidence and inferences. Classical logic only allows conclusions to be strictly.
FT228/4 Knowledge Based Decision Support Systems
Chapter 4: Reasoning Under Uncertainty
B. Ross Cosc 4f79 1 Uncertainty Knowledge can have uncertainty associated with it - Knowledge base: rule premises, rule conclusions - User input: uncertain,
Final Exam: May 10 Thursday. If event E occurs, then the probability that event H will occur is p ( H | E ) IF E ( evidence ) is true THEN H ( hypothesis.
5/17/20151 Probabilistic Reasoning CIS 479/579 Bruce R. Maxim UM-Dearborn.
Certainty and Evidence
AI – CS364 Uncertainty Management Introduction to Uncertainty Management 21 st September 2006 Dr Bogdan L. Vrusias
Uncertain Reasoning CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 6.
AI – CS364 Uncertainty Management 26 th September 2006 Dr Bogdan L. Vrusias
CSNB234 ARTIFICIAL INTELLIGENCE
Slides are based on Negnevitsky, Pearson Education, Lecture 3 Uncertainty management in rule- based expert systems n Introduction, or what is uncertainty?
FT228/4 Knowledge Based Decision Support Systems Rule-Based Systems Ref: Artificial Intelligence A Guide to Intelligent Systems Michael Negnevitsky – Aungier.
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
AI - Week 24 Uncertain Reasoning (quick mention) then REVISION Lee McCluskey, room 2/07
1 Bayesian Reasoning Chapter 13 CMSC 471 Adapted from slides by Tim Finin and Marie desJardins.
Representing Uncertainty CSE 473. © Daniel S. Weld 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one.
Information Fusion Yu Cai. Research Paper Johan Schubert, “Clustering belief functions based on attracting and conflicting meta level evidence”, July.
Lecture 05 Rule-based Uncertain Reasoning
Chapter 4: Reasoning Under Uncertainty
1 CHAPTER 13 Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson 6th ed, Copyright 2001, Prentice Hall, Upper Saddle River,
1 Reasoning Under Uncertainty Artificial Intelligence Chapter 9.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Uncertainty Management in Rule-based Expert Systems
Probability Course web page: vision.cis.udel.edu/cv March 19, 2003  Lecture 15.
Uncertainty in Expert Systems
Reasoning Under Uncertainty. 2 Objectives Learn the meaning of uncertainty and explore some theories designed to deal with it Find out what types of errors.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Reasoning with Uncertainty دكترمحسن كاهاني
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
Textbook Basics of an Expert System: – “Expert systems: Design and Development,” by: John Durkin, 1994, Chapters 1-4. Uncertainty (Probability, Certainty.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
UNIVERSITI TENAGA NASIONAL 1 CCSB354 ARTIFICIAL INTELLIGENCE Chapter 8.2 Certainty Factors Chapter 8.2 Certainty Factors Instructor: Alicia Tang Y. C.
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank and Modified By Mingwu Chen Probability.
Chapter 1: The Science of Biology Section 1: What is Science?
Chapter 12 Certainty Theory (Evidential Reasoning) 1.
REASONING UNDER UNCERTAINTY: CERTAINTY THEORY
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Chapter 7. Propositional and Predicate Logic
Reasoning Under Uncertainty in Expert System
Module #16: Probability Theory
Dealing with Uncertainty
Representing Uncertainty
CS 188: Artificial Intelligence Fall 2008
CS 188: Artificial Intelligence Fall 2007
Module #16: Probability Theory
CS 188: Artificial Intelligence Fall 2007
Chapter 7. Propositional and Predicate Logic
28th September 2005 Dr Bogdan L. Vrusias
Module #16: Probability Theory
Certainty Factor Model
basic probability and bayes' rule
Presentation transcript:

FT228/4 Knowledge Based Decision Support Systems Uncertainty Management in Rule-Based Systems Certainty Factors More on inference chaining Ref: Artificial Intelligence A Guide to Intelligent Systems Michael Negnevitsky – Aungier St. Call No. 006.3

Uncertainty Approaches in AI Quantitative Numerical Approaches Probability Theory Certainty Factors Dempster-Shafer evidential theory Fuzzy logic Qualitative Logical Approaches Reasoning by cases Non-monotonic reasoning Hybrid approaches Probability theory rejected because of too many numbers, irrelevant to commonsense reasoning Rehabilitated using semi-qualitative representations (Bayes nets)

Arguments against probability Requires massive amount of data Requires enumeration of all possibilities Hides details of character of uncertainty People are bad probability estimators Difficult to use Probability is a scientific measure of chance The proportion of cases in which an event occurs Probability can be expressed as a numerical index with a range 0 to unity

Bayesian Inference Describes the application domain as a set of possible outcomes termed hypotheses Requires an initial probability for each hypothesis in the problem space Prior probability Bayesian inference then updates probabilities using evidence Each piece of evidence may update the probability of a set of hypotheses Represent revised beliefs in light of known evidence Mathematically calculated from Bayes theorem

Certainty Factors Certainty factors express belief in an event Fact or hypothesis Based upon evidence Experts assessment Composite number that can be used to Guide reasoning Cause a current goal to be deemed unpromising and pruned from search space Rank hypotheses after all evidence has been considered

Certainty Factors Certainty Factor cf(x) is a measure of how confident we are in x Range from –1 to +1 cf=-1 very uncertain cf=+1 very certain cf=0 neutral Certainty factors are relative measures Do not translate to measure of absolute belief First introduced in an expert system called MYCIN for the diagnosis and therapy of blood infections

Total Strength of Belief Certainty factors combin belief and disbelief into a single number based on some evidence MB(H,E) MD(H,E) Strength of belief or disbelief in H depends on the kind of evidence E observed cf= MB(H,E) – MD(H,E) 1 – min[MB(H,E), MD(H,E)] Some facts increase belief some facts increase disbelief

Belief Positive CF implies evidence supports hypothesis since MB > MD CF of 1 means evidence definitely supports the hypothesis CF of 0 means either there is no evidence or that the belief is cancelled out by the disbelief Negative CF implies that the evidence favours negation of hypothesis since MB < MD

Certainty Factors Consider a simple rule IF A is X THEN B is Y Expert may not be absolutely certain rule holds Suppose it has been observed that in some cases even when the antecedent is true, A takes value X, the consequent is false and B takes a different value Z IF A is X THEN B is Y {cf 0.7}; B is Z {cf 0.2}

Certainty Factors Factor assigned by the rule is propagated through the reasoning chain Establishes the net certainty of the consequent when the evidence for the antecedent is uncertain

Stanford Certainty Factor Algebra There are rules to combine CFs of several facts (cf(x1) AND cf(x2)) = min(cf(x1),cf(x2)) (cf(x1) OR cf(x2)) = max(cf(x1),cf(x2)) A rule may also have a certainty factor cf(rule) cf(action) = cf(condition).cf(rule)

Example cf(shep is a dog)=0.7 cf(shep has wings)=-0.5 cf(Shep is a dog and has wings) = min(0.7, -0.5) = -0.5 Suppose there is a rule If x has wings then x is a bird Let the cf of this rule be 0.8 IF (Shep has wings) then (Shep is a bird) = -0.5 . 0.8 = -0.4

Certainty Factors – Conjunctive Rules IF <evidence1> AND <evidence2> . AND <evidencen> THEN <hypothesis H> {cf} cf(H, E1  E2  …  En) = min[cf(E1),cf(E2)…cf(En)] x cf

Certainty Factors – Conjunctive Rules For example IF sky is clear AND forecast is sunny THEN wear sunglasses cf{0.8} cf(sky is clear)=0.9 cf(forecast is sunny)=0.7 cf(action)=cf(condition).cf(rule) = min[0.9,0.7].0.8 =0.56

Certainty Factors – Disjunctive Rules IF <evidence1> OR <evidence2> . OR <evidencen> THEN <hypothesis H> {cf} cf(H, E1  E2  …  En) = max[cf(E1),cf(E2)…cf(En)] x cf

Certainty Factors – Disjunctive Rules For example IF sky is overcast AND forecast is rain THEN take umbrella cf{0.9} cf(sky is overcast)=0.6 cf(forecast is rain)=0.8 cf(action)=cf(condition).cf(rule) = max[0.6,0.8].0.8 =0.72

Consequent from multiple rules Suppose we have the following : IF A is X THEN C is Z {cf 0.8} IF B is Y THEN C is Z {cf 0.6} What certainty should be attached to C having Z if both rules are fired ? cf(cf1,cf2)= cf1 + cf2 x (1- cf1) if cf1> 0 and cf2 > 0 = cf1 + cf2 if cf1 < 0 orcf2 < 0 1- min[|cf1|,|cf2|] = cf1+cf2 x (1+cf1) if cf1 < 0 and cf2 < 0 cf1=confidence in hypothesis established by Rule 1 cf2=confidence in hypothesis established by Rule 2 |cf1| and |cf2| are absolute magnitudes of cf1 and cf2 Common sense would say that our confidence in the hypothesis should increase if was have more evidence from different sources

Consequent from multiple rules cf(E1)=cf(E2)=1.0 cf1(H,E1)=cf(E1) x cf = 1.0 x 0.8 = 0.8 cf2(H,E2)=cf(E2) x cf = 1.0 x 0.6 = 0.6 Cf(cf1,cf2)= cf1(H,E1) + cf2(H,E2) x [1-cf1(H,E1)] = 0.8 + 0.6 x(1 –0.8)= 0.92

Certainty Factors Practical alternative to Bayesian reasoning Heuristic manner of combining certainty factors differs from the way in which they would be combined if they were probabilities Not mathematically pure Does mimic thinking process of human expert

Certainty Factors - Problems Results may depend on order in which evidence considered in some cases Reasoning often fairly insensitive to them Don’t capture credibility in some cases What do they mean exactly ? In some cases can be interpreted probabilistically

Comparison of Bayesian Reasoning & Certainty Factors Probability Theory Oldest & best-established technique Works well in areas such as forecasting & planning Areas where statistical data is available and probability statements made Most expert system application areas do not have reliable statistical information Assumption of conditional independence cannot be made Leads to dissatisfaction with method

Comparison of Bayesian Reasoning & Certainty Factors Lack mathematical correctness of probability theory Outperforms Bayesian reasoning in areas such as diagnostics and particularly medicine Used in cases where probabilities are not known or too difficult or expensive to obtain Evidential reasoning Can manage incrementally acquired evidence Conjunction and disjunction of hypotheses Evidences with varying degree of belief Provide better explanations of control flow