CPSC 422 - Artificial Intelligence 2 - Intelligent Systems (Term2,  Spring 2014)
Overview  Grades Textbook Schedule Readings


 

Overview

Course Description:  This is an advanced AI course that builds on the foundations of CPSC 322 and CSPC 312 to show how to build intelligent agents that can observe the world, create appropriate representations, perform inference on those and act appropriately. Such agents include robots, intelligent tutoring systems, diagnostic agents, purchasing agents, and game agents.

We will begin by expanding on what we discussed in CPSC 322 about decision making under uncertainty, and spend some time on the issues that arise in multi-stage decision processes, including planning and learning for acting. We will then cover approximate inference in Bnets and more efficient temporal inferences in HMM. Other graphical models will be also covered, including Conditional Random Fields (CRFs) and LDA models. We will then switch to Deterministic environments and expand the treatment of logics from  CPSC 322, considering First Order Logics (FOL), satisfiability and ontologies. Finally, we will study representations that attempt to combine Logics with Probabilities, like Markov Logics and Probabilistic Relational Models.  Throughout, we will pay special attention to the understanding the state of the art and we will discuss several applications and research papers.

Grades

Grading Scheme: Evaluation will be based on a set of  assignments, a midterm, and an exam. Important: you must pass the final in order to pass the course. The instructor reserves the right to adjust this grading scheme during the term, if necessary.

If your grade improves substantially from the midterm to the final, defined as a final exam grade that is at least 20% higher than the midterm grade, then the following grade breakdown will be used instead.

The assignment grade will be computed by adding up the number of points you get across all assignments, dividing this number by the number of possible points, and multiplying by 20.  Assignments will not be graded out of the same number of points; this means that they will not be weighted equally.

Late Assignments: Assignments are to be handed in BEFORE the start of lecture on the due date. However, every student is allotted four "late days", which allow assignments to be handed in late without penalty on three days or parts of days during the term.  The purpose of late days is to allow students the flexibility to manage unexpected obstacles to coursework that arise during the course of the term, such as travel, moderate illness, conflicts with other courses, extracurricular obligations, job interviews, etc.  Thus, additional late days will NOT be granted except under truly exceptional circumstances.  If an assignment is submitted late and a student has used up all of her/his late days, 20% will be deducted for every day the assignment is late. (E.g., an assignment 2 days late and graded out of 100 points will be awarded a maximum of 60 points.)

How late does something have to be to use up a late day? A day is defined as a 24-hour block of time beginning at 10AM on the day an assignment is due.  To use a late day, write the number of late days claimed on the first page of your assignment

 Examples:

Assignments can be handed in electronically using handin; this is the only way to hand in late assignments over a weekend. Written work can also be put in Giuseppe's mailbox in the main CS office (room 201); ask the secretary to time-stamp it.

Missing Deadlines or Exams: In truly exceptional circumstances, when accompanied by a note from Student Health Services or a Department Advisor, the following arrangements will be made.

Academic Conduct: Submitting the work of another person as your own (i.e. plagiarism) constitutes academic misconduct, as does communication with others (either as donor or recipient) in ways other than those permitted for homework and exams. Such actions will not be tolerated. Specifically, for this course, the rules are as follows:

Violations of these rules constitute very serious academic misconduct, and they are subject to penalties ranging from a grade of zero on the current and *all* the previous assignments to indefinite suspension from the University. More information on procedures and penalties can be found in the Department's Policy on Plagiarism and collaboration and in  UBC regulations on student discipline . If you are in any doubt about the interpretation of any of these rules, consult the instructor or a TA!

Readings: what to do

Textbook

Selected Chapters of Artificial Intelligence: foundations of computational agents by David Poole and Alan Mackworth, Cambridge University Press, 2010 - Complete book available online and possibly from Russell and Norvig's Artificial Intelligence: A Modern Approach (third edition) [webpage]. I've arranged for a copy to be put on reserve in the CS reading room.. Although these texts will be our main reference for the class, it must be stressed that you will need to know all the material covered in class, whether or not it is included in the readings or available on-line.  Likewise, you are responsible for all the material in assigned readings, whether or not it is covered in class. 

Schedule

Here is where you can find the course schedule and the PPT and PDF files from lectures. These dates will change throughout the term, but this schedule will be kept up to date.  Assignment due dates are provided to give you a rough sense; however, they are also subject to change. I will try to always post the slides in advance (by 9am). After class, I will post the same slides inked with the notes I have added in class.

Date Lecture Notes
1 Mon, Jan 6 Course Overview [pdf ] Assignment 0
2 Wed, Jan 8 Value of Info and Control - start Markov Decision Processes (MDPs) [pdf ]  
3 Fri, Jan 10 MDP example start Value Iteration [pdf ] Assignment 0 due, Practice Ex 9.C
4 Mon, Jan 13 finish MDPs Value Iteration [pdf ] FYI (not a required reading!)
Planning with Markov Decision Processes: An AI Perspective, Synthesis Lectures on Artificial Intelligence and Machine Learning
June 2012, 210 pages
5 Wed, Jan 15 Partially Observable MDPs (POMDPs) [pdf ]  
6 Fri, Jan 17 POMDPs  (cont') [pdf ]  

See http://www.cs.uwaterloo.ca/~ppoupart/software.html for code and sample problems for Symbolic Perseus algorithm for factored POMDPs

7 Mon, Jan 20

 

Reinforcement Learning (RL) [pdf ]

 

- Assignment 1 out - Blackjack.xml Practice Ex 11.A

8 Wed, Jan 22 Reinforcement Learning (RL) (cont') [pdf ]  
9 Fri, Jan 24 Paper Discussion MDP for scheduling (Medicine) [ppt] [pdf] A Markov decision process approach to multi-category patient scheduling in a diagnostic facility, Artificial Intelligence in Medicine Journal, 2011 [pdf] MDPs vs. Heuristic Methods

 

10 Mon, Jan 27 Finish RL - SARSA [ pdf ] Ex  11.B
11 Wed, Jan 29 Recap BNets - Start Approximate Inference in BNets [pdf ] Practice Ex 6.E,     BN Company NorSys
12 Fri, Jan 31 Approx. Inference - Likelihood Weighting, MCMC (Gibbs Sampling) [pdf ] BNet tool (with approx. inference algorithms) GeNIe
13 Mon, Feb 3 Paper Discussion (ITS)   - Paper on application of a relatively large BNet (where approx. inference is needed) slides Using Bayesian Networks to Manage Uncertainty in Student Modeling. Journal of User Modeling and User-Adapted Interaction 2002  [pdf]  Dynamic BN  (required only up to page 400)

Carnegie Learning Workshop on Ill defined domains

14 Wed, Feb 5 Temporal Inference - HMM (Filtering, Prediction) [ pdf ]  
15 Fri, Feb 7 HMM (Smoothing, start Viterbi) [ pdf ] assignment1- due  / assignment-2 out hmw1.zip
Mon, Feb 10 Family Day  
16 Wed, Feb 12 Finish Viterbi - Approx. Inference in Temporal Models (Particle Filtering) [pfd ]  
17 Fri, Feb 14

 

Intro Graphical Models - Undirected Graphical Models - Markov Networks [pdf ]

 

Mon, Feb 17 Spring Break  
Wed, Feb 19 Spring Break assignment-2 due
Fri, Feb 21 Spring Break  
Mon, Feb 24 Midterm exam (50 mins, same room DMP 101 )  
18 Wed, Feb 26 Conditional Random Fields (CRFs) - Naive Markov [ pdf]

 

FYI (not a required reading!)

An Introduction to Conditional Random Fields. Charles Sutton, AndrewMcCallum. Foundations and Trends in Machine Learning 4 (4). 2012.

19 Fri, Feb 28 Linear Chain CRFs - NLP applications [ pdf ] MALLET
20 Mon, Mar 3 Full Propositional Logics, Language and Inference [ pdf ]  
21 Wed, Mar 5 Finish Resolution, Satisfiability, WalkSAT  [ pdf ]  
22 Fri, Mar 7 First Order Logics and Extensions [ pdf ] assignmet3 out
23 Mon, Mar 10

Ontologies/Description Logics: Wordnet, UMLS, Yago, Probase..... [ pdf ]

- Wordnet and YAGO (Wikipedia + Wordnet + GeoNames). See also Probase and Freebase

- (Domain specific thesaurus) Medical Subject Headings (MeSH)
- FrameNet
-
ProbBank (adding semantic annotations to the Penn Treebank)

Practice Ex 13.A
24 Wed, Mar 12 Similarity Measures: Concepts in Ontologies and Distributional for Words [ pdf ]  
25 Fri, Mar 14 Paper Discussion (NLP) [ ppt ] [ pdf ]

Carenini G., Ng R.,  Zwart E., Extracting Knowledge from Evaluative Text, Third International Conference on Knowledge Capture (KCAP 2005). Banff, Canada. October 2-5, 2005. [pdf]

26 Mon, Mar 17 NLP: Context-Free Grammars and Parsing [ pdf ]  
27 Wed, Mar 19 Probabilistic Context Free Grammar (1) [ pdf ]  - Berkeley Parser with demo!
- Fri, Mar 21 CANCELLED  
28 Mon, Mar 24 Probabilistic Context Free Grammar (2) [ pdf ] assignmet3 due -  assignmet4 out
29 Wed, Mar 26 Paper  Discussion (NLP) on PCFG and CRFs [ ppt ] [ pdf ] Shafiq Joty, Giuseppe Carenini and Raymond Ng. A Novel Discriminative Framework for Sentence-Level Discourse Analysis. In Proc. of the Conference on Empirical Methods in NLP and the Conference on Natural Language Learning (EMNLP-CoNLL 2012), Jeju, Korea. [ pdf ]

DEMO   follow-up paper on multisentential discourse parsing ACL-13

30 Fri, Mar 28 Probabilistic Relational Models (1) Representation [ pdf ] Practice Ex. 14.A MOVE
31 Mon, Mar 31 Probabilistic Relational Models (2) Parameters and Inference [ pdf ]  
32 Wed, Apr 2 Markov Logics (1) Representation [ pdf ] Markov Logic: An Interface Layer for Artificial Intelligence  
P. Domingos University of Washington
D. Lowd University of Oregon
33 Fri, Apr 4 Markov Logics (2) Inference [ pdf ] Alchemy  is a software package providing a series of algorithms for statistical relational learning and probabilistic logic inference, based on the Markov logic representation.
34 Mon, Apr 7 Markov Logics (example), Watson 3/422 etc.  [ pdf ] assignmet4 due
 APR 22, 08:30 AM  Final Exam Room: BIO2200