SlideShare a Scribd company logo
Topic To Be Covered:
I. Knowledge Based Reasoning
II. Knowledge Based Agents
Jagdamba Education Society's
SND College of Engineering & Research Centre
Department of Computer Engineering
SUBJECT: Artificial Intelligence & Robotics
Lecture No-1(UNIT-03)
Logic & Reasoning
Prof.Dhakane Vikas N
Knowledge Based Reasoning
What is Logic & Reasoning In AI?
 The main difference between logic and reason is that logic is basic facts or
knowledge about our world. For example, logic says that the “Throwing
stone will fall”. (Obviously, because of gravity!).
 Logic is the key behind any knowledge. It allows a person to filter the
necessary information from the bulk and draw a conclusion. In artificial
intelligence, the representation of knowledge is done via logics
 Reasoning is subject to personal opinion(Personal Thought
Process), whereas logic is an actual science that follows clearly
defined rules and tests for critical thinking.
Knowledge Based Reasoning
What is Knowledge Based Reasoning???
 Knowledge Base is a set of representation of Facts/Information about the
surrounding environment(Real World)
 Knowledge representation and reasoning (KR², KR&R) is the field of
artificial intelligence (AI) dedicated to representing information about the
world in a form that a computer system(Or AI Agent) can utilize to solve
complex tasks such as diagnosing a medical condition or having a dialog
in a natural language or Solving various real world Problems. Etc.
 Knowledge representation incorporates findings from psychology about
how humans solve problems and represent knowledge in order to design
formalisms that will make complex systems easier to design and build.
What is Knowledge Based Agents In AI?
What is Knowledge Based Agents In AI?
 Knowledge is the basic element for a human brain to know and
understand the things logically. When a person becomes knowledgeable
about something, he is able to do that thing in a better way.
 In AI, the agents which copy such an element of human beings are known
as knowledge-based agents.
 An intelligent agent needs knowledge about the real world for taking
decisions and reasoning to act efficiently.
What is Knowledge Based Agents In AI?
What is Knowledge Based Agents In AI?
 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.
The architecture of knowledge-based agent:
The architecture of
knowledge-based agent:
 The diagram is representing a
generalized architecture for a
knowledge-based agent.
 The knowledge-based agent (KBA)
take input from the environment by
perceiving the environment.
 The input is taken by the inference
engine of the agent and which also
communicate with KB to decide as
per the knowledge store in KB.
 The learning element of KBA
regularly updates the KB by
learning new knowledge.
The architecture of knowledge-based agent:
The architecture of
knowledge-based agent:
 Knowledge base: Knowledge-
base is a central component 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 identical 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.
The architecture of knowledge-based agent:
The architecture of
knowledge-based agent:
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.
The architecture of knowledge-based agent:
Inference system
 A program’s protocol for
navigating through the rules and
data in a knowledge system in
order to solve the problem.
 Inference means deriving new
sentences from old.
 Inference system allows us to add a
new sentence to the knowledge
base.
 Inference system applies logical
rules to the KB to deduce new
information.
The architecture of knowledge-based agent:
Inference system
 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
The architecture of knowledge-based agent:
Operations Performed by KBA
 Following are three operations
which are performed by KBA in
order to show the intelligent
behavior:
 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.
Ai lecture  01(unit03)
Ai lecture  01(unit03)

More Related Content

PDF
Ai lecture 07(unit03)
PDF
Ai lecture 11(unit03)
PPTX
Object oriented modeling
PPTX
Prolog Programming : Basics
PPTX
Problem Formulation in Artificial Inteligence Projects
PPT
Oops ppt
PPTX
Knowledge Representation, Inference and Reasoning
Ai lecture 07(unit03)
Ai lecture 11(unit03)
Object oriented modeling
Prolog Programming : Basics
Problem Formulation in Artificial Inteligence Projects
Oops ppt
Knowledge Representation, Inference and Reasoning

What's hot (20)

PPT
KNOWLEDGE REPRESENTATION ISSUES.ppt
PPTX
Encapsulation
PDF
Oop basic overview
PPT
Predicate calculus
PPT
C#.NET
PDF
Java programming lab manual
PPTX
Dendral
PPTX
Unit 1 of c++ part 1 basic introduction
PDF
Logic programming (1)
PDF
C++ chapter 1
PPTX
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
PPT
Artificial Intelligence 1 Planning In The Real World
PDF
Lab report for Prolog program in artificial intelligence.
PPT
Function Oriented Design
PDF
Time and Space Complexity
PPTX
Object Oriented Programming in Java _lecture 1
PPTX
State space search and Problem Solving techniques
PPTX
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
PDF
Stm unit1
KNOWLEDGE REPRESENTATION ISSUES.ppt
Encapsulation
Oop basic overview
Predicate calculus
C#.NET
Java programming lab manual
Dendral
Unit 1 of c++ part 1 basic introduction
Logic programming (1)
C++ chapter 1
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence 1 Planning In The Real World
Lab report for Prolog program in artificial intelligence.
Function Oriented Design
Time and Space Complexity
Object Oriented Programming in Java _lecture 1
State space search and Problem Solving techniques
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
Stm unit1
Ad

Similar to Ai lecture 01(unit03) (20)

PPTX
Knowledge Base and AI Agents.pptx
PPTX
Knowledge representation
PPS
Artificial Intelligence
PDF
Artificial-Intelligence--AI And ES Nowledge Base Systems
PDF
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
PPTX
pending-1664760315-2 knowledge based agent student.pptx
PPTX
pending-1664760315-2 knowledge based agent student.pptx
PDF
AGI Part 1.pdf
PPTX
Artificial Intelligence.pptx
PPTX
Classified details of AI.pptx
PPTX
artificial intel Lecture 1 - Introduction.pptx
PPTX
AI Expert Systems.pptx
PPTX
Knowledge-Based Agent in Artificial intelligence.pptx
PPT
Ai introduction
PPT
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
PPT
Expert system
PDF
Constructing an Office Domain Ontology using Knowledge Engineering Process
PDF
Ai lecture 02(unit-02)
PDF
IJCS_2015_0201003
Knowledge Base and AI Agents.pptx
Knowledge representation
Artificial Intelligence
Artificial-Intelligence--AI And ES Nowledge Base Systems
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptx
AGI Part 1.pdf
Artificial Intelligence.pptx
Classified details of AI.pptx
artificial intel Lecture 1 - Introduction.pptx
AI Expert Systems.pptx
Knowledge-Based Agent in Artificial intelligence.pptx
Ai introduction
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
Expert system
Constructing an Office Domain Ontology using Knowledge Engineering Process
Ai lecture 02(unit-02)
IJCS_2015_0201003
Ad

More from vikas dhakane (20)

PDF
Ai lecture 14(unit03)
PPTX
Ai lecture 13(unit03)
PDF
Ai lecture 13(unit03)
PPTX
Ai lecture 12(unit03)
PDF
Ai lecture 12(unit03)
PPTX
Ai lecture 11(unit03)
PPTX
Ai lecture 10(unit03)
PDF
Ai lecture 10(unit03)
PDF
Ai lecture 09(unit03)
PPTX
Ai lecture 05(unit03)
PDF
Ai lecture 05(unit03)
PPTX
Ai lecture 04(unit03)
PDF
Ai lecture 04(unit03)
PPTX
Ai lecture 03(unit03)
PDF
Ai lecture 03(unit03)
PPTX
Ai lecture 003(unit03)
PDF
Ai lecture 003(unit03)
PPTX
Ai lecture 02(unit03)
PPTX
Ai lecture 01(unit03)
PDF
Ai lecture 02(unit03)
Ai lecture 14(unit03)
Ai lecture 13(unit03)
Ai lecture 13(unit03)
Ai lecture 12(unit03)
Ai lecture 12(unit03)
Ai lecture 11(unit03)
Ai lecture 10(unit03)
Ai lecture 10(unit03)
Ai lecture 09(unit03)
Ai lecture 05(unit03)
Ai lecture 05(unit03)
Ai lecture 04(unit03)
Ai lecture 04(unit03)
Ai lecture 03(unit03)
Ai lecture 03(unit03)
Ai lecture 003(unit03)
Ai lecture 003(unit03)
Ai lecture 02(unit03)
Ai lecture 01(unit03)
Ai lecture 02(unit03)

Recently uploaded (20)

PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Soil Improvement Techniques Note - Rabbi
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
737-MAX_SRG.pdf student reference guides
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
introduction to high performance computing
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Design Guidelines and solutions for Plastics parts
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Module 8- Technological and Communication Skills.pptx
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PPTX
Artificial Intelligence
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Categorization of Factors Affecting Classification Algorithms Selection
Soil Improvement Techniques Note - Rabbi
Automation-in-Manufacturing-Chapter-Introduction.pdf
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
737-MAX_SRG.pdf student reference guides
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
introduction to high performance computing
Abrasive, erosive and cavitation wear.pdf
Exploratory_Data_Analysis_Fundamentals.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
distributed database system" (DDBS) is often used to refer to both the distri...
Information Storage and Retrieval Techniques Unit III
Design Guidelines and solutions for Plastics parts
R24 SURVEYING LAB MANUAL for civil enggi
Module 8- Technological and Communication Skills.pptx
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
Artificial Intelligence
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

Ai lecture 01(unit03)

  • 1. Topic To Be Covered: I. Knowledge Based Reasoning II. Knowledge Based Agents Jagdamba Education Society's SND College of Engineering & Research Centre Department of Computer Engineering SUBJECT: Artificial Intelligence & Robotics Lecture No-1(UNIT-03) Logic & Reasoning Prof.Dhakane Vikas N
  • 2. Knowledge Based Reasoning What is Logic & Reasoning In AI?  The main difference between logic and reason is that logic is basic facts or knowledge about our world. For example, logic says that the “Throwing stone will fall”. (Obviously, because of gravity!).  Logic is the key behind any knowledge. It allows a person to filter the necessary information from the bulk and draw a conclusion. In artificial intelligence, the representation of knowledge is done via logics  Reasoning is subject to personal opinion(Personal Thought Process), whereas logic is an actual science that follows clearly defined rules and tests for critical thinking.
  • 3. Knowledge Based Reasoning What is Knowledge Based Reasoning???  Knowledge Base is a set of representation of Facts/Information about the surrounding environment(Real World)  Knowledge representation and reasoning (KR², KR&R) is the field of artificial intelligence (AI) dedicated to representing information about the world in a form that a computer system(Or AI Agent) can utilize to solve complex tasks such as diagnosing a medical condition or having a dialog in a natural language or Solving various real world Problems. Etc.  Knowledge representation incorporates findings from psychology about how humans solve problems and represent knowledge in order to design formalisms that will make complex systems easier to design and build.
  • 4. What is Knowledge Based Agents In AI? What is Knowledge Based Agents In AI?  Knowledge is the basic element for a human brain to know and understand the things logically. When a person becomes knowledgeable about something, he is able to do that thing in a better way.  In AI, the agents which copy such an element of human beings are known as knowledge-based agents.  An intelligent agent needs knowledge about the real world for taking decisions and reasoning to act efficiently.
  • 5. What is Knowledge Based Agents In AI? What is Knowledge Based Agents In AI?  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.
  • 6. The architecture of knowledge-based agent: The architecture of knowledge-based agent:  The diagram is representing a generalized architecture for a knowledge-based agent.  The knowledge-based agent (KBA) take input from the environment by perceiving the environment.  The input is taken by the inference engine of the agent and which also communicate with KB to decide as per the knowledge store in KB.  The learning element of KBA regularly updates the KB by learning new knowledge.
  • 7. The architecture of knowledge-based agent: The architecture of knowledge-based agent:  Knowledge base: Knowledge- base is a central component 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 identical 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.
  • 8. The architecture of knowledge-based agent: The architecture of knowledge-based agent: 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.
  • 9. The architecture of knowledge-based agent: Inference system  A program’s protocol for navigating through the rules and data in a knowledge system in order to solve the problem.  Inference means deriving new sentences from old.  Inference system allows us to add a new sentence to the knowledge base.  Inference system applies logical rules to the KB to deduce new information.
  • 10. The architecture of knowledge-based agent: Inference system  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
  • 11. The architecture of knowledge-based agent: Operations Performed by KBA  Following are three operations which are performed by KBA in order to show the intelligent behavior:  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.