Related courses
Courses elsewhere that overlap with this one. Most are about verifying AI systems (robustness, certification and safety of neural networks and language models). This course runs the other way: it uses AI to build and verify programming-language artifacts. The closest in content is Seshia’s formal methods course. Pages were checked in November 2026; each link goes to the offering named.
Formal Methods: Specification, Verification, and Synthesis EECS 219C, UC Berkeley, Sanjit Seshia (the page now shows Spring 2026). SAT and SMT solving, BDDs, syntax-guided synthesis, temporal logic, explicit-state and bounded model checking, k-induction, CEGAR, IC3/PDR, compositional reasoning, then specification and verification of AI/ML systems, run-time verification and hyperproperties. Homework plus a team research project (60%), with a conference-style report. Tools suggested include Z3, cvc5, UCLID5, SPIN, NuSMV, CBMC, Verus, Lean, Rocq and Isabelle. The best companion for our program-analysis and model-checking projects.
Machine Learning and Formal Methods ECE 598HZ, University of Illinois, Huan Zhang, Fall 2024. Both directions in one course: SAT and SMT (with machine learning for SAT), neural-network verification (linear programming and MILP, bound propagation, branch and bound, training verifiable networks), falsification, and, at the end, automated and interactive theorem proving and theorem proving with language models. Homework, paper presentations and a team project with a mid-semester presentation.
Trustworthy AI Systems CS 521, University of Illinois, Gagandeep Singh, Fall 2025. Adversarial attacks and jailbreaks, specifications, neural-network verification by abstract interpretation (intervals, zonotopes, DeepPoly) and MILP, verification-guided training, RLHF, explanations, mechanistic interpretability, grammar-constrained generation and guardrails. Five homeworks and a team project. Use of language models is prohibited unless stated, enforced by an oral exam on a homework question.
Trustworthy AI Systems (Fall 2023) CS 521, University of Illinois, Gagandeep Singh and Madhusudan Parthasarathy, Fall 2023. An earlier, more verification-heavy offering: adversarial examples and training, then a sequence of abstract domains for neural networks (box, zonotope, DeepPoly), randomized smoothing, complete verification with MILP, provable defenses and explanations. Slides and paper lists per lecture. The abstract-domain lectures are abstract interpretation applied to a new kind of program; Albarghouthi’s free book Introduction to Neural Network Verification covers the same material.
Reliable and Trustworthy Artificial Intelligence ETH Zurich, Martin Vechev, Fall 2025. Adversarial attacks and defenses, neural-network certification (box, MILP, DeepPoly, branch and bound), certified training, randomized smoothing, then attacks on language models, privacy and differential privacy, watermarks and evaluation. Weekly exercises, a PyTorch coding project and an exam.
Understanding Large Language Models: Foundations and Safety CS 194/294-267, UC Berkeley, Dawn Song and Dan Hendrycks, Spring 2024. A guest-lecture series: transformer foundations, safety, interpretability, training dynamics, evaluation, memorization, watermarks, security, and lectures by Max Tegmark on mechanistic interpretability and formal verification and by Christian Szegedy on deep learning for mathematical reasoning. Weekly readings with summaries, and a project whose scope grows with the number of units.
Validation of Safety Critical Systems AA228V/CS238V, Stanford, Winter 2027. Validation of autonomous and learned systems, following the free textbook Algorithms for Validation: system modeling, property specification, falsification by optimization and planning, failure probability and importance sampling, reachability for linear, nonlinear and discrete systems, and run-time monitoring. Programming projects in Julia with leaderboards, quizzes, and a final project with peer review.
Provably Safe Robotics 16-883, Carnegie Mellon, Changliu Liu, Spring 2024. Safe control, safe planning and safe learning for robots, safety of foundation models, formal methods in robotics, multi-agent safety, and neural-network verification (reachability, optimization and search). Paper presentations and summaries, and a team project written up as a six-page conference paper.