0% found this document useful (0 votes)
2 views54 pages

Lecture01 IntroductionToAI

The document provides an introduction to Artificial Intelligence (AI), covering its definition, history, and applications across various fields. It discusses the evolution of AI from its early days to modern advancements, including machine learning and neural networks. Additionally, it outlines the foundational concepts and goals of AI, as well as the challenges and prospects in the field.

Uploaded by

kj20000504
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views54 pages

Lecture01 IntroductionToAI

The document provides an introduction to Artificial Intelligence (AI), covering its definition, history, and applications across various fields. It discusses the evolution of AI from its early days to modern advancements, including machine learning and neural networks. Additionally, it outlines the foundational concepts and goals of AI, as well as the challenges and prospects in the field.

Uploaded by

kj20000504
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Artificial Intelligence

INTRODUCTION TO
ARTIFICIAL INTELLIGENCE
Outline
• What is Artificial Intelligence (AI)?
• The foundations of AI
• A brief history of AI
• AI applications in various fields
• What are we going to learn?

2
What is AI?

3
AI: A dream for everyone

4
AI Innovations: Personal robots

Source: [Link]
5
AI Innovations: Humanoid robots

Source: [Link]
6
AI Innovations: Deep Blue – AlphaGo

AlphaGo vs. Lee Sedol


(03/2016)

Deep Blue vs. Kasparov


(02/1996 and 05/1997)

7
The complexity of Chess and GO

Source: [Link]
8
AI Innovations: OpenAI Five

Source: [Link]
9
Intelligence vs. Artificial Intelligence

Intelligence includes the capacity for logic, understanding,


learning, reasoning, creativity, and problem solving, etc.

Artificial intelligence (AI) attempts not just to understand


but also to build intelligent entities.
10
The field of Artificial Intelligence
• AI is one of the newest fields in science and engineering.
• Work started in earnest soon after World War II
• The name was coined at a conference at Dartmouth College in 1956.

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.

✓ Thinking: learning, planning, and


refining knowledge

✓ Perception: see, hear, feel, etc.

✓ Communication in natural languages

✓ Manipulation and moving objects

12
What is Artificial Intelligence?

13
What is Artificial Intelligence?
Thought processes and reasoning

Systems that Systems that


think think

Rationality
Humans

like humans rationally

Systems that Systems that


act act
like humans rationally

Behavior 14
What is Artificial Intelligence?
Thought processes and reasoning

Systems that Systems that


think think

Rationality
Humans

like humans rationally

Systems that Systems that


act act
like humans rationally

Behavior 15
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.

16
Systems that act like humans

• Problems with the Turing Test

• Variations
• Reverse Turing Test: CAPTCHA
• Total Turing Test: additionally examine the perceptual (computer
vision) and the objects manipulation (robotics) abilities of the subject.

17
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?

18
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

• These approaches are now distinct from AI


• Share the available theories but do not explain anything resembling
human intelligence
• All share a principal direction
19
Systems that think rationally
• The laws of thought approach
• “R k ” = irrefutable reasoning processes
• E.g., A ’ syllogisms provided patterns for argument structures
that always yielded correct conclusions when given correct premises.

All men are mortal. [Link](x) mortal(x)


Socrates is a man. man(Socrates)
Therefore,
Socrates is mortal. mortal(Socrates)
Aristotle
(381BC – 322BC)

20
Systems that think rationally
• Problems with the logicist approach
• Not all intelligence is mediated by logic behavior
• Solving a problem “ p c p ” is different from doing in practice
• Both obstacles apply to any attempt to build computational
reasoning systems

21
Systems that act rationally
• The rational agent approach
• Rational behavior = “ 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

22
Systems that act rationally
• More general than the “ w of ” 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

23
Major roles and Goals of AI

Goals of AI

AI studies the intelligent part concerned with human and


represents those actions using computers.

24
Reflex or Intelligent? Rational?

A man withdraws his fingers from a hot stove. Two people cross the street
at the zebra crossing.

A girl wears a mask to avoid


spreading flu to others. A newborn baby grasps his/her ’ finger.
25
Foundations
of AI

26
Research fields related to AI

Control theory Mathematics


and
cybernetics Philosophy

Linguistics Neuroscience

Economics Computer Psychology


Engineering
27
Research fields related to AI
Field Description
Logic, methods of reasoning, mind as physical
Philosophy system, foundations of learning, language,
rationality.
Formal representation and proof, algorithms,
Mathematics computation, (un)decidability, (in)tractability,
probability.

Economics Utility, decision theory, rational economic agents

Neuroscience Neurons as information processing units.


Psychology/ How do people behave, perceive, process
Cognitive Science information, represent knowledge.
Computer Engineering Building fast computers
Design systems that maximize an objective
Control Theory
function over time
Linguistic Knowledge representation, grammar
28
Research fields related to AI

29
AI and related concepts

Source: [Link]
deep-learning-ai/
30
Pros and Cons of AI

More powerful and more useful computers


New and improved interfaces
Solve new problems
Better handling of information
Relieve information overload
Conversion of information into knowledge

Increased costs
Difficulty with software development - slow and expensive
Few experienced programmers
31
A brief
history of AI

32
A brief history of AI
• 1940-1950: Early days - neural and computer science meet
• 1943: McCulloch & Pitts: Boolean circuit model of brain
• 1950: Turing's “C p Machinery and c ”
• 1950—70: Excitement! Logic-driven
• 1950s: Early AI programs, including Samuel's checkers program, Newell &
Simon's Logic Theorist, Gelernter's Geometry Engine
• 1956: Dartmouth meeting: “A f c c ” adopted
• 1965: Robinson's complete algorithm for logical reasoning

33
A brief history of AI
• 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 W ”
• 1990—2010: Statistical approaches
• Resurgence of probability, focus on uncertainty
• Agents and learning systems… “A Spring”?
• 1992: TD-Gammon attains human-level performance
• 1996: Kasparov defeats Deep Blue at chess
• 1997: Deep Blue defeats Kasparov at chess
• 2002: Embodied AI; Roomba vacuum invented

34
A brief history of AI
• 2010—2017: Big Data, GPUs, Deep Learning
• 2011: Apple releases SIRI
• 2012: AlexNet (neural net) wins ImageNet (image recognition) competition
• 2015: DeepMind achieves human-level control in Atari games
• 2016: D pM ’ AlphaGo beat Go Master, Lee Sedol
• 2016: Google Translate migrates to neural networks
• 2017—: Scaling up, Large Language Models
• 2017: Google invents Transformer architecture
• 2017: DeepStack and Libratus defeat humans at poker
• 2018-2020: AlphaFold predicts protein structure from amino acids
• 2021-2022: Modern text-to-image generation
• 2022: OpenAI release ChatGPT

35
A brief history of AI

36
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 ”?
• 2000—: Where are we now?

37
A demo of artificial neural network

Source: [Link]
38
AI Applications

39
Autonomous Planning and Scheduling

Autonomous rovers
Autonomous rovers

Telescope scheduling

Analysis of data 40
Medicine

Classification on
medical images

Have you obtained positive cultures?


Yes.
What type of infection is it?
Primary bacteremia.
When did the symptoms first appear?
May 5
Diagnosis system
I recommend gentamycin using a doze of ...
(e.g., MYCIN)
41
Games and Entertainment

42
What are we
going to learn?

43
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.
• A …

We won’t have time in this course to consider all of these.


44
Solving problems by searching
• Search is the fundamental technique of AI.
• Possible answers, decisions or courses of action are structured into
an abstract space, which we then search.
• Search is either “ f ” or “ f ”
• Uninformed: we move through the space without worrying about
what is coming next, but recognizing the answer if we see it
• Informed: we guess what is ahead and use that information to decide
where to look next.
• We may want to search for the first answer that satisfies our
goal or keep searching until we find the best answer.

45
Solving problems by searching
• Uninformed and informed strategies
• Global vs. local search

46
Solving problems by searching
• Adversarial search
• Constraint satisfaction problems

47
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 ?

48
Knowledge and reasoning
• Propositional logic and predicate logic
• Inference techniques: forward chaining, backward chaining,
and resolution
• Uncertain knowledge and reasoning

49
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 ?

50
Machine learning
• Classification with ID3 Decision tree and Naïve Bayes
• Artificial neural networks

51
Learning material
• Text book: [Link]
• Reference course: UC Berkely. CS188 Intro to AI

52
What Can AI Do?

Quiz: Which of the following can be done at present?

• Play a decent game of table tennis?


• Play a decent game of Jeopardy?
• Drive safely along a curving mountain road?
• Drive safely along Telegraph Avenue?
• Buy a week's worth of groceries on the web?
• Buy a week's worth of groceries at Berkeley Bowl?
• Discover and prove a new mathematical theorem?
• Converse successfully with another person for an hour?
• Perform a surgical operation?
• Translate spoken Chinese into spoken English in real time?
• Fold the laundry and put away the dishes?
• Write an intentionally funny story?
THE END

54

You might also like