Probabilistic Machine Learning
Announcements, video recordings
— MoodleAssessment
— details on the assessments tab- Pre-reading responses are listed with the lecture schedule
- Exercise 1 (due 13 Nov 4pm) and Exercise 2 (ext to 26 Nov 4pm)
- Proposal (due 2 Dec 12noon) and Written Report (due 19 Jan 12noon)
Lecture schedule and reading
-
Kullback–Leibler is all you need
- [slides1a.pdf] [slides1b.pdf]
- Technical note: KL divergence and overfitting [handout1.pdf]
- Science and statistics, Box (1976) [pdf]
- Statistical modeling: the two cultures, Breiman (2001) [pdf]
-
GANs and other adversaries
- Pre-reading response with model solution
- [slides2a.pdf] [slides2b.pdf]
- Optional exercise [pdf]
- Generative adversarial nets, Goodfellow et al. (2014)
- f-GAN: training generative neural samplers using variational divergence minimization, Nowozin, Cseke and Tomioka (2016)
- Revisiting classifier two-sample tests, Lopez-Paz and Oquab (2017)
- Anomalous Inputs in Deep Learning: a Probabilistic Perspective, Zhang (2024)
- Do deep generative models know what they don't know?, Nalisnick et al. (2019)
-
LLMs: the ghost in the machine
- [slides3a.pdf] [slides3b.pdf]
- Technical note: KL minimization and gradient descent [handout3.pdf]
- There is no pre-reading required, but the first two papers are recommended.
- Direct preference optimization: your language model is secretly a reward model, Rafailov et al. (2023)
- The pain axis: LLMs represent self-directed harm and act to relieve it, Tagliabue, Dung and Berg (2026)
- Thought anchors: which LLM reasoning steps matter?, Bogdan et al. (2025)
- Prompt baking, Bhargava et al. (2024)
-
VAEs: certificates of fit
- [slides4a.pdf] [slides4b.pdf]
- Technical note: ELBO's error term [handout4.pdf]
- Pre-reading response with model solution
- Visualizing data using t-SNE, van der Maaten and Hinton (2008)
- Auto-encoding variational Bayes, Kingma and Welling (2014)
- Probabilistic principal component analysis, Tipping and Bishop (1999) [pdf]
-
Generation and corruption with diffusion models
- [slides5a.pdf] [slides5b.pdf]
- Understanding Diffusion Models: A Unified Perspective, Luo (2022) pp. 1–16
- Denoising diffusion probabilistic models, Ho, Jain and Abbeel (2020)
- Flow matching for generative modeling, Lipman et al. (2023)
- Neural ordinary differential equations, Chen et al. (2018)
- Large language diffusion models, Nie et al. (2025)
-
Gaussian processes and other world models
- [slides6a.pdf] [slides6b.pdf]
- Pre-reading response, due 16 Nov 4pm, submit on Moodle
- Conditional neural processes, Garnelo et al. (2018)
- Autoregressive conditional neural processes, Bruinsma et al. (2023)
- A temporal stochastic bias correction using a machine learning attention model, Nivron et al. (2024)
-
Uncertainty: what even is it?
- [slides7a.pdf] [slides7b.pdf]
- Why language models hallucinate, Kalai et al. (2025)
- Dropout as a Bayesian approximation: representing model uncertainty in deep learning, Gal and Ghahramani (2016)
- The Neural Testbed: evaluating joint predictions, Osband et al. (2022)
- Epistemic neural networks, Osband et al. (2023)
- Aleatoric and epistemic uncertainty in machine learning: an introduction to concepts and methods, Hüllermeier and Waegeman (2021)
- On the biology of a large language model, Lindsey et al. (2025)
-
Causality as model fitting
- Pre-reading response due 30 Nov 4pm
- Invariant risk minimization, Arjovsky et al. (2019)
- A unifying view on dataset shift in classification, Moreno-Torres et al. (2012) [local copy]
- Causal inference by using invariant prediction: identification and confidence intervals, Peters, Bühlmann and Meinshausen (2016)
- Potential outcome and directed acyclic graph approaches to causality: relevance for empirical practice in economics, Imbens (2020)