Why Probability Theory Matters for AI
3 entriesProbability is the mathematics of uncertainty, and machine learning is full of it. Training by maximum likelihood or maximum a posteriori estimation is probabilistic inference; the usual loss functions (squared error, cross-entropy) come from assumed noise models. Bayesian methods quantify what a model does not know; generative models such as VAEs and diffusion models learn probability distributions; language models output a distribution over the next token; reinforcement learning is built on Markov decision processes; and calibration and conformal prediction ask whether a stated confidence can be trusted. This page collects free books, courses, papers and tools for each of these areas.
Foundations & Learning Resources
13 entriesCore ideas and where to learn them.
Bayesian Inference & Probabilistic Models
8 entriesRepresenting beliefs, reasoning under uncertainty and fitting models with Bayesian methods.
Probabilistic & Generative Deep Learning
8 entriesNeural networks that model distributions.
Uncertainty, Calibration & Conformal Prediction
8 entriesKnowing how confident a model should be.
Probability in Language & Sequence Models
6 entriesHow token distributions are modelled and sampled.
Decisions, Bandits & Filtering
6 entriesProbability for sequential decision making and state estimation.
Libraries & Probabilistic Programming Tools
10 entriesSoftware for probability, sampling and Bayesian modelling.
Related Pages
12 entriesNeighbouring pages on this site.
Frequently Asked Questions
Why is probability important for AI?
Probability provides the language for uncertainty. Learning from noisy data, estimating parameters, generating new data, predicting the next token, choosing actions and reporting confidence all rely on probability distributions and Bayes' theorem.
What probability topics should I learn first for machine learning?
Random variables and common distributions, expectation and variance, conditional probability and Bayes' theorem, maximum likelihood estimation, and the law of large numbers and central limit theorem. Then move on to Bayesian inference, sampling methods and information theory.
What is the difference between frequentist and Bayesian approaches?
Frequentist methods treat parameters as fixed and probability as long-run frequency, while Bayesian methods treat parameters as random variables with a prior that is updated to a posterior using data. Many machine learning methods can be read either way, for example regularization as a prior.
How do generative models use probability?
VAEs, normalizing flows, diffusion models and autoregressive language models all learn a distribution over data, then sample from it. They differ in whether the likelihood is exact, approximated or implicit.
What is the difference between aleatoric and epistemic uncertainty?
Aleatoric uncertainty is noise inherent in the data and cannot be reduced by more data, while epistemic uncertainty comes from limited knowledge of the model and can shrink with more data. Methods such as ensembles, Bayesian neural networks and conformal prediction address different parts of this.
How current is this page?
Links were checked in October 2026. This is an introductory map, not a textbook: it points to free books, courses, papers and libraries. Sites that block automated checks are kept and may need a manual click.