om
Introduction
nh
Vi
en
• A brief history of AI
Zo
• The foundations of AI
ne
.C
• What is AI?
• The state of the art
Si
• Introductory problems
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
1
13 February, 2009
/>
Si
nh
Vi
en
Zo
ne
.C
om
What is AI?
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
2
13 February, 2009
/>
om
What is AI?
.C
• Intelligence: “ability to learn, understand and think”
Si
nh
Vi
en
Zo
ne
(Oxford dictionary)
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
3
13 February, 2009
/>
.C
om
What is AI?
Zo
Acting rationally
Si
nh
Vi
en
Acting humanly
Thinking rationally
ne
Thinking humanly
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
4
13 February, 2009
/>
om
Acting Humanly: The Turing Test
Si
nh
Vi
en
Zo
ne
.C
• Alan Mathison Turing (1912-1954)
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
5
13 February, 2009
/>
om
Turing Award
ne
.C
• A.M. Turing Award
ACM's most prestigious technical award is accompanied by a
Zo
prize of $250,000. It is given to an individual selected for
nh
Vi
en
contributions of a technical nature made to the computing
community. The contributions should be of lasting and major
technical importance to the computer field. Financial support of
Si
the Turing Award is provided by the Intel Corporation and
Google Inc.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
6
13 February, 2009
/>
Turing Award
2000 Yao, Andrew Chi-Chih
1988 Sutherland, Ivan
1999 Brooks, Frederick P.
1987 Cocke, John
2006 Allen, Frances E
1998 Gray, Jim
1986 Hopcroft, John E
1986 Tarjan, Robert E
2004 Cerf, Vinton
2004 Kahn, Robert E
1995 Blum, Manuel
2002 Adleman, Leonard M.
2002 Rivest, Ronald L.
2002 Shamir, Adi
2001 Dahl, Ole-Johan
2001 Nygaard, Kristen
1994 Feigenbaum, Edward
199 Reddy, Raj
nh
Vi
en
2003 Kay, Alan
1993 Hartmanis, Juris
1993 Stearns, Richard E
1992 Lampson, Butler W.
Si
1991 Milner, A J
1990 Corbato, Fernando J.
1989 Kahan, William
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
1985 Karp, Richard M
1974 Knuth, Donald E.
1984 Wirth, Niklaus E
Zo
1996 Pnueli, Amir
1975 Newell, Allen
1975 Simon, Herbert A.
.C
1997 Engelbart, Douglas
1976 Rabin, Michael O.
1976 Scott, Dana S
ne
2005 Naur, Peter
1977 Backus, John
om
2007 Clarke, Edmund M
2007 Emerson, E Allen
2007 Sifakis, Joseph
1983 Ritchie, Dennis M.
1983 Thompson, Kenneth Lane
1982 Cook, Stephen A
1981 Codd, Edgar F.
1980 Hoare, C. Antony R.
1979 Iverson, Kenneth E.
1978 Floyd, Robert W
1973 Bachman, Charles W.
1972 Dijkstra, E. W.
1971 McCarthy, John
1970 Wilkinson, J. H.
1969 Minsky, Marvin
1968 Hamming, Richard
1967 Wilkes, Maurice V.
1966 Perlis, A. J.
7
13 February, 2009
/>
om
Acting Humanly: The Turing Test
Si
nh
Vi
en
Zo
ne
.C
• “Computing Machinery and Intelligence” (1950)
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
8
13 February, 2009
/>
.C
om
Acting Humanly: The Turing Test
nh
Vi
en
Zo
ne
Imitation Game
AI System
Si
Human Interrogator
Human
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
9
13 February, 2009
/>
om
Acting Humanly: The Turing Test
.C
• Predicted that by 2000, a machine might have a 30%
ne
chance of fooling a lay person for 5 minutes.
nh
Vi
en
following 50 years.
Zo
• Anticipated all major arguments against AI in
• Suggested major components of AI: knowledge,
Si
reasoning, language, understanding, learning.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
10
13 February, 2009
/>
om
Thinking Humanly: Cognitive Modelling
.C
• Not content to have a program correctly solving a
ne
problem.
nh
Vi
en
Zo
More concerned with comparing its reasoning steps
to traces of human solving the same problem.
• Requires testable theories of the workings of the
Si
human mind: cognitive science.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
11
13 February, 2009
/>
om
Thinking Rationally: Laws of Thought
.C
• Aristotle was one of the first to attempt to codify “right
ne
thinking”, i.e., irrefutable reasoning processes.
Zo
• Formal logic provides a precise notation and rules for
• Obstacles:
nh
Vi
en
representing and reasoning with all kinds of things in
the world.
Si
− Representation of informal knowledge.
− Computational complexity and resources.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
12
13 February, 2009
/>
om
Acting Rationally
.C
• Acting so as to achieve one’s goals, given one’s
ne
beliefs.
nh
Vi
en
Zo
• Does not necessarily involve thinking.
• Advantages:
− More general than the “laws of thought” approach.
Si
− More amenable to scientific development than humanbased approaches.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
13
13 February, 2009
/>
.C
• Philosophy (423 BC − present):
om
The Foundations of AI
ne
− Logic, methods of reasoning.
nh
Vi
en
Zo
− Mind as a physical system.
− Foundations of learning, language, and rationality.
• Mathematics (c.800 − present):
− Formal representation and proof.
Si
− Algorithms, computation, decidability, tractability.
− Probability.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
14
13 February, 2009
/>
.C
• Psychology (1879 − present):
om
The Foundations of AI
ne
− Adaptation.
nh
Vi
en
Zo
− Phenomena of perception and motor control.
− Experimental techniques.
• Linguistics (1957 − present):
− Knowledge representation.
Si
− Grammar.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
15
13 February, 2009
/>
om
A Brief History of AI
.C
• The gestation of AI (1943 − 1956):
ne
− 1943: McCulloch & Pitts: Boolean circuit model of brain.
nh
Vi
en
Zo
− 1950: Turing’s “Computing Machinery and Intelligence”.
− 1956: McCarthy’s name “Artificial Intelligence” adopted.
• Early enthusiasm, great expectations (1952 − 1969):
Si
− Early successful AI programs: Samuel’s checkers,
Newell & Simon’s Logic Theorist, Gelernter’s Geometry
Theorem Prover.
− Robinson’s complete algorithm for logical reasoning.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
16
13 February, 2009
/>
.C
• A dose of reality (1966 − 1974):
om
A Brief History of AI
ne
− AI discovered computational complexity.
nh
Vi
en
Zo
− Neural network research almost disappeared after
Minsky & Papert’s book in 1969.
• Knowledge-based systems (1969 − 1979):
− 1969: DENDRAL by Buchanan et al..
Si
− 1976: MYCIN by Shortliffle.
− 1979: PROSPECTOR by Duda et al..
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
17
13 February, 2009
/>
om
A Brief History of AI
.C
• AI becomes an industry (1980 − 1988):
ne
− Expert systems industry booms.
Zo
− 1981: Japan’s 10-year Fifth Generation project.
nh
Vi
en
• The return of NNs and novel AI (1986 − present):
Si
− Mid 80’s: Back-propagation learning algorithm reinvented.
− Expert systems industry busts.
− 1988: Resurgence of probability.
− 1988: Novel AI (ALife, GAs, Soft Computing, …).
− 1995: Agents everywhere.
− 2003: Human-level AI back on the agenda.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
18
13 February, 2009
/>
om
The State of the Art
nh
Vi
en
Expert system controls a spacecraft.
Robot can walk on stairs and hold a cup of water.
Language translation for webpages.
Si
•
•
•
•
•
Zo
recognition.
ne
.C
• Computer beats human in a chess game.
• Computer-human conversation using speech
Home appliances use fuzzy logic.
......
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
19
13 February, 2009
/>
ne
.C
X
Zo
o
Si
nh
Vi
en
X
om
Introductory Problem: Tic-Tac-Toe
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
20
13 February, 2009
/>
om
Introductory Problem: Tic-Tac-Toe
.C
Program 1:
nh
Vi
en
Zo
ne
1. View the vector as a ternary number. Convert it to a
decimal number.
2. Use the computed number as an index into
Move-Table and access the vector stored there.
Si
3. Set the new board to that vector.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
21
13 February, 2009
/>
om
Introductory Problem: Tic-Tac-Toe
.C
Comments:
Zo
ne
1. A lot of space to store the Move-Table.
nh
Vi
en
2. A lot of work to specify all the entries in the
Move-Table.
Si
3. Difficult to extend.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
22
13 February, 2009
/>
om
Introductory Problem: Tic-Tac-Toe
Si
nh
Vi
en
Zo
ne
.C
1 2 3
4 5 6
7 8 9
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
23
13 February, 2009
/>
om
Introductory Problem: Tic-Tac-Toe
Go(1)
If Board[5] is blank, Go(5), else Go(1)
If Board[9] is blank, Go(9), else Go(3)
If Posswin(X) ≠ 0, then Go(Posswin(X))
Si
nh
Vi
en
Zo
ne
Turn = 1
Turn = 2
Turn = 3
Turn = 4
.......
.C
Program 2:
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
24
13 February, 2009
/>
om
Introductory Problem: Tic-Tac-Toe
.C
Comments:
nh
Vi
en
Zo
ne
1. Not efficient in time, as it has to check several
conditions before making each move.
2. Easier to understand the program’s strategy.
Si
3. Hard to generalize.
Cao Hoang Tru
CSE Faculty - HCMUT
SinhVienZone.com
25
13 February, 2009
/>