Skip to main content
AA228/CS238 Decision Making under Uncertainty

Description

This course introduces decision making under uncertainty from a computational perspective and provides an overview of the necessary tools for building autonomous and decision-support systems. Following an introduction to probabilistic models and decision theory, the course will cover computational methods for solving decision problems with stochastic dynamics, model uncertainty, and imperfect state information. Topics include Bayesian networks, influence diagrams, dynamic programming, reinforcement learning, and partially observable Markov decision processes. Applications cover air traffic control, aviation surveillance systems, autonomous vehicles, and robotic planetary exploration.

Prerequisites: basic probability (e.g., CS109) and fluency in a high-level programming language (e.g., CS106A). The appendices in the course textbook provide some review material, as well as an introduction to the essential elements of the Julia programming language.

In-person attendance is not required for lectures. Optional problem sessions will be held on Zoom only. Exams will be in-person. There is a mixture of in-person and online office hours.

Please see Quiz Policy for the new in-person quiz policy for Fall 2026.

Lectures

Lectures will be on Tuesdays and Thursdays, 9am to 10:20am in Hewlett 200 starting September 22, 2026. Students are welcome to attend in person live, participate through the live stream, or watch recordings offline. Registered students taking another course that is offered at the same time is not an issue. Videos (both live stream and recorded) are available through Panopto, which is linked to within Canvas.

The course is also available to the public through the Stanford Center for Professional Development.

The textbook serves as the official lecture notes.

Video cameras located in the back of the room will capture the instructor presentations in this course. For your convenience, you can access these recordings by logging into the course Canvas site. These recordings might be reused in other Stanford courses, viewed by other Stanford students, faculty, or staff, or used for other education and research purposes. Note that while the cameras are positioned with the intention of recording only the instructor, occasionally a part of your image or voice might be incidentally captured. If you have questions, please contact a member of the teaching team.

Major Themes

  • There is a principled mathematical framework for defining rational behavior.
  • The computational techniques discussed in class can lead to superior decisions that are sometimes counterintuitive.
  • Successful application of these principles depends on the choice of representation and approximation.
  • The same computational approaches can be applied to very different application domains.

Learning Outcomes

  • You will gain a broad fundamental understanding of the mathematical models and solution methods for decision making (exercises, two quizzes).
  • You will be able to implement and extend key algorithms for learning and decision making (three programming projects).
  • You will be able to identify an application of the theory in this course and formulate it mathematically (proposal).
  • You will gain a deep understanding of an area of particular interest and apply it to a problem (final project).
  • You will be able to critique approaches to solving decision problems (peer review).

Units

AA228 will be offered for 3 or 4 units for either a letter or credit/no credit grade. Students registering for the 4 unit version of the course will be required to spend at least 30 additional hours extending their course project and preparing the paper for a peer-reviewed conference submission (actual submission is not required). The grade breakdown listed in the “Grading” section is the same regardless of whether the class is taken for 3 or 4 units.

Please confirm that you are registered for the desired number of units and the desired grading basis. There are deadlines for making these changes set by the registrar.

Textbook

This year we will be using the textbook titled Algorithms for Decision Making, MIT Press, 2022. Printed copies are available for purchase or you may download it for free as a PDF. Details are here.

Problem Sessions

Problem sessions will be held on Zoom on Wednesdays from 3:00pm-3:50pm by Zoom. There is a link found under the “Zoom” tab on Canvas. It will also be recorded and can be found under the “Panopto Course Videos” tab in Canvas. Some problem sessions will be used to review for quizzes. Please bring your questions! Problem session slides and notes can be found here.

Discussion

Class discussions are held on Ed. You should be automatically registered through Canvas.

High-Resolution Feedback

To ensure that we are providing the best learning experience for our students, we will be sending out a survey on a weekly basis to a randomly selected group of students. Please note that each student will only receive one request to participate in the survey during the quarter. We greatly value the input and feedback of all our students and would highly appreciate your participation when it is your turn.

Grading

Projects: 31%

  • 1% Project 0
  • 10% Project 1
  • 10% Project 2
  • 10% Project 3

Midterms: 41%

  • 1% Quiz 0
  • 20% Quiz 1
  • 20% Quiz 2

Final project: 28%

  • 3% Proposal
  • 3% Status Update
  • 20% Paper or Video
  • 2% Peer Review

Extra Credit: (up to) 2%

  • +2% Office Hours Oral Summary
    • (see Office Hours page for more info)

Grades are posted on Canvas.

This course is offered for either a letter or credit/no credit grade. If taking for credit/no credit, credit will be given to students who score a C- or higher (at least 70% in the course). We will use the standard breakdowns in the table below. We will round fractional percentages in your favor. Every year, a few students are awarded an A+ after careful consideration for demonstrating mastery beyond what is expected in this class; it is not determined solely based on percentage.

Letter GradePercentage
A> 93 %
A-90-92%
B+87-89%
B83-86%
B-80-82%
C+77-79%
C73-76%
C-70-72%
D+67-69%
D63-66%
D-60-62%
F0-59%

Late Policy

All assignments are due at 5pm on Fridays.

Because of unexpected events, illnesses, work commitments, etc., there is a 0% penalty for 72 hours (no questions asked) after each assignment deadline (not quizzes!), after which you receive 0 credit. Note that late submissions will not qualify for the leaderboard for programming projects 1 and 2.

Quizzes missed without an approved absence will receive 0 credit.

LLM Usage Policy

For all projects, you may use AI tools (ChatGPT, Claude, Copilot, etc.) as you would a collaborator or tutor: to explain concepts, talk through a design, or help debug. You may not use any AI tools, internet, outside resources except for your allotted cheat sheet, or human collaborators during any quizzes.

All code for the course must be typed by hand, whether implementing code provided in the textbook or writing code with the help of AI. This practice will ensure that you understand what the code you are submitting is doing because the purpose of these assignments is for you to learn the concepts taught in lecture. You are responsible for every line you submit and able to explain how your code works.

For the final project, you may use AI tools to generate, revise, and debug code, and you may incorporate AI-generated code directly without retyping it. You must review and test the code you use, understand the underlying methods, and be able to explain how your implementation works. Your choices of methods, evaluation of results, and conclusions must reflect your own understanding and judgment. You remain responsible for the accuracy of your code. We still expect your written work (e.g., proposal, status update, and final report/slides) to be in your own words.

Projects should also include an AI disclosure statement at the end of your written report, identifying any AI tools used and the purpose for which each was used because this practice will ensure you are holding yourself accountable in your AI usage and learning the course material. Students uncertain whether a particular use falls within course policy should ask a TA.

Students with Disabilities

Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is made. Students should contact the OAE as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 650-723-1066, URL: https://oae.stanford.edu/). Please submit OAE letters by Friday, October 2nd to Head TA, Michelle Ho (mtho@stanford.edu).

IDEAL Research Lab Study

AA228/CS238 is participating in a study with the IDEAL Research Lab at Stanford Graduate School of Education. They are interested in improving instructional methods to help students learn to adaptively overcome academic challenges in science and engineering courses through revision and reflection. The research study they are asking students to participate in allows them to see your completed quizzes and quiz grades and any reflections you submit and the points you earn back from those reflections.

If you are willing to participate, you can sign up via the link below. Once you click the link, you’ll be taken to the consent form. If you have any questions, you can email napoli8@stanford.edu, or the contacts in the consent form.

https://stanforduniversity.qualtrics.com/jfe/form/SV_9LXHX1YZagiJ9Ma

Participating in the study does not require additional work from you. The data they would analyze is the work that you are required to do for the course whether you participate in the study or not. Participating in this research will have minimal effect on you but will help future students of this course and other STEM courses. All study data will be stored securely in compliance with Stanford University standards.

The instructors will not know if you are participating in the research study until after final grades are submitted, and participation in this study will have no effect on your grade in the course.