Destinations
How Image Generators Work
Image generators look like magic until you see that they are trained to do one modest thing, guess the noise in a picture. Reaching here lets you read the papers and see where the probability and the networks come in.
0 of 51
Once you're there
Explain how a diffusion model turns noise into a picture, step by step.
Read next: Ho, Jain and Abbeel (2020), Denoising Diffusion Probabilistic Models
Next up
- Logic and ProofThe rules for "and", "or", "not", "if … then", "for all" and "there exists", and the standard ways to prove a statement true.Bridge · Proof & Discrete Maths
- Functions and Their GraphsFunctions as rules from inputs to outputs, with their domain, range, graph, transformations, compositions and inverses.Bridge · Functions & Calculus
- VectorsQuantities with both size and direction, written as columns of numbers, added head to tail and scaled by numbers.Bridge · Multivariable & Vector Calculus
- Systems of Linear EquationsSeveral linear equations in several unknowns, solved together: there is one solution, none, or infinitely many.Bridge · Linear Algebra
The path
Bridge 0 of 11
- Logic and ProofThe rules for "and", "or", "not", "if … then", "for all" and "there exists", and the standard ways to prove a statement true.Bridge · Proof & Discrete Maths
- Functions and Their GraphsFunctions as rules from inputs to outputs, with their domain, range, graph, transformations, compositions and inverses.Bridge · Functions & Calculus
- VectorsQuantities with both size and direction, written as columns of numbers, added head to tail and scaled by numbers.Bridge · Multivariable & Vector Calculus
- Systems of Linear EquationsSeveral linear equations in several unknowns, solved together: there is one solution, none, or infinitely many.Bridge · Linear Algebra
- Sets, Functions and NotationSets, the symbols for combining them, and functions as rules sending each element of one set to exactly one element of another.Bridge · Proof & Discrete Maths · Needs a step first
- Polynomials and QuadraticsQuadratics in depth (completing the square, the discriminant) and polynomials of any degree: their roots, factors, division and graphs.Bridge · Functions & Calculus · Needs a step first
- Exponentials and LogarithmsExponential functions, which grow or shrink by a fixed factor per step, and logarithms, which undo them; with the special base .Bridge · Functions & Calculus · Needs a step first
- Trigonometric Functions and RadiansSine, cosine and tangent as functions of any angle, measured in radians, with their graphs and the main identities.Bridge · Functions & Calculus · Needs a step first
- Sequences and SeriesLists of numbers that follow a rule, the sums of their terms, and when an infinite sum adds up to a finite number.Bridge · Functions & Calculus · Needs a step first
- Permutations and CombinationsCounting arrangements and selections without listing them: factorials, permutations, combinations and the binomial theorem.Bridge · Proof & Discrete Maths · Needs a step first
- Conditional ProbabilityThe probability of one event once you know another has happened, and what it means for two events to be independent.Bridge · Probability & Statistics · Needs a step first
Core 0 of 14
- Matrices as TransformationsA matrix is a rule that moves every vector in a straight-line-preserving way; its columns say where the basis vectors land.Core · Linear Algebra · Needs a step first
- Limits and ContinuityThe value a function approaches as its input nears a point or grows without bound, and what it means to have no jumps.Core · Functions & Calculus · Needs a step first
- Dot and Cross ProductsTwo ways to multiply vectors: the dot product gives a number that measures alignment; the cross product gives a vector perpendicular to both.Core · Multivariable & Vector Calculus · Needs a step first
- DeterminantsOne number for each square matrix: the factor by which it scales area or volume, with a sign for whether it flips orientation.Core · Linear Algebra · Needs a step first
- Gaussian Elimination and InversesA systematic way to solve any linear system by row operations, which also finds the inverse of a matrix.Core · Linear Algebra · Needs a step first
- The DerivativeThe instantaneous rate of change of a function, the slope of its tangent, defined as a limit of slopes over shrinking intervals.Core · Functions & Calculus · Needs a step first
- Rules of DifferentiationThe rules that differentiate any formula built from powers, exponentials, logarithms and trig functions: product, quotient and chain rules.Core · Functions & Calculus · Needs a step first
- The Integral and the Fundamental TheoremThe integral adds up infinitely many small pieces to give an area or a total, and the fundamental theorem says this undoes differentiation.Core · Functions & Calculus · Needs a step first
- Bayes' TheoremTurns the chance of the evidence given a cause into the chance of the cause given the evidence, weighing how common the cause is.Core · Probability & Statistics · Needs a step first
- Random Variables, Expectation and VarianceA number decided by chance, summed up by its expectation (the long-run average) and its variance (how far it typically strays).Core · Probability & Statistics · Needs a step first
- Rates of Change and ExtremesUsing derivatives to find where a function is largest or smallest, how fast linked quantities change, and the shape of a graph.Core · Functions & Calculus · Needs a step first
- Techniques of IntegrationThe methods for finding antiderivatives that are not obvious: substitution, integration by parts and partial fractions.Core · Functions & Calculus · Needs a step first
- Binomial, Poisson and Normal DistributionsThree shapes chance takes again and again: counts of successes, counts of rare events, and measurements clustered around an average.Core · Probability & Statistics · Needs a step first
- Correlation and RegressionMeasuring how closely two quantities move together, and fitting the straight line that best predicts one from the other.Core · Probability & Statistics · Needs a step first
Undergraduate I 0 of 13
- Vector Spaces, Basis and DimensionAny collection you can add and scale like arrows, measured by its dimension: how many independent directions it holds.Undergraduate I · Linear Algebra · Needs a step first
- Eigenvalues and EigenvectorsThe directions a matrix only stretches and never turns, and the factor by which it stretches each one.Undergraduate I · Linear Algebra · Needs a step first
- Orthogonality and ProjectionsPerpendicular vectors, and how to split any vector into a part inside a subspace and a part at right angles to it.Undergraduate I · Linear Algebra · Needs a step first
- Least SquaresThe best approximate solution of a system with too many equations: the one whose errors have the smallest sum of squares.Undergraduate I · Linear Algebra · Needs a step first
- Partial Derivatives and the GradientDerivatives of a function of several variables, taken one variable at a time, and the gradient vector that collects them.Undergraduate I · Multivariable & Vector Calculus · Needs a step first
- Information and EntropyEntropy measures the average surprise of a random outcome, in bits: the shortest average code length.Undergraduate I · Optimisation & Information · Needs a step first
- The Multivariable Chain Rule and JacobiansHow rates of change pass through functions of several variables, organised as a product of Jacobian matrices.Undergraduate I · Multivariable & Vector Calculus · Needs a step first
- Probability DensitiesProbability for quantities that vary continuously, described by a density whose area over an interval is the chance of landing there.Undergraduate I · Probability & Statistics · Needs a step first
- Optimisation in Many VariablesFinding the highest and lowest points of a function of several variables: where the gradient is zero, sorted by the Hessian.Undergraduate I · Optimisation & Information · Needs a step first
- The Central Limit TheoremAdd up many independent random quantities and the total is close to normal, whatever each one's own distribution looks like.Undergraduate I · Probability & Statistics · Needs a step first
- Joint Distributions and CovarianceHow two or more random quantities behave together, and covariance, which measures whether they tend to rise and fall together.Undergraduate I · Probability & Statistics · Needs a step first
- Gradient DescentRepeatedly stepping against the gradient, , to walk downhill towards a minimum.Undergraduate I · Optimisation & Information · Needs a step first
- Confidence Intervals and Hypothesis TestsTurning a sample into a statement about the whole population: a range of plausible values, or a test of a claim.Undergraduate I · Probability & Statistics · Needs a step first
Undergraduate II 0 of 8
- The Spectral TheoremEvery real symmetric matrix has real eigenvalues and perpendicular eigenvectors, so it is just stretching along perpendicular axes.Undergraduate II · Linear Algebra · Needs a step first
- Maximum LikelihoodEstimating a model's parameters by choosing the values that make the observed data most probable.Undergraduate II · Probability & Statistics · Needs a step first
- Bayesian InferenceTreating an unknown parameter as uncertain: give it a prior distribution and update it with data by Bayes' theorem.Undergraduate II · Probability & Statistics · Needs a step first
- Cross-Entropy and KL DivergenceCross-entropy measures how many bits a model needs to describe data really drawn from ; KL divergence is the excess over the minimum.Undergraduate II · Optimisation & Information · Needs a step first
- The Multivariate NormalThe bell curve in many dimensions, set by a mean vector and a covariance matrix, with elliptical contours.Undergraduate II · Probability & Statistics · Needs a step first
- Linear Regression as LearningFitting by choosing the parameters that minimise the mean squared error: the simplest model that learns from data.Undergraduate II · Machine Learning · Needs a step first
- Logistic Regression and ClassificationA linear score passed through the sigmoid to give a probability, trained by minimising cross-entropy.Undergraduate II · Machine Learning · Needs a step first
- Overfitting and RegularisationA model that fits its training data too closely does worse on new data; regularisation trades a little training fit for better generalisation.Undergraduate II · Machine Learning · Needs a step first
Frontier 0 of 5
- Stochastic Gradient Descent and AdamGradient descent using the gradient of a small random batch instead of all the data, plus momentum and per-parameter step sizes (Adam).Frontier · Optimisation & Information · Needs a step first
- Neural NetworksLayers of simple units, each a weighted sum passed through a nonlinear function, composed into a function that can fit almost anything.Frontier · Machine Learning · Needs a step first
- BackpropagationComputing the gradient of the loss with respect to every weight by applying the chain rule backwards through the network, layer by layer.Frontier · Machine Learning · Needs a step first
- Training Deep NetworksThe practical craft that makes deep networks learn: sensible initialisation, normalisation, learning-rate schedules, minibatches and watching validation loss.Frontier · Machine Learning · Needs a step first
- Diffusion and Generative ModelsModels that learn to produce new samples like their training data; diffusion models do it by learning to remove noise step by step.Frontier · Machine Learning · Needs a step first