SlideShare a Scribd company logo
1 of 29
Introduction to AI
CSI 341 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
AI >> Goals
Ambitious goals >>
- understand “intelligent” behavior
- build “intelligent” agents
What is Intelligence?
- capacity to learn and solve problems
- the ability to act rationally
2
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
What is AI?
Definitions of AI fall into 4 different perspectives.
▸Two dimensions:
i) Thinking vs Acting
ii) Human vs Rational
▸The top row is concerned with the thought process and reasoning
▸The bottom row addresses behavior.
▸Human centered approach is a part of empirical science, involving observations and hypotheses about human behavior,
measuring success in terms of fidelity to human behavior
▸The rationalist approach involves a combination of mathematics and engineering.
3
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
2. Thinking Humanly 3. Thinking Rationally
1. Acting Humanly 4. Acting Rationally
Thought
Behavior
Human-like Intelligence Pure Rationality
1. Acting Humanly >> Turing Test approach
The art of creating machines that perform functions that require intelligence when performed by people.
Turing Test >>
▸Proposed by Alan Turing (1950), was designed to provide a satisfactory operational definition of intelligence.
▸A computer passes the test if a human interrogator, after posing some written questions, cannot tell whether the written
responses come from a person or from a computer.
4
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
1. Acting Humanly >> Turing Test approach
▸To design such computers to pass the Turing Test need to possess the following capabilities:
▹Natural Language Processing – to enable it to communicate successfully in English.
▹Knowledge Representation – to store what it knows or hears.
▹Automated Reasoning – to use the stored information to answer questions and to draw new conclusions.
▹Machine Learning – to adapt to new circumstances and to detect and extrapolate patterns.
▸To pass the Total Turing Test computers will also need:
▹Computer vision – to perceive objects.
▹Robotics – to manipulate objects and move about.
▸AI researcher have devoted little effort to passing the Turing Test, believing that it is more important to study the underlying
principles of intelligence than to duplicate an exemplar.
5
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
2. Thinking Humanly >> Cognitive Modeling approach
The automation of activities that we associate with human thinking, activities such as decision-making, problem solving,
learning etc.
If we want to say that a given program thinks like a human, then we must have some way of determining how human think.
There are 3 approaches:
▸through Introspection – trying to catch our own thoughts as they go by.
▸through Psychological experiments – observing a person in action.
▸through Brain imaging – observing the brain in action.
Once we have sufficiently precise theory of the mind it becomes possible to express the theory as a computer program.
>> If the program’s input-output behavior matches corresponding human behavior, that is evidence that some of the
program's mechanisms could also be operating in humans.
6
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
2. Thinking Humanly >> Cognitive Modeling approach
The interdisciplinary field of cognitive science brings together computer models from AI and experimental techniques from
psychology to construct precise and testable theories of the human mind.
Cognitive Modeling Approach >>
▸General Problem Solver(GPS) developed by Allen Newell and Herbert Simon in 1961 is a computer program that is
designed to solve problem correctly.
▸The scientists were more concerned with comparing the trace of its reasoning steps to traces of human subjects solving
the same problems.
Real cognitive science, however is necessarily based on experimental investigation of actual humans or animals. So we will
not consider this field assuming that we have only computers available for experimentation.
7
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
3. Thinking Rationally >> Laws of Thought approach
The study of the computations that make it possible to perceive, reason, and act.
▸Aristotle: one of the first to attempt to codify “right thinking”.
For example,
“Socrates is a man; all men are mortal; therefore, Socrates is mortal”
▸These laws of thought approach were supposed to govern the operation of the mind; their study initiated the field called
logic.
▸Logicians in the 19th century developed various forms of logic: notation and rules of derivation for thoughts;
▸Problems:
▹It is not easy to take informal knowledge and state it in the formal terms required by logical notation, particularly
when the knowledge is less than 100% certain.
▹There is a big difference between solving a problem “in principle” and solving it in practice.
8
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
4. Acting Rationally >> Rational Agent appraoch
Agent >> An agent is just something that acts. All computer programs do something but computer agents are expected to do
more: operate autonomously, perceive their environment, persist over a prolonged time period, adapt to change, and create
and pursue goals.
Rational Agent >> It is one that acts so as to achieve the best outcome or, when there is uncertainty, the best expected
outcome.
Advantages over other approaches:
▹It is more general than the ‘laws of thought’ approach because correct inference is just one of several possible
mechanisms for achieving rationality.
▹It is more amenable to scientific development than are approaches based on human behavior or human thought
because the standard of rationality is mathematically well defined and completely general, and can be unpacked to
generate agent designs that provably achieve it.
9
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
10
Our concentrations:
▸ On general principles of rational agents.
▸ On components for constructing them.
State of the Art >> What can AI do today?
▸Robotic vehicles
▹STANLY : A driverless robotic car sped through the rough terrain of the Mojave dessert at 22mph, finishing the 132
mile course first to win the 2005 DARPA Grand Challenge.
▹CMU’s BOSS : It won the Urban challenge, safely driving in traffic through the streets of a closed air force base,
obeying traffic rules and avoiding pedestrians and other vehicles.
▸Speech recognition
▹calling United Airline’s to book flight can have the entire conversation guided by an automated speech recognition
and dialog management system.
▸Autonomous planning and scheduling
▹A hundred million miles from Earth, NASA’s Remote Agent program became the first on-board autonomous
planning program to control the scheduling of operations for a spacecraft.
▸Game playing
▹IBM’s DEEP BLUE became the first computer program to defeat the world champion in a chess match when it
bested Garry Kasparov by a score of 3.5 to 2.5 in an exhibition match.
11
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
State of the Art >> What can AI do today?
▸Spam fighting
▹Each day learning algorithms classify over a billion messages as spam, saving the recipient from having to waste
time for deleting.
▸Logistic planning
▹In 1991, US forces deployed a Dynamic Analysis and Re-planning Tool to do automated logistic planning and
scheduling for transportation.
▸Robotics
▹The iRobot Corporation has sold over two million Roomba robotic vacuum cleaners for home use.
▸Machine translation
▹A computer program automatically translates from Arabic to English
These are just a few examples of artificial intelligence systems … … …
12
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Agents
An agent is anything that can be viewed as
- perceiving its environment through sensors and
- acting upon that environment through actuators
Human Agent >>
eyes, ears, and other organs for sensors;
hands, legs, mouth, and other body parts for actuators.
Robotic Agent >>
cameras and infrared range finders for sensors;
various motors for actuators.
Software Agent >>
keystrokes, file contents, and network packets as sensory inputs;
display the screen, writing files, and sending network packets as actions.
13
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Agents
Percept >> agent’s perceptual inputs at any given instant.
Percept sequence >> complete history of everything the agent has ever perceived.
Agent function >> maps any given percept sequence to an action.
[f: P*  A]
Agent program >> runs on the physical architecture to produce f.
Agent = Architecture + Program
14
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Vacuum-cleaner World
15
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Percepts >> location, status e.g. [A, Dirty]
Actions >> Left, Right, Suck, NoOp
Vacuum-cleaner World >> Tabular Agent Fn
16
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Right way to fill out the table??
What makes an agent good or bad,
intelligent or stupid?
Rational Agents
Performance Measure >> An objective criterion for success of an agent’s behavior.
E.g. performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of
time taken, amount of electricity consumed, amount of noise generated, etc.
Rational Agent >> For each possible percept sequence, a rational agent should select an action that is
expected to maximize its performance measure, given the evidence provided by the percept sequence
and whatever built-in knowledge the agent has.
17
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Task Environment >> PEAS
In designing a rational agent, the first step must always be to specify the task environment as fully as
possible.
PEAS >> Performance measure, Environment, Actuators, Sensors
Example: agent for a self-driving car
18
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Task Environment >> PEAS
19
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Environment Types
Fully/Partially Observable >>
Is everything an agent requires to choose its actions available to it via its sensors?
- If so, the environment is fully accessible = Fully Observable
- If not, parts of the environment are inaccessible = Partially Observable
- Agent must make informed guesses about world
- If the agent has no sensors at all = Unobservable
20
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Fully Observable Partially Observable
• Crossword puzzle
• Chess with a clock
• Backgammon
• Poker
• Taxi driving
• Part-picking robot
Environment Types
Single/Multi-agent >>
An agent operating by itself in an environment or there are many agents working together.
21
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Single Agent Multi-agent
• Crossword puzzle
• Part-picking robot
• Chess with a clock
• Poker
• Backgammon
• Taxi driving
Environment Types
Deterministic/Stochastic >>
If the next state of the environment is completely determined by the current state and the action executed
by the agent, then we say the environment is deterministic; otherwise it is stochastic.
22
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Deterministic Stochastic
• Crossword puzzle
• Chess with a clock
• Poker
• Backgammon
• Taxi driving
• Part-picking robot
Environment Types
Episodic/Sequential >>
Is the choice of current action dependent on previous actions?
- If not, then the environment is episodic
In non-episodic/sequential environments:
- Agent has to plan ahead cause current choice will affect future actions
23
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Episodic Sequential
• Part-picking robot • Crossword puzzle
• Chess with a clock
• Poker
• Backgammon
• Taxi driving
Environment Types
Static/Dynamic/Semi-dynamic >>
- Static environments don’t change while the agent is deliberating over what to do.
- Dynamic environments do change while the agent is deciding on an action. So agent should/could
consult the world when choosing actions. Alternatively: anticipate the change during deliberation OR make
decision very fast.
- Semi-dynamic: If the environment itself does not change with the passage of time but the agent's
performance score does
24
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Static Semi-dynamic Dynamic
• Crossword puzzle
• Poker
• Backgammon
• Chess with a clock • Taxi driving
• Part-picking robot
Environment Types
Discrete/Continuous >>
If the number of distinct percepts and actions is limited, the environment is discrete, otherwise it is
continuous.
25
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Discrete Continuous
• Crossword puzzle
• Chess with a clock
• Poker
• Backgammon
• Taxi driving
• Part-picking robot
Previous Questions
26
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Previous Questions
27
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
Previous Questions
28
Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
29
THANKS!
Any questions?
You can find me at imam@cse.uiu.ac.bd

More Related Content

What's hot

Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEKhushboo Pal
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms Syed Ahmed
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesSomnathMore3
 
State Space Search in ai
State Space Search in aiState Space Search in ai
State Space Search in aivikas dhakane
 
I. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithmI. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithmvikas dhakane
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agentsLukasJohnny
 
Adversarial Search
Adversarial SearchAdversarial Search
Adversarial SearchMegha Sharma
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionmelchismel
 
State space search
State space searchState space search
State space searchchauhankapil
 
Lecture 2 agent and environment
Lecture 2   agent and environmentLecture 2   agent and environment
Lecture 2 agent and environmentVajira Thambawita
 
Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Mohammed Romi
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
Heuristics Search Techniques in AI
Heuristics Search Techniques in AI Heuristics Search Techniques in AI
Heuristics Search Techniques in AI Bharat Bhushan
 
Minmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesMinmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesSamiaAziz4
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchTekendra Nath Yogi
 
Types of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceTypes of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceNoman Ullah Khan
 
The Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxThe Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxJenishaR1
 

What's hot (20)

Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniques
 
State Space Search in ai
State Space Search in aiState Space Search in ai
State Space Search in ai
 
I. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithmI. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithm
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agents
 
AI Lecture 5 (game playing)
AI Lecture 5 (game playing)AI Lecture 5 (game playing)
AI Lecture 5 (game playing)
 
Adversarial search
Adversarial search Adversarial search
Adversarial search
 
Adversarial Search
Adversarial SearchAdversarial Search
Adversarial Search
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
State space search
State space searchState space search
State space search
 
Lecture 2 agent and environment
Lecture 2   agent and environmentLecture 2   agent and environment
Lecture 2 agent and environment
 
Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
Heuristics Search Techniques in AI
Heuristics Search Techniques in AI Heuristics Search Techniques in AI
Heuristics Search Techniques in AI
 
Minmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesMinmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slides
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed search
 
Hill climbing algorithm
Hill climbing algorithmHill climbing algorithm
Hill climbing algorithm
 
Types of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceTypes of environment in Artificial Intelligence
Types of environment in Artificial Intelligence
 
The Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxThe Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptx
 

Similar to Introduction to AI Fundamentals

ARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTESARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTESsuthi
 
ARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm PaperARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm PaperMuhammad Ahmed
 
Artificial intelligence introduction
Artificial intelligence  introduction Artificial intelligence  introduction
Artificial intelligence introduction San1705
 
MODULE -1-FINAL (3).pptx
MODULE -1-FINAL (3).pptxMODULE -1-FINAL (3).pptx
MODULE -1-FINAL (3).pptxAbcdabcd633425
 
Cognitive Science Unit 2
Cognitive Science Unit 2Cognitive Science Unit 2
Cognitive Science Unit 2CSITSansar
 
Intro to artificial intelligence
Intro to artificial intelligenceIntro to artificial intelligence
Intro to artificial intelligenceAmit Kumar Rathi
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introductionParneet Kaur
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introductionS&P Capital IQ
 
Artificial intelligence Information and Introduction
Artificial intelligence Information and IntroductionArtificial intelligence Information and Introduction
Artificial intelligence Information and IntroductionDipen Vasoya
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptxjsjsjeusjsj
 
Lecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.pptLecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.pptDebabrataPain1
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceMdArifulislam104
 
Artificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.pptArtificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.pptsagarvbrvbr
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceNimesh_parmar
 
LEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptxLEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptxAjaykumar967485
 

Similar to Introduction to AI Fundamentals (20)

Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
ARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTESARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTES
 
ARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm PaperARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm Paper
 
Lect 01, 02
Lect 01, 02Lect 01, 02
Lect 01, 02
 
Lecture1
Lecture1Lecture1
Lecture1
 
Artificial intelligence introduction
Artificial intelligence  introduction Artificial intelligence  introduction
Artificial intelligence introduction
 
MODULE -1-FINAL (3).pptx
MODULE -1-FINAL (3).pptxMODULE -1-FINAL (3).pptx
MODULE -1-FINAL (3).pptx
 
Ai unit-1
Ai unit-1Ai unit-1
Ai unit-1
 
Cognitive Science Unit 2
Cognitive Science Unit 2Cognitive Science Unit 2
Cognitive Science Unit 2
 
Intro to artificial intelligence
Intro to artificial intelligenceIntro to artificial intelligence
Intro to artificial intelligence
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introduction
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introduction
 
Artificial intelligence Information and Introduction
Artificial intelligence Information and IntroductionArtificial intelligence Information and Introduction
Artificial intelligence Information and Introduction
 
1.introduction to ai
1.introduction to ai1.introduction to ai
1.introduction to ai
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
 
Lecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.pptLecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.ppt
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.pptArtificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.ppt
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
LEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptxLEC_2_AI_INTRODUCTION - Copy.pptx
LEC_2_AI_INTRODUCTION - Copy.pptx
 

More from Mohammad Imam Hossain

DS & Algo 6 - Offline Assignment 6
DS & Algo 6 - Offline Assignment 6DS & Algo 6 - Offline Assignment 6
DS & Algo 6 - Offline Assignment 6Mohammad Imam Hossain
 
DS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic ProgrammingDS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic ProgrammingMohammad Imam Hossain
 
DS & Algo 5 - Disjoint Set and MST
DS & Algo 5 - Disjoint Set and MSTDS & Algo 5 - Disjoint Set and MST
DS & Algo 5 - Disjoint Set and MSTMohammad Imam Hossain
 
DS & Algo 4 - Graph and Shortest Path Search
DS & Algo 4 - Graph and Shortest Path SearchDS & Algo 4 - Graph and Shortest Path Search
DS & Algo 4 - Graph and Shortest Path SearchMohammad Imam Hossain
 
DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3Mohammad Imam Hossain
 
DS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and ConquerDS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and ConquerMohammad Imam Hossain
 
DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2Mohammad Imam Hossain
 
DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1Mohammad Imam Hossain
 
DS & Algo 1 - C++ and STL Introduction
DS & Algo 1 - C++ and STL IntroductionDS & Algo 1 - C++ and STL Introduction
DS & Algo 1 - C++ and STL IntroductionMohammad Imam Hossain
 
DBMS 10 | Database Transactions
DBMS 10 | Database TransactionsDBMS 10 | Database Transactions
DBMS 10 | Database TransactionsMohammad Imam Hossain
 
DBMS 3 | ER Diagram to Relational Schema
DBMS 3 | ER Diagram to Relational SchemaDBMS 3 | ER Diagram to Relational Schema
DBMS 3 | ER Diagram to Relational SchemaMohammad Imam Hossain
 
DBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelDBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelMohammad Imam Hossain
 
DBMS 7 | Relational Query Language
DBMS 7 | Relational Query LanguageDBMS 7 | Relational Query Language
DBMS 7 | Relational Query LanguageMohammad Imam Hossain
 
DBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML CommandsDBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML CommandsMohammad Imam Hossain
 
DBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaDBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaMohammad Imam Hossain
 
TOC 8 | Derivation, Parse Tree & Ambiguity Check
TOC 8 | Derivation, Parse Tree & Ambiguity CheckTOC 8 | Derivation, Parse Tree & Ambiguity Check
TOC 8 | Derivation, Parse Tree & Ambiguity CheckMohammad Imam Hossain
 

More from Mohammad Imam Hossain (20)

DS & Algo 6 - Offline Assignment 6
DS & Algo 6 - Offline Assignment 6DS & Algo 6 - Offline Assignment 6
DS & Algo 6 - Offline Assignment 6
 
DS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic ProgrammingDS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic Programming
 
DS & Algo 5 - Disjoint Set and MST
DS & Algo 5 - Disjoint Set and MSTDS & Algo 5 - Disjoint Set and MST
DS & Algo 5 - Disjoint Set and MST
 
DS & Algo 4 - Graph and Shortest Path Search
DS & Algo 4 - Graph and Shortest Path SearchDS & Algo 4 - Graph and Shortest Path Search
DS & Algo 4 - Graph and Shortest Path Search
 
DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3
 
DS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and ConquerDS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and Conquer
 
DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2
 
DS & Algo 2 - Recursion
DS & Algo 2 - RecursionDS & Algo 2 - Recursion
DS & Algo 2 - Recursion
 
DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1
 
DS & Algo 1 - C++ and STL Introduction
DS & Algo 1 - C++ and STL IntroductionDS & Algo 1 - C++ and STL Introduction
DS & Algo 1 - C++ and STL Introduction
 
DBMS 1 | Introduction to DBMS
DBMS 1 | Introduction to DBMSDBMS 1 | Introduction to DBMS
DBMS 1 | Introduction to DBMS
 
DBMS 10 | Database Transactions
DBMS 10 | Database TransactionsDBMS 10 | Database Transactions
DBMS 10 | Database Transactions
 
DBMS 3 | ER Diagram to Relational Schema
DBMS 3 | ER Diagram to Relational SchemaDBMS 3 | ER Diagram to Relational Schema
DBMS 3 | ER Diagram to Relational Schema
 
DBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelDBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship Model
 
DBMS 7 | Relational Query Language
DBMS 7 | Relational Query LanguageDBMS 7 | Relational Query Language
DBMS 7 | Relational Query Language
 
DBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML CommandsDBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML Commands
 
DBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaDBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR Schema
 
TOC 10 | Turing Machine
TOC 10 | Turing MachineTOC 10 | Turing Machine
TOC 10 | Turing Machine
 
TOC 9 | Pushdown Automata
TOC 9 | Pushdown AutomataTOC 9 | Pushdown Automata
TOC 9 | Pushdown Automata
 
TOC 8 | Derivation, Parse Tree & Ambiguity Check
TOC 8 | Derivation, Parse Tree & Ambiguity CheckTOC 8 | Derivation, Parse Tree & Ambiguity Check
TOC 8 | Derivation, Parse Tree & Ambiguity Check
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
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
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
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
 
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
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
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
 
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
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
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
 
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
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
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...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

Introduction to AI Fundamentals

  • 1. Introduction to AI CSI 341 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 2. AI >> Goals Ambitious goals >> - understand “intelligent” behavior - build “intelligent” agents What is Intelligence? - capacity to learn and solve problems - the ability to act rationally 2 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 3. What is AI? Definitions of AI fall into 4 different perspectives. ▸Two dimensions: i) Thinking vs Acting ii) Human vs Rational ▸The top row is concerned with the thought process and reasoning ▸The bottom row addresses behavior. ▸Human centered approach is a part of empirical science, involving observations and hypotheses about human behavior, measuring success in terms of fidelity to human behavior ▸The rationalist approach involves a combination of mathematics and engineering. 3 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU 2. Thinking Humanly 3. Thinking Rationally 1. Acting Humanly 4. Acting Rationally Thought Behavior Human-like Intelligence Pure Rationality
  • 4. 1. Acting Humanly >> Turing Test approach The art of creating machines that perform functions that require intelligence when performed by people. Turing Test >> ▸Proposed by Alan Turing (1950), was designed to provide a satisfactory operational definition of intelligence. ▸A computer passes the test if a human interrogator, after posing some written questions, cannot tell whether the written responses come from a person or from a computer. 4 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 5. 1. Acting Humanly >> Turing Test approach ▸To design such computers to pass the Turing Test need to possess the following capabilities: ▹Natural Language Processing – to enable it to communicate successfully in English. ▹Knowledge Representation – to store what it knows or hears. ▹Automated Reasoning – to use the stored information to answer questions and to draw new conclusions. ▹Machine Learning – to adapt to new circumstances and to detect and extrapolate patterns. ▸To pass the Total Turing Test computers will also need: ▹Computer vision – to perceive objects. ▹Robotics – to manipulate objects and move about. ▸AI researcher have devoted little effort to passing the Turing Test, believing that it is more important to study the underlying principles of intelligence than to duplicate an exemplar. 5 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 6. 2. Thinking Humanly >> Cognitive Modeling approach The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning etc. If we want to say that a given program thinks like a human, then we must have some way of determining how human think. There are 3 approaches: ▸through Introspection – trying to catch our own thoughts as they go by. ▸through Psychological experiments – observing a person in action. ▸through Brain imaging – observing the brain in action. Once we have sufficiently precise theory of the mind it becomes possible to express the theory as a computer program. >> If the program’s input-output behavior matches corresponding human behavior, that is evidence that some of the program's mechanisms could also be operating in humans. 6 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 7. 2. Thinking Humanly >> Cognitive Modeling approach The interdisciplinary field of cognitive science brings together computer models from AI and experimental techniques from psychology to construct precise and testable theories of the human mind. Cognitive Modeling Approach >> ▸General Problem Solver(GPS) developed by Allen Newell and Herbert Simon in 1961 is a computer program that is designed to solve problem correctly. ▸The scientists were more concerned with comparing the trace of its reasoning steps to traces of human subjects solving the same problems. Real cognitive science, however is necessarily based on experimental investigation of actual humans or animals. So we will not consider this field assuming that we have only computers available for experimentation. 7 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 8. 3. Thinking Rationally >> Laws of Thought approach The study of the computations that make it possible to perceive, reason, and act. ▸Aristotle: one of the first to attempt to codify “right thinking”. For example, “Socrates is a man; all men are mortal; therefore, Socrates is mortal” ▸These laws of thought approach were supposed to govern the operation of the mind; their study initiated the field called logic. ▸Logicians in the 19th century developed various forms of logic: notation and rules of derivation for thoughts; ▸Problems: ▹It is not easy to take informal knowledge and state it in the formal terms required by logical notation, particularly when the knowledge is less than 100% certain. ▹There is a big difference between solving a problem “in principle” and solving it in practice. 8 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 9. 4. Acting Rationally >> Rational Agent appraoch Agent >> An agent is just something that acts. All computer programs do something but computer agents are expected to do more: operate autonomously, perceive their environment, persist over a prolonged time period, adapt to change, and create and pursue goals. Rational Agent >> It is one that acts so as to achieve the best outcome or, when there is uncertainty, the best expected outcome. Advantages over other approaches: ▹It is more general than the ‘laws of thought’ approach because correct inference is just one of several possible mechanisms for achieving rationality. ▹It is more amenable to scientific development than are approaches based on human behavior or human thought because the standard of rationality is mathematically well defined and completely general, and can be unpacked to generate agent designs that provably achieve it. 9 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 10. 10 Our concentrations: ▸ On general principles of rational agents. ▸ On components for constructing them.
  • 11. State of the Art >> What can AI do today? ▸Robotic vehicles ▹STANLY : A driverless robotic car sped through the rough terrain of the Mojave dessert at 22mph, finishing the 132 mile course first to win the 2005 DARPA Grand Challenge. ▹CMU’s BOSS : It won the Urban challenge, safely driving in traffic through the streets of a closed air force base, obeying traffic rules and avoiding pedestrians and other vehicles. ▸Speech recognition ▹calling United Airline’s to book flight can have the entire conversation guided by an automated speech recognition and dialog management system. ▸Autonomous planning and scheduling ▹A hundred million miles from Earth, NASA’s Remote Agent program became the first on-board autonomous planning program to control the scheduling of operations for a spacecraft. ▸Game playing ▹IBM’s DEEP BLUE became the first computer program to defeat the world champion in a chess match when it bested Garry Kasparov by a score of 3.5 to 2.5 in an exhibition match. 11 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 12. State of the Art >> What can AI do today? ▸Spam fighting ▹Each day learning algorithms classify over a billion messages as spam, saving the recipient from having to waste time for deleting. ▸Logistic planning ▹In 1991, US forces deployed a Dynamic Analysis and Re-planning Tool to do automated logistic planning and scheduling for transportation. ▸Robotics ▹The iRobot Corporation has sold over two million Roomba robotic vacuum cleaners for home use. ▸Machine translation ▹A computer program automatically translates from Arabic to English These are just a few examples of artificial intelligence systems … … … 12 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 13. Agents An agent is anything that can be viewed as - perceiving its environment through sensors and - acting upon that environment through actuators Human Agent >> eyes, ears, and other organs for sensors; hands, legs, mouth, and other body parts for actuators. Robotic Agent >> cameras and infrared range finders for sensors; various motors for actuators. Software Agent >> keystrokes, file contents, and network packets as sensory inputs; display the screen, writing files, and sending network packets as actions. 13 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 14. Agents Percept >> agent’s perceptual inputs at any given instant. Percept sequence >> complete history of everything the agent has ever perceived. Agent function >> maps any given percept sequence to an action. [f: P*  A] Agent program >> runs on the physical architecture to produce f. Agent = Architecture + Program 14 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 15. Vacuum-cleaner World 15 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Percepts >> location, status e.g. [A, Dirty] Actions >> Left, Right, Suck, NoOp
  • 16. Vacuum-cleaner World >> Tabular Agent Fn 16 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Right way to fill out the table?? What makes an agent good or bad, intelligent or stupid?
  • 17. Rational Agents Performance Measure >> An objective criterion for success of an agent’s behavior. E.g. performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc. Rational Agent >> For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has. 17 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 18. Task Environment >> PEAS In designing a rational agent, the first step must always be to specify the task environment as fully as possible. PEAS >> Performance measure, Environment, Actuators, Sensors Example: agent for a self-driving car 18 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 19. Task Environment >> PEAS 19 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 20. Environment Types Fully/Partially Observable >> Is everything an agent requires to choose its actions available to it via its sensors? - If so, the environment is fully accessible = Fully Observable - If not, parts of the environment are inaccessible = Partially Observable - Agent must make informed guesses about world - If the agent has no sensors at all = Unobservable 20 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Fully Observable Partially Observable • Crossword puzzle • Chess with a clock • Backgammon • Poker • Taxi driving • Part-picking robot
  • 21. Environment Types Single/Multi-agent >> An agent operating by itself in an environment or there are many agents working together. 21 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Single Agent Multi-agent • Crossword puzzle • Part-picking robot • Chess with a clock • Poker • Backgammon • Taxi driving
  • 22. Environment Types Deterministic/Stochastic >> If the next state of the environment is completely determined by the current state and the action executed by the agent, then we say the environment is deterministic; otherwise it is stochastic. 22 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Deterministic Stochastic • Crossword puzzle • Chess with a clock • Poker • Backgammon • Taxi driving • Part-picking robot
  • 23. Environment Types Episodic/Sequential >> Is the choice of current action dependent on previous actions? - If not, then the environment is episodic In non-episodic/sequential environments: - Agent has to plan ahead cause current choice will affect future actions 23 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Episodic Sequential • Part-picking robot • Crossword puzzle • Chess with a clock • Poker • Backgammon • Taxi driving
  • 24. Environment Types Static/Dynamic/Semi-dynamic >> - Static environments don’t change while the agent is deliberating over what to do. - Dynamic environments do change while the agent is deciding on an action. So agent should/could consult the world when choosing actions. Alternatively: anticipate the change during deliberation OR make decision very fast. - Semi-dynamic: If the environment itself does not change with the passage of time but the agent's performance score does 24 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Static Semi-dynamic Dynamic • Crossword puzzle • Poker • Backgammon • Chess with a clock • Taxi driving • Part-picking robot
  • 25. Environment Types Discrete/Continuous >> If the number of distinct percepts and actions is limited, the environment is discrete, otherwise it is continuous. 25 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU Discrete Continuous • Crossword puzzle • Chess with a clock • Poker • Backgammon • Taxi driving • Part-picking robot
  • 26. Previous Questions 26 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 27. Previous Questions 27 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 28. Previous Questions 28 Mohammad Imam Hossain | Lecturer, Dept. of CSE | UIU
  • 29. 29 THANKS! Any questions? You can find me at imam@cse.uiu.ac.bd