Unit 1
Unit 1
• UNIT – IV
• Planning: Classical Planning: Definition of Classical Planning,
Algorithms for Planning with State-Space Search, Planning Graphs,
other Classical Planning Approaches, Analysis of Planning approaches.
Planning and Acting in the Real World
Syllabus contd…
• UNIT – V
• Uncertain knowledge and Learning, Learning: Forms of Learning,
Supervised Learning, Learning Decision Trees, Knowledge in Learning
Text Books and References
• TEXT BOOK:
• Stuart Russell and Peter Norvig, Artificial Intelligence A Modern Approach,
3rd Edition, 2010, Pearson Education.
• REFERENCE BOOKS:
• E. Rich and K. Knight, Artificial Intelligence, 3rd Edition, 2017 , McGraw Hill
Education
• Patrick Henny Winston, Artificial Intelligence, 3rd Edition., 2002, Pearson
Education.
• Shivani Goel, Artificial Intelligence, 2013, Pearson Education.
• Dan W. Patterson, Artificial Intelligence and Expert systems, 1995, Pearson
Education
History of AI
• Maturation of Artificial Intelligence (1943-1952)
• Year 1943 The first work which is now recognized as AI was
done by Warren McCulloch and Walter pits in 1943. They
proposed a model of artificial neurons.
• Year 1949 Donald Hebb demonstrated an updating rule for
modifying the connection strength between neurons. His rule is
now called Hebbian learning.
• Year 1950 The Alan Turing who was an English mathematician
and pioneered Machine learning in 1950. Alan Turing
publishes "Computing Machinery and Intelligence" in which he
proposed a test. The test can check the machine's ability to
exhibit intelligent behavior equivalent to human intelligence,
called a Turing test.
History of AI
• The birth of Artificial Intelligence (1952-1956)
• Year 1955 An Allen Newell and Herbert A. Simon created
the "first artificial intelligence program"Which was named
as "Logic Theorist". This program had proved 38 of 52
Mathematics theorems, and find new and more elegant
proofs for some theorems.
• Year 1956 The word "Artificial Intelligence" first adopted by
American Computer scientist John McCarthy at the
Dartmouth Conference. For the first time, AI coined as an
academic field.
• At that time high-level computer languages such as
FORTRAN, LISP, or COBOL were invented. And the
enthusiasm for AI was very high at that time.
History of AI
• The golden years-Early enthusiasm (1956-1974)
• Year 1966 The researchers emphasized developing
algorithms which can solve mathematical problems. Joseph
Weizenbaum created the first chatbot in 1966, which was
named as ELIZA.
• Year 1972 The first intelligent humanoid robot was built in
Japan which was named as WABOT1.
History of AI
• The first AI winter (1974-1980)
• The duration between years 1974 to 1980 was the first AI
winter duration. AI winter refers to the time period where
computer scientist dealt with a severe shortage of funding
from government for AI researches.
• During AI winters, an interest of publicity on artificial
intelligence was decreased.
History of AI
• A boom of AI (1980-1987)
• Year 1980 After AI winter duration, AI came back with
"Expert System". Expert systems were programmed that
emulate the decision-making ability of a human expert.
• In the Year 1980, the first national conference of the
American Association of Artificial Intelligence was held at
Stanford University.
History of AI
• The second AI winter (1987-1993)
• The duration between the years 1987 to 1993 was the
second AI Winter duration.
• Again Investors and government stopped in funding for AI
research as due to high cost but not efficient result. The
expert system such as XCON was very costly.
History of AI
• The emergence of intelligent agents (1993-2011)
• Year 1997 In the year 1997, IBM Deep Blue beats world
chess champion, Gary Kasparov, and became the first
computer to beat a world chess champion.
• Year 2002 for the first time, AI entered the home in the
form of Roomba, a vacuum cleaner.
• Year 2006 AI came in the Business world till the year 2006.
Companies like Facebook, Twitter, and Netflix also started
using AI.
History of AI
• Deep learning, big data and artificial general intelligence (2011-present)
• Year 2011 In the year 2011, IBM's Watson won jeopardy, a quiz show,
where it had to solve the complex questions as well as riddles. Watson
had proved that it could understand natural language and can solve
tricky questions quickly.
• Year 2012 Google has launched an Android app feature "Google
now", which was able to provide information to the user as a
prediction.
• Year 2014 In the year 2014, Chatbot "Eugene Goostman" won a
competition in the infamous "Turing test."
• Year 2018 The "Project Debater" from IBM debated on complex
topics with two master debaters and also performed extremely well.
• Google has demonstrated an AI program "Duplex" which was a virtual
assistant and which had taken hairdresser appointment on call, and
lady on other side didn't notice that she was talking with the machine.
History of AI
Intelligent Agents
Outline
• Agents and environments
• Rationality
• PEAS (Performance measure, Environment, Actuators, Sensors)
• Environment types
• Agent types
• 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
• 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.
• Extremes
• No autonomy – ignores environment/data
• Complete autonomy – must act randomly/no program
• Example: baby learning to crawl
• Ideal: design agents to have some autonomy
• Possibly become more autonomous with experience
PEAS
• PEAS: Performance measure, Environment, Actuators,
Sensors
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Fully Partially Partially Partially Fully Fully
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Deterministic Stochastic Stochastic Stochastic Stochastic Deterministic
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Sequential Sequential Sequential Sequential Episodic Episodic
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Static Static Static Dynamic Dynamic Semi
• A limited number of distinct, clearly defined percepts and actions vs. a range of
values (continuous)
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Discrete Discrete Discrete Conti Conti Conti
Cross Word Poker Backgammon Taxi driver Part picking robot Image analysis
Single Multi Multi Multi Single Single
• Reflex agent breaks when it sees brake lights. Goal based agent
reasons
– Brake light -> car in front is stopping -> I should stop -> I should use brake
⚫ Problem generator
⚫ Tries to solve the problem
differently instead of
optimizing.
⚫ Suggests exploring new
actions -> new problems.
From researchGate.net
Katieluethgeospatial.blogspot.com
Searching Continuous spaces
Approaches:
Discretization methods turn continuous space into discrete space
• e.g., empirical gradient search considers ±δ change in each coordinate
• If you make δ small enough, you get needed accuracy
to increase/reduce f , e.g., by x ← x + α ∇
f (x)
• Start state = 1
• One solution:
1. Suck,
2. if(state=5) then
[right,suck] ]
• Plan:
– Build a belief state space based on the real state space
– Search that state space using the usual search techniques!
Start!
• Online search
– Idea: Search as you go. Interleave search + action
– Pro: actual percepts prune huge subtrees of search space @ each move
– Con: plan ahead less 🡪 don’t foresee problems
• Best case = wasted effort. Reverse actions and re-plan
• Worst case: not reversible actions. Stuck!
• LRTA* 🡪 many variants; vary in selecting next action and updating rules