SlideShare a Scribd company logo
1 of 23
ARTIFICIAL
INTELLIGENCE
(CS511
)
Lectur
e
Instruct
or
4
Waqas Ahmad
Department
of
Computer
Science
University of Agriculture,
Faisalabad
Artificia
l
Intelligen
ce
 Artificial intelligenc
e
(AI
)
is intelligenc
e
demonstrate
d
by machine, as opposed to the natural intelligence
displayed
by humans or animals.
A FEW
DOMAINS
OF
AI
Formal
Tasks:
Medical
Diagnosis
Mundane Task:
Tic- Tac-
Toe
Chess
Checkers
Expert
Task:
Perception
Common
Sense
Robot
Control
Reasoni
ng
Engineering
Design
Fault
Finding
Scientific
Analysis
Knowledg
e
 One of the few hard and fast result to come out of the first
three
decades of AI research is that intelligence requires
Knowledge.
 properties of
knowledge:
 It
 It
 It
is
is
is
voluminous
hard to characterize
accurately
constantly changing

The
different kinds of
knowledge
thatnee
d
to be represente
d
in AI
syste
mObjects
Events
Performan
ce
Facts
Meta-
Knowledge
I.
II.
III.
IV.
V.
VI.
Types
of
knowledg
e
in AI
Declarative Knowledge – It includes
concepts, facts,
and
objects

expressed in a declarative
sentence.
Structural Knowledge – It is a basic problem-solving
knowledge that
describes the relationship between concepts and objects.

Procedural Knowledge – This is responsible for knowing
how to do
something and includes rules, strategies, procedures, etc.

Meta Knowledge – Meta Knowledge defines knowledge about
other
types of Knowledge.

Heuristic Knowledge – This represents some expert
knowledge in
the field or subject

Agents in Artificial
Intelligence
 In artificial intelligence, an intelligent agent is anything which
perceives its environment, takes actions autonomously in
order to
achieve goals, and may improve its performance with
learning or
may use knowledge.
 Agent
 An agent can be anything that perceive its environment
through
sensors .An Agent runs in the cycle of perceiving,
thinking,
and acting. An agent can be:
Agents in Artificial
Intelligence
 Human-
Agent:
A huma
n
agen
t
ha
s
eyes
,
ears
,
and othe
r
organs which
work
for actuators.
 Robotic Agent:
A
for sensors and hand, legs, vocal tract
work
robotic agent can have cameras,
infrared
range finder, NLP for sensors and various motors for
actuators.

Software
Agent
:
Softwar
e
agen
t
ca
n
hav
e
keystroke
s,
file
contents as sensory input and act on those inputs and
display
output on the screen.
Rules for an AI
agent
 Following are the main four rules for an AI agent:
 Rule 1: An AI agent must have the ability to
perceive the environment.

Rule

Rule

Rule
2:
3:
4:
The observation must be used to make decisions.
Decision should result in an action.
The action taken by an AI agent must be a rational
action.
AI
Agent
Structure
of
an AI
Agent
 The task of AI is to design an agent program which
implements the
agent function. The structure of an intelligent agent is a
combination
of architecture and agent program. It can be viewed as:
 Agent = Architecture + Agent program
 Following are the main three terms involved in the structure
of an AI
agent:
Architecture: Architecture is machinery that an AI agent
executes on.
Agent Function: Agent function is used to map a
percept to an action.
f:P* → A
Agent program: Agent program is an implementation of
agent
function. An agent program executes on the physical
architecture
to produce function f.
1.
2.
1.
Knowledge-
base

Knowledge
bas
e
is a centra
l
compone
nt
of a knowledge-
based
agent, it is also known as
KB.
 It is a collection of sentences (here 'sentence' is a technical
term and
it is not identica
l
to sentence
in
English
).
These
sentences
are
expressed in a language which is called a knowledge
representation
language. The Knowledge-base of KBA stores fact about the
world.
 Why use a knowledge base?
Knowledge-base is required for updating knowledge for an
agent
to learn with experiences and take action as per the
knowledge.
Knowledg
e
Based
System
A knowledge-based system (KBS) is a form of artificial
intelligence
(AI) tha
t
aim
s
to captur
e
th
e
knowledg
e
of huma
n
expert
s
to
suppo
rt
decision-
making.
Example
s
of knowledge-based
systems
include expert systems, which are so called because of their
reliance
on human expertise.
Knowledge-
based
agent
s
An intelligent agent needs knowledge about the real
world
for
taking decisions and reasoning to act
efficiently.
Knowledge-based agents are those agents who
have the
capability of
 maintaining an internal state of knowledge
 reason over that knowledge
 update their knowledge after observations and take
actions.
 These agents can represent the world with some
formal
representation and act intelligently.
 Knowledge-based agents are composed of two main
parts
 Knowledge-base and
 Inference system.
Knowledg
e
bas
e
Agen
t
Operations performed
by
KB
A
To show the intelligent behavior Knowledge base agent
perform
operations
followin
g
 TELL: This operation tells the knowledge base what it perceives
from the
environment.
 ASK: This operation asks the knowledge base what action it
should
perform.
 Perform: It performs the selected action.
Inference
system
Inference means deriving new sentences
from old.

an inference engine is a component of the system that
applies
logical rules to the knowledge base to deduce new
information.
Inference system allows us to add a new sentence to the
knowledge base. A sentence is a proposition about the world.
Inference system applies logical rules to the KB to deduce
new information.


Inference system generates new facts so that an agent can
update
the KB. An inference system works mainly in two rules
which are
given as:
Forward chaining
Backward chaining



Forward
Chaining
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.
Backward
Chaining
Backward chaining is a concept in artificial
intelligence
that involves backtracking from the endpoint or
goal to
steps that led to the endpoint
which
makes
Machine
valuable?
Knowledg
e
Representati
on
Knowledge
Representation
knowledge.
in AI describe
s
the representatio
n
of

Basicall
y,
it is a
study
of ho
w
the
ca
n
beliefs
,
intention
s,

and judgments of an intelligent
agent
for automated reasoning.
Example
be expressed
suitably

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.

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.

Cycle
of
in AI
knowledge
representation
Artificial Intelligent Systems usually consist of
various
components to display their intelligent
behavior.
What is the Relation between
Knowledge &
Intelligence?
 In the real world, knowledge plays a
vital
as well as creating artificial
intelligence.
role in
intelligence
 It demonstrates the intelligent
behavior in
systems.
 It is possible for an agent or system
to act
AI agents
or
accurately on
some
input only when it has the knowledge or experience
about the
input.

More Related Content

Similar to Knowledge Base and AI Agents.pptx

leewayhertz.com-How to build an AI app.pdf
leewayhertz.com-How to build an AI app.pdfleewayhertz.com-How to build an AI app.pdf
leewayhertz.com-How to build an AI app.pdfrobertsamuel23
 
Building an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersBuilding an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersChristopherTHyatt
 
Bt9402, artificial intelligence
Bt9402, artificial intelligenceBt9402, artificial intelligence
Bt9402, artificial intelligencesmumbahelp
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsJim Webb
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...Arlene Smith
 
Artificial Intelligence Question Bank
Artificial Intelligence Question BankArtificial Intelligence Question Bank
Artificial Intelligence Question BankSpardhavijetha2DrKMs
 
An overview of Artificial intelligence
An overview of Artificial intelligence An overview of Artificial intelligence
An overview of Artificial intelligence Vaishali Advani
 
Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Pradeep Vishwakarma
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdfStephenAmell4
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdfMatthewHaws4
 
Data science dec ppt
Data science dec pptData science dec ppt
Data science dec pptsterlingit
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceNimesh_parmar
 
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISpijans
 
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISpijans
 
Intelligent system by SHAHIN ELAHI BOX
Intelligent system by SHAHIN ELAHI BOXIntelligent system by SHAHIN ELAHI BOX
Intelligent system by SHAHIN ELAHI BOXShahin Alam
 

Similar to Knowledge Base and AI Agents.pptx (20)

leewayhertz.com-How to build an AI app.pdf
leewayhertz.com-How to build an AI app.pdfleewayhertz.com-How to build an AI app.pdf
leewayhertz.com-How to build an AI app.pdf
 
Building an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersBuilding an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for Beginners
 
AI Expert Systems.pptx
AI Expert Systems.pptxAI Expert Systems.pptx
AI Expert Systems.pptx
 
Knowledge representation
Knowledge representationKnowledge representation
Knowledge representation
 
Bt9402, artificial intelligence
Bt9402, artificial intelligenceBt9402, artificial intelligence
Bt9402, artificial intelligence
 
Artificial intelligance
Artificial intelliganceArtificial intelligance
Artificial intelligance
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
 
Artificial Intelligence Question Bank
Artificial Intelligence Question BankArtificial Intelligence Question Bank
Artificial Intelligence Question Bank
 
An overview of Artificial intelligence
An overview of Artificial intelligence An overview of Artificial intelligence
An overview of Artificial intelligence
 
Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
Applications of AI
Applications of AIApplications of AI
Applications of AI
 
Data science dec ppt
Data science dec pptData science dec ppt
Data science dec ppt
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
 
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
 
Intelligent system by SHAHIN ELAHI BOX
Intelligent system by SHAHIN ELAHI BOXIntelligent system by SHAHIN ELAHI BOX
Intelligent system by SHAHIN ELAHI BOX
 

Recently uploaded

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Knowledge Base and AI Agents.pptx

  • 2. Artificia l Intelligen ce  Artificial intelligenc e (AI ) is intelligenc e demonstrate d by machine, as opposed to the natural intelligence displayed by humans or animals.
  • 3. A FEW DOMAINS OF AI Formal Tasks: Medical Diagnosis Mundane Task: Tic- Tac- Toe Chess Checkers Expert Task: Perception Common Sense Robot Control Reasoni ng Engineering Design Fault Finding Scientific Analysis
  • 4. Knowledg e  One of the few hard and fast result to come out of the first three decades of AI research is that intelligence requires Knowledge.  properties of knowledge:  It  It  It is is is voluminous hard to characterize accurately constantly changing  The different kinds of knowledge thatnee d to be represente d in AI syste mObjects Events Performan ce Facts Meta- Knowledge I. II. III. IV. V. VI.
  • 5. Types of knowledg e in AI Declarative Knowledge – It includes concepts, facts, and objects  expressed in a declarative sentence. Structural Knowledge – It is a basic problem-solving knowledge that describes the relationship between concepts and objects.  Procedural Knowledge – This is responsible for knowing how to do something and includes rules, strategies, procedures, etc.  Meta Knowledge – Meta Knowledge defines knowledge about other types of Knowledge.  Heuristic Knowledge – This represents some expert knowledge in the field or subject 
  • 6. Agents in Artificial Intelligence  In artificial intelligence, an intelligent agent is anything which perceives its environment, takes actions autonomously in order to achieve goals, and may improve its performance with learning or may use knowledge.  Agent  An agent can be anything that perceive its environment through sensors .An Agent runs in the cycle of perceiving, thinking, and acting. An agent can be:
  • 8.  Human- Agent: A huma n agen t ha s eyes , ears , and othe r organs which work for actuators.  Robotic Agent: A for sensors and hand, legs, vocal tract work robotic agent can have cameras, infrared range finder, NLP for sensors and various motors for actuators.  Software Agent : Softwar e agen t ca n hav e keystroke s, file contents as sensory input and act on those inputs and display output on the screen.
  • 9. Rules for an AI agent  Following are the main four rules for an AI agent:  Rule 1: An AI agent must have the ability to perceive the environment.  Rule  Rule  Rule 2: 3: 4: The observation must be used to make decisions. Decision should result in an action. The action taken by an AI agent must be a rational action.
  • 11. Structure of an AI Agent  The task of AI is to design an agent program which implements the agent function. The structure of an intelligent agent is a combination of architecture and agent program. It can be viewed as:  Agent = Architecture + Agent program  Following are the main three terms involved in the structure of an AI agent: Architecture: Architecture is machinery that an AI agent executes on. Agent Function: Agent function is used to map a percept to an action. f:P* → A Agent program: Agent program is an implementation of agent function. An agent program executes on the physical architecture to produce function f. 1. 2. 1.
  • 12. Knowledge- base  Knowledge bas e is a centra l compone nt of a knowledge- based agent, it is also known as KB.  It is a collection of sentences (here 'sentence' is a technical term and it is not identica l to sentence in English ). These sentences are expressed in a language which is called a knowledge representation language. The Knowledge-base of KBA stores fact about the world.  Why use a knowledge base? Knowledge-base is required for updating knowledge for an agent to learn with experiences and take action as per the knowledge.
  • 13. Knowledg e Based System A knowledge-based system (KBS) is a form of artificial intelligence (AI) tha t aim s to captur e th e knowledg e of huma n expert s to suppo rt decision- making. Example s of knowledge-based systems include expert systems, which are so called because of their reliance on human expertise.
  • 14. Knowledge- based agent s An intelligent agent needs knowledge about the real world for taking decisions and reasoning to act efficiently. Knowledge-based agents are those agents who have the capability of  maintaining an internal state of knowledge  reason over that knowledge  update their knowledge after observations and take actions.  These agents can represent the world with some formal representation and act intelligently.  Knowledge-based agents are composed of two main parts  Knowledge-base and  Inference system.
  • 16. Operations performed by KB A To show the intelligent behavior Knowledge base agent perform operations followin g  TELL: This operation tells the knowledge base what it perceives from the environment.  ASK: This operation asks the knowledge base what action it should perform.  Perform: It performs the selected action.
  • 17. Inference system Inference means deriving new sentences from old.  an inference engine is a component of the system that applies logical rules to the knowledge base to deduce new information. Inference system allows us to add a new sentence to the knowledge base. A sentence is a proposition about the world. Inference system applies logical rules to the KB to deduce new information.   Inference system generates new facts so that an agent can update the KB. An inference system works mainly in two rules which are given as: Forward chaining Backward chaining   
  • 18. Forward Chaining 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.
  • 19. Backward Chaining Backward chaining is a concept in artificial intelligence that involves backtracking from the endpoint or goal to steps that led to the endpoint
  • 21. Knowledg e Representati on Knowledge Representation knowledge. in AI describe s the representatio n of  Basicall y, it is a study of ho w the ca n beliefs , intention s,  and judgments of an intelligent agent for automated reasoning. Example be expressed suitably  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.  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. 
  • 22. Cycle of in AI knowledge representation Artificial Intelligent Systems usually consist of various components to display their intelligent behavior.
  • 23. What is the Relation between Knowledge & Intelligence?  In the real world, knowledge plays a vital as well as creating artificial intelligence. role in intelligence  It demonstrates the intelligent behavior in systems.  It is possible for an agent or system to act AI agents or accurately on some input only when it has the knowledge or experience about the input.