365w22

RL CMPUT 365 Winter 2022

This project is maintained by armahmood

CMPUT 365 Winter 2022: Introduction to Reinforcement Learning

For the Winter 2021 course, see this website

Schedule

Syllabus

Class Date and Time:

MWF 1:00 - 1:50pm

lectures: Zoom link

Instruction team:

Rupam Mahmood
Sheila Schoepp
Gautham Vasan
Chen Ma
Shibhansh Dohare

Overview

This course provides an introduction to reinforcement learning intelligence, which focuses on the study and design of agents that interact with a complex, uncertain world to achieve a goal. We will emphasize agents that can make near-optimal decisions in a timely manner with incomplete information and limited computational resources. The course will cover Markov decision processes, reinforcement learning, planning, and function approximation (online supervised learning). The course will take an information-processing approach to the concept of mind and briefly touch on perspectives from psychology, neuroscience, and philosophy.

The course will use a recently created MOOC on Reinforcement Learning, created by UAlberta CS Faculty members. Much of the lecture material and assignments will come from the MOOC. In-class time will be largely spent on discussion and thinking about the material, with some supplementary lectures.

Objectives

By the end of the course, you will have a solid grasp of the main ideas in reinforcement learning, which is the primary approach to statistical decision-making. Any student who understands the material in this course will understand the foundations of much of modern probabilistic artificial intelligence (AI) and be prepared to take more advanced courses (in particular CMPUT 609: Reinforcement Learning II and CMPUT 653: Real-Time Policy Learning, or to apply AI tools and ideas to real-world problems. That person will be able to apply these tools and ideas in novel situations – eg, to determine whether the methods apply to this situation, and if so, which will work most effectively. They will also be able to assess claims made by others, with respect to both software products and general frameworks, and also be able to appreciate some new research results.

Prerequisites

The course will use Python 3. We will use elementary ideas of probability, calculus, and linear algebra, such as expectations of random variables, conditional expectations, partial derivatives, vectors and matrices. Students should either be familiar with these topics or be ready to pick them up quickly as needed by consulting outside resources.

Course Prerequisites

Course Topics

With a focus on AI as the design of agents learning from experience to predict and control their environment, topics will include

Course Work and Evaluation

The course work will come from the quizzes and assignments through the Coursera Platform. There will be one small programming assignment (notebook) or one multiple-choice quiz due each week, through the Coursera Platform. There are also practice quizzes, that will be due before the start of each week. Each week, you have to complete the quiz by midnight on Sunday, for the topic that coming week. That means you have to have completed the lecture videos and readings as well for that week. The course will also have a midterm exam, given in class, and a final exam at the end.

There are a total of 11 weekly practice quizzes, and you should do all of them. But, due to the fact that issues sometimes arise, we give you a mulligan. You have to complete 10 of the 11 to get the full 10% participation mark.

There are 11 graded assignments, and you should do all of them. But, due to the fact that issues sometimes arise, we give you a mulligan. They are usually python notebooks, but sometimes it is a Graded Quiz or a Peer Review. All the assignments will be due at 11:59pm of the day mentioned in the schedule. Each graded assignment has equal weight (30/10).

Regarding Exams

Both Midterm and Final exams will be open-book and written in real-time. Questions will be randomized to maintain the integrity of the exams. If the integrity of the exam cannot be determined for any particular student, a short verbal exam may be scheduled within two days to verify the written exam. For both exams, extra 10 mins will be given to take pictures of the exam pages, create a single PDF, and upload. Students are highly recommended to find out how to create a single PDF from multiple pictures beforehand.

Course Materials

All course reading material will be available online. We will be using videos from the RL MOOC. We will be using the following textbook extensively: Sutton and Barto, Reinforcement Learning: An Introduction, MIT Press. The book is available from the bookstore or online as a pdf here: http://www.incompleteideas.net/book/the-book-2nd.html

Academic Integrity

All assignments written and programming are to be done individually. No exceptions. Students must write their own answers and code. Students are permitted and encouraged to discuss assignment problems and the contents of the course. However, the discussion should always be about high-level ideas. Students should not discuss with each other (or tutors) while writing answers to written questions our programming. Absolutely no sharing of answers or code sharing with other students or tutors. All the sources used for problem solution must be acknowledged, e.g. web sites, books, research papers, personal communication with people, etc. The University of Alberta is committed to the highest standards of academic integrity and honesty. Students are expected to be familiar with these standards regarding academic honesty and to uphold the policies of the University in this respect. Students are particularly urged to familiarize themselves with the provisions of the Code of Student Behaviour and avoid any behaviour which could potentially result in suspicions of cheating, plagiarism, misrepresentation of facts and/or participation in an offence. Academic dishonesty is a serious offence and can result in suspension or expulsion from the University. (GFC 29 SEP 2003)

FAQ on using Coursera

Error with Quiz Submission

If you get have any issues with submitting quizzes, try clearing the internet cache, closing all browser windows, and re-logging again to Coursera.

Jupyter Notebook Assignment Grading

Jupyter notebook assignments include local tests (included in the notebook), as well as grader tests that is hidden from the learners.

Please make sure your assignment passes all the local tests before submitting. Also, the solutions have to be general (i.e. not hard-coded) in order to pass the grader tests. Local test cases are not comprehensive, and even if you pass all the local tests, you may not get full marks.

Try to make your code general to work robustly for various cases. (e.g. using variable grid_w instead of value 12)

Error: Submit button is missing

On rare occasion you may face issues submitting jupyter notebook assignments. If the submit button is missing, please make sure you are only working on the notebook on a single device. If the problem still persists, try setting “?forceRefresh=true” in your notebook URL (reference: https://learner.coursera.help/hc/en-us/articles/360004995312-Solve-problems-with-Jupyter-Notebooks)