Professional Documents
Culture Documents
1 The Concept
Syllabus
Fhatis Al?: The Al Problems, The Underlying Assumption, What is an AI Techniques, The Level
of The Model, Criteria For Success, Some General References, One Final Word.
Contents
1.1 The Concept of Artificial Intelligence (Al) . Winter-12,14,16,17,19,
Summer-18, 20 . Marks 7
1.2 Al Problem
Winter-12 Marks 7
1.3 The Undertying Assumption
1.4 What is an Al Technique ?
1.5 The Level of the Model.. . . Winter-19,
Marks 3
1.6 Criteria for Success
1.7 Some General References
1.8 AI Tems
1.9 The Environments
.Winter-18,19,Summer-19 Marks 3
1.10 Different Types of Agents
1.11 Designing an Agent System
1.12 One Final Word
1.13 University Questions with Answers
1-2 Artificial Intelligence 1-3
(AI) Artificial Intelligence The Concept
Intelligence
G T U :Winter-12,14,16,1
4,16.17,19. Summer-r-18,20 10. "The study of the
A r t i f c i a lI n t o l l i g e n c e
of
Artificlal
(Winston - 1992)
computations that make it possible to perceive, reason and act".
C o n c e p t
The
1.1
11. Systems that act rationally
working 12. "Computational intelligence
c o m p u t e r
mental
activities
such
as
commonsense
reasoning,
understanding
u n d e r
languages
to demand "intelli
to dem
et al 1998)
said
13. "AI is
concerned with
Many
human
engaging
in
an
automobile
are
task
pertorm tasks such
perform
e" intelligent behaviour
in artifacts". (Nilsson
1998)
can
that c an These definitions vary
alorng
mathematics,
built that
driving
two main dimensions. First dimension is the
out
interpreting
it,
even
have
been
bult
The first
Several
specially human
definitions are based on comparisons to human
seven
are understand
of artificial
into
lligence. performance where
quadratic
equations, certain degree as
remaining
definitions measure success against an ideal
concept of intelligence,
solve possess which we call rationality. A
systems that "How
"How to think" system is rational if it does the "right thing" given
all such systems is OR
saythat
and
what it knows.
.We can
such
all think".
activities
ofthinking
thi has various steps like Historically, there are four approaches that are followed in AL
central point of These four approaches are
The process
The
make system a world that is nade up
made
of
tiny Acting Humanly, Thinking Humanly, Thinking
rather
"How to
predict
and
manipulate
Rationally and Acting Rationally. Let us consider four approaches in detail.
understand,
preceive, 1) Acting Humanly
things or
situations.
but it builds intelliger
Turing
understand
complex
of Al not just attempts
to
Test: For testing
intelligence Alan Turing (1950) proposed a test called as
T h e field Turing test. He suggested a test based on common
features that can match with
entities. the most intelligent entity human beings.
-
8.
Systems that think rationally.
to
manipulate objects.
9. The niak 2) Thinklng Humanly
study of mental faculties
and McDermott 1985) through the use of computational n As we are
saying that the given program thinks like human it we should know
that how human thinks. For that, the
theory of human minds needs to be
TECHNICAL PUBLICATIONS An up thrust
TECH
for knowledge
Artificial inteingence - The
The Concept
explored.
mechani
as
mechanisms
our
own
thoughts
I/0
and
timing
of the
program's
could als gives information which
is related to brain processing which helps
programs,
some
of cognitive
science Neuroscience
bings
that field
computer can sayi n t e r d e s c i p l i n a r y theories.
f
that is,
we techniques from AI to develope date processing
behaviours,
operating
in
human.
The
from
AI
and
experimental
of the
workings es
PSycho
of human
of
mind
chology Phychology provides strong concepts
of how humans and animals think
and actions.
and act
together
computer
and
testable
which helps
precise
toconstruct
approach"
that try
the
"Maws ofthought by
Aristotle.
This idea provided
This i
1.1.4 The Strong and Weak AI
proposed
Rationally was
correct conch
conclusions now let
vielded that contribute towards AI,
correct
3) Thinking of "Right
thinking aVS
always
yielded
brief look at various disciplines
concept
that After taking basic foundation
and weak AI which also gives
structures
The
For example,
men are
mortal, 1.1.4.1 Strong AI
"All
"Minds, Brains
This concept was put forward John Searle in 1980 in his article,
by
"Ram is mortal in
operation
the operation in the mind; their theories for developing some form of
min.
systems.
Strong can be categorized as,
AI
4) Acting Rationaly and much like a
program thinks
acts. But computer agents reasons
that are Human-like AI In which the computer
do) is something
-
An agent (Latin agre-to atributes that distinguish them from just #h human-mind.
other
to have more
expected under autonomous control, perceivine
eiving which the computer program develops a totally
because they need to operate Non-human-like AI - In
"programs",
over a prolonged time period, adapting to change non-human sentience, and a non-human way of thinking and reasoning.
their environment, persisting is expected to act
another goals. A rational agent
and being capable of taking on
is uncertainity to acheive best 1.1.4.2 Weak AI
outcome or when there
so as to achieve the best
Weak artificial intelligence research deals with the creation of some form of
expected outcome.
can reason
should be incorported in computer based AI-
that cannot truly reason and solve problems. They
The laws of thought emphasis on correct inference which limited domain, such a machine would, in
in
some
rational agent.
and solve problems only a
TECHNICAL PUBLICATIONS
-
An up thrust for knowledge
TECHNICAL PUBLICATIONS An up thrust
for knowledge
Artiicia toigE
noept
Artimicial Inteligence Artificial Inteiligerce The Concapt
Artici inteligece
the first
on-board
autonomous
rem
pianrning computer program which expert in solving crossword puzzles
1151
Autonomous
became
spacecraft. Such
Such remote agents It make
Remote Agent
program
of operations
for spacecraft.
problens
problems as they
can use
of constraints or
possible word fillers, a
large database of past
NASA
control
the
scheduling
and
recovering
from
puzzles and variety of information sources
including dictionaries and online
to
progTam
detecting.
diagnosing
databases Such as a list of movies and the actors that appears in them.
of
can do task
AI does not generate magic or science fiction but rather it can
Orurred develops science,
engineering and mathematics system.
defeated
1152 Game Plaeytng named as Deep
Blue
wori
chess Recent progress in
by IBM in 1997 Such type of gaming understanding the theoretical basis for intelligence has gone
A computer chess program e x h i b i t i o n match in
hand in hand with
Garry Kasparov
in improvements in the capabilities of real systems. The subfields
champion Al techniques. of AI have became more integrated and AI has found common
can be developed
using ground with other
programs
disciplines.
1.15.3 Autonomous Control
keep to it f o l l e i
vision system
w a s trained
to stear car
wing 1.1.6 Human Vs Machine
The ALVINN computer which 98 % ot the time contro was
2850 miles in
a lane. It
was made to travel
human n took over. Al ccan
took a n give
over.
give more 1161 WiIl Machine behave Exactly as Human ?
and only 2 % of the time
with the system Here are the considerable
theories to develop
such systems. difference between human and machine.
1) Machines do not have life, as they are mechanical. On the
other hand, humans
are made of flesh and
154 Diagnosls blood; life is not mechanical for humans.
where leading expert on lymph node
2) Humans have
Heckerman (1991) describes a case a
software
distinction
can be made
brain or GTU : Winter-12
6) No hardware
1 . 2 Al Problem
mind. logic gates.
than
electrical
formal tasks, such as game playing and
complex work in AI focused on
Synapses are far more
are performed by
by the same Much of the early theorist was an early attempt to
playing, logic
management
memory chess
processing and theorem proving. For example the
8) Unlike machine, and theorem proving share
mathematical theorems. Game playing
the brain. prove be displaying
components in considered to
who do them well
are
spectrograph.
Are all medical expert Newel, Shaw, and Simon built the General
PUFF, CASNET stems or
syste
investigating this sort of reasoning
3. CENTAUR, INTERNIST, several commonsense tasks as well
Problem Solver (GPS), which they applied to
various purposes.
performing symbolic manipulations of expression. However no attempt was
logical
4. DELTA - Locomotive engineering made to create a program with a large amount of knowledge about a particular
Oilfield prospecting tasks selected.
5. Drilling Advisor
-
6. Exper Tax -
Tax minimisation advice. A s AI research progressed and techniques for handling larger amounts of world
knowledge were developed in dealing with problem solving in specialized
7. XSEL Computer sales. domains such as medical diagnosis and chemical analysis.
data as potential evidence for mineral
8. PROSPECTOR Interpreted geological Perception (vision and speech) is another area for AI problems. Natural language
deposits. (Duda, Hart, in 1976).
understanding and problem solving in specialized domain are other areas related
9 NAVEX Monitored radar data and estimated the velocity and position of the
to AI problems. The problem of understanding spoken language is perceptual
space shuttle. (Marsh, 1984) problem and is hard to solve from the fact that it is more analog related than
the basis of customer's digital related. Many people can perform one or may be more specialized tasks in
10. RI/XCON -
calculus, etc.)
fertilizers and pesticides for their
grain farmers on appropriae
farms. 3. Expert tasks Engineering (Design, Fault finding,
15. Manufacturing planning),
OPTIMUM - AV -
is a
planner used by the European Space Agency to neip n the
Scientific analysis, Medical diagnosis, Financial analysis
assembly, integration and verification of
spacecraft
TECHNICAL TECHNICAL PUBLICATIONS An up thrust for knowledge
PUBLICATIONs- An up thrust for
knowledge
Artificial Intelligenc
nce The Conceni
1-10
Artificial Intelligence
from several of th
the Artificial Intelligence-
The Concept
A person
who
knows how
to pertorm
skills
tasks
are acquired.
Earlier skils
Sier such are
pieces
the positions of all
the o n the
engineering,
medicine, or
finance
computerized
duplication
than the later, mOr
re and tru
specialized
expressions
The physical symbol system
hypothesis claims that both
human thoughts
a r e the symbols
that a r e encoded
to in Al work was con.
amenable
Intelligent of
more initial work symbol systems. the mental operations
much of the physical The processes
a r e
practi
thoe in o u r brains. The expressions are thoughts.
thinking. In a running
early areas.
tical
most as a
that manipulate
The problems
areas
domains
where now
that
Al is flourishing
primarily
assistance of
the
knowledge. Expert
commonsense
systems (AI programe
perhaps all.
orams) nOW are e of human intelligernce
and it forms
the basis of the belief that it is
A physical symbol system consists of a set of entities called symbols which the bulk of the data may come automatically, such as from readings.
form the
components of another entity called an expression In many AI domains people must supply the knowledge to programs in a
patterns that can occur as
At
an instant the system will contain a collection of these symbol structures people understand and in a form that is acceptable to the program. Knowledge can be
easily modified to correct errors and reflect changes in real conditions. Knowledge can
addition the system also contains a collection of processes that operate on
be widely used even if it is incomplete or inaccurate. Knowledge can be used to helpP
expressions to produae other expressions processes of creation, modification,
overcome its own sheer bulk by helping to narrow the range of possibilities that must
reproduction and destruction. A physical symbol system is a machine that be usually considered.
produces through time an evolving collection of symbol structures. Such a system
Following are three important AI techniques
is machine that produces through time an evolving collection of symbol structures
Search Provides a way of solving problems for which no more direct approach is
Following are the examples of physical systems -
available.
Formal logie : The symbols are words like "and", "or", "not", "for all
The expressions are statements in formal
and x so U s e ofknowledge - Provides a way of solving complex problems by exploiting the
logic which can be true or false. The structures of the objects that are involved.
processes are the rules of logical deduction.
Algebra: The symbols are "+", '*, "x", "y", "1", "2", "3",
Abstraction- Provides a way of separating important features and variations from
etc. The expressions ae the many unimportant ones that would otherwise overwhelm any process.
equations. The processes are the rules of algebra, that allow
mathematical expression and retain its truth.
you to
manipulate 1.5 The Level of the Model GTU: Winter-19
A digital computer: The symbols are and ory, the Before starting doing something, it is good idea to decide exactly what
zeros ones of computer me one is trying
processes are the operations of the CPU that to do. One should ask following questions for self analysis
change memory.
TECHNICAL PUBLICATIONS An up thrust for knowledge
TECHNICAL PUBLICATIONS An up thrust for knowledge
Artificial inegeiCe Ihe COn.
- 12 Concept 1-13
Artificial Intelligence The Concept
Artificiel Intelligence
do the tasks the
Artificial Intelligence
programs
that
same way this, then we will
machine succeeds at
it is the person. If the
produce
to
What is the 80al
in tying believing that
think.
people do? that
do the
tasks the same
tasks in
wav
y
ople do ? conclude that the machine can
programs
ply do
do the task
the
whatever
simply
Are we trying to produce
to produce
programs
that
way Some General References
Or are
we trying do can be di as AI was done in
the period
tasks the way people The earlywork that is now generally recognized
appears easiest men McCulloch and
perform that do w e r e formally put by
not
Efforts to build
program
that
two classes.
The first one are
that computer
could
human
perforrmance
are
not trivial he com
for the computer. propositional logic and third was Turing's theory of computation.
things that
are
to model do
attempt
of Ai tasks; they rule for modifying the
our
definition
these kind of tasks Later Donald Hebb in 1949 demonstrated simple updating
within for
now called Hebbian learning
connection strengths between n e u r o n s . His rule
T o test psychologicalhuman performance
theories of human pertomance. E-g FARRY programsimulate
Reasons for modeling
human paranoid behaviour to
e which is considered to be great influencial model in AI.
model of
work that can be recognized as AI but Alan Turing
a
which exploited
for this reason,
of a paranoid person.
There were huge early day
named "Computing
complete vision of AI in his 1950 article
behaviour
the
conversational
For example, for a
who first articulated a
to
understand human reasoning.
question, such
comput
"qATter Machinery and Intelligence".
T o enable computer answer as
then
story and did on automata
to be able to read a n e w s paper
Real AI birth year is 1956 where in John McCarthy held workshop
Ravana lose the game? theory, neural nets and study of intelligencewhere other researchers also
in many cases D e a n i .
computer reasoning. their papers and they out with new field in computer science
to understand
re presented come
To enable people unless they can understand w the
reluctant to rely on
the output of computer called AL.
inteligent? The question s hard as unanswerable question "What is development of HLL LISP which has became the dominant AI
programing
Intelligence?" language.
In 1958, McCarthy
To measure the progress we use proposed method known as Turing Test. Alan published
a paper entitled
Programs with Common Sense, in
which he described the Advice Taker, a
Turing suggested this method to determine whether the machine can think. To hypothetical program that can be seen
as the first
conduct this test, we need two people and the machine to be evaluated. One complete AI system. Like the Logic Theorist and Theorem Geometry
Prover. McCarthy's program
act as who is in and the
was
designed to use
knowledge to search for
person
other
interogator,
The
from the computer
a separate room
solutions of problems.
person. interrogator can ask questions of either the person or computer
by typing questions and received typed The program was also
designed so that it could accept new axioms in the normal
responses. However the interrogaro of
knows them
only as A and B and aims to determine which is the person a n course
operation, thereby allowing it to achieve competence in new areas
which is
the machine. The goal of the machine is to fool the into
interrogator TECHNICAL PUBLICATIONS An up thrust
TECHINICAL PUBLICA for knowiedge
TIONS-An up thrust for knowleadge
Artificial intelligen
Artificial Inteligence
1- 14
The Concept Artificial Intelligence-The Concept
Advice
Taker thus embodied the 1-15
The
centntra
come
without being
reprogrammed.
Artificial Inteligence
and reasoning AI has finally
representation of methodolo8y
Prncples of knowledge McCulloch of In terms based o n
Hidden
showed how.a
and Pitts d I n 1990s Al emerged
as a
method. In
science.
approaches
recent yearsThis model
is
Early work Cowan (1963) la scientific
d o m i n a t e the
AI field.
flourished. The work of
Winogard and individual Conge ge nur firmly
under the
to and second is,
(HMMS) have
come
an model theory
of elements could collectively
represent
Hebb's lean
ept, with Markov Models
one is igorous
mathematical
on a large corpus
real
and parallelism. based on two aspects of training
robustness
Wi 8
dro, 62)ethods
in a process
Hoff, 1960; are generated by
increase
corresponding and
of a
showing thas
perception to
perceptrons
ep
matrh Judea Pearl's (1988)
probability theory
Reasoning in
Probabilistic
support.
invented
strengths acceptance of
algorithm ould adjust
the connection knowledge along with reasoning
which can represent
uncertain
the idea of
in 1986 promoted
existed.
a match
data, provided such to Eric Hovitz and
David Hackerman of decision
appeared conduct the laws
ELIZA program Judea Pearl, according to
1965,
Weizenbaum's
serious that can act rationally
In
conversation on any topic by basically
human. None
borrowing
of the programs
and
manipulating
manin.
developed so
the f
normative
theory.
expert systems
vision and
given by a
ad ocurred in robotics, computer
sentences
called weak' methods. Researcha Similar but slow
revolution have
and were
complicated,realized
domain knowledge
complex knowledge for more
mo knowledge representation. Allan
that it was necessary
to use more
larget architecture called SOAR was work out by
reasoning tasks. In 1987 a complete agent Rosenbloom. Many such agents were developed to
Paul
Buchanan in 1969 and was:
was based on Newell, John Laired and become so common in
web
developed by "Internet". AI systems have
The DENDRAL program was domain. used work in big environment
program that effectively " bot" sufix has entered in everyday language.
these principles. It was a unique
knowledge in problem solving. In the mid-1970's, MYCIN, a program deva specifc
eloped based applications that the
underlie Internet tools, such as search engines,
to diagnose illnesses a Al technologies many
It used expert knowledge
to diagnose blood infections. recommender systems and website.
prescribe treatments. This program is also knovwn as the first program, hich
realized that previously isolated
addressed the problem of reasoning with uncertain or incomplete information. While developing complete agents it was
4) Agent Program
we need to tabulate
1. Agent contents
that we need to
network
Sensors files, describes any given agent.
writing functions that of percept sequence
Screen,
bound o n the length be external
Actuator
Internet shopping agent hence w e need to put and action will
script) sequences
graphics consider. This table
of functions of percept function for an intelligent
agent
2. Agent DHTML,
pages (text where as internally agent
H T M L , follow URL characteristics of the agent
Sensors user,
agent program.
displayto implement by an
Forms,
will be
Actuators
Note
Terminology abstract mathematical description.
The AI function is an
1.8.2 Agent on the agent architecture.
at any given i.
implementation, running
1) Percept perceptual
inputs instant. Agent program is a concrete
the agent's
refers to
percept
The term
1.8.3 Architecture of Agent
in the sky "through
"thro eyes and takes its which is called the
Examples "Bird fAying snan runs on some sort of computing device,
percepts The agent program
that the architecture will
human agent
architecture. The program we choose
has to be one
1) A
neras and takes
canmer
from the sensors available to
(photograph) of a boiler through accept and run. The architecture makes the percepts
action choices to the
Temperature
robotic agent perceive the program, runs the program and feeds the program's
2) A architectures annd
control action. effectors as they are generated. The relationship among agernts,
Implements
system that has the following properties
Agent function
1] Autonomy
Maps have control over their
without direct intervention of humans and
Agents operate
Perception
actions and internal state.
Leads to
Action 2] Soclal ablity
action process communication
1.8.2 Agent's Agents interact with other agents (and possibly humans) via an agent
Flg.
language.
Program
1.8.5 Role of An Agent 3] Reactivity
is internally environment and respond in timely and rational fashion to
agent program An agent program Agents perceive their
An
Input (Agent function) Output
implemented as agent
function.
(Curent percepts (Action made changes that occur in it.
from sensors) through actuators)
takes input
An agent program 4] Pro activeness
from the Fia. 1.8.3 Role of an agent program in agent
as the curent percept architecture Agents do not simply act in response to their environment, they are capable of taking8
action to
sensor and return an
the initiative, generate their owm goals and act to achieve them.
the effectors (Actuators).
Tabulation of a Agent
1.8.7.2 Strong Agent
for
1.86 Simple Example A stronger nation says that an agent has mental properties, such as knowledge, belief,
internet called as bot.
A shopping agent on
intention, obligation. In addition and agent has other properties such as:
Agent
Tabulation of percepts and action mapping 1. Mobility: Agents can move around from one machine to another and across
different system architectures and platforms.
Sequence of Percepts Actions
St. No. 2. Veracity: Agents do not knowingly communicate false information.
mygreeting.com Display website.
URL of greeting
[Type 3. Rationality: Agents will try to achieve their goals and not acts in such a way that
the link.
[Navigation and observation of greetings to Clicks on would prevent their goals from being achieved.
be purchased] Strong AI is associated with human traits such as consciousness, sentience, sapience,
To get details of greeting (which is Form filling. self-awareness
purchased}, in terms of a formj
1. Conciousness To have subjective experience and thought.
[To perceive completion of process Receiving recept u
awwawwwwwww.wwwww.wwwwww
2. Selfawareness To be aware of oneself as a separate individual, especially to be
aware of one's own thoughts.
1.8.7 The Weak and Strong Agent
3. Sentience The ability to feel perceptions and emotions subjectively.
An agent is anything that can be viewed
perceiving its environment through
as 4. Sapience The capacity for wisdom.
sensors and
acting upon that environment through effectors/actuators.
1) The performance measure that defines the criterion of success. Irational behaviour
4) The agent's percept sequence til current date 1.8.8.3 Omniscience, Leaming and Autonomy
outcome of its actions and can act
Based on above 4 statements rational agent can be defined as follows A n omniscient agent knows the actual
For each possible percept sequence, a rational agent should select an action that is accordingly, but in reality omniscience is impossible.
Rationality is not same as perfection. Rationality maximizes expected performance
expected to maximize its performance measure given the evidence provided by the
where as perfection maximizes actual performance.
percept sequence and whatever built-in knowledge the agent has. Following figue
must do same actions in order to modify future
depits performance measuremetric. For increasing performance agent
percepts.
This is called as information gathering which is important part of rationality. Also
Optimal/ right ection / behaviour
agent should explore (understand) environment to increase performance ie. for
doing more correct actions.
Result into desired information.
sequence of states Learning is another important activity agent should do so as to gather
Agent may know environment completely (which practically
is not possible) in
Perceive sequence which
generator optimal certain cases but if it is not known agent needs leam on its own
sequence actions To the extent that an agent relies on the prior knowledge of its designer rather
Agent coupled than on its own percepts, we say that agent lacks autonomy. A rational agent
with complex
environment should be autonomous it should leam what it can do to compensate for partial
or incorrect prior knowledge.
Fig. 1.8.4 Optimal perfomance triangle
TECHNICAL PUBLICATIONS An up thrust for knowledge
TECHNICAL PUBLICATIONS An up thrust for knowledge
-
Artificial Intelligence The Con
Artificial Intelligence 1-22 oncep Artificial Intelligence
- 23 Artificial Intelligence The Concept
RelationshipP
Figure Depicting rationality and Omniscience
Action
Expected Percept Sequence
Sequence Rationality performance
Ball Right
of percept Depends Maximizes IL1, No Black
on Pick
as L1, More Black Balls1
same
is not
function for the black ball essentially a problem to which agent is a solution.
Following is the partial tabulation of a simple agent
picker. The range of task environments that might arise in Al is obviously vast. We can,
however, identify a fairly small number of dimensions along which task
environments can be categorized. These dimensions determine, to a large extent,
the appropriate agent design and the applicability of each of the principle families
of techniques for agent implementation.
Fig. 1.8.8 Black ball picker world with two buckets at two locations
Observable
1.9.2.1 Fully Observable Vs Partialy Examples
percept of the image,
current
agent can
to the whatever is
If an agent's sensors give it the
access
complete state
state of the Deterministic: In image analysis of image
based on current knowledge.
eachpoint fully
of time, then it is observable.
environment.at take next action or c a n process
remaining part
observable.
environment is partially
may current state agent
decides next state
action except
More examples
Example
Video analysis. 2) Trading agent. the next driving does
1) stochastic
environment as
in
Fully Observable Stochastic : Boat driving agent is and from all current and
In fact it has to
see the goal
current state.
The puzzle game environment is fully observable where agent can see all tho not based on
the aspects, needs to take
action.
that are surrounding it. That is agent can see all the squares of the
the previous percepts agent
with values (if any added) in them.
puzzle
puzzle
game along More examples
Robot firing in crowd.
1) Car driving 2)
More examples
1) Image analysis. 1.9.2.3 Eplsodic Vs Sequential divided into atomic episodes such
is
2) Tic tac toe. episodic
environment agene's experience then performing
process and
In
consists of, the agent perceiving
that each episode the episode
environment the choice of action depends only on
More Examples
1.9.2.2 Deterministic Vs Stochastic
1) Blood testing for patient. 2) Card games.
I f from current state of environment and the action, agent can deduce the next
state of environment then, it is deterministic environment otherwise it is stochastic
Environment: A game of chess is
Sequential sequential environment where agent
takes action based on all previous decisions.
environment.
More examples -
. I f the environment is deterministic except for the actions of other agents, we say
1) Chess with a clock. 2) Refinery controller.
that the environment is strategic.
around (as it will not change) while taking actions. changes and acts
be various agents or
there can
various group of agents
on changing continuously
which makes In multiagent environment environment
Dynamic environments keep
decisions for act.
agent to be which a r e working together
to take decision and
act. In multiagent
.Where as continuous environment is not stable at any given point of time andit 1927 Complexty Comparlson of Task Environment
changes randomly thereby making agent to learn continuously, so as to male the rising order of complexity of various task environment.
Following is
decisions.
Low-
Rising order oHigh
complexity
Example:
Discrete: A game of tic-tac toe depicts discrete environment where every state is
stable and it associated percept and it is outcome of some action. Observable Partially observable
More examples . Determiristic Stochastic
1) 8- queen puzzle. 2) Crossword puzzle. Episodic quenti
Continuous: A boat driving environment is continuous where the state changes are Static Dynamic
continuous, and agent needs to perceive continuously. Discrete Continuous
More examples Single agent Muitiple agents.
wwwwww.wwwwwnin vwwme wvv
1) Part Picking Robot. 2) Flight Controller.
Agent monitoring
incoming people only and Engineering Task Environment
Example 11) Sclentific
:
2) Time Constrained
Environment
the move should be d develop to design
environment
where
with a clock
Task Environment
Example : Chess 12) Biological
of time. helpful for
for of chemical component
specified amount Example: Agent working design some
Environment medicine.
Decision Making
3) of a organization, Can
Example: The
executive agent who
is monitoring profit help 13) Space Task
Environment
decision.
to take environment and
top level management Example: Agent that is working in space for observing space
Process Based
Environment recording details about it.
4) take input and synthesize ittto
who can
agent
Example The image processingabout the image. 14) Research Task
Environment
and details
produce required output, in research lab where it is made to grasp (learm)
Example: Agent working a
User Environment knowledge and represent it and drawing conclusions from it, which will helps
5) Personal or
assistance who can helh researcher for further study.
which can be used as personal
A small scale agent
Example: about work etc.
who can give notifications Network Task Environment
to remember daily task, 15)
6) Buying Environment Example: An agent developed carry data over a computer network
to automatically
based on certain conditions like time limit or data size limit in same network (same type
Example: A online book shopping bot (agent) who buys book online as per user of agent can be developed for physically transferring items or mails) over same network.
requirements.
16) Repository Task Environment
7) Automated Task Environment
Example If a data repository is to be maintained then agent can be developed to
firm can use a agent who automates complete
Example A cadburry manufacturing arrange data based on criterias which will be helphul for searching later on.
procedure of cadburry making.
1.10 Different Types of Agents
8) Industrlal Task Environment
Example: An agent developed to make architecture of a building or layout of 1.10.1 Intelligent Agent
building. "Intelligent agent is an intelligent actor, who observe and act upon an
environmene"
9) Leaming Task Environment (Educational) Intelligent agent is magnum opus.
Example: We can have a agent who is learning some act or some theories presented
to if and later it can play it back which will be helpful for others to learn that act or
theories.
percept history.
An entity
which perfom?
1. Perception Sensor
2. Action What the
wortd is like
now?
Fig. 1.10.2 Intelligent Agent
What actOn
Example: Conditon action rulee I shoukd do
now?
1) A robotic agent (Cameras, Infrared range finders).
Characteristics of
Intelligent Agent (LA)
1) The IA leam and improve through interaction with
must the environment. Flg. 1.10.3 Slmple reflex agent
2) The LA must adapt online and in the real
time situation.
Property: is limited.
but their intelligence Forexample:
) T h e s e are very simple
be made on the basis of onlv
which maintains its own internal state and then take action as
if correct
decision can
the A car driving agernt
2) They will work only environment is fully observable.
environment appears to it.
current percept- that
is only if the
serious trouble.
can cause
3) A little bit of unobservability then, it
observable environment can
money. Environment
REFLEX AGENT
Procedure: SIMPLE
-
Input: Percept
Fig. 1.10.4 Model based reflex agent
Output: An action.
action rules. Procedure : REFLEX-AGENT-WITH-STATE
Static: Rules, a set of condition -
2) Its internal state is updated continuously which can be shown as: Property
Old Internal state 1) Goal based agent works simply towards achieving goal.
+ Current percept =Update state. 2) For tricky goals it needs searching and planning.
What action I
should do now?
Property: 3) Critic I t tells how agent is doing and determines how the performance element
function maps to real number, which describes the associated
1) Utility a state on a should be modified to do better in the future.
degree of best performance. Problem Generator It is responsible for suggesting actions that will lead to new
4) -
36
Artificial Intelligence 1-37 Artificial Intelligence The Concept
Artificial Intelligence
ough
thro.
earning
pertormance
their
improve
can
seen
More Types of Agents
All four type
ypes agent
we
have
1.10.4
and there by become learning agernt do classification of agents based on various like
We can aspects -
ment
from environment and
For example which
continuously
learns
then do 1) Task they perform. 2) Their various control architecture.
agent
roplane driving
Aerop 3) Depending on sensitivity of their sensors, and effectiveness of their action and
safe plane driving internal states they possess.
of Learming Agent
1.10.3.1 Components basic knowledge and learm Following are various types of agents, based on above classification criteria
Base/Learner/Learming
element-It holds ngs
1) environment.
1. Physical Agents: A physical agent is an entity which perceives through sensors
unfamiliar
from the Capable system is and acts through actuators.
system/Performing elements
the
respo S16le
2) Capable/Efficient actions.
Performance element is actual
agent. 2. Temporal Agents A temporal agent may use time based stored information to
external It
for selecting
actions. offer instructions or data acts to a computer program or human being and takes
and decides
perceives
feedback. It reflects fault and analyze cor program inputs percepts to adjust its next behaviour.
3)
It
gives
Faultreflector element maximum success.
orrective 3. Spatial Agents That relate to the physical real-world.
actions in order to get
element -
It generate new and informative experi 4. Processing Agents -
That solve a problem like speech recognition.
4) New problem generator t
suggests new actions. 5. Input Agents That process and make sense of sensor inputs- eg. neural
makes difference between incoming percept as a network based agents.
The performance standard reward
ree
direct feedback on the quality of the agent's behaviour. 6. Decision Agents That are geared upto do decision making
(or penalty), that indícate
7. Believable Agents An agent exhibiting a personality via the use of an artificial
Performance character (the agent is embedded) for the interaction.
standaro
8. Computational Agents That can do some complex, lengthy scientiic
computations as per problem requirements.
Crtic 9. Information Gathering Agents Who can collect
(perceive) and store data.
Feedback 10. Entertaining Agents Who can perform something which can entertain human
like gaming agents.
Changes
Learning Performance 11. Biological Agents Their reasoning engine works almost identical to human
element element
Knowledge brain.
Leerning
Goals 12. World Agents That incorporate a combination of all the other classes of agents
Problem to allow autonomous behaviours.
generator 13. Life Like
ActuatorsS Agents Which are combinations of other classes of agents which will
behave like real world characters. (For example A robotic dog)
Environment Sensors
1.11 Designing an Agent System
When we are
specifying agents we need to specify performance measure, the
Fig. 1.10.7 Leaming agent environment and the agent's sensors and actuators. We group all these under the
heading of the task environment.
knowledge
Artificial Intelligence 1-38 Artificial lIntelligence.
The Concp Artificial
intelligence
The Concept
[Slen
Slensors) description. atom, Industrlal
Business
Purpose
Sensors
Actuators
) Environment
an Agent Performance
1.11.1 The Steps in Designing Agent Type Measure
task environment) in complete Sr. No. Display product Keyboard,
area (i.e. mouse.
System
fast business
websites,
system.
forms.
processing8
tabulate PEAS.
(customer).
Define Temperature,
2) or
and action. Values, pumps,
functions uence and
(i.e. percept sequence action
column) Refinery, pressure
If system is multiagents
then we
co-operation No.
Correct image
Downlink from Display
categorization
of
Color pixel
arrays.
agents.
strategies among multiple
satelite.
Satellite image orbiting
analysis system. categorization
scere
and Thelr PEAS Description resuit Knowledge
Examples of Agent Types lab Recording database of
1.11.2 According to
****
A chemistry of reaction
Correct chemicals and
Their Uses Chemical of where
recording their
e a c t i o n analyzer instruments,
reaction.
for common man) in chemistry chemicais are
characteristics.
Secure, reliabie
ATM machine, Display
ATM system human system
menu/screer
No. Measure
Sensor
required
to support sequence of perception
are
sensor
events.
for providing input
Interactive
English tutor.
Maximize
s t u d e n t ' s sCore
Set of students,
testing agency.
Display exercises
sugEestions,
corrections.
Keyboard entry.
Keyboard
1) Keyboard
for GUI
interface.
Mouse
on test 2) audio recording.
and mike for
Group of
learner Display of each
Inputs from 3) Headphone for listening
A casio teacher. Learmer should
be able to play or a single note,
presentation of
learner, trom Video/web camera's for video shooting
specific musical learner. mouse or 4)
pieces. playing a key,
sample music keyboard and One Final Word
database ot casio 1.12 c a n be s e e n
that goal
pieces details. its related work it
******
I) The [A]ctuators (Actions) 3. What is meant by robotic agent ? (Refer section 1.1)
architecture. (ie.
The software model (agent program) will be executed on the agent What are adoantages one can infer when machines perform intelligently ? (Refer section 1.1)
interactive english tutor are, 5. Define an agent. (Refer section 1.8)
operating system). The actions performed by
6. What is role of an agent program ? (Refer section 1.8)
1) Audio / video demonstration on different topics.
7. Define rotational agent. (Refer section 1.8)
2) Practical assignment on verbal written skills, report generation, letter writing,etc
8. List down the characteristics of intelligemt agent. (Refer section 1.10)
Monitoring and inspection (ie. checking) of the practical assignment provide 9. Give general model of learning agent. (Refer section 1.10)
10. Explain in detail the history of Al. (Refer section 1.
with suggestions and corrections, to students.
11. What are various domains of AI ? (Refer section 1.1)
4) Online test conduction and result analysis.
12. Discuss in detail the structure
5) Student's of agent with suitable diagram. (Refer section 1.8)
speech and video recording.
TECHNICAL PUBLICATIONS An up thrust for knowledge
41
(Refer section 1.9)
test. (Refer section 1.1)
? (Refer section 1.10) Discuss Turning
W h a t are requirements of intelligent agents Q.5
based agents. (Refer section 1.10) Winter- 18
17. Discuss model based agents andgoals wmww.d
(Refer section 1.10)
18. Give the structure of a n agent with goals. task domain of artificial intelligence.
Define and
discuss different 31
types and describe
their PEAS. (Refer section 1.11) Q.6
19. List few agent (Refer section 1.9)
20. What is meant by PEAS ? (Refer section 1.11)
Summer 19
system is diferent from a cornvolutional! computing
computing system.
s
21. What is AI ? Explain how an Al
(Refer section 1.1) (Refer section 1.9) 141
words in the context of AI: Intelligence
characteristics of Al. (Refer section 1.1) Q.7 Define the following
22. What is Al ? State various
23. Explain the nature and scope of AlL. Why game playing problems are considered Al vrohi Winter 19
lems ?
(Refer section 1.1)
how AI techniques improve
section 14) Q.8 Define the "Artificial Intelligence". Explain
term
24. What are Al techniques? (Refer (Refer sections 1.1 and 1.4)
real-world problem solving.
25. Define AI and justify with suitable example how does conventional computing diflerent
the What is the significance of the Turing Test" in Al : Explain how it is performed.
section 1.1)
intelligent computing. (Refer Q.9 41
26. Explan desirable properties of Al internal representation and Al softoare. (Refer section 1
(Refer section 1.1)
1.1)
a.10 Enlist and discuss the major task domains of Artificial Intelligence.
Questions with Answers (Refer section 1.9)
1.13 University nwww.wwwwnw
Winter 12 Summer-20
wwwww.w
wwww.w wi
What is intelligence Discuss types of problems requiring intelligence to solbe it. Q.11 Define the following wods in the contert of Al:
Q.1
sections 1.1.2 and 1.2) i) Intelligence. (Refer section 1.1)
Define Al. (Refer
TECHNICAL PUBLICATIONS -
An up thrust for knowledge
An up thrust for
knowledge
TECHNICAL PUBLICATIONS -