CSE 415, 22wi: Introduction to AI

MWF at 1:30 in CSE2 G01. Weeks 1 - 4 here online.

Recordings in canvas.

Schedule

(subject to change)

Wk. Dates Lecture slides (optional slides) Reading (optional reading) Due
1 1/3, 5, 7 Intelligence ; Introduction ; Agents ; Search R&N, 1,2,3.1 PR0
2 1/10, 12, 14 Informed Search R&N 3.2-end, 5.1-5.2; Search tool
3 1/19, 21 Adversarial Search ; Efficient Adversarial Search R&N 5.3-5.5, (4) PR1
4 1/24, 26, 28 Constraint Satisfaction Problems (CSPs) ; CSP Solvers R&N 6.1-6.4, (6.5-end); CSP demo HW1
5 1/31, 2/2, 4 Markov Decision Processes (MDPs) ; MDP Solvers R&N 17.1-17.3, (S&B 4.3-4.4) PR2,HW2
6 2/7, 9, 11 Passive Reinforcement Learning (RL) ; Active RL R&N 22.1-22.3, (S&B 5.1-5.5) HW3
7 2/14, 16, 18 Probability ; Graphical Models R&N 12, 13.1-13.3 PR3
8 2/23, 25 Graphical Models ; Independence R&N 13.4-end HW4
9 2/28, 3/2, 4 Exact Inference ; Markov Models R&N 14.1-end; (S&B 14, 15) HW5
10 3/7, 9, 11 Bayes' Net Sampling , Dynamic Bayes' Nets and Particle Filters ; Fairness and Causality ; Wrap-up Hardt's Note (B&H&N 1,2); R&N 27 HW6

Communication

For fastest response, contact us on Ed. Otherwise contact us over email at cse415-staff@cs.uw.edu.

We try to keep asynchronous course communication brief (namely on this page and in our responses on Ed). Please don't interpret this as cold. If you have any questions please reach out directly, whether in class, office hours, or in a privately scheduled meeting.

Staff and Office Hours

We will try to schedule office hours to accommodate students' schedules and will offer at least 20 percent of office hours virtually. If you're still not able to make this time, please reach out to us on Ed.

Those of us with a physical location listed will mainly hold our office hours there and generally not in a hybrid fashion.

We will be enforcing room limits in office hours so for those of you unable to fit we may use a queue.

All times are Pacific.

  • Instructor, Jared, time: Mondays 2:30-3:30pm, location: CSE 204 or online.
  • Vivek, time: Tuesdays 5:00-6:00pm, location: online.
  • Will, time: Wednesdays 2:30-3:30pm, location: online.
  • Vinitha, time: Wednesdays 3:00-4:00pm, location: online.
  • Phuong, time: Thursdays from 2:00-3:00pm, location: online.
  • Jeffrey, time: Fridays 2:30-3:30pm, location: CSE 153 or online.

In addition to these regular hours, we will offer one additional virtual hour on the due date of each assignment which we will post about on Ed and list next to the relevant assignment in the preceding tables.

Assignments

Homework (written)

Individual assignments graded on correctness and due by 10pm on the day listed. Worth 50% of grade total. Make sure your answers are selected and visible when you submit them.

  • You may handwrite and scan the homework if you would like, but the answers must be clearly visible (i.e. pencil may not work).
  • Unless the question asks you to justify your answers, please do not add any explanations.
  • When a question does ask you to justify your answer, it is enough to just provide justification for just the answer you chose.
  • Please make sure to add the corresponding question tag to your solution to make grading easier. This may be cumbersome but will allow us to get you your homework grades more quickly.
Homework (HW) Total Points Due Hours spent? TA OH when OH where
1: Search 27 1/28 feedback Vinitha 2:30-3:30pm online
2: CSPs 25 2/4 feedback Vivek 2:30-3:30pm online
3: MDPs 25 2/11 feedback Phuong 4:00-5:00pm online
4: Q-Learning 26 2/25 feedback Jeffrey 3:30-4:30pm CSE 153 or online
5: Uncertainty 26 3/4 feedback Jeffrey 3:30-4:30pm CSE 153 or online
6: HMMs 30 3/11 feedback Will 12:00-1:00pm online

Projects (programming)

Individual assignments graded on correctness and due by 10pm on the day listed. Worth 50% of grade total.

Projects (PR) Total Points Due Hours spent? TA OH when OH where
0: Warm-up 3 1/7 feedback Vivek 2:30-3:30pm online
1: Search 15 1/21 feedback Vinitha 3:30-4:30pm online
2: Multi-agent 19 1/31 feedback Phuong 5:00-6:00pm online
3: Q-learning 18 2/18 feedback Will 12:00-1:00pm online

Practice Problems

Optional, graded on completion, open for collaboration, and due at 10pm on the day of the subsequent lecture (no late days accepted). (Because we have 30 days of class and only 20 lectures we'll release the due dates as the lectures are completed.) Review the correct answers on gradescope or below after the submission date.

Each completed problem adds: (number of completed practice problems) * (10 / total number of practice problems) to your grade, which will then be renormalized. (E.g. completing all of them is worth 10% of grade, in which case written and programming assignments are worth 45% each.)

Links posted on Gradescope.

Practice (PP)
Lecture 02: Agents [Solutions]
Lecture 03: Search [Solutions]
Lecture 04: Informed Search [Solutions]
Lecture 05: Adversarial Search [Solutions]
Lecture 06: Expected Search [Solutions]
Lecture 07: Constraint Satisfaction Problems (CSPs) [Solutions]
Lecture 08: CSP Solvers [Solutions]
Lecture 09: Markov Decision Processes (MDPs) [Solutions]
Lecture 10: MDP Solvers [Solutions]
Lecture 11: Passive Reinforcement Learning (RL) [Solutions]
Lecture 12: Active RL [Solutions]
Lecture 13: Uncertainty [Solutions]
Lecture 14: Graphical Models [Solutions]
Lecture 15: Bayes' Nets [Solutions]
Lecture 16: d-separation [Solutions]
Lecture 17: Markov Models [Solutions]
Lecture 17.2: Markov Models [Solutions]
Lecture 18: Sampling
Lecture 18.2: Particle Filtering
Lecture 19: Fairness and Causality

Policies

Submitting

  • All work will be turned in electronically.
  • Assignments should be done individually unless otherwise specified. You may discuss the subject matter with other students in the class, but all final answers must be your own work. You are expected to maintain the utmost level of academic integrity in the course, pertinent to the Allen School's policy on academic misconduct.
  • Each student has six penalty-free late day for the whole quarter. Consecutive days off (weekends or holidays) count as one late day. Other than that, any late submission will be penalized at 20 percent of the submitted grade per day (weekends count as one day). (This should incentive you to attempt the assignments even if you submit them quite late).
  • If seventy percent of you complete the end-of-quarter evaluations everyone will get an additional late day.
  • The maximum late days that can be used per assignment is four.
  • You must link pages to questions for written assignments submitted to gradescope. You will lose 0.25 point off the assignment if you do not do so. (For guidance watch this video on how to do this.)

COVID

Please stay home if you're ill. Lectures are recorded and most office hours are held remotely. If one of the course staff becomes ill we will move the appropriate events online. Consult the UW policies for more information.

Grade

  • Your grade will be the proportion of points you achieve for the projects and the homework, each set weighted by one half.
  • Additionally, completing practice problems will decrease the weight of the projects and homework, at a maximum of ten percent of the total.
    • Practice problems are not extra credit. Your grade will be renormalized (set to the range of \([0, 1]\)) based on how many you complete.
    • That is, their effect will be exponentially discounted as you approach a perfect score.
  • There will be no curve. Rather, your grade will be rounded to the highest decimal point out of four.
    • (The one possible exception to this is that no student gets a 4.0 in which case we would then increase every student's grade by the difference between the highest scoring student and 4.0. We do not expect this to happen but will alert you if there is an assignment for which the max score is greater than the maximum achieved score which would be a proxy for such an event.)
  • If you're interested in specifics, we will use the following formula to calculate your grade:
    • \( total_{hw} = \frac{1}{2 \times \sum_{i \in HW} max_{hw_i}} \sum_{i \in HW} (points_{hw_i} \times \frac{1}{5} late_{hw_i}), \)
    • \( total_{pr} = \frac{1}{2 \times \sum_{i \in PR} max_{pr_i}} \sum_{i \in PR} (points_{pr_i} \times \frac{1}{5} late_{pr_i}), \)
    • \( grade = \bigg \lceil \frac{ total_{hw} + total_{pr} + \frac{\sum_{i=1}^{|PP|} pp_i}{10|PP|}}{1 + \frac{\sum_{i=1}^{|PP|} pp_i}{10|PP|}} \times 40 \bigg \rceil / 10.0 ,\)
    • where the homework and project scores are \(points_{hw,pr} \in \mathbf{N}\), the maximum achievable scores are \(max_{hw,pr} \in \mathbf{N}\), each practice problem is \(pp \in \{0,1\}\), and each day late for an assignment \(late_{hw,pr} \in \{0, 1, 2, 3, 4\}\), counting contiguous days off (holidays and weekends) as one and late days only applied to the first (and all subsequent) assignments after your total late days number greater than six.

Textbooks

Discussion Board

Please use Ed for course related questions.

Lectures

Lecture slides will be posted on this site before the relevant day. These are subject to revision of types typographic, syntactic, and semantic. We will alert the class if any major changes are made.

Lecture videos should upload to canvas automatically.

Inclusion

We welcome students from all backgrounds and adhere to the Allen School’s Inclusiveness Statement. If anything related to the course makes you feel unwelcome in any way, let the instructor know.

Accommodation

We are eager to provide necessary accommodations.

For disability accommodations, please see the UW resources.

For religious accommodations, please see the UW resources.