Why Probability Theory Matters for AI
Probability is the mathematics of uncertainty, and machine learning is full of it.
Foundations & Learning Resources
6 entriesCore ideas and where to learn them.
01Probability and Information Theory (Deep Learning book, ch. 3)Concise probability chapter written for machine learning readers.
02Pattern Recognition and Machine Learning (Bishop)Classic Bayesian-flavoured textbook, free to download from Microsoft Research.
03Information Theory, Inference, and Learning Algorithms (MacKay)Free book linking probability, information theory and learning.
04Seeing TheoryVisual introduction to probability and statistics.
05Think Bayes (Allen Downey)Free book teaching Bayesian statistics with Python.
06Probability and Statistics (Khan Academy)Gentle introduction to probability and distributions.
Bayesian Inference & Probabilistic Models
6 entriesRepresenting beliefs, reasoning under uncertainty and fitting models with Bayesian methods.
07Probabilistic Graphical Models (Koller & Friedman)Reference text on Bayesian networks and Markov random fields.
08Gaussian Processes for Machine Learning (Rasmussen & Williams)Free book on Gaussian processes.
09Variational Inference: A Review for StatisticiansOverview of approximating posteriors by optimization.
10Bayesian Data Analysis (Gelman et al.)Standard Bayesian statistics text with a free PDF.
11Statistical Rethinking (McElreath)Course and book on Bayesian modelling.
12Bayesian Methods for HackersNotebook-based introduction using PyMC.
Probabilistic & Generative Deep Learning
13 entriesNeural networks that model distributions.
13Auto-Encoding Variational BayesThe variational autoencoder paper.
14Denoising Diffusion Probabilistic ModelsDiffusion models as learned reverse of a noising process.
15Score-Based Generative Modeling through SDEsUnifies diffusion and score-based models.
16Normalizing Flows for Probabilistic Modeling and InferenceReview of invertible models with exact likelihoods.
17Generative Adversarial NetworksOriginal GAN paper.
18Weight Uncertainty in Neural NetworksBayes by Backprop for Bayesian neural networks.
19An Introduction to Variational AutoencodersTutorial by the VAE authors.
20Understanding Diffusion Models: A Unified PerspectiveTutorial deriving diffusion models from VAEs.
21Flow Matching for Generative ModelingFramework for training continuous normalizing flows by regressing vector fields.
22Classifier-Free Diffusion GuidanceSteers diffusion sampling toward a condition without a separate classifier.
23Denoising Diffusion Implicit ModelsFaster sampling from diffusion models.
24Consistency ModelsModels that map noise directly to data for one-step or few-step generation.
25Elucidating the Design Space of Diffusion-Based Generative ModelsAnalysis of the design choices in diffusion models, by Karras et al.
Uncertainty, Calibration & Conformal Prediction
11 entriesKnowing how confident a model should be.
26On Calibration of Modern Neural NetworksShows deep networks are often overconfident and how to fix it.
27Dropout as a Bayesian ApproximationMonte Carlo dropout for uncertainty estimates.
28Deep EnsemblesSimple and scalable predictive uncertainty estimation.
29What Uncertainties Do We Need in Bayesian Deep Learning?Aleatoric versus epistemic uncertainty.
30A Gentle Introduction to Conformal PredictionDistribution-free prediction sets with coverage guarantees.
31MAPIEPython library for conformal prediction. GitHub lists v1.6.0 as the latest release, from October 2026.
32Uncertainty ToolboxMetrics and visualizations for predictive uncertainty.
33Language Models (Mostly) Know What They KnowStudies whether language models can judge the validity of their own answers and predict which questions they can answer.
34Semantic UncertaintyUncertainty estimation for natural language generation that accounts for linguistic invariances.
35Detecting hallucinations with semantic entropy (Nature)Nature paper on detecting hallucinations in large language models using semantic entropy.
36Conformal Language ModelingApplies conformal prediction to language model generation.
Probability in Language & Sequence Models
2 entriesHow token distributions are modelled and sampled.
Decisions, Bandits & Filtering
3 entriesProbability for sequential decision making and state estimation.
Libraries & Probabilistic Programming Tools
9 entriesSoftware for probability, sampling and Bayesian modelling.
42SciPy statisticsDistributions, tests and sampling in Python.
43PyMCPython library for Bayesian modelling and MCMC. Latest release v6.4.0 (1 November 2026).
44StanProbabilistic programming language with Hamiltonian Monte Carlo. Latest release v2.40.0 (16 September 2026).
45NumPyroProbabilistic programming on JAX. Latest release 0.22.0 (18 September 2026).
46TensorFlow ProbabilityProbabilistic modelling and inference in TensorFlow. Latest release v0.25.0 (8 November 2024).
47ArviZDiagnostics and visualization for Bayesian models. Latest release v1.3.0 (11 August 2026).
48Turing.jlProbabilistic programming in Julia. Latest release v0.49.0 (13 September 2026).
49GPyTorchScalable Gaussian processes in PyTorch. Latest release v1.15.2 (28 February 2026).
50BlackJAXBayesian inference library in JAX with sampling and variational inference algorithms.
Textbooks & Lectures
2 entriesFree probability resources.
Related Pages
5 entriesNeighbouring pages on this site.
53MathematicsMathematics resources.
54Linear AlgebraLinear algebra resources.
55Number Theory for AINumber theory for AI.
56Statistics for Deep LearningEstimation, generalisation, evaluation, calibration and experiment design for deep learning.
57Probability Theory for Deep LearningA worked explainer: likelihood and loss functions, softmax, entropy, priors, VAEs, diffusion and sampling.