The Map: Mathematics Behind Deep Learning
5 entriesDeep learning draws on a small set of mathematical areas, and each maps to a part of the workflow. Linear algebra describes data, layers and attention as vectors, matrices and tensors. Multivariable calculus and automatic differentiation give gradients for backpropagation. Probability and statistics supply the objectives (maximum likelihood), the generative models and the tools for honest evaluation. Optimisation explains how gradient-based training behaves, information theory gives cross-entropy and KL divergence, and numerical computing explains why precision and conditioning matter in practice. This page starts with the deep-learning-specific pages on this site, then collects free books, courses, papers and tools for each area.
Foundations & Learning Resources
7 entriesBroad texts and courses that cover the mathematics of machine learning.
Linear Algebra
6 entriesVectors, matrices, decompositions and numerical methods.
Calculus & Automatic Differentiation
10 entriesGradients, the chain rule and how frameworks compute them.
Optimisation
8 entriesHow gradient-based training behaves and why optimisers work.
Probability, Statistics & Information Theory
6 entriesThe language of uncertainty, estimation and information.
Geometry, Symmetry & Theory
4 entriesStructure beyond vectors: groups, graphs, manifolds and approximation.
Numerical Computing & Precision
4 entriesWhy floating-point behaviour matters for training.
Libraries & Tools
4 entriesSoftware for experimenting with the mathematics.
Related Pages
11 entriesNeighbouring pages on this site.
Frequently Asked Questions
Why does deep learning need statistics?
Training objectives such as cross-entropy and squared error are maximum likelihood estimates under assumed noise models, and questions about overfitting, evaluation, uncertainty and data shift are statistical questions. Without them it is hard to tell a real improvement from noise.
What statistics topics should I learn first for deep learning?
Start with random variables and distributions, expectation and variance, maximum likelihood and Bayes' theorem, then the bias-variance tradeoff, cross-validation and the bootstrap. After that, calibration, hypothesis testing for model comparison and distribution shift matter most in practice.
How do I know whether one model is really better than another?
Evaluate on held-out data, report uncertainty (for example confidence intervals from the bootstrap or variation across random seeds), and use an appropriate test when comparing models. The evaluation section lists papers on comparing classifiers and on error bars for language-model evaluations.
What is calibration and why does it matter?
A model is calibrated when its stated probabilities match observed frequencies. Guo et al. found that modern neural networks are often overconfident, and the uncertainty section lists methods such as temperature scaling, deep ensembles and conformal prediction.
Does the bias-variance tradeoff still apply to large neural networks?
The classical U-shaped curve describes many models, but work on double descent shows that test error can fall again as models grow past the point of fitting the training data. The generalisation section lists the main papers.
How is this page different from Probability Theory for AI?
That page covers probability, Bayesian inference and generative models. This page focuses on statistical practice for deep learning: estimation and regularisation, generalisation, evaluation and significance, uncertainty, distribution shift and experiment design.