AI Module3 Uncertainity Reasoning
AI Module3 Uncertainity Reasoning
Open Elective
Module 3: Symbolic
Reasoning Under
Uncertainty CH7
◼ Verifications or Adaptation.
◼ New deductions.
2
Reasoning
Predicate Logic?
Symbolic representation of facts.
Deduction of new facts.
Certainty.
Information is consistent
Nothing will be retracted from the facts that are already known to be true
4
Non-Monotonicity
Knowledge Properties
How can the knowledge base be extended to allow inferences to be made
on the basis of lack of knowledge as well as on the presence of it?
How can the knowledge base be updated properly when a new fact is
added to the system (or when an old one is removed)?
How can knowledge be used to help resolve conflicts when there are
several inconsistent non monotonic inferences that could be drawn?
5
Uncertainty
Predicate logic used - only if there is no uncertainty.
But uncertainty is omnipresent.
The sources of uncertainty:
◼ Data or Expert Knowledge
Prior Knowledge.
Imprecise representation.
Data derived from defaults/assumptions.
Inconsistency between knowledge from different experts.
“Best Guesses”.
◼ Knowledge Representation
Restricted model of the real system.
Limited expressiveness of the representation mechanism.
◼ Rules or Inference Process
Conflict Resolution
Subsumption: To incorporate something under a more general category
6
Derivation of the result may take very long.
NMR
Intelligence in Reasoning
• Adaptability.
Capability of adding and retracting beliefs as new information is available.
• This requires non-monotonic reasoning.
In a non-monotonic system:
• We make assumptions about unknown facts.
• The addition of new facts can reduce the set of logical conclusions.
• S is a conclusion of D, but is not necessarily a conclusion of D + {new fact}.
• Humans use non-monotonic reasoning constantly!
7
NMR Knowledge Base
Conflicting consequences of a set of facts:
• Rank all the assumptions and use rank to determine which to believe.
• Tag given (and some other) facts as protected, these cannot be removed or
changed.
When a new fact is given:
• Get the explanation (list of contradicting facts).
• Maintain consistency.
8
Example of Uncertainty
• With First Order Logic we examined a mechanism for representing true facts and for
reasoning to new true facts.
• But in many domain it is not sufficient to deal only with true facts. We have to
“gamble”.
Airport Example
• E.g., we don’t know for certain what the traffic will be like on a trip to the airport.
• If we must arrive at the airport at 9pm on a week night we could “safely” leave for
the airport ½ hour before.
• Some probability of the trip taking longer, but the probability is low.
• If we must arrive at the airport at 4:30pm on Friday we most likely need 1 hour or
more to get to the airport. 9
• Relatively high probability of it taking 1.5 hours.
Example of Uncertainty
Dental Diagnosis example.
• When do we stop?
• We also want to rank the possibilities. We don’t want to start drilling for a cavity
before checking for more likely causes first.
10
Non Monotonous Logic (NML)
11
Non Monotonous Logic (NML)
Can Tweety fly???
Bird(x) ^ M fly(x)-> fly(x) penguin(x) -> bird(x)
Bird(Tweety) penguin(x) -> ~fly(x)
M is known as MODAL operator. penguin(Tweety)
Read it as: 'If it is consistent to assume'
12
Example: Russian Roulette Example
13
Example: Russian Roulette Example
15
Default Logic
Default logic can express facts like “by default, something is
true”;
By contrast, standard logic can only express that something is
true or that something is false.
16
Abduction
You have a cough, a fever of 101 degrees Fahrenheit, a runny nose, chills, an
aching body, nausea and diarrhea. You have had these symptoms for five
days. Given this information, your best guess is that you have influenza, or
the flu. But you are not completely certain. This is an example of abductive
reasoning.
17
Inheritance
18