CS486/686: Introduction to Artificial Intelligence
Spring 2022
NOTE: this webpage is the one used in Spring 2022 - it is not for winter 2024
People:
- Instructor:
-
Dr. Jesse Hoey, (jhoey [at] cs [dot] uwaterloo [dot] ca)
- TAs:
Communication
- All communication should take place using the
Piazza discussion board.
- Sign up for Piazza (if you're not already) here.
- Public Piazza posts (can be anonymous) are the preferred method for questions about course material, etc. Students can then help each other and instructors can read/reply.
- Private Piazza posts (to instructors only) can be used for any posts that contain solution snippets or private questions.
- Only in exceptional cases where you need to contact only the instructor should you use the personal email above.
Deliverables (Assignment submissions and grades)
- Assignments and grades will be handled through Learn
- If you are not familiar with Learn, see the instructions for using dropboxes to hand in assignments.
TIMETABLE:
Lectures will take place twice per week as follows
Exams:
Office Hours are as follows:
- Jesse Hoey: TBA
- TAs will hold special office hours for each assignment
STRUCTURE
The course will consist of two 1.5-hour in-class sessions per week.
The course content will be delivered in a lecture format, with four assignments, a midterm, and a final exam.
Graduate students must complete a project (optional for undergraduates).
READINGS:
Primary Texts:
David Poole and Alan Mackworth "Artificial Intelligence: Foundations of Computational Agents". Cambridge University Press, (1st edition: 2010, 2nd edition: 2017).
(available online. The section references below are to the 2nd edition.)
And the useful and informative resources with lots of code for the examples in the book
See online resources and in particular the
Python programs.
Secondary Readings:
Russell and Norvig Artificial Intelligence
Ian Goodfellow and Yoshua Bengio and Aaron Courville Deep Learning
Assessment
For CS486 students:
- Assignments (4) (40% - to be done individually - dates to be announced - see below for tentative dates).
- One and a half hour written midterm examination (15% - Jun 8, 2022, 700pm-850pm in M3-1006).
- Two and a half hour written final examination (Aug 8, 2022 730pm-1000pm in M3-1006) (45% and must pass the final to pass the course).
- Optional project (5% bonus) (see here for details).
For CS686 (grad) students:
- Assignments (4) (25% - to be done individually - dates to be announced - see below for tentative dates).
- One and a half hour written midterm examination (10% - Jun 8, 2022, 700pm-850pm in M3-1006).
- Two and a half hour written final examination (Aug 8, 2022 730pm-1000pm in M3-1006) (35%).
- Project (30%) (see here for details).
How and Where to submit
- Assignments are to be done individually unless otherwise stated.
- Submit assignments and receive marks through Learn.
- If you are not familiar with Learn, see the instructions for using dropboxes to hand in assignments.
- No late assignments will be accepted.
- Submit project proposals on LEARN before the midterm.
- Students wishing to write a project (and all CS686 students) must submit a project proposal.
- Submit final projects on LEARN before the final exam.
Course Objectives
The design of automated systems capable of accomplishing complicated tasks is at the heart of computer science. Abstractly, automated systems can be viewed as taking inputs and producing outputs towards the realization of some objectives. In practice, the design of systems that produce the best possible outputs can be quite challenging when the choice of outputs is constrained, the consequences of the outputs are uncertain and/or dependent on other systems, the information provided by the inputs is incomplete and/or noisy, there are multiple (possibly competing) objectives to satisfy, the system must adapt to its environment over time, etc. This course provides an introduction to Artificial Intelligence, covering some of the core topics that underly automated reasoning. The modeling techniques that will be covered are quite versatile and can be used to tackle a wide range of problems in many fields including natural language processing (e.g., topic modeling, document clustering), robotics (e.g., mobile robot navigation), automated diagnosis (e.g., medical diagnosis, fault detection), data mining (e.g., fraud detection, information retrieval), operations research (e.g., resource allocation, maintenance scheduling), assistive technologies, human-computer interaction, etc.
See the official official course outline
Course Topics
- Agents and Abstraction
- States and Searching
- Features and Constraints
- Propositions and Inference
- Reasoning under uncertainty
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- Machine Learning
- Neural Networks and Deep Learning
- Planning under certainty
- Planning under uncertainty
- Additional topics if time permits
(not necessarily covered in this order)
COURSE SLIDES
The lecture slides and schedule will be finalised as the course progresses.
- Introduction
- May 3, 2022: Introduction Slides (88kb) (6-up version (118Kb) )
Readings: Poole and Mackworth (2nd Ed.) 1.1
video lecture
- May 5, 2022: What is AI? Slides (49Mb) (6-up version (19Mb))
Readings: Poole and Mackworth (2nd Ed.) 1.1-1.2
video lecture part 1
video lecture part 2
- Deterministic representation
- May 5, 2022: Agents and Abstraction Slides (6Mb) (6-up version (2Mb))
Readings: Poole and Mackworth (2nd Ed.) 1.3-1.10, 2.1-2.3
video lecture part 1
video lecture part 2
- May 10/12, 2022: States and Searching Slides (1Mb) (6-up version (1.7Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 3 (all)
video lecture part 1
video lecture part 2
video lecture part 3
- May 17/19, 2022: Features and Constraints Slides (0.5Mb) (6-up version (1.2Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 4.1-4.8
video lecture part 1
video lecture part 2
video lecture part 3
video lecture part 4
- May 24, 2022: Propositions and Inference Slides (0.4Mb) (6-up version (1.5Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 5.1-5.3, and Chapt. 13.1-13.2
video lecture part 1
video lecture part 2
video lecture part 3
- Deterministic Planning
- May 24/26th, 2022: Planning under certainty Slides (3Mb) (6-up version (3.1Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 6.1-6.4
video lecture
- Deterministic(ish) Learning
- May 25th/31st, 2022: Supervised Learning I Slides (0.4Mb) (6-up version (1 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 7.1-7.3.1,7.4
video lecture part 1
video lecture part 2
video lecture part 3
- Uncertainty: Representation
- June 2-14, 2020: Reasoning under Uncertainty I Slides (1.5Mb) (6-up version (2.4 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 8.1-8.4
video lecture part 1
video lecture part 2
video lecture part 3
video lecture part 4
video lecture part 5
- June 16/21st: Reasoning under Uncertainty II Slides (3.1Mb) (6-up version (3.0 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 8.5-8.9
video lecture part 1
video lecture part 2
video lecture part 3
- Uncertainty: Learning
- June 23, 2022: Bayesian Learning Slides (0.25Mb) (6-up version (0.55 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 10.1,10.4
video lecture part 1
video lecture part 2
- June 28th, 2022: Supervised Learning under Uncertainty Slides (0.5Mb) (6-up version (1 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 7.3.2,7.5-7.6
video lecture part 1
video lecture part 2
- June 30th, 2022: Unsupervised Learning Slides (0.52Mb) (6-up version (0.7 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 10.2,10.3,10.5
video lecture part 1
video lecture part 2
- Uncertainty: Planning
- July 5-7 2022: Planning under Uncertainty I Slides (0.42Mb) (6-up version (0.89Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 9.1-9.3
video lecture part 1 and worked example 1
video lecture part 2 and worked example 2
- July 12-14, 2022: Planning under Uncertainty II Slides (0.91Mb) (6-up version (1.52Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 9.5
video lecture part 1 and worked example 1
video lecture part 2 [OPTIONAL]
- July 19, 2022: Planning under Uncertainty III Slides (3.3Mb) (6-up version (4.1 Mb))
Readings: Poole and Mackworth (2nd Ed.) Chapt. 12.1,12.3-12.9
video lecture part 1
video lecture part 2
ASSIGNMENTS
Posted assignments with firm dates:
- TBA
Upcoming assignments with tentative dates:
- TBA
OTHER MATERIAL (videos, software, handouts, etc)
University of Waterloo Academic Integrity Policy
The University of Waterloo Senate Undergraduate Council has also approved the following message outlining University of Waterloo policy on academic integrity and associated policies.
Academic Integrity
In order to maintain a culture of academic integrity, members of the University of Waterloo community are expected to promote honesty, trust, fairness, respect and responsibility. Check the Office of Academic Integrity's website for more information.
All members of the UW community are expected to hold to the highest standard of academic integrity in their studies, teaching, and research. This site explains why academic integrity is important and how students can avoid academic misconduct. It also identifies resources available on campus for students and faculty to help achieve academic integrity in, and our, of the classroom.
Grievance
A student who believes that a decision affecting some aspect of his/her university life has been unfair or unreasonable may have grounds for initiating a grievance. Read Policy 70 - Student Petitions and Grievances, Section 4. When in doubt please be certain to contact the department's administrative assistant who will provide further assistance.
Discipline
A student is expected to know what constitutes academic integrity, to avoid committing academic offenses, and to take responsibility for his/her actions. A student who is unsure whether an action constitutes an offense, or who needs help in learning how to avoid offenses (e.g., plagiarism, cheating) or about “rules” for group work/collaboration should seek guidance from the course professor, academic advisor, or the Undergraduate Associate Dean. For information on categories of offenses and types of penalties, students should refer to Policy 71-Student Discipline. For
typical penalties check Guidelines for the Assessment of Penalties.
Avoiding Academic Offenses
Most students are unaware of the line between acceptable and unacceptable academic behaviour, especially when discussing assignments with classmates and using the work of other students. For information on commonly misunderstood academic offenses and how to avoid them, students should refer to the Faculty of Mathematics Cheating and Student Academic Discipline Policy.
Appeals
A decision made or a penalty imposed under Policy 70, Student Petitions and Grievances (other than a petition) or Policy 71, Student Discipline may be appealed if there is a ground. A student who believes he/she has a ground for an appeal should refer to Policy 72 - Student Appeals.
Note for students with disabilities
The AccessAbility Services Office (AAS), located in Needles Hall, Room 1401, collaborates with all academic departments to arrange appropriate accommodations for students with disabilities without compromising the academic integrity of the curriculum. If you require academic accommodations to lessen the impact of your disability, please register with the AAS at the beginning of each academic term.