2021 Lecture01 IntroductionToAI
2021 Lecture01 IntroductionToAI
INTRODUCTION TO
ARTIFICIAL INTELLIGENCE
2
What is AI?
3
AI: A dream for everyone
4
AI Innovations: Personal robots
Source: https://www.youtube.com/watch?v=QdQL11uWWcI
5
AI Innovations: Humanoid robots
Source: https://www.youtube.com/watch?v=9DaTZQxg21U
6
AI Innovations: Deep Blue – AlphaGo
7
The complexity of Chess and GO
Source: https://www.youtube.com/watch?v=SUbqykXVx0A
8
AI Innovations: OpenAI Five
Source: https://openai.com/projects/five/
9
Intelligence vs. Artificial Intelligence
John McCarthy Marvin Minsky Allen Newell Arthur Samuel Herbert Simon
(1927 – 2011) (1927 – 2016) (1927 – 1992) (1901 – 1990) (1916 – 2001)
11
The field of Artificial Intelligence
• AI research builds intelligent entities that simulate humans
in different aspects.
12
What is Artificial Intelligence?
13
What is Artificial Intelligence?
Thought processes and reasoning
Rationality
think think
Humans
Behavior 14
Systems that act like humans
• The Turing Test approach (Alan Turing, 1950)
A computer passes the test if a human interrogator, after posing several written
questions, cannot tell whether the written responses come from a person or from a
computer.
15
Systems that act like humans
n ig n
nin ig n
Tu ing h io
hu n
hu n
h io
on o
• Variations
• Reverse Turing Test: CAPTCHA
• Total Turing Test: additionally examine the perceptual (computer
vision) and the objects manipulation (robotics) abilities of the subject.
16
A better Turing Test?
• AI researchers have devoted little effort to pass the test.
• It is more important to study the underlying principles of
intelligence than to duplicate an exemplar.
Sheep dog
or mop?
17
Systems that think like humans
• General Problem Solver – GPS (Newell and Simon, 1961)
• Not merely solve problems correctly
• Compare the trace of its reasoning steps to traces of human subjects
while solving the same problems
• Cognitive Science
precise and testable
• Computer models from AI theories of
• Experimental techniques from psychology the human mind
19
Systems that think rationally
• Problems with the logicist approach
• Not all intelligence is mediated by logic behavior
• Solving a problem “in p incip ” is different from doing in practice
• Both obstacles apply to any attempt to build computational
reasoning systems
20
Systems that act rationally
• The rational agent approach
• Rational behavior = “ oing the right thing”,
• “Right thing”: what is expected to maximize goal achievement given
the available information
• An agent is just something that perceives and then acts
𝒇: 𝓟 → 𝓐
• A rational agent acts to achieve the best outcome or, when
there is uncertainty, the best expected outcome.
• Include thinking, inference as a part of being rational agent
• Include more: action without thinking, e.g., reflexes
21
Systems that act rationally
• More general than the “ w of hough ” approach
• Correct inference is not all of rationality.
• In some situations, there is no provably correct thing to do, but
something must still be done.
• Amenable to scientific development than those based on
human behavior or human thought
22
Major roles and Goals of AI
Goals of AI
23
Reflex or Intelligent? Rational?
A man withdraws his fingers from a hot stove. Two people cross the street
at the zebra crossing.
25
Research fields related to AI
Linguistics Neuroscience
28
AI and related concepts
Source: https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-
deep-learning-ai/
29
Pros and Cons of AI
Increased costs
Difficulty with software development - slow and expensive
Few experienced programmers
30
A brief
history of AI
31
A brief history of AI
• 1940-1950: Early days
• 1943: McCulloch & Pitts: Boolean circuit model of brain
• 1950: Turing's “Co pu ing Machinery and n ig nc ”
• 1950—70: Excitement: Look, Ma, no hands!
• 1950s: Early AI programs, including Samuel's checkers program, Newell & Simon's
Logic Theorist, Gelernter's Geometry Engine
• 1956: Dartmouth meeting: “A ifici n ig nc ” adopted
• 1965: Robinson's complete algorithm for logical reasoning
• 1970—90: Knowledge-based approaches
• 1969—79: Early development of knowledge-based systems
• 1980—88: Expert systems industry booms
• 1988—93: Expert systems industry busts: “A Win ”
32
A brief history of AI
• 1990—: Statistical approaches
• Resurgence of probability, focus on uncertainty
• General increase in technical depth
• Agents and learning systems… “A Sp ing”?
• 2000—: Where are we now?
33
A demo of artificial neural network
Source: https://www.youtube.com/watch?v=3JQ3hYko51Y
34
AI Applications
35
Autonomous Planning and Scheduling
Autonomous rovers
Autonomous rovers
Telescope scheduling
Analysis of data 36
Medicine
Classification on
medical images
38
What are we
going to learn?
39
Main topics in AI
• Search (includes Game Playing)
• Representing knowledge and reasoning with it
• Planning
• Learning
• Natural language processing
• Expert systems
• Interacting with the Environment
• E.g. Vision, Speech recognition, Robotics, etc.
• An o …
41
Solving problems by searching
• Uninformed and informed strategies
• Global vs. local search
42
Solving problems by searching
• Adversarial search
• Constraint satisfaction problems
43
Knowledge and reasoning
• The second most important concept in AI
• If we are going to act rationally in our environment, then we
must have some way to describe the given environment and
draw inferences from that representation.
• How do we describe what we know about the world ?
• How do we describe it concisely ?
• How do we describe it so that we can get hold of the right piece of
knowledge when we need it ?
• How do we generate new pieces of knowledge ?
• How do we deal with uncertain knowledge ?
44
Knowledge and reasoning
• Propositional logic and predicate logic
• Inference techniques: forward chaining, backward chaining,
and resolution
• Uncertain knowledge and reasoning
45
Machine learning
• If a system is going to act truly appropriately, then it must be
able to change its actions in the light of experience.
• How do we generate new facts from old ?
• How do we generate new concepts ?
• How do we learn to distinguish different situations in new
environments ?
46
Machine learning
• Classification with ID3 Decision tree and Naïve Bayes
• Artificial neural networks
47
THE END
48