CSE 592 · Foundations of Artificial Intelligence

Lectures

Notes, slides, and suggested reading for each class.

Lecture 1: Introduction

Slides

Course logistics, a brief history of AI, and the PEAS model for understanding rational agents, which will help us conceptually organize the various problems we will tackle in the class.

Book chapters: Ch. 1 (Introduction), Ch. 2 (Intelligent Agents)

Note: The book covers much more than we are able to see in class. Unless otherwise specified, the slides should be self-contained for you to follow the course, and the book is a resource for going deeper into material that interests you.

Lecture 2: Search

Slides

Recap of the PEAS model and definition of search problems as a kind of static, deterministic, discrete environment; Uninformed Search methods (BFS, DFS, ID-DFS, UCS), Informed Search and heuristics (A* and variants), admissible heuristics and optimality, deriving heuristics from relaxations.

Live coding: [Github]

Book chapters: Ch. 3 (Solving Problems via Search)

Optional additional readings: Two papers using learned search heuristics: DeepCubeA (Rubik's Cube), BFS-Prover (theorem proving in Lean 4)

Discussion 1: Search

Slides

Lecture 3: Constraint Satisfaction

Slides

Definition of a CSP (Constraint Satisfaction Problem). Sudoku as a CSP. Our first factored state representation: states are now variable assignments. Backtracking search and heuristics for variable and value ordering (LCV, MRV), and inference (AC-3, forward checking, MAC).

Book chapters: Ch. 6 (Constraint Satisfaction Problems)

Optional additional reading: Training a Transformer to solve CSPs via local search: ConsFormer (ICML 2025)

Discussion 2: CSP

Slides

Lecture 4: Propositional Logic

Slides

Knowledge-Based Agents. Propositional Logic syntax and semantics. Truth-table method for deciding entailment. Satisfiability and validity. Inference rules, soundness. Proofs, completeness, refutation-completeness and resolution.

Book chapters: Ch. 7 (Logical Agents)

Optional additional reading: U-M Prof. Karem Sakallah and former PhD student João Marques-Silva just won an award from the SAT association for 30 years of their groundbreaking work on SAT solving: CSE article

Lecture 5: DPLL and First-Order Logic

Slides

Recap of propositional logic. The DPLL algorithm. First-order logic: syntax and semantics.

Book chapters: Ch. 8 (First-Order Logic)

Optional additional reading: A tutorial on Z3, the solver we mentioned in lecture.

Discussion 3: Logic

Slides

Lecture 6: Uncertainty and Probability

Slides

Quantifying uncertainty with proability. Probability axioms. Inference and estimation. Bayes' rule, Bayesian learning and MAP inference. Maximum Likelihood Estimation. Independence and mutual independence. Naïve Bayes classifier.

Book chapters: Ch. 12 (Quantifying Uncertainty)

Lecture 7: Bayesian Networks

Slides

Naïve Bayes classifier. Bayesian Networks. Exact Inference: inference by enumeration, Variable Elimination. Approximate Inference: Rejection Sampling, Gibbs Sampling.

Book chapters: Ch. 13 (Probabilistic Reasoning)

Lecture 8: Machine Learning

Slides

Gibbs Sampling. Introduction to machine learning: hypothesis class, loss function, optimization. Linear regression case. Gradient Descent and SGD.

Book chapters: Ch. 19 (Learning from Examples), in particular 19.1, 19.2, 19.4, 19.6

Lecture 9: Machine Learning II

Slides

Classification. Estimation and Approximation error. PAC Learning framework. Non-linear features. Neural Networks.

Book chapters: Ch. 19 (Learning from Examples)