AI Introduction
AI Introduction
Outline
06/13/2020 Introduction to AI 2
Learning Outcomes
• Define AI
• Categorize AI
• Learn different applications of AI
• Map applications to Agents and Environment
• Classify different types of environment
• Define Intelligent Systems
06/13/2020 Introduction to AI 3
Artificial Intelligence
06/13/2020 Introduction to AI 4
Evolution of Artificial Intelligence
• The birth of artificial intelligence 1952–1956
• Dartmouth Conference 1956: the birth of AI
• The golden years 1956–1974
• Reasoning as search
• Natural language
• The money
• Robotics
• The first AI winter 1974–1980
• Reduced Govt. funds
• Boom 1980–1987
• The rise of expert systems
• The knowledge revolution
• The money returns: the Fifth Generation project
• The revival of connectionism
• Artificial neural network (ANN)
• Bust: the second AI winter 1987–1993
• AI winter
• The importance of having a body: nouvelle AI and embodied reason
• AI 1993–2011
• Milestones and Moore's law
• Intelligent agents
• AI behind the scenes
• Predictions
• Deep learning, big data and artificial general intelligence: 2011–present
Types of Artificial Intelligence
• Weak AI
• Weak AI is also known as narrow AI. It is an AI system that is designed and
trained for a specific type of task.
• For example – Siri and Alexa are weak AI. This categorization happens with
the help of unsupervised programming.
• Strong AI
• Strong AI is more like the human brain and is also known as artificial
general intelligence.
• It has cognitive abilities that help to perform unfamiliar tasks and commands.
It can find the solution to a problem and works beyond a preprogrammed
algorithm.
• Visual perception, speech recognition, decision making, and translations
between languages, are all examples of strong AI.
• Super AI
• Super AI is AI that surpasses human intelligence and ability. It’s also known
as artificial superintelligence (ASI) or superintelligence. It’s the best at
everything — maths, science, medicine, hobbies, you name it. Even the
brightest human minds cannot come close to the abilities of super AI.
06/13/2020 Introduction to AI 6
Applications of AI
06/13/2020 Introduction to AI 7
Applications of AI
Mundane Tasks
Expert Tasks
Perception Engineering
Vision Design
Speech Fault finding
Natural language Manufacturing planning
Understanding Scientific analysis
Generation Medical diagnosis
Translation Financial analysis
Commonsense reasoning
Robot control
Formal Tasks
Games
Chess
Backgammon
Checkers – Go
Mathematics
Geometry
Logic
Integral Calculus
Proving properties of programs
06/13/2020 Introduction to AI 8
Agents & Environment
• An agent is anything that can be viewed as perceiving its environment through
sensors and acting upon that environment through actuators.
• A human agent has eyes, ears, and other organs for sensors and hands, legs, vocal
tract, and so on for actuators.
• A robotic agent might have cameras and infrared range finders for sensors and
various motors for actuators.
• A software agent receives keystrokes, file contents, and network packets as
sensory inputs and acts on the environment by displaying on the screen, writing
files, and sending network packets.
• We use the term percept to refer to the agent's perceptual inputs at any given
instant.
• An agent's percept sequence is the complete history of everything the agent has
ever perceived. In general, an agent's choice of action at any given instant can
depend on the entire percept sequence observed to date, but not on anything it
hasn't perceived.
06/13/2020 Introduction to AI 9
Perception – Action Model
06/13/2020 Introduction to AI 10
Tabulating the Agent Function
Mathematically speaking, we say that an agent's behavior is
AGENT FUNCTION - that maps any given percept sequence to
an action
It’s an abstract mathematical description
Table – the external characterization of the Agent
Internally, the agent function for an artificial agent will be
implemented by an Agent Program
06/13/2020 Introduction to AI 11
Good Behaviour
A rational agent is one that does the right thing—
conceptually speaking, every entry in the table for the
agent function is filled out correctly. Obviously, doing
the right thing is better than doing the wrong thing.
06/13/2020 Introduction to AI 12
Good Behaviour (Contd.,)
06/13/2020 Introduction to AI 13
The Nature of Environments
In our discussion of the rationality of the simple vacuum-cleaner
agent, we had to specify the performance measure, the
environment, and the agent's actuators and sensors. We group all
these under the heading of the task environment.
For the acronymically minded, we call this as the PEAS
(Performance, Environment, Actuators, Sensors) description. In
designing an agent, the first step must always be to specify the task
environment as fully as possible.
The vacuum world was a simple example; let us consider a more complex
problem: an automated taxi driver.
The full driving task is extremely open-ended. There is no limit to the
novel combinations of circumstances that can arise.
06/13/2020 Introduction to AI 14
PEAS description of the task environment for an
automated taxi
06/13/2020 Introduction to AI 15
Examples of agent types and their PEAS descriptions
06/13/2020 Introduction to AI 16
Different types of Environment
06/13/2020 Introduction to AI 17
Examples of task environments and their characteristics
06/13/2020 Introduction to AI 18
Intelligent Systems
06/13/2020 Introduction to AI 19
Formal Description of the problem
1. Define a state space that contains all the possible
configurations of the relevant objects.
2. Specify one or more states within that space that
describe possible situations from which the problem
solving process may start ( initial state)
3. Specify one or more states that would be acceptable as
solutions to the problem( goal states)
4. Specify a set of rules that describe the actions
(operations) available.
06/13/2020 Introduction to AI 20
Production Systems
A production system consists of:
• A set of rules, each consisting of a left side that determines the
applicability of the rule and a right side that describes the operation to
be performed if that rule is applied.
• One or more knowledge/databases that contain whatever
information is appropriate for the particular task. Some parts of the
database may be permanent, while other parts of it may pertain only
to the solution of the current problem.
• A control strategy that specifies the order in which the rules will be
compared to the database and a way of resolving the conflicts that
arise when several rules match at once.
• A rule applier
06/13/2020 Introduction to AI 21
Well-defined problems and solutions
A problem can be defined formally by five components:
• INITIAL STATE : The initial state that the agent starts in
• ACTIONS: A description of the possible actions available to
the agent Given a particular state s, ACTIONS(s) returns the
set of actions that can be executed in s.
• Transition Model: That represents a description of what each
action does.
– Successor : Any state reachable from a given state by a single action.
– State Space : Initial State + Actions + Transition Model.
– Graph : A directed Graph in which the nodes are states and the links
between nodes are actions.
06/13/2020 Introduction to AI 22
Well-defined problems and solutions (Contd.,)
• Goal Test : Determines whether a given state is a goal state
or not.
• Path Cost : Its a function that assigns a numeric cost to
each path. The problem solving agent chooses a cost
function that reflects its own performance measure.
– Step Cost : Taking step ‘a’ in state ‘s’ to reach state ‘s1’. The
function can be denoted by C(s, a, s1).
06/13/2020 Introduction to AI 23
PROBLEM EXAMPLES (CASE STUDY)
• Toy Problems
• 8-PUZZLE PROBLEM
• 8-QUEENS PROBLEM
• Real World Problems
• ROUTE FINDING PROBLEM
• TRAVELLING SALESPERSON PROBLEM
• ROBOT NAVIGATION
06/13/2020 Introduction to AI 24
SEARCHING FOR SOLUTIONS
06/13/2020 Introduction to AI 25
SEARCHING FOR SOLUTIONS (Contd.,)
SEARCHING FOR SOLUTIONS (Contd.,)
06/13/2020 Introduction to AI 27
Infrastructure for search algorithms
06/13/2020 Introduction to AI 29
Thank You
Suggestions ….
06/13/2020 Introduction to AI 30