Atomic Sentences
Atomic Sentences
Disadvantages:
• High end learning is not seen in this particular production rules and so
it will not be helpful in future
Reasoning in AI
• Reasoning is the process of deriving logical conclusions and making
predictions from the available knowledge, fact and believes
• It is also defined as a way to gather fact from the existing or available
data
• In AI, reasoning is essential so that machine can think as a human
brain and perform like a human
Types of Reasoning
• There are different types of reasoning
1. Deductive Reasoning
2. Inductive Reasoning
3. Abductive Reasoning
4. Common Sense Reasoning
5. Monotonic Reasoning
6. Non-Monotonic Reasoning
Deductive Reasoning
• It is about collecting new information from the logically related
known information
• It is a form of valid reasoning which means, the conclusions or
inferences are true if the said premises are true
• It is sometime also referred as Top-Down Reasoning
• For example: All humans are vegetarians
• Also said as: xyz are humans && xyz are vegetarians
Inductive Reasoning
• It is a form of reasoning to arrive at conclusion using limited set of
fact or just consuming a limited fact
• It is also called as Cost Effective Reasoning
• It is a type of propositional logic and it provides support to the
conclusion
• Wherein which the premises might be true but not the conclusion
• For example: All pigeons we have seen in the zoo were white -> True
All pigeons are white -> Might or might not be true
Abductive Reasoning
• It is a form of logical reasoning which starts with single or multiple
observations
• And then finds the most likely conclusion for the observation
• It is an extension of deductive reasoning
• But the premises does not guarantee you the conclusion
• For example: My college is completely wet if Bangalore rains
• My college is wet
• Bangalore rains -> may be the reason or may not
Common Sense reasoning
• It is a informal form of reasoning which can be gained through
experiences
• This reasoning simulates the human ability to make assumptions
about events which occurs on daily life
• It is something depending on good judgement rather than exact logic
• For example: If I zebra cross while in a green signal there’s a chance of
me getting into an accident
Monotonic Reasoning
• In this reasoning, once the conclusion is made it will be same even if
we update
• Solving or deriving to conclusions with the available fact is seen here
• Example: Earth revolves around the sun
• Here, even though if we add like Earth is round and it revolves around
the sun, this doesn’t change the meaning of the premises that was
given
Non-Monotonic Reasoning
• In this reasoning, if we keep on updating the premises, it’ll become
invalid and give no reason
• This usually deals with incomplete and uncertain models
• Human perceptions for many things in daily life is an example of non-
monotonic reasoning
Truth Maintenance System (TMS)
• TMS is otherwise known as belief revision and revision maintenance
system
• A TMS maintenances consistency in a knowledge representation and
it concentrate on problem solving aspects
• Which is towards the solution aspects
• TMS can be diagrammatically represented as:
Diagrammatic Representation of
TMS
KB (Knowledge Base)
Goals of TMS
• There are four main goals of TMS and they are:
1. Provide Justifications for Conclusions
2. Recognize inconsistency
3. Support default reasoning
4. Support dependency driven backtracking
Providing justification for
conclusions
• When a problem-solving systems provide a conclusions to user’s
queries, an explanation of the conclusion is always required or should
be provided
Recognize Inconsistency
• An IE (Inference Engine) may tell TMS that some sentences are
contradictory and so the TMS rectifies it
Support default reasoning
• In many situation, in the absence of proper knowledge default
assumption are supported
Support dependency driven
backtracking
• The justification sometime indicates the correction and so we can
clarify or rectify the corrections by the means of backtracking
IE’s belief about the engine
1. False
2. True
3. Assumed True
4. Assumed False
5. Assumed Inference
6. Don’t Care
• False – The sentence is believed to be unconditionally false and is
otherwise known as contradiction
• True – The sentence is believed to be unconditionally true and is
otherwise known as tautology
• Assumed True – This is something to deal with the enabled
assumptions or driven assumptions, assuming something might be
true without knowing it deep
• Assumed False - This is something to deal with the enabled
assumptions or driven assumptions, assuming something might be
false without knowing it deep
• Assumed Inference – A sentence is believed by other inference from
other sentences
• Don’t care – The sentence is completely ignored here
Probability Reasoning in AI
• Knowledge Representation in FOL and Propositional Logic is based on
certainty or prediction
• For example: A B which means A implies B i.e., if A is true then B is
also true
• But in some situations where we were not so sure about whether the
value of A is true or not
• Then this can’t be expressed using A B
• And so this situation comes under uncertainty
• Therefore, to characterize uncertain knowledge where we are not
sure about the prediction
• Then we need to use uncertain reasoning or probabilistic reasoning
Some of the cases for uncertainty to
occur
• Experimental error
• Equipment fault
• Temperature variation
• Climate change
• Information from unknown sources
Need for probabilistic reasoning in
AI
• Probability reasoning are used under following circumstances
• Unpredictable outcomes
• Values are large to handle
• Unknown error
• In this reasoning, there are 2 main methods to solve any sort of
uncertainty and they are:
1. Bayes' rule
2. Bayesian statistics