Jump to Section:
·
The
CS-271 Final Exam key is posted below and is also available here.
·
Please
send your project team member’s
names and ID#s, and your team name, to the tournament directors:
Alex
Van Buskirk <avanbusk@uci.edu> (especially for
the Java version)
Thomas
Bennett <tebennet@uci.edu> (especially for the C++ version)
·
As
announced on the class mailing list, the tournament settings will change very
slightly:
7
rows, 9 columns, 5 in a row to win, gravity off
In
case of tie:
7
rows, 11 columns, 6 in a row to win, gravity off
The
reason for this is to try to avoid a forced win for the first player.
·
As announced in lecture, the Project
due date is extended to the midnight at the close of Monday, 18 March. Bonus
points will be awarded to students who turn it in by the original due date, the
midnight at the close of Friday, 15 March.
·
The
Project Report template is posted below and is also available here [Word; PDF]. As
announced in lecture, it is intended to be fairly simple and not burdensome.
·
The
answer key to Quiz #4 is posted below and is also available here. In order to help you study for the Final
Exam, I also have provided you an extensive analysis of common errors. Please study it carefully to ensure that
you understand it thoroughly and will get it right if similar questions appear
again.
·
I believe that I have now fixed all of
the broken links below. Please notify me by email if you find a link that does not
seem to work properly. One Bonus Point will be awarded for each detected broken
link.
·
As
announced in class, the pedagogical device of Problem #2 of Quiz #3 is now
extended to all problems of Quiz #3. To recover 50% of your missed points on
Problem #1 or #3, include a brief description of how you have repaired your
knowledge base so that the mistake will not happen again --- this means, what
do you now understand that you did not understand before, so that if the
problem (say) were to appear again on the Final Exam, you would answer the
problem correctly.
·
The
tournament directors and coders have released new versions of the shells that
improve a few minor things --- you don’t have to change your code. You may wish to use these improved
shells; see the Project section.
·
Problem
#2 of Quiz #3 is now a pedagogical device (available here).
You may, if you wish, recover 50% of your missed points by showing that you
have debugged and repaired your knowledge base. For each item on which you lost
points:
(a)
write in the (incorrect) answer that you provided;
(b)
provide an equivalent English sentence, i.e., one that
is true in exactly the same possible worlds; and
(c)
explain how your knowledge base been repaired so that
the error will not happen again?
To
recover 50% of your points, turn in your completed exercise WITH YOUR QUIZ in class Thursday, 14 March.
Please staple
the pages to your quiz.
·
The
Quiz #3 answer key is posted below and is also available here.
·
As
announced in lecture last week, the required reading for discussion this
Thursday, 28 Feb, is:
Searching
for Commonsense: Populating Cyc from the Web, Matuszek et al, AAAI 2005
(URL
(background) https://www.aaai.org/Library/AAAI/2005/aaai05-227.php)
(URL
(paper) https://www.aaai.org/Papers/AAAI/2005/AAAI05-227.pdf)
It had
been displaced in the syllabus below, but now is returned to its correct place.
·
The
Mid-term Exam key has been posted below and is also available here.
·
A
new version of the C++ project shell is available. It now passes in the win
parameter K corresponding to the number of aligned squares needed to win the
game. The new version is available here, and
below in the Project section.
·
In
order to reduce the amount of reading and focus on the most interesting
passages, the required reading of "Deep Blue" for Thursday, 31 Jan,
is hereby restricted to the following sections: 2, 3.2, 3.3, 7.1, 7.3, 8.1,
8.4, & 9.
· Project shells and a project specification have been released. See the Project section below.
· All confirmations for the CS MS Exam that I am aware of have been sent. If you intend to have this class qualify for the CS MS Exam, and you have not received a confirmation, please notify me immediately.
·
I
have created two CS-271 MessageBoard forums at EEE:
(1)
Class Discussion; and
(2)
Seeking project programming team partner.
(If you send email, please put “CS-271” somewhere in the Subject line.)
The course content is organized roughly around what are often considered to be three central pillars of AI: Search, Logic, and Learning. Topics covered include basic search, heuristic search, game search, constraint satisfaction, knowledge representation, logic and inference, probabilistic modeling, and machine learning algorithms.
The
course is based on, and the UCI bookstore has, the 3rd edition. The assigned
textbook reading is required, and is fair game for quizzes and exams. You place yourself at a distinct
disadvantage if you do not have the textbook.
R&N
estimates that about 20% of the material in the 3rd edition is new
from the 2nd edition.
Several of the chapters and exercises have been rearranged.
(A kind and helpful student
has elucidated some of the differences between the 2nd & 3rd
editions; click here.)
Also,
for your convenience, I have requested that a copy of the textbook be placed on
reserve in the UCI Science Library. There is a two-hour check-out limit.
I do
deplore the high cost of textbooks.
You are likely to find the book cheaper if you search online at
EBay.com, Amazon.com, Chegg.com, and related sites.
A student
kindly contributed the following suggestion, for which I cannot vouch, and
which I provide for your use if it is useful to you:
Hello,
I just wanted to point out that there does exist an
international edition of the book which can be bought for around $40-50. I
cannot comment on what specific differences there are for this particular book,
though they are usually very small (exercises moved around, etc).
Obviously, it is in paperback.
http://www.valorebooks.com/affiliate/buy/siteID=e79mzf/ISBN=0136042597
http://www.abebooks.com/servlet/BookDetailsPL?bi=4161131466&cm_ven=sws&cm_cat=sws&cm_pla=sws&cm_ite=4161131466&afn_sr=para¶_l=1
http://www.biblio.com/books/360025589.html
Personally I plan on using this book for a while so I bought the hardcover
version, but I just wanted to point out that this is an option for those
looking for a more 'economical' route.
~ XXXXXX [name anonymized to protect student privacy]
You must notify me if
you intend to use this course to satisfy the CS M.S.
Comprehensive Exam requirement (info from the ICS SAO appears here). If you so intend, please email me IMMEDIATELY stating your
intention, and no later than one week before the Mid-term Exam.
Please include your
full name and your UCI Student ID#.
Send the message from your UCI email account (to ensure integrity and
prevent identity theft).
The UCI Registrar
will not allow me to post a list of students who have so notified me (because
of student privacy regulations). You are NOT registered
for the CS MS Exam UNLESS you have received an email message from me that
states explicitly, “I hereby confirm
you for the CS-271 CS MS Exam.”
The following represents a preliminary syllabus. Some changes in the
lecture sequence may occur due to earthquakes, fires, floods, wars, natural
disasters, unnatural disasters, or the discretion of the instructor based on
class progress.
Detailed Schedule, Background Reading, and Lecture Slides will be changed
or revised as the class progresses at the discretion of the instructor. Please note: I may tweak or revise the lecture slides
just prior to the lecture; please ensure that you have the current version.
Tue., 8 Jan., Introduction, Agents.
Read
in Advance: Textbook Chapters 1-2.
Lecture
slides: Introduction, Agents [PDF; PPT].
Optional Cultural Interest:
IBM's Watson supercomputer
destroys all humans in Jeopardy
AI vs. AI.
Two chatbots talking to each other.
How IBM's Watson
supercomputer wins at Jeopardy, with IBM's Dave Gondek
IBM Watson: Final Jeopardy! and the Future of Watson
Thu., 10 Jan., Uninformed Search.
Read
in Advance: Textbook Chapter 3.1-3.4.
Lecture
slides (two parts):
(1)
Introduction to Search [PDF; PPT]; and
(2)
Uninformed Search [PDF; PPT].
Required Reading for next discussion: John McCarthy, “What Is Artificial Intelligence?”
(URL
http://www-formal.stanford.edu/jmc/whatisai.pdf)
Optional
Reading: HTML and
other versions of “What is AI?”
Optional
URL: John McCarthy Homepage
Optional Cultural Interest:
Boston Dynamics Big Dog (new
video March 2008)
Tue., 15 Jan., start Heuristic Search.
Read
in advance: Textbook Chapter
3.5-3.7.
Lecture
slides: Heuristic Search [PDF; PPT]
Optional Cultural Interest:
“Singularity Institute for Artificial Intelligence- P1/2 - Video Dailymotion”
“Singularity Institute for Artificial Intelligence”
“Singularity Institute - Wikipedia, the free encyclopedia”
Singularity Institute home page
Optional
Cultural Interest:
A* Search in
Interplanetary Trajectory Design courtesy of Eric Trumbauer,
former CS-271 student.
Eric
comments, “One thing to possibly discuss with the last slide is that the
itinerary it settles on does stay at a higher energy for a little bit until it
passes closest to Europa, maximizing the velocity before the insertion sequence
to the lower energy. This is indeed
optimal behavior, as opposed to immediately reducing its energy as a Greedy
Best First algorithm using this heuristic would want to do.”
Optional
Cultural Interest: Infinite
Mario AI - Long Level
An attempt at a Mario AI using the A* path-finding algorithm.
It
claims the bot won both Mario AI competitions in 2009.
See
also http://www.marioai.org/.
Thu., 17 Jan., finish Heuristic Search, start Local Search; discuss previous Required
Reading.
Read in advance: Textbook Chapter 4.1-4.2.
Lecture
slides: Heuristic Search (above); Local Search [PDF; PPT].
Required Reading for next
discussion:
Minton,
et. al., 1990, AAAI "Classic Paper"
Award recipient in 2008.
How to solve the 1 Million Queens problem and schedule the Hubble telescope.
(URL
http://www.aaai.org/Papers/AAAI/1990/AAAI90-003.pdf)
Optional
Reading: “Autonomous Driving in Traffic: Boss and the Urban
Challenge” (2009).
(URL
http://www.ri.cmu.edu/pub_files/2009/6/aimag2009_urmson.pdf)
Optional
Reading: “Stanley:
The Robot that Won the DARPA Grand Challenge” (2005).
Optional
Reading: DARPA Grand Challenge Wikipedia info.
Optional
URL: DARPA Grand
Challenge website.
Optional Cultural Interest:
DARPA Urban Challenge
Highlights
Princeton
DARPA Grand Challenge - Crash Video
DARPA Urban Challenge: Ga Tech hits curb
DARPA Urban Challenge - Sting
Racing crash
Team Oshkosh attempts forced
Entry to Main Exchange
Alice's Crash (spectator
view)
Alice's Crash (road-finding
camera) [different view of above; long]
DARPA Urban Challenge Crash
Cornell MIT
DARPA Urban Challenge - robot
car wreck [different view of above]
Optional Ungraded Homework:
Tue.,
22 Jan., Quiz #1
(answer key here);
finish Local Search.
Read in advance: Textbook
Chapters 3, 4.1-4.2.
Lecture
slides: Local Search (above); Review Search [PDF; PPT].
Optional Cultural Interest:
Thu., 24 Jan., start Games/Adversarial Search; discuss previous Required
Reading.
Read in advance: Textbook
Chapter 5.1-5.5.
Lecture
slides: Games/Adversarial Search [PDF; PPT].
Required Reading for next
discussion:
Campbell, et al., 2002, Artificial
Intelligence, “Deep Blue.” [PDF]
(URL
http://www.sciencedirect.com/science/article/pii/S0004370201001291)
The required reading is only
sections 2, 3.2, 3.3, 7.1, 7.3, 8.1, 8.4, & 9.
Optional Reading: Newell
& Simon’s “Symbols and Search” Turing Award Lecture
(1976).
Herbert Simon was awarded a Nobel
Prize (in economics, 1978).
Optional URL: “Boxcar 2D”
The
program learns to build a car using a genetic algorithm.
It
starts with a population of 20 randomly generated shapes with wheels and runs
each one to see how far it goes.
The
cars that go the furthest reproduce to produce offspring for the next
generation.
The
offspring combine the traits of the parents to hopefully produce better cars.
Optional Ungraded Homework:
Tue., 29 Jan., finish Games/Adversarial Search; overview
Representation.
Read in advance: Textbook
Chapter 5.1-5.5.
Lecture
slides (two parts):
(1)
Games/Adversarial Search (above).
(2)
Representation [PDF; PPT].
Optional Cultural Interest:
Arthur
C. Clarke “Quarantine.”
A science fiction short story written by a classic master, in 188
words.
He
was challenged to write a science fiction short story that would fit on a
postcard.
A
game we won’t study in this class --- Robot Soccer.
RoboCup
2012 Standard Platform: USA / Germany (Final).
Optional Reading: Chaslot, et al.,
“Monte-Carlo
Tree Search: A New Framework for Game AI,”
in Proceedings
of the Fourth Artificial Intelligence and Interactive Digital Entertainment
Conference,
AAAI Press, Menlo Park, pp. 216-217, 2008.
An interesting combination of Local Search (Chapter 4) and Game
Search (Chapter 5).
Optional URL: “Everything
Monte Carlo Tree Search” website.
Thu., 31 Jan., start Constraint Satisfaction; discuss previous Required
Reading.
Read in advance: Textbook
Chapter 6.1-6.4, except 6.3.3.
Lecture
slides: Constraint Satisfaction Problems [PDF;
PPT].
Required Reading for next
discussion:
Alan
Turing’s classic paper on AI (1950).
(URL
http://www.loebner.net/Prizef/TuringArticle.html)
Alan
Turing is the most famous computer scientist of all time.
The Turing Award is the
highest honor in computer science.
The Turing Machine is
still our fundamental theoretical model of computation.
Turing’s work on the
Enigma code in WWII led to programmable computers.
Optional Reading: AAAI/AI Topics: The Turing Test: “Can Machines
Think?”
Optional Reading: Wikipedia “Computing
Machinery and Intelligence”
Optional Cultural Interest:
Audi's automatic driving for parking.
Optional Ungraded Homework:
Tue.,
5 Feb., Quiz
#2 (answer key here);
finish Constraint Satisfaction.
Read in advance: Textbook Chapter 6.1-6.4, except 6.3.3.
Lecture
slides: Constraint Satisfaction Problems (above).
Thu., 7 Feb., Catch-up, Review for Mid-term Exam;
NO Required Reading
discussion, due to exam.
Read in advance: Textbook
Chapters 1-2, (as
above).
Lecture
slides: Catch-up, Review, Question&Answer [PDF; PPT].
Required Reading for next
discussion: Same as last week, Turing’s paper.
Tue., 12 Feb., Mid-term
Exam (answer key here).
Read in advance: Textbook
Chapter 1-6 (as restricted above).
No lecture slides, due to
exam.
Thu., 14 Feb., Review Mid-term Exam; start Propositional
Logic; discuss previous
Required Reading.
Read in advance: Textbook Chapter 7.1-7.4.
Lecture
slides: Propositional Logic A [PDF; PPT].
Required Reading for next
discussion:
Ferrucci, et al., 2010, “Building Watson: An Overview of the DeepQA Project”
(URL
https://www.aaai.org/ojs/index.php/aimagazine/article/view/2303/2165)
Optional Ungraded Homework:
Tue., 19 Feb., finish Propositional Logic.
Read in advance: Textbook Chapter 7.5-7.8.
Lecture
slides: Propositional Logic B [PDF; PPT].
Thu., 21 Feb., start Chapter 8 (First Order Logic);
discuss previous Required
Reading.
Read in advance: Textbook Chapter 8.1-8.3.
Lecture
slides: First Order Predicate Calculus (FOPC) [PDF; PPT].
Required Reading for next
discussion:
Searching
for Commonsense: Populating Cyc from the Web, Matuszek et al, AAAI 2005
(URL
(background) https://www.aaai.org/Library/AAAI/2005/aaai05-227.php)
(URL
(paper) https://www.aaai.org/Papers/AAAI/2005/AAAI05-227.pdf)
Optional
Ungraded Homework:
Tue., 26 Feb., Quiz
#3 (answer key here;
pedagogy here);
Finish Chapter 8 (First Order Logic).
Read
in advance: Textbook Chapter 8.4-8.5.
Lecture
slides (two parts):
(1)
Finish FOPC [PDF;
PPT]; and
(2)
Knowledge Representation in FOPC [PDF; PPT].
Optional
Cultural Interest:
“Quadrocopter Pole Acrobatic” (URL: https://www.youtube.com/watch?v=pp89tTDxXuI
)
“Nano Quadcopter
Robots swarm video”
The
Stanford Autonomous Helicopter performing an aerobatic airshow under computer
control:
“Stanford Autonomous
Helicopter - Airshow #1”
“Stanford Autonomous
Helicopter - Airshow #2 Redux”
Thu., 28 Feb., Inference in First Order Logic;
discuss previous Required
Reading.
Read
in advance: Textbook Chapter 9.
Lecture
slides: Inference in First Order Predicate Calculus (FOPC) [PDF; PPT].
Required Reading for next
discussion:
Is actually a video, Judea Pearls 2011 Turing Award lecture.
(URL:
http://amturing.acm.org/vp/pearl_2658896.cfm
)
The
Mechanization of Causal Inference: A “mini” Turing Test and Beyond.
Optional
Ungraded Homework:
Tue., 5 Mar., Probability, Uncertainty, Bayesian Networks.
Read
in advance: Textbook Chapters 13, 14.1-14.2.
Lecture
slides (two parts):
(1)
Probability, Uncertainty [PDF; PPT].
(2)
Bayesian Networks [PDF; PPT].
Optional
Cultural Interest:
p53
and Cancer Research - UC Irvine
Optional
URL: “Peter Norvig
12. Tools of AI: from logic to probability.”
Thu., 7 Mar., start Learning from Examples; discuss previous Required
Reading (video of Pearl’s Turing lecture).
Read
in advance: Textbook Chapter 18.1-18.4.
Lecture
slides: Intro to Machine Learning [PDF; PPT].
NO required reading for next
week: study for the Final Exam.
Optional
Cultural Interest:
“IBM
simulates 530 billon neurons, 100 trillion synapses on supercomputer”
“Speech Recognition Breakthrough for the Spoken, Translated Word”
Optional
Reading: Viola&Jones, 2004, Robust Real-Time Face Detection
Optional
Reading: Freund&Schapire,
1999, A Short Introduction to Boosting
Optional
Reading: Danziger, et al., 2009, Predicting Positive p53 Cancer
Rescue Regions Using Most Informative Positive (MIP) Active Learning
Tue.,
12 Mar., Quiz #4
(answer key here);
finish Learning from Examples, start Probabilistic Learning.
Read
in advance: Textbook Chapter 18.5-18.12, 20.1-20.3.2.
Lecture
slides: Learning Classifiers, Boosting [PDF;
PPT].
Optional
Cultural Interest:
Thu., 14 Mar., Catch-up, Review for Final Exam; NO Required Reading discussion, due to
exam.
Read
in advance: Textbook, review all assigned reading
No
lecture; open Question
& Answer session.
Lecture
slides: Review, Catch-up, Question&Answer [PDF; PPT].
No required reading: study for
the Final Exam.
Fri., 15 Mar., midnight (i.e., the midnight between Friday and
Saturday).
Please
deposit in EEE Dropbox as instructed.
Fri.,
22 Mar., 10:30am-12:30pm Final
Exam (answer key here)
NOTE: Final Exam time is
10:30am, NOT the regular class time of 12:30pm.
Place:
DBH-1300 (DBH = Donald Bren Hall, building 314 on the UCI campus map)
Connect-K Game. This project
corresponds to Game Search (Chapter 5 in your book). Your job is to write an AI
agent that can beat you at Connect-K, i.e., to write the adversarial search
(game search) controller for a video game world. Shells will be available in
C++ and Java. I hope to be able to
run a tournament within which your AI controllers will compete against each
other for Bonus Points.
The Project Report
template is available here [Word; PDF].
A Java shell is available;
a C++ shell
is available; an
example dumb game is available; an
example smart game is available; a Project
Specification is available.
A tournament shell is
available (download cppTournament.zip) if you wish to play different
versions of your AI against themselves to refine your evaluation function.
Please contact the tournament directors and coders
directly with any questions or concerns:
Alex
Van Buskirk <avanbusk@uci.edu> (especially for
the Java version)
Thomas
Bennett <tebennet@uci.edu> (especially for the C++ version)
[Normally I
am very protective of student privacy; in this case, they have volunteered to
make their names and email addresses available to you.]
You are
required to form project teams of two students. It is not possible to have
one-person project teams.
Please
follow the Pair
Programming paradigm. One person types the code while the other looks over
their shoulder, and they switch roles frequently.
Previous CS-271
Quizzes, Mid-term exams, and Final exams are available here as study guides.
As an
incentive to study this material, at least one question from a previous Quiz or
Exam will appear on every new Quiz or Exam. In particular, questions that many
students missed are likely to appear again. If you missed a question, please
study it carefully and learn from your mistake --- so that if it appears again,
you will understand it perfectly.
Winter
Quarter 2013:
Mid-term
Exam and key
Final
Exam and key
Fall Quarter
2011:
Mid-term
Exam and key
Final
Exam and key
Fall Quarter
2010:
Mid-term
Exam and key
Final
Exam and key
Spring
Quarter 2010:
[No
Quizzes; Homeworks were given instead.]
Textbook website for Artificial
Intelligence: A Modern Approach (AIMA).
AIMA page for
additional online resources.
American Association for Artificial
Intelligence (AAAI) website.
AAAI AI Topics.
AAAI Student Resources. (apparently
has gone away in recent website reorganization?)
AAAI Classic Papers.
AAAI Annual Conference.
AAAIs
digital library of more than 10,000 AI technical papers
AAAIs
AI Magazine
AAAIs
Author Instructions
Academic dishonesty is unacceptable
and will not be tolerated at the University of California, Irvine. It is the
responsibility of each student to be familiar with UCI's current academic
honesty policies. Please take the time to read the current UCI Senate Academic
Honesty Policies and the Bren School Policies on Academic Honesty.
The policies in these documents will
be adhered to scrupulously. Any student who engages in cheating, forgery,
dishonest conduct, plagiarism, or collusion in dishonest activities, will
receive an academic evaluation of ``F'' for the entire course, with a letter of
explanation to the student's permanent file. The ICS Student Affairs Office
will be involved at every step of the process. Dr. Lathrop seeks to create a
level playing field for all students.