SlideShare a Scribd company logo
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

Ai notes
Ai notesAi notes
Ai notes
AbdullahGubbi1
 
AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability DistributionAI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
Mohammad Imam Hossain
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed search
Tekendra Nath Yogi
 
Hill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial IntelligenceHill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial Intelligence
Bharat Bhushan
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
Yasir Khan
 
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
vikas dhakane
 
AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)
Tajim Md. Niamat Ullah Akhund
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
DigiGurukul
 
Problem Solving
Problem Solving Problem Solving
Problem Solving
Amar Jukuntla
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
Asst.prof M.Gokilavani
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
Bharat Bhushan
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real World
ahmad bassiouny
 
Artificial intelligence ppt
Artificial intelligence pptArtificial intelligence ppt
Artificial intelligence ppt
RamhariYadav
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
Noor Ul Hudda Memon
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
Tajim Md. Niamat Ullah Akhund
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Megha Sharma
 
Control Strategies in AI
Control Strategies in AI Control Strategies in AI
Control Strategies in AI
Bharat Bhushan
 
A.I robotic presentation
A.I robotic presentation  A.I robotic presentation
A.I robotic presentation
Danish khan
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
BMS Institute of Technology and Management
 
Informed search algorithms.pptx
Informed search algorithms.pptxInformed search algorithms.pptx
Informed search algorithms.pptx
Dr.Shweta
 

What's hot (20)

Ai notes
Ai notesAi notes
Ai notes
 
AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability DistributionAI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed search
 
Hill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial IntelligenceHill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial Intelligence
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
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
 
AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
 
Problem Solving
Problem Solving Problem Solving
Problem Solving
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real World
 
Artificial intelligence ppt
Artificial intelligence pptArtificial intelligence ppt
Artificial intelligence ppt
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 
Control Strategies in AI
Control Strategies in AI Control Strategies in AI
Control Strategies in AI
 
A.I robotic presentation
A.I robotic presentation  A.I robotic presentation
A.I robotic presentation
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
 
Informed search algorithms.pptx
Informed search algorithms.pptxInformed search algorithms.pptx
Informed search algorithms.pptx
 

Similar to AI 1 | Introduction to Artificial Intelligence

Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
ARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTESARTIFICIAL INTELLIGENCE - SHORT NOTES
ARTIFICIAL INTELLIGENCE - SHORT NOTES
suthi
 
ARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm PaperARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm Paper
Muhammad Ahmed
 
Lecture1
Lecture1Lecture1
Lecture1
chandsek666
 
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).pptx
Abcdabcd633425
 
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 intelligence
Amit Kumar Rathi
 
Artificial intelligence Information and Introduction
Artificial intelligence Information and IntroductionArtificial intelligence Information and Introduction
Artificial intelligence Information and Introduction
Dipen Vasoya
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introduction
S&P Capital IQ
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introduction
Parneet Kaur
 
1.introduction to ai
1.introduction to ai1.introduction to ai
1.introduction to ai
KONGU ENGINEERING COLLEGE
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
jsjsjeusjsj
 
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
DebabrataPain1
 
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
Dr.ganesh Narasimhan
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
MdArifulislam104
 
Artificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.pptArtificial Intelligence- Introduction.ppt
Artificial Intelligence- Introduction.ppt
sagarvbrvbr
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceNimesh_parmar
 

Similar to AI 1 | Introduction to Artificial Intelligence (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 Information and Introduction
Artificial intelligence Information and IntroductionArtificial intelligence Information and Introduction
Artificial intelligence Information and Introduction
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence introduction
 
Artificial intelligence introduction
Artificial intelligence  introductionArtificial intelligence  introduction
Artificial intelligence 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
 
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
AI Introduction Artificial intelligence introduction fundamentals alogirthms ...
 
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
 

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 6
Mohammad Imam Hossain
 
DS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic ProgrammingDS & Algo 6 - Dynamic Programming
DS & Algo 6 - Dynamic Programming
Mohammad 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 MST
Mohammad 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 Search
Mohammad Imam Hossain
 
DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3DS & Algo 3 - Offline Assignment 3
DS & Algo 3 - Offline Assignment 3
Mohammad Imam Hossain
 
DS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and ConquerDS & Algo 3 - Divide and Conquer
DS & Algo 3 - Divide and Conquer
Mohammad Imam Hossain
 
DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2DS & Algo 2 - Offline Assignment 2
DS & Algo 2 - Offline Assignment 2
Mohammad Imam Hossain
 
DS & Algo 2 - Recursion
DS & Algo 2 - RecursionDS & Algo 2 - Recursion
DS & Algo 2 - Recursion
Mohammad Imam Hossain
 
DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1DS & Algo 1 - Offline Assignment 1
DS & Algo 1 - Offline Assignment 1
Mohammad 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 Introduction
Mohammad Imam Hossain
 
DBMS 1 | Introduction to DBMS
DBMS 1 | Introduction to DBMSDBMS 1 | Introduction to DBMS
DBMS 1 | Introduction to DBMS
Mohammad Imam Hossain
 
DBMS 10 | Database Transactions
DBMS 10 | Database TransactionsDBMS 10 | Database Transactions
DBMS 10 | Database Transactions
Mohammad 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 Schema
Mohammad Imam Hossain
 
DBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelDBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship Model
Mohammad Imam Hossain
 
DBMS 7 | Relational Query Language
DBMS 7 | Relational Query LanguageDBMS 7 | Relational Query Language
DBMS 7 | Relational Query Language
Mohammad Imam Hossain
 
DBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML CommandsDBMS 4 | MySQL - DDL & DML Commands
DBMS 4 | MySQL - DDL & DML Commands
Mohammad 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 Schema
Mohammad Imam Hossain
 
TOC 10 | Turing Machine
TOC 10 | Turing MachineTOC 10 | Turing Machine
TOC 10 | Turing Machine
Mohammad Imam Hossain
 
TOC 9 | Pushdown Automata
TOC 9 | Pushdown AutomataTOC 9 | Pushdown Automata
TOC 9 | Pushdown Automata
Mohammad 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 Check
Mohammad 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

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 

Recently uploaded (20)

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 

AI 1 | Introduction to Artificial Intelligence

  • 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