Lecture+Set+01 Introduction+to+Artificial+Intelligence
Lecture+Set+01 Introduction+to+Artificial+Intelligence
(AI)
CS-401
2
Course Outline
Goal is to introduce you to set of Artificial
Intelligence (AI) concepts & techniques. The
course will cover broader AI concepts like:
Agents & Environments
Search Strategies
Logic and Knowledge Representation
Planning
Reasoning under Uncertainty
Machine Learning
3
First Week
Introduction
– What is AI? (and why is it so cool?)
– Brief history of AI
– What’s the state of AI now?
– Examples
– Challenges (What AI can & can’t do!)
4
What is AI??
Artificial Intelligence
5
What is Intelligence?
• Intelligence:
– “The capacity to learn and solve problems”
(Websters dictionary)
– in particular,
• the ability to solve novel problems
• the ability to think & act like humans
• the ability to think & act rationally
• Artificial Intelligence
– build and understand intelligent entities or agents
– Two main approaches: “engineering” versus
“cognitive modeling” 6
What’s involved in Intelligence?
1. Ability to interact with the real world
– to perceive, understand, and act
– e.g., speech recognition and understanding and synthesis
– e.g., image understanding
– e.g., ability to take actions, have an effect
2. Reasoning and Planning
– modeling the external world, given input
– solving new problems, planning, and making decisions
– ability to deal with unexpected problems, uncertainties
3. Learning and Adaptation
– we are continuously learning and adapting
– our internal models are always being “updated”
• e.g., a baby learning to categorize and recognize animals
7
Artificial Intelligence as Science
Physics: Where did the physical universe
come from and what laws guide its
dynamics?
Biology: How did biological life evolve and
how do living organisms function?
Artificial Intelligence: What is the nature
of “intelligence” and what constitutes
intelligent behavior?
8
Artificial Intelligence as Engineering
How can we make software and machines more
powerful, adaptive, and easier to use?
Examples:
Speech recognition
Natural language understanding
Computer vision and image understanding
Intelligent user interfaces
Data mining
Mobile robots, Softbots, Humanoids
Medical expert systems…
9
What is AI? A simple Definition
AI is the attempt for the reproduction of human
reasoning and intelligent behavior by
computational methods
Reasoning is the process of
thinking about something in
Intelligent a logical way by establishing
and verifying facts to draw
behavior
inferences or conclusions.
Computer
Intelligent behavior is how
a person performs " in
response to questions and
problems the answers to
Humans which are NOT immediately
known" - Arthur L. Costa
10
What is AI?
11
Act like humans Act rationally
Think like humans Think rationally
The goal of AI is to create computer systems that
perform tasks regarded as requiring intelligence when
done by humans.
In this AI Methodology we take a task at which people are better,
e.g.:
• Prove a theorem
• Play chess
• Plan a surgical operation
• Diagnose a disease
• Navigate in a building
and build a computer system that does it automatically
But HUMANS MAKE ERRORS,,,,,do we want to duplicate or copy
human imperfections? 12
Machine Test: Act Like Humans
• The Turing Test
http://www.bbc.com/news/technology-27762088
http://en.wikipedia.org/wiki/Eugene_Goostman
http://www.scottaaronson.com/blog/?p=1858 17
What’s wrong with the Turing test?
• Variability in protocols, judges
• Success depends on deception!
• Chatbots can do well using “cheap tricks”
• First example: ELIZA (1966)
• Chinese room argument: one may simulate
intelligence without having true intelligence
(more of a philosophical objection)
18
A better Turing test?
19
http://www.newyorker.com/online/blogs/elements/2013/08/why-cant-my-computer-understand-me.html
A better Turing test?
• Multiple choice questions that can be
easily answered by people but cannot be
answered by computers using “cheap
tricks”:
21
H. Levesque, On our best behaviour, IJCAI 2013
A better Turing test?
• Advantages over standard Turing test
• Test can be administered and graded by machine
• Does not depend on human subjectivity
• Does not require ability to generate English sentences
• Questions cannot be evaded using verbal dodges
• Questions can be made “Google-proof” (at least for now…)
22
H. Levesque, On our best behaviour, IJCAI 2013
Act like humans Act rationally
Think like humans Think rationally
25
AI definition 02: Think Like Humans
• Can we build a brain?
26
Source: L. Zettlemoyer
AI definition 02: Think Like Humans
27
Act like humans Act rationally
&
Think like humans Think rationally
28
AI definition 03: Thinking rationally
• Idealized or “right” way of thinking
• Logic: patterns of argument that always yield correct
conclusions when supplied with correct premises
• “Socrates is a man; all men are mortal; therefore Socrates is
mortal.”
• Logicist approach to AI: describe problem in formal
logical notation and apply general deduction
procedures/rules to solve it
• Problems with the logicist approach
1. Computational complexity of finding the solution
2. Describing real-world problems and knowledge in logical
notation; becoz not all facts are 100% true.
3. Dealing with uncertainty/expected value
4. A lot of “rational” behavior has nothing to do with logic
29
AI definition 04: Acting rationally
• A rational agent acts to optimally achieve its
goals
• Goals are application-dependent and are expressed in
terms of the utility of outcomes
• Being rational means maximizing your (expected)
utility
• This definition of rationality only concerns the
decisions/actions that are made, not the
cognitive process behind them
• In practice, a rational agent acts to achieve best
outcome or when there is uncertainty the best
expected outcome.
30
History
Ada Lovelace-1842
31
History of AI
• 1950: Turing
– Turing's "Computing Machinery and Intelligence“
• 1956: Birth of AI
– Dartmouth meeting: "Artificial Intelligence“ name adopted
• 1950s: initial promise
– Early AI programs, including:
• Samuel's checkers program
• Newell & Simon's Logic Theorist
• 1955-65: “great enthusiasm”
– Newell and Simon: GPS, general problem solver
– Gelertner: Geometry Theorem Prover
– McCarthy: invention of LISP
32
History of AI
• 1966—73: Reality dawns / WINTER OF AI
– Realization that many AI problems are intractable (difficult to handle or
manage e.g. Speech Recognition, NLP etc.)
• 1969—85: Adding domain knowledge
– Development of knowledge-based systems
– Success of rule-based expert systems,
• E.g., DENDRAL (mol. Structure predictor), MYCIN (blood infections)
• But were brittle (less adaptable) and did not scale well in practice
• 1986-- Rise of machine learning
– Neural networks return to popularity
– Major advances in machine learning algorithms and applications
• 1990-- Role of uncertainty
– Bayesian networks as a knowledge representation framework
• 1995-- AI is opted as a Science
– Integration of learning, reasoning, knowledge representation, vision,
NLP etc. 33
After All this Debate the question remains….
Can Machines Act/Think Intelligently?
34
Success Stories AI Systems
35
Self-driving cars
37
http://www.skype.com/en/translator-preview/ http://googleblog.blogspot.com/2015/01/hallo-hola-ola-
more-powerful-translate.html
Vision
40
Logistics, scheduling, planning
41
Robotics
• Mars rovers
• Autonomous vehicles
• DARPA Grand Challenge
• Self-driving cars
• Autonomous helicopters
• Robot soccer
• RoboCup
• Personal robotics
• Humanoid robots
• Robotic pets
• Personal assistants?
42
DARPA Robotics Challenge (2015)
http://www.popularmechanics.com/technology/robots/a1590 43
7/best-falls-from-darpa-robot-challenge/
Towel-folding robot
YouTube Video
45
The End
46