0% found this document useful (0 votes)
29 views8 pages

Knowledge Base Representation in AI (Assign)

The document discusses knowledge representation and reasoning in artificial intelligence. It defines KR&R and describes representing knowledge about objects, events, performance, and facts to enable AI systems to understand the world. The types of knowledge represented in AI systems are also explained.

Uploaded by

liwatob
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views8 pages

Knowledge Base Representation in AI (Assign)

The document discusses knowledge representation and reasoning in artificial intelligence. It defines KR&R and describes representing knowledge about objects, events, performance, and facts to enable AI systems to understand the world. The types of knowledge represented in AI systems are also explained.

Uploaded by

liwatob
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Assignment

Knowledge base representation in AI

Submitted to:
Ma'am Omal sahar
Submitted by:
Aqsa Iqbal
20135
BSCS 6th (MA)
Course Detail:
Artificial Intelligence
CSC-508
4(3-1)

GOVERNMENT COLLEGE WOMEN UNIVERSITY FAISALABAD


What Is Knowledge Representation and Reasoning?
Knowledge representation and reasoning (KR&R) is a part of artificial intelligence that is solely
dedicated to representing information about the real world in such a form that a computer can
understand and take action accordingly. This leads to solving complex problems, such as
computation, having a dialog in natural language, diagnosing a critical medical condition, etc.
Knowledge representation finds its way from psychology about how a human is capable of
solving problems and representing knowledge to design formalisms. This will let AI understand
how a human makes complex systems simpler while building and designing.

Figure 1
Moreover, knowledge representation allows computer systems to understand and utilize the
knowledge to solve real-world problems. It also defines a way through which you can represent
knowledge and reasoning in AI. Knowledge representation is not just about storing data in
databases; rather, it enables intelligent machines to learn from human knowledge and experience
the same so that a machine can behave and act like a human.
With KR&R, you can represent the concepts of humans in an understandable format for
machines and make the AI-powered systems truly intelligent.
What Knowledge Is to Be Represented in AI Systems?
The knowledge that needs to be presented in artificial intelligence systems can include:
 Object: Objects surround humans constantly. Hence, the information regarding those
objects is essential and must be considered a knowledge type. For example, pianos have
white and black keys, cars have wheels, buses need drivers, planes need pilots, etc.
 Events: Numerous events are constantly taking place in the real world. And human
perception is based on events. AI needs to have events knowledge to take action. Some
events are famines, the advancement of societies, wars, disasters, achievements, and
more.

Page 2
 Performance: This knowledge deals with humans’ certain actions in various situations.
It represents the behavior side of knowledge which is quite essential for AI to understand.
 Meta knowledge: For instance, if we look around the world and sum up all the
knowledge out there, we see it is mostly divided into three categories:
a. What we already know
b. What we know is basically things we do not know completely
c. What we do not know yet
d. Meta knowledge deals with the first one, i.e, what we know and lets AI perceive the
same.
 Facts: This knowledge is based on the factual description of our world. For example, the
earth is not flat but also not round; our sun has a voracious appetite, and more.
 Knowledge-base: The knowledge base is the main component of human intelligence.
This refers to a group of relevant data or information on any field, description, and more.
For example, knowledge base on designing a car model.
How Does Knowledge Representation Work?
Typically, a task to carry out, a problem to solve, and getting a solution, is given informally, like
delivering parcels when they arrive or fixing electrical issues in the house.
To solve a real problem, the system designer must:
 Carry out the task to determine what better solution it can provide
 Represent the issue in a language so a computer can reason it
 Use the system to computer a final output, which is the solution for users or a sequence of
activities needed to be done in the ecosystem.
 Interpret the final result as a solution to the primary issue
Knowledge is the information that a human already has, but machines need to learn. Since there
are a lot of problems, the machine needs knowledge. As a part of the design system, you can
define what knowledge is to be represented.
Connection Between Knowledge Representation and AI:
Knowledge plays an essential role in intelligence. It is also responsible for the creation of
artificial intelligence. When it is needed to express intelligent behavior in the AI agents, it plays
a necessary role. An agent is unable to function accurately when it lacks experience

Figure 2

Page 3
For example, if you want to interact with a person but are unable to understand the language, it
is obvious that you can’t respond well and deliver any action. This works the same for agents’
intelligent behavior. AI needs to have enough knowledge to carry out the functionality as a
decision-maker discovers the environment and applies the required knowledge.
However, AI can’t exhibit intellectual behavior without the components of knowledge.
Types of Knowledge Represented in AI:
Now that we are clear about why we need knowledge representation in AI, let’s find out the
types the knowledge represented in an AI system.

Figure 3

 Declarative Knowledge: It represents the objects, concepts, and facts that help you
describe the whole world around you. Thus, it shares the description of something and
expresses declarative sentences.
 Procedural Knowledge: Procedural knowledge is less compared to declarative
knowledge. It is also known as imperative knowledge, which is used by mobile robots.
It’s for declaring the accomplishment of something. For example, with just a map of a
building, mobile robots can make their own plan. Mobile robots can plan to attack or
perform navigation. Moreover, procedural knowledge is directly applied to the task that,
includes rules, procedures, agendas, strategies, and more.
 Meta Knowledge: In the field of artificial intelligence, pre-defined knowledge is known
as meta-knowledge. For example, the study of tagging, learning, planning, etc., falls
under this type of knowledge.
This model changes its behavior with time and utilizes other specifications. A system
engineer or knowledge engineer utilizes various forms of meta-knowledge, such as

Page 4
accuracy, assessment, purpose, source, life span, reliability, justification, completeness,
consistency, applicability, and disambiguation.
 Heuristic Knowledge: This knowledge, which is also known as shallow knowledge,
follows the thumb rule principle. Hence, it is highly efficient in the process of reasoning
as it can solve issues based on past records or problems that are compiled by experts.
However, it gathers experiences of past problems and provides a better knowledge-based
approach to specify problems and take action.
 Structural Knowledge: Structural knowledge is the most simple and basic knowledge
that is used and applied in solving complex problems. It tries to find an effective solution
by finding the relationship between objects and concepts. In addition, it describes the
relationship between multiple concepts, like part of, kind of, or grouping of something.
AI Knowledge Cycle:
AI systems include some major components to show intelligent behavior that make representing
knowledge possible.

Figure 4
 Perception: It helps the AI-based system collect information about the environment
using different sensors and makes it familiar with the ecosystem to efficiently interact
with the problems.
 Learning: It is used to allow AI systems to run deep learning algorithms that are already
written to make AI systems deliver the needed information from the perception
component to the learning component for better learning and understanding.
 Knowledge representation and reasoning: Humans use knowledge to make decisions.
Hence, this block is responsible for serving humans through the knowledge data of AI
systems and using relevant knowledge whenever required.
 Planning and execution: This block is independent. It is used to take data from
knowledge and reasoning blocks and execute relevant actions.

Page 5
Techniques of Knowledge Representation in AI:
There are four major techniques out there that represent the knowledge in AI:
 Logical representation
 Semantic networks
 Production rules
 Frame representation

Figure 5

Logical Representation:
Logical representation is the basic form of knowledge representation to the machines where a
defined syntax with basic rules is used. This syntax has no ambiguity in the meaning and deals
with prepositions. However, the logical form of knowledge representation acts as the
communication rules. This is the reason it can be used to represent facts to the machines.
Logical representation is of two types:
 Propositional Logic: Propositional logic is also known as statement logic or
propositional calculus that works in a Boolean, which means a method of True or False.
 First-order Logic: First-order logic is a type of logical knowledge representation that
you can also term First Order Predicate Calculus Logic (FOPL). This representation of
logical knowledge represents the predicates and objects in quantifiers (for all,there exist).
It is an advanced model of propositional logic.
This form of knowledge representation looks like most of the programming languages where you
use semantics to forward information. It is a highly logical way of solving problems. However,
the main drawback of this method is the strict nature of the representation. In general, it is tough
to execute and not very efficient sometimes.

Page 6
Semantic Networks (semantic|meaning, net|graph)….meaningfullgraph in which objects
and relations will be presentand they will relate each other …..googlegraph….google
assistance…graph ko bana k knowledge ko increase krty hain or right time any pa
inference kr k ak valid point nikal lyte hain)
A graphical representation, in this type of knowledge representation, carries the connected
objects which are used with the data network. The semantic networks include arcs/edges
(connections) and nodes/blocks (objects) that describe the connection between the objects.
This is an alternative to the First Order Predicate Calculus Logic (FOPL) form of
representation. The relationships in the semantic networks are of two types:
 IS-A
 KIND-OF
It is a more natural form of representation than logical due to its simplicity of understanding. The
main downside of this form of representation is that it is computationally expensive and doesn’t
include equivalent quantifiers that you can find in logical representation.
Production Rules:
Production rules are the most common form of knowledge representation in AI systems. It is the
simplest form of representing if-else rule-based systems and hence, can be understood easily. It
represents a way of combining FOPL and propositional logic.
In order to technically understand the production rules, you need to first understand the
constituents of the representation system. This system includes a set of rules, working memory,
rule applier, and a recognized act cycle.
For every input, AI checks the conditions from the production rules, and after finding a better
rule, it takes the needed action immediately. The cycle of selecting rules based on the conditions
and acting to solve the issue is known as the recognition and act cycle that takes place in every
input.
However, this method has some problems, such as inefficient execution due to the active rules
and lack of gaining experience due to no storage of past results. Since the rules are expressed in
natural language, the cost of the disadvantages can be redeemed. Here, rules can be changed and
dropped easily if required.
Frame Representation:
To understand the frame representation at a fundamental level, imagine a table consisting of
names in columns and values in rows; the needed information is passed in this complete
structure. In simple words, frame representation is a collection of values and attributes.
This is an AI-specific data structure that uses fillers (slot values that can be of any data type and
shape) and slots. The process is quite similar to the typical Database Management System
(DBMS). These fillers and slots (object and attribute) form a structure called a frame.

Page 7
The slots, in this form of knowledge representation, have names or attributes, and the knowledge
related to the attributes is stored in fillers. The main advantage of this type of representation is
that similar data can be merged into groups to divide the knowledge into structures. Further, it is
divided into sub-structures.
Being like a typical data structure, this type can be understood, manipulated, and visualized
easily. Typical concepts, including removing, deleting, and adding slots, can be carried out
effortlessly.
Requirements for Knowledge Representation in AI system:
A good knowledge representation contains some properties:
 Representational accuracy: Knowledge representation needs to represent each kind of
required knowledge accurately.
 Inferential adequacy: Knowledge representation should have the ability to manipulate
some representational structures to represent new knowledge based on the existing
structures.
 Inferential efficiency: It is the ability to handle inferential knowledge mechanisms easily
in productive directions using appropriate guides. [Inferential learning refers to a kind of
learning which enables people to construct new knowledge by thinking.]
 Acquisitional efficiency: The ability to gain new knowledge using automatic methods.
Conclusion:
Humans can gain knowledge in different ways, and so do AI-based machines. As AI is evolving,
representing knowledge to machines in a better way helps you solve complex problems with
minimal error. So, knowledge representation is an essential attribute for AI machines to work
intelligently and smartly.

Page 8

You might also like