Module 1
Module 1
22ADS151
Module 1
Introduction
Contents
• What is AI?
• History of AI.
• Agents and Environments, Structure of Agents.
• Types of Agents: Simple reflex agents, Model-based reflex
agent, Goal-based agents, Utility-based agents, Learning
agents.
What is AI?
4
Thinking Humanly Catch the thoughts and see how it flows
7
THINK RATIONALLY – LAWS OF THOUGHT
Cognitive
Thinking Science
Computer
Reasoning
Logical
Rationally Science
An agent is something that acts by doing things rightly or behave rightly by maximizing
the expected performance.
History of AI
Maturation of Artificial Intelligence (1943-1952):
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 proposed a test that can check the machine's
ability to exhibit intelligent behavior equivalent to human intelligence,
called a Turing test.
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.
Year 1972: The first intelligent humanoid robot was built in Japan
which was named as WABOT-1.
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.
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.
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 cost
effective.
•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: AI entered the home in the form of Roomba, a vacuum cleaner.
•Year 2006: Companies like Facebook, Twitter, and Netflix also started using AI.
Deep learning, big data and artificial general intelligence
(2011-present)
• Year 2011: IBM's Watson won 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: 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.
Agents and Environments
Agent:
An agent can be viewed as anything that perceives its environment through sensors
and acts upon that environment through actuators.
For example, human being perceives their surroundings through their sensory
organs known as sensors and take actions using their hands, legs, etc., known as
actuators.
Agents interact with the environment
through sensors and actuators.
Terminologies:
Percept: Agent’s perceptual inputs at
any given instant.
Percept sequence: Complete history of
Everything the agent has ever perceived.
Behavior of an Agent
Dirt Dirt
Possible actions
Room 1 Room 2
Move left
Vacuum cleaner is the agent Move Right
Clean Dirt
Example Cont… 8 Possible states
Concept of Rationality
Rational Agent: A rational agent is one that can take the right decision in every
situation.
An ideal rational agent is the one, which is capable of doing expected actions to
maximize its performance measure, on the basis of −
• Its percept sequence
• Its built-in knowledge base
Rationality of an agent depends on the following −
• The performance measures, which determine the degree of success.
• Agent’s Percept Sequence till now.
• The agent’s prior knowledge about the environment.
• The actions that the agent can carry out.
• A rational agent always performs right action, where the right action means the
action that causes the agent to be most successful in the given percept sequence.
Omniscient Agent: An omniscient agent is an agent which knows the
actual outcome of its action in advance. However, such agents are
impossible in the real world.
Architecture