Knowleddge Representation
Knowleddge Representation
Knowledge Representation and Reasoning (KR, KRR) represents information from the real world for a
computer to understand and then utilize this knowledge to solve complex real-life problems like
communicating with human beings in natural language. Knowledge representation in AI is not just about storing
data in a database, it allows a machine to learn from that knowledge and behave intelligently like a human
being.
Objects
Events
Performance
Facts
Meta-Knowledge
Knowledge-base
Now that you know about Knowledge representation in AI, let’s move on and know about the different types of
Knowledge.
These are the important types of Knowledge Representation in AI. Now, let’s have a look at the cycle of
knowledge representation and how it works.
Perception
Learning
Knowledge Representation & Reasoning
Planning
Execution
Here is an example to show the different components of the system and how it works:
Example
The above diagram shows the interaction of an AI system with the real world and the components involved in
showing intelligence.
The Perception component retrieves data or information from the environment. with the help of this
component, you can retrieve data from the environment, find out the source of noises and check if the
AI was damaged by anything. Also, it defines how to respond when any sense has been detected.
Then, there is the Learning Component that learns from the captured data by the perception
component. The goal is to build computers that can be taught instead of programming them. Learning
focuses on the process of self-improvement. In order to learn new things, the system requires
knowledge acquisition, inference, acquisition of heuristics, faster searches, etc.
The main component in the cycle is Knowledge Representation and Reasoning which shows the
human-like intelligence in the machines. Knowledge representation is all about understanding
intelligence. Instead of trying to understand or build brains from the bottom up, its goal is to understand
and build intelligent behavior from the top-down and focus on what an agent needs to know in order to
behave intelligently. Also, it defines how automated reasoning procedures can make this knowledge
available as needed.
The Planning and Execution components depend on the analysis of knowledge representation and
reasoning. Here, planning includes giving an initial state, finding their preconditions and effects, and a
sequence of actions to achieve a state in which a particular goal holds. Now once the planning is
completed, the final stage is the execution of the entire process.
So, these are the different components of the cycle of Knowledge Representation in AI. Now, let’s understand
the relationship between knowledge and intelligence.
In this example, there is one decision-maker whose actions are justified by sensing the environment and using
knowledge. But, if we remove the knowledge part here, it will not be able to display any intelligent behavior.
Now that you know the relationship between knowledge and intelligence, let’s move on to the techniques of
Knowledge Representation in AI.
Logical Representation
Logical representation is a language with some definite rules which deal with propositions and has no
ambiguity in representation. It represents a conclusion based on various conditions and lays down some
important communication rules. Also, it consists of precisely defined syntax and semantics which supports
the sound inference. Each sentence can be translated into logics using syntax and semantics.
Syntax Semantics
It decides how we can construct legal
sentences in logic. Semantics are the rules by which we can
It determines which symbol we can use in interpret the sentence in the logic.
knowledge representation. It assigns a meaning to each sentence.
Also, how to write those symbols.
Advantages:
Disadvantages:
Logical representations have some restrictions and are challenging to work with.
This technique may not be very natural, and inference may not be very efficient.
Semantic Network Representation
Semantic networks work as an alternative of predicate logic for knowledge representation. In Semantic
networks, you can represent your knowledge in the form of graphical networks. This network consists of nodes
representing objects and arcs which describe the relationship between those objects. Also, it categorizes the
object in different forms and links those objects.
Advantages:
Disadvantages:
Frame Representation
A frame is a record like structure that consists of a collection of attributes and values to describe an entity in
the world. These are the AI data structure that divides knowledge into substructures by representing
stereotypes situations. Basically, it consists of a collection of slots and slot values of any type and size. Slots
have names and values which are called facets.