Professional Documents
Culture Documents
Artificial Intelligence
Lecture 1
Introduction
1
Reference Books
Textbook (Main):
1.
LISP:
1. Paul Graham, The ANSI Common Lisp , Prentice Hall , 1995.
2. Peter Seibel, Practical Common Lisp: Online at
http://www.gigamonkeys.com/book/
3. David S. Touretzky, Common Lisp: A Gentle Introduction to
Symbolic Computation, Benjamin/Cummings, 1990.
4. Winston & Horn, LISP , 3rd edition, Addison-Wesley, Reading, MA,
1989.
5. P. Blackburn, J. Bos and K. Striegnitz, Learn Prolog Now! Free
version of the book is available.
2
Introduction
Introduction
Example: Mundane tasks
Humans do such tasks easily
Natural language communicating with others in English or
other languages;
Introduction
Example: Mundane tasks
A human expert required for:
Medical diagnostics
Equipment repair
Computer configuration
Financial planning
Mundane tasks in general are much harder for a machine.
expert systems
6
What is AI?
Systems that think like humans
What is AI?
Systems that think like humans
Thinking Humanly
Thinking Rationally
Acting Humanly
Acting Rationally
C
Some Written questions
Written responses
Machine is intelligent if the interrogator cannot distinguish C from B
10
11
12
2.
15
16
Maximize goal,
given available
information
17
Foundations of AI
Different fields have contributed to AI in the form of ideas,
viewpoints and techniques.
Philosophy: Logic, reasoning, mind as a physical system, foundations of
learning, language and rationality.
Mathematics: Formal representation and proof algorithms, computation,
(un)decidability, (in)tractability, probability.
Economics: formal theory of rational decisions, game theory.
Neuroscience: physical substrate for mental activities (study of the brain).
Psychology: How do humans and animals think and act? (adaptation,
phenomena of perception and motor control).
Computer Engineering: How can be built an efficient computer?
Control theory and Cybernetics: How can artifacts operate under their
own control? ( homeostatic systems, stability, optimal agent design).
Linguistics: How does language relate to thought? (knowledge
representation, grammar).
19
Foundations of AI
Philosophy
o
o
o
o
Mathematics
o
o
o
Logic
Computation
Probability
Economics
o
o
o
Foundations of AI
Neuroscience
o How do brain process information?
Psychology
o How do humans and animals think and act?
Computer engineering
o How can we build an efficient computer?
Linguistics
o How does language relate to thought?
21
AI History
Modern founders of AI
McCulloch & Pitts (neural nets)
Russell and Whitehead (a formal analysis of propositional
logic)
Alan Turing (Turing Test)
Norbert Wiener (cybernetics)
John von Neumann (von Neumann computer, game theory)
Claude Shannon (information theory)
Newell & Simon (the Logic Theorist theorem proving)
John McCarthy (LISP, Artificial Intelligence term)
Marvin Minsky (first NN computer, microworlds-limited
domain problems)
and many more
22
A (Short) AI of History
23
etc.
25
AI: Branches
Symbolic Computation (Logical AI & Search)
Using programs like LISP and PROLOG.
Emphasis in
this course
26
27
Primary AI languages
Prolog
First Prolog program: France, 1970
Based on theorem proving research
Major development at University of Edinburgh, 1975-79
Adopted by the Japanese Fifth Generation Computing Project
Primary AI languages
Prolog Example
likes(deb,horses).
likes(deb,dogs).
?- likes(deb,horses).
yes
likes(deb,X).
X=horses
X=dogs
likes(deb,Y) :- horse(Y).
horse(robin).
?- likes(deb,robin).
yes
29
Primary AI languages
LISP
Proposed by McCarthy, late 1950s; contemporary of COBOL,
FORTRAN
30
Primary AI languages
LISP Example
(defun hypotenuse (x y)
(sqrt (+ (square x) (square y))))
> (hypotenuse 4 3)
5
31
34
35
AI Programming Languages
Lisp
1. Allegro CL for Windows, Linux, and FreeBSD: a free demo
version from Franz Inc.
2. CLISP: a portable ANSI Common Lisp System (download).
3. CMUCL Home Page: the new official home of CMU
Common Lisp. (This implementation can be run on the
EMCF machines using the script at /usr/local/bin/cmulisp.
4. Freelisp for Windows or Linux, free demo versions of
LispWorks, and Lucid Common Lisp.
36
AI Programming Languages
PROLOG
1. Ivan Bratko, Prolog Programming for Artificial Intelligence,
third edition, Addison Wesley.
2. Leon Sterling and Ehud Shapiro, The art of Prolog:
Advanced programming techniques, MIT Press 1986
3. SWI Prolog Users Manual available at
http://www.swi-prolog.org/dl-doc.html
SWI Prolog web site http://www.swi-prolog.org/
37
The End
38