CSSE 502 Human Computer Interaction (Intro. To AI - Lec. 1 - An Introduction To Artificial Intelligence) Spring 2024
CSSE 502 Human Computer Interaction (Intro. To AI - Lec. 1 - An Introduction To Artificial Intelligence) Spring 2024
Lecture 1
An Introduction to
Artificial Intelligence
1.1 What is Intelligence
▪ Some Foundations of AI – What is Intelligence? – What is
Artificial Intelligence?
1.2 Systems that Act Like Humans
▪ Systems that Act Like Humans – Turing Test? – The Chinese
Room Argument – Strong Vs. Weak AI – Where are we?
1.3 AI as the Study & Design of Intelligent Agents Faculty of
▪ Systems that Think like Humans – Systems that – Think Computers &
Rationally – Main Research Problems / Challenges – Artificial Intelligence
Systems that Act Rationally – AI as the Study & Design of
Intelligent Agents – Intelligent Agents in the World Spring 2024
Lecture 1: An introduction to Artificial Intelligence [AI]
1.1 What is Intelligence 1.3 AI as the Study & Design of Intelligent Agents
▪ Some Foundations of Artificial Intelligence ▪ Systems that Think like Humans
▪ What is Intelligence? ▪ Systems that Think Rationally
▪ What is Artificial Intelligence? ▪ Challenges to Systems that Think Rationally
1.2 Systems that Act Like Humans ▪ Systems that Act Rationally
▪ Systems that Act Like Humans ▪ AI as the Study & Design of Intelligent Agents
▪ Turing Test (the Imitation Game)? ▪ Intelligent Agents in the World
▪ Total Turing Test? ▪ Sample of solutions offered by AI
▪ The Chinese Room Argument ▪ History of the various AI areas
▪ Strong Vs. Weak AI
An Introduction
to Artificial
Intelligence
• This lecture covers the following
chapters:
• Chapter 1 (Introduction) from
Stuart J. Russell and Peter
Norvig, "Artificial Intelligence:
A Modern Approach," Third
Edition (2010), by Pearson
Resources for Education Inc.
this lecture .. AND ..
• Chapter 1 (AI: History and
Applications) from George F.
Luger, "Artificial Intelligence:
Structures and strategies for
complex problem solving, "
Fifth Edition (2005), Pearson
Education Limited.
4
SOME FOUNDATIONS OF ARTIFICIAL INTELLIGENCE
Philosophy Economics
• Can formal rules be used to draw valid • How should we make decisions so as
conclusions? to maximize payoff?
• How does the mind arise from a • How should we do this when others
physical brain? may not go along?
• Where does knowledge come from? • How should we do this when the
• How does knowledge lead to action? payoff may be far in the future?
Mathematics Computer Engineering
• What are the formal rules to draw valid • How can we build an efficient
conclusions? computer?
• What can be computed? Control theory and cybernetics
• How do we reason with uncertain • How can artefacts operate under their
information? own control?
Neuroscience Linguistics
• How do brains process information? • How does language relate to thought?
Psychology
• How do humans and animals think and
act? 5
What is Intelligence?
Intelligence:
• Judgment, otherwise called “good sense,” “practical sense,” “initiative,” the
faculty of adapting one's self to circumstances .. auto-critique ~ Alfred Binet
(July 8, 1857 – October 18, 1911) was a French psychologist who invented the
first practical intelligence test (An intelligence quotient (IQ); a total score derived
from one of several standardized tests designed to assess human intelligence)
• “.. the resultant of the process of acquiring, storing in memory, retrieving,
combining, comparing, and using in new contexts information and
conceptual skills.” ~Lloyd G. Humphreys (December 12, 1913 – September 7,
2003) was an American psychologist
• “ .. the capacity to learn and solve problems ..” (Webster’s dictionary)
• in particular,
• the ability to solve novel problems
• the ability to act rationally
• the ability to act like humans 6
What is Artificial Intelligence?
problems that are normally associated with the higher intellectual processing
capabilities of humans.“
8
What is Artificial Intelligence?
Four Main Approaches that have been followed, each by different
people with different methods.
Thinking Acting
Humanly Humanly
Thinking Acting
Rationally Rationally
9
What is Artificial Intelligence?
15
Systems that Act Like Humans
Turing Test; the Imitation Game …
HUMAN ?
INTERROGATOR
AI SYSTEM
16
Systems that Act Like Humans
Turing Test; the Imitation Game …
• Turing test (1950): Can a human interrogator tell whether (written)
responses to her (written) questions come from a human or a
machine?
• Natural Language Processing
• Knowledge Representation
• Automated Reasoning
• Machine Learning
“Searle's thought experiment begins with this hypothetical premise: suppose that
artificial intelligence research has succeeded in constructing a computer that
behaves as if it understands Chinese. It takes Chinese characters as input and, by
following the instructions of a computer program, produces other Chinese
characters, which it presents as output. Suppose, says Searle, that this computer
performs its task so convincingly that it comfortably passes the Turing test: it
convinces a human Chinese speaker that the program is itself a live Chinese speaker.
To all of the questions that the person asks, it makes appropriate responses, such
that any Chinese speaker would be convinced that they are talking to another
Chinese-speaking human being.”
The question Searle wants to answer is this: does the machine literally "understand"
Chinese? Or is it merely simulating the ability to understand Chinese? Searle calls
the first position "strong AI" and the latter "weak AI".
21
Systems that Act Like Humans
The Chinese Room Argument
(Continued)
Searle then supposes that he is in a closed room and has a book with an English
version of the computer program, along with sufficient paper, pencils, erasers, and
filing cabinets. Searle could receive Chinese characters through a slot in the door,
process them according to the program's instructions, and produce Chinese
characters as output. If the computer had passed the Turing test this way, it follows,
says Searle, that he would do so as well, simply by running the program manually.
Searle asserts that there is no essential difference between the roles of the
computer and himself in the experiment. Each simply follows a program, step-by-
step, producing a behaviour which is then interpreted as demonstrating intelligent
conversation. However, Searle would not be able to understand the conversation.
24
Systems that Act Like Humans
Strong Vs. Weak AI .. Where are we?
Artificial Super Intelligence (ASI)
Artificial General
Intelligence (AGI)
Artificial Narrow
Intelligence (ANI)
Sources: https://www.scoro.com/blog/artificial-intelligence-everything-you-want-to-know/ 25
https://www.ubs.com/microsites/artificial-intelligence/en/new-dawn.html
Exercises
What have we learned?
▪ Describe briefly the Turing Test "imitation game".
(Illustrate through drawing)
▪ Describe briefly the Total Turing Test.
▪ Describe briefly the “Weak AI Hypothesis” versus
the “Strong AI Hypothesis”.
▪ Criticize Turing's criteria for computer software
being "intelligent"; What is Searle’s thought
experiment (the Chinese Room Argument)?
▪ Describe briefly Reinforcement Learning.
▪ Describe briefly Affective Computing.
Up Next ..
Additional Section 1.3
Resources
▪ The Turing test: Can a computer pass for a human? - Alex Gendler
https://www.youtube.com/watch?v=3wLqsRLvV-c
▪ The Chinese Room Argument:
https://www.youtube.com/watch?v=18SXA-G2peY
▪ The Chinese Room - 60-Second Adventures in Thought:
https://www.youtube.com/watch?v=TryOC83PH1g
▪ We Talked To Sophia – The AI Robot That Once Said It Would ‘Destroy
Humans’:
https://www.youtube.com/watch?v=78-1MlkxyqI
▪ This Freaky Baby Could Be the Future of AI. Watch It in Action:
https://www.youtube.com/watch?v=yzFW4-dvFDA
▪ Two robots debate the future of humanity:
https://www.youtube.com/watch?v=1y3XdwTa1cA
Lecture 1: An introduction to Artificial Intelligence [AI]
1.1 What is Intelligence 1.3 AI as the Study & Design of Intelligent Agents
▪ Some Foundations of Artificial Intelligence ▪ Systems that Think like Humans
▪ What is Intelligence? ▪ Systems that Think Rationally
▪ What is Artificial Intelligence? ▪ Challenges to Systems that Think Rationally
1.2 Systems that Act Like Humans ▪ Systems that Act Rationally
▪ Systems that Act Like Humans ▪ AI as the Study & Design of Intelligent Agents
▪ Turing Test (the Imitation Game)? ▪ Intelligent Agents in the World
▪ Total Turing Test? ▪ Sample of solutions offered by AI
▪ The Chinese Room Argument ▪ History of the various AI areas
▪ Strong Vs. Weak AI
30
What is Artificial Intelligence?
“.. Socrates is a man; all men are mortal; therefore Socrates is mortal.”
• Logistic tradition in AI aims to build computational frameworks
based on logic, that is, describe a problem in formal logical notation
and apply general deduction procedures to solve it.
• Semantic Networks. 32
Systems that Think Rationally
33
What is Artificial Intelligence?
Why ..?
35
AI as the Study & Design of Intelligent Agents
(Poole and Mackworth, 1999)
• An intelligent agent is such that:
• Its actions are appropriate for its goals and circumstances.
• It is flexible to changing environments and goals.
• It learns from experience.
• It makes appropriate choices given perceptual limitations and
limited resources (bounded rationality or bounded optimality).
• This definition drops the constraint of cognitive plausibility;
• Same as building flying machines by understanding general
principles of flying (aerodynamic) vs. by reproducing how birds fly.
Thus, a rational agent acts to optimally achieve its goals (does the
right thing). The right thing: that which is expected to maximize goal
achievement, given the available information.
36
Intelligent Agents
• In AI, artificial agents that have a physical presence in the world are
usually known as Robots.
Agent Sensors
Percepts
? Environment
Actuators Actions
38
Samples of Intelligent
Systems in our daily life:
o The Web: Identifying your
age, gender, location, from
your Web surfing, .. etc.
o Post Office: Automatic
address recognition,
automatic sorting of mail, ..
o Banks: Automatic check
readers, signature
verification systems, loan
application classification, ..
o Customer Service:
Automatic voice, speech, &
language recognition, .. etc.
o Digital Cameras:
Automated face detection
& recognition, .. etc.
o Computer Games:
Intelligent characters, .. etc.
o Medical Centers:
Automatic Detection,
Prediction, & Grading of 39
Diseases, .. etc.
"A small sample of
solutions offered by AI."
- Wolfgang Ertel,
"Introduction to
Artificial Intelligence,"
2nd Edition (2017)
40
"History of the various AI areas ..
The width of the bars indicates prevalence of the method's use.“ 41
- Wolfgang Ertel, "Introduction to Artificial Intelligence," 2nd Edition (2017)
Exercises
What have we learned?
▪ Compare briefly between Systems that “Act / Behave Rationally”, and Systems that “Act /
Behave Humanly”.
▪ Describe briefly Intelligent Agents.
▪ Give the scientific term for each of the following statements:
a) The branch of computer science that is concerned with the automation of intelligent behavior.
b) A problem-solving technique that systematically explores a space of problem states.
c) Systems that are constructed by obtaining knowledge from a human expert and coding it into a
form that a computer may apply to similar problems.
d) Models that parallel the structure of neurons in the human brain and used to build intelligent
programs.
e) Algorithms that evolve new problem solutions from components of previous solutions using
specific operators such as crossover and mutation.
▪ Read the following: [ Chapter 1 (AI: History and Applications) from George F. Luger, "Artificial
Intelligence: Structures and strategies for complex problem solving." ] then Describe briefly the
two most fundamental concerns of AI researchers.
Up Next ..
Additional Lecture 2
Resources
▪ Artificial Intelligence In 5 Minutes | What Is Artificial
Intelligence? | AI Explained:
https://www.youtube.com/watch?v=ad79nYk2keg
Thank you!