UNIT1 Slides
UNIT1 Slides
2
What is AI?
• Intelligence: “ability to learn, understand and think”
3
Allied Disciplines
AI
What is AI
Acting Humanly: The Turing Test
• Alan Turing (1912-1954)
• “Computing Machinery and Intelligence”
(1950) Imitation Game
Huma
n
Human
AI
Interrogator
System
9
Foundation of AI
The Foundations of AI
• Philosophy (423 BC present):
• Can formal rules be used to draw valid
conclusions?
• How does the mental mind arise from a
physical brain?
• Where does knowledge come from?
• How does knowledge lead to action?
Logic, methods of reasoning.
Foundations of learning, language, and rationality.
12
The Foundations of AI
• Mathematics (c.800 present):
• What are the formal rules to draw valid
conclusions?
• What can be computed?
• How do we reason with uncertain information?
Formal representation and proof.
Algorithms, computation, decidability, tractability.
Probability.
13
The Foundations of AI
• Economics (1776 present):
• How should we make decisions so as to maximize payoff?
• How should we do this when others may not go along?
• How should we do this when the payoff may be far in the future?
Decision theory.
Operation research.
• Neuroscience (1861 present):
• How do brains process information?
Neurons.
Synapses.
14
The Foundations of AI
• Psychology (1879 present):
• How do humans and animals think and act?
Adaptation.
Phenomena of perception and motor control.
Experimental techniques.
15
The Foundations of AI
• Computer engineering (1940 present):
• How can we build an efficient computer?
intelligence and artifacts.
16
A Brief History of AI
• The gestation of AI (1943 1956):
1943: McCulloch & Pitts: Boolean circuit model of brain.
1950: Turing’s “Computing Machinery and Intelligence”.
1956: McCarthy’s name “Artificial Intelligence” adopted.
17
A Brief History of AI
• A dose of reality (1966 1974):
AI discovered computational complexity.
Neural network research almost disappeared after
Minsky & Papert’s book in 1969.
18
A Brief History of AI
• AI becomes an industry (1980 1988):
Expert systems industry booms.
1981: Japan’s 10-year Fifth Generation project.
19
Intelligent Agents
Agents
• An agent is anything that can be viewed as perceiving
its environment through sensors and acting upon that
environment through actuators.
Example:
• 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 agents???
Agents and Environments
Agents and environments
• Percept: agent’s perceptual inputs at any given
instant.
• Percept sequence: the complete history of
everything the agent has ever perceived.
• The agent function maps from percept histories to
actions:
[f: P* A]
• The agent program runs on the physical architecture
to produce f.
• agent = architecture + program
Rational agents
• 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.
Rational agents
• Rationality is distinct from omniscience (all-knowing
with infinite knowledge)
• Agents can perform actions in order to modify future
percepts so as to obtain useful information
(information gathering, exploration)
• An agent is autonomous if its behavior is determined
by its own experience (with ability to learn and
adapt)
PEAS
Task Environment Characterstics
Simple reflex agents
• Simplest kind
• Select actions on the basis of the current percept, ignoring
the rest of the percept history.
• Condition-action rule
if car-in-front-is-braking then initiate-braking.
• Limited intelligence
• Works well if the environment is fully observable.
• Problem with partially observable environment. (vacuum
cleaner with dirt sensor only)
• Randomization for infinite loops (multiagent systems).
Simple reflex agents
Model-based reflex agents
Goal-based agents
•
Utility-based agents
Learning agents
Computer Vision
What is Computer Vision?
• Given an image or more, extract properties of
the 3D world
•Traffic scene
• Number of vehicles
• Type of vehicles
• Location of closest obstacle
• Assessment of congestion
• Location of the scene
captured
Application of Computer Vision
• 123d Catch: Take your lot of Pictures and create 3-D Image
• Mercedes Benz/ Google Driverless car :use it to identify Pedestrian
• Virtual Dance /Games/
• Augmented reality( Pokémon)
• Autonomous cars
• Face recognition
• Gesture recognition
• Image search
• Machine vision
• Optical character recognition
• Robots
Vision and Computer Vision
37
Computer Vision
• The computer vision problem can be stated as
follows:
Given a two-dimensional image, infer the
objects that produced it, including their shapes,
locations, colors and sizes.
38
The Three Processing Levels
• Low-level processing
– Standard procedures are applied to improve image quality
– No “intelligent” capabilities
39
Biometrics
40
Computer Vision involves:
• Image acquisition
• Image processing
• Image analysis
• Image understanding
Natural Language Processing
NLP
• NLP Applications
• Information Retrieval – Information Extraction
– Question-Answering – Summarization –
Machine Translation – Dialogue Systems
NLP
• The application of computational techniques to the analysis
and synthesis of natural language and speech.
• Natural-language processing (NLP) is a field of computer
science, artificial intelligence concerned with the interactions
between computers and human (natural) languages, and, in
particular, concerned with programming computers to
fruitfully process large natural language data.
• Challenges in natural-language processing frequently involve
speech recognition, natural-language understanding, and
natural-language generation.
Introduction
NLP problem can be divided into two tasks: