Professional Documents
Culture Documents
Knowledge Representation and Planning
Knowledge Representation and Planning
Representation
Knowledge Representation (KR)
Humans are best at understanding, reasoning, and interpreting knowledge. Human knows things, which is knowledge
and as per their knowledge they perform various actions in the real world. But how machines do all these things comes
under knowledge representation and reasoning. Hence we can describe Knowledge representation as following:
• Knowledge representation and reasoning (KR, KRR) is the part of Artificial intelligence which concerned with AI
agents thinking and how thinking contributes to intelligent behavior of agents.
• It is responsible for representing information about the real world so that a computer can understand and can utilize
this knowledge to solve the complex real world problems such as diagnosis a medical condition or communicating
with humans in natural language.
• It is also a way which describes how we can represent knowledge in artificial intelligence. Knowledge representation
is not just storing data into some database, but it also enables an intelligent machine to learn from that knowledge
and experiences so that it can behave intelligently like a human.
What to Represent:
Structural knowledge
• Structural knowledge is basic knowledge to problem-solving.
Decision
Maker
Sensing Knowledge
Action
Source: https://www.javatpoint.com/knowledge-representation-in-ai
What to Represent:
Learning
Perception
Knowledge Reasoning
Representation
Planning
Execution
Source: https://www.javatpoint.com/knowledge-representation-in-ai
Storing facts which uses the relational In the inheritable knowledge approach,
Simple relational
method, and each fact about a set of the all data must be stored into a hierarchy
knowledge
object is set out systematically in of classes. All classes should be arranged
columns. in a generalized form or a hierarchal
manner.
Knowledge Representation
Techniques
Source: https://www.section.io/engineering-
education/forward-and-backward-chaining-in-ai/
Forward • Forward chaining is a method of reasoning in artificial intelligence in which inference rules are applied to
existing data to extract additional data until an endpoint (goal) is achieved.
chaining • In this type of chaining, the inference engine starts by evaluating existing facts, derivations, and
conditions before deducing new information. An endpoint (goal) is achieved through the manipulation of
knowledge that exists in the knowledge base.
Properties of forward chaining
• The process uses a down-up approach (bottom to top).
• It starts from an initial state and uses facts to make a conclusion.
• This approach is data-driven.
• It’s employed in expert systems and production rule system.
Advantages
• It can be used to draw multiple conclusions.
• It provides a good basis for arriving at conclusions.
• It’s more flexible than backward chaining because it does not have a limitation on the data derived from it.
Disadvantages
• The process of forward chaining may be time-consuming. It may take a lot of time to eliminate and
synchronize available data.
• Unlike backward chaining, the explanation of facts or observations for this type of chaining is not very clear.
The former uses a goal-driven method that arrives at conclusions efficiently.
Backward chaining
Disadvantages
• The result is already known, which makes it easy to deduce inferences.
• It’s a quicker method of reasoning than forward chaining because the
endpoint is available.
• In this type of chaining, correct solutions can be derived effectively if pre-
determined rules are met by the inference engine.
Thank You