Tracks
One course, four ways through it. Each part's page has the same buttons, so you can switch level chapter by chapter.
Undergraduate · Master's · Research · Engineering
Undergraduate track
A first course in how modern AI works: the ideas, the pictures, the arithmetic, the history.
For a student with calculus, a little linear algebra and some programming. In each part watch the chapters marked Undergraduate, run the lab, and do the first problems of the set.
31 parts · about 8 hours of film.
| Part | What you take from it | Chapters to watch | Time |
|---|---|---|---|
| 1 | The Guessing GameCompute the surprise of an outcome and the entropy of a distribution in bits, and say what each measures. | Shannon's guessing game; Probability, and the chain rule; How surprised to be; Entropy, and why it is unique; Learning by counting, and Laplace's rule; Shannon's 1951 experiment; What it takes to guess well | 23 min |
| 2 | Thinking MachinesTrace breadth-first search, uniform-cost search and A* on a small graph, and say which of them return a shortest path. | Forty years to checkmate; Can machines think?; Search; A*; Games and alpha-beta; ELIZA; The winters | 23 min |
| 3 | Vectors That Mean ThingsCompute a dot product and a cosine similarity, and say what each tells about two word vectors. | Where words live; Vectors and the inner product; Matrices move space; Projection and least squares; Every matrix: turn, stretch, turn; Word vectors from counting; Life in 768 dimensions | 18 min |
| 4 | ChangeExplain a derivative as the slope of the best line, and a gradient as the direction of steepest ascent. | Four billion derivatives; The derivative; Many inputs: the gradient; Backpropagation, by hand; Training with our library | 13 min |
| 5 | Randomness in MotionExplain why sums of many small independent effects look like a bell curve, and fit a mean and a spread by maximum likelihood. | Out of noise; The bell curve; Fitting a bell: maximum likelihood; Belief as a distribution; Rolling loaded dice; Answers from random samples; Brownian motion | 20 min |
| 6 | Classical MLFit a line by least squares and a classifier by logistic regression, and read the fitted weights as a rule for telling two authors apart. | Who wrote this page?; Least squares; Logistic regression; Neighbours, and the curse of dimensionality; Trees: twenty questions | 14 min |
| 7 | Statistical MLExplain what a principal component is and compute the share of the spread it keeps. | Structure nobody labelled; Principal components, two ways; Mixtures and EM; Hidden Markov models; From graphs to causes | 17 min |
| 8 | Fitting and GeneralizingExplain the difference between training error and risk, and why the best of many rules looks better on its training examples than it is. | The gap; Risk, and the best possible rule; Bias and variance, derived; One rule, then many; Memorizing nonsense; Double descent | 18 min |
| 9 | NetworksRun the perceptron rule by hand, and show with four inequalities that no single unit computes XOR. | How we got here; The first neurons; The perceptron learns; XOR, and the first winter; One layer can do anything; The second winter, and the revival | 18 min |
| 10 | Seeing and RememberingCompute a convolution of a small image with a 3 x 3 kernel by hand, and count the weights that sharing saves against a fully connected layer. | The edge that lit a neuron; Vision before deep learning; Convolution; LeNet and MNIST; ImageNet and AlexNet; A character LSTM | 17 min |
| 11 | Going DownhillExplain why a step larger than 2 / L diverges on a bowl of curvature L, and what the condition number does to gradient descent. | Racing downhill; Gradient descent, derived; Stochastic gradients; AdaGrad, RMSProp, Adam | 11 min |
| 12 | The Mathematics of ScaleRead a scaling-law plot: name the floor and the slope, and say what a straight line on log axes does and does not promise beyond the measured range. | A straight line on log axes; Scaling laws, measured; What Kaplan missed; Emergence, or a mirage? | 11 min |
| 13 | Attention as GeometryCompute one head's output by hand: scores, softmax weights and the weighted average of the values, and say what the causal mask removes. | Every character looks back; A weighted average; Why divide by the square root of d; Who may look at whom; Our own transformer; Where is each character? | 18 min |
| 14 | The Language-Model LineageTell the lineage in order, from the 2017 Transformer through GPT-1, BERT, T5, GPT-2 and GPT-3 to ChatGPT and open weights, saying what each step changed. | From a translation paper to the open frontier; Attention is all you need; Pretrain, then fine-tune; Masked language models and the benchmark era; Unsupervised multitask learners; ChatGPT and the closed era; Open weights | 23 min |
| 15 | MemoryPrice a KV cache from layers, key-value heads, head size and context length, and say what grouped queries and latent attention save. | Everything it has read; The cache; Attention without the softmax; A matrix that remembers; How long is a context, really? | 15 min |
| 16 | SparsityExplain what a router, a gate and an expert are, and why a top-k mixture has many more parameters than it uses for one token. | A few experts at a time; Competing experts, 1991; A mixture, trained; Counting parameters, and upcycling; Lottery tickets | 13 min |
| 17 | SiliconExplain why clock speeds stopped rising in the early 2000s and why that made parallel chips the way forward. | Eighty million times the arithmetic; The power wall; From pixels to GPGPU; AlexNet: the moment; Matrix multiply is the workload; The memory hierarchy | 20 min |
| 18 | Pretraining at ScaleDescribe the stages between a web crawl and a pretraining corpus, and say what each one removes. | Sixteen thousand GPUs, fifty-four days; Anatomy of a frontier run; From the web to text; What the model is asked to predict | 9 min |
| 19 | InferenceExplain why a decode step is bound by memory bandwidth and a prefill by arithmetic, and compute the weight-only bound on tokens per second. | One token at a time; The key-value cache, priced; Rounding error; Constrained decoding | 13 min |
| 20 | Four Ways to GenerateExplain what it means to sample from, evaluate and encode with a generative model, and name what each of the five families gives up. | Digits nobody wrote; The generative problem; One pixel at a time; The adversarial game; Hopfield and Boltzmann | 15 min |
| 21 | Diffusion and FlowDescribe the forward process and compute how much signal and noise are left after t steps. | From noise; Destroying data slowly; Guidance; From points to pictures | 11 min |
| 22 | Images, Video and 3DCount a vision transformer's tokens for a given picture and patch size, and say how attention's cost grows when the patch halves. | Letters from noise; An image is a sequence; Convolutions or attention?; Words into pictures | 8 min |
| 23 | Every Sense Is a TokenRun byte-pair encoding by hand on a short phrase and count the symbols each merge saves. | One sequence; How we got here; Merges as compression; Bytes and patches; Sampling sound; From Audrey to hidden Markov models | 16 min |
| 24 | Learning Without LabelsExplain what a pretext task is and how a frozen representation is judged by a linear probe and by nearest neighbours. | Nobody told it what a digit is; Learning without labels; Invent a puzzle; Collapse | 12 min |
| 25 | Symmetry and ScienceTell an invariant function from an equivariant one, and name the symmetry of a set, a graph and a molecule. | Turn the molecule; How we got here; Invariance and equivariance; The protein-folding problem | 11 min |
| 26 | Reinforcement Learning, from Bellman to AlphaZeroWrite the return, the value of a state and Bellman's equation for a small Markov decision process, and run value iteration on it by hand for a few sweeps. | The move nobody would play; Learning from consequences; Bellman's equation; Temporal differences; Search before learning; AlphaGo | 20 min |
| 27 | Post-Training and AlignmentExplain the stages that turn a pretrained model into an assistant, and what data each stage needs from people. | The same model, before and after; From predictor to assistant; Supervised fine-tuning; Feedback from AI, rules from people; What goes wrong | 14 min |
| 28 | ReasoningExplain why writing intermediate steps lets a fixed-depth model compute something it cannot compute in one pass, using the parity experiment. | From "let's think step by step" to o1 and R1; Thinking out loud is computing; Many chains, one vote; Proofs a machine can check; Puzzles nobody has seen | 17 min |
| 29 | Agents and WorldsCompute the chance that a task of n steps succeeds at per-step reliability p, and the task length at which it falls to one half. | Many steps in a row; From Shakey to agents; Acting without seeing everything; The agent loop; Compounding error; Learning by imitation | 17 min |
| 30 | Inside the ModelExplain what a feature as a direction means, and why a network can store more features than it has dimensions when features are rarely on. | What is it thinking?; How we got here; More ideas than dimensions | 8 min |
| 31 | Can We Trust It?Put a bootstrap interval on a benchmark score and explain why two models should be compared on the same items. | We built every piece; Measuring a model; Has it seen the test?; Reward hacking; Evidence of deception; The guessing game, revisited | 22 min |
Master's track
The derivations and the models of a graduate machine-learning degree, each trained or probed on screen.
The whole course at the level of a master's in machine learning: every numbered chapter, every lab with its three extensions, and the problem set.
31 parts · about 23 hours of film.
| Part | What you take from it | Chapters to watch | Time |
|---|---|---|---|
| 1 | The Guessing GameProve Kraft's inequality on the binary tree and derive L >= H from it with Jensen's inequality. | Shannon's guessing game; Probability, and the chain rule; How surprised to be; Entropy, and why it is unique; Prefix codes and the Kraft-McMillan inequality; The best code: Huffman, and why it is optimal; Cross-entropy and KL: the price of a wrong model; Arithmetic coding: prediction is compression; Learning by counting, and Laplace's rule and 5 more | 49 min |
| 2 | Thinking MachinesProve that A* with an admissible heuristic returns an optimal path, and that a consistent heuristic makes f non-decreasing along every path. | Forty years to checkmate; Can machines think?; Search; A*; Where heuristics come from; Climbing and cooling; Games and alpha-beta; Machines that learned to play; Logic and resolution and 5 more | 49 min |
| 3 | Vectors That Mean ThingsDerive the projection onto a column space and the SVD from the spectral theorem applied to the Gram matrix. | Where words live; Vectors and the inner product; Tensors and einsum; Matrices move space; Projection and least squares; Directions that stay put; Power iteration, run live; Every matrix: turn, stretch, turn; The best low-rank copy and 6 more | 43 min |
| 4 | ChangeDerive the Jacobian of the softmax and the vector-Jacobian products of a matrix product. | Four billion derivatives; The derivative; Many inputs: the gradient; Maps that bend: the Jacobian; The Jacobians of real layers; Forwards or backwards?; Backpropagation, by hand; Calculus in a few pages of code; Training with our library and 7 more | 44 min |
| 5 | Randomness in MotionDerive the conditional of a multivariate Gaussian, the Cramer-Rao bound, and the maximum-entropy distribution under a mean constraint. | Out of noise; The bell curve; Bells in many dimensions; Fitting a bell: maximum likelihood; How precise can an estimate be?; Belief as a distribution; Maximum entropy; How far from the average?; Rolling loaded dice and 7 more | 46 min |
| 6 | Classical MLDerive ridge's shrinkage factors through the SVD and the lasso's soft threshold from subgradients. | Who wrote this page?; Least squares; The best linear unbiased line; Ridge: shrinking the weak directions; The lasso: soft thresholds and a path; Logistic regression; Newton's method, and lines that run away; Naive Bayes: generative or discriminative?; Fisher's direction and 8 more | 45 min |
| 7 | Statistical MLDerive PCA from a Lagrange multiplier and EM's lower bound from Jensen's inequality, and prove that EM never lowers the likelihood. | Structure nobody labelled; Principal components, two ways; PCA as a probability model; The cocktail party; Mixtures and EM; Topic models; Hidden Markov models; Baum-Welch, and machines that listen; Translation by counting and 6 more | 45 min |
| 8 | Fitting and GeneralizingDerive the union bound for a finite family and the VC bound through the growth function and the Sauer-Shelah lemma. | The gap; Risk, and the best possible rule; Bias and variance, derived; One rule, then many; Shattering and the VC bound; Rademacher complexity; Margins; Compression and stability; Memorizing nonsense and 6 more | 41 min |
| 9 | NetworksProve Novikoff's bound, and derive the delta equations of backpropagation. | How we got here; The first neurons; The perceptron learns; XOR, and the first winter; Backpropagation; One layer can do anything; What depth adds; The second winter, and the revival; Initialization, derived and 4 more | 42 min |
| 10 | Seeing and RememberingProve that convolution commutes with translation, and compute a stack's receptive field from its kernels and strides. | The edge that lit a neuron; Vision before deep learning; Convolution; Receptive fields, stride and pooling; LeNet and MNIST; ImageNet and AlexNet; Why AlexNet won; Deeper: VGG, Inception, ResNet; What the filters learn and 6 more | 44 min |
| 11 | Going DownhillDerive the descent lemma and the linear rate of gradient descent, and the heavy ball's tuned momentum from the roots of its recurrence. | Racing downhill; Gradient descent, derived; The heavy ball and Nesterov; Stochastic gradients; The edge of stability; AdaGrad, RMSProp, Adam; Weight decay is not L2; Shampoo and SOAP; Muon, derived and 5 more | 42 min |
| 12 | The Mathematics of ScaleDerive muP's learning-rate rule from how random sums and aligned updates grow with width, and run a coordinate check. | A straight line on log axes; Lazy; muP, derived; One learning rate for every width; Deeper and deeper; How big a batch?; Scaling laws, measured; Chinchilla's valley; What Kaplan missed and 6 more | 40 min |
| 13 | Attention as GeometryDerive Var(q . k) = d for independent unit-variance entries, and the softmax Jacobian that makes a saturated head hard to train. | Every character looks back; A weighted average; A memory that recalls; Why divide by the square root of d; Heads are low-rank maps; Who may look at whom; Our own transformer; What a block costs; Where is each character? and 7 more | 48 min |
| 14 | The Language-Model LineageCount a decoder's parameters from its shape, 12Ld^2 plus the embeddings, and estimate its training compute as 6ND. | From a translation paper to the open frontier; Attention is all you need; Pretrain, then fine-tune; Masked language models and the benchmark era; Everything is text to text; Unsupervised multitask learners; Scale, and learning in context; Code, and following instructions; ChatGPT and the closed era and 5 more | 49 min |
| 15 | MemoryShow that N random unit keys in d dimensions give a relative read error of about (N - 1)/d when pairs are added. | Everything it has read; The cache; Keeping less of the cache; Attention without the softmax; A matrix that remembers; Forgetting and correcting; The delta rule as geometry; Training a recurrence in parallel; State-space models and 5 more | 43 min |
| 16 | SparsityDerive the router's gradient through a top-k softmax gate and through DeepSeek-V3's sigmoid gate, and check it by finite differences. | A few experts at a time; Competing experts, 1991; Top-k gates and the router's gradient; A mixture, trained; Collapse, and Switch's loss; Balancing without a loss; Fine-grained and shared experts; Capacity and dropped tokens; Experts across chips and 6 more | 37 min |
| 17 | SiliconDerive the arithmetic intensity of a matrix product and of its tiled form, and place a workload on a chip's roofline. | Eighty million times the arithmetic; The power wall; From pixels to GPGPU; Warps, divergence and latency; AlexNet: the moment; Matrix multiply is the workload; The memory hierarchy; The roofline; Tensor cores and systolic arrays and 5 more | 49 min |
| 18 | Pretraining at ScaleProve that two sets' minimum hashes agree with probability equal to their Jaccard similarity, and derive the banding curve. | Sixteen thousand GPUs, fifty-four days; Anatomy of a frontier run; From the web to text; Near-duplicates: MinHash and LSH; Quality, and keeping the test clean; Mixtures, synthetic data and collapse; What the model is asked to predict; Annealing, mid-training, long context; Counting FLOPs and bytes and 8 more | 48 min |
| 19 | InferenceProve that speculative sampling outputs the big model's distribution and accepts a draft with probability 1 - TV(p, q), and derive the expected tokens per pass. | One token at a time; Prefill and decode; The key-value cache, priced; Batching: speed against cost; Continuous batching; Pages and shared prefixes; Guess ahead, check at once; Drafters; Rounding error and 7 more | 49 min |
| 20 | Four Ways to GenerateDerive the ELBO and its gap, the optimal discriminator and the Jensen-Shannon form of the GAN value. | Digits nobody wrote; The generative problem; One pixel at a time; From Helmholtz machines to the VAE; Training a VAE: rate, distortion, collapse; The adversarial game; Why GANs spiral; GANs at scale: BigGAN, StyleGAN, inversion; Normalizing flows and 5 more | 42 min |
| 21 | Diffusion and FlowDerive the forward closed form, Tweedie's formula, and the equality of denoising and explicit score matching up to a constant. | From noise; Destroying data slowly; The bound, and guessing the noise; Tweedie's formula; Denoising score matching; Running time backwards; DDPM and DDIM; Noise schedules; EDM: preconditioning and Heun and 6 more | 44 min |
| 22 | Images, Video and 3DWrite out an adaLN-Zero block and show that it is the identity when its gates are zero. | Letters from noise; An image is a sequence; Convolutions or attention?; A smaller space; U-Net or transformer; adaLN-Zero; Words into pictures; Stable Diffusion 3 and Flux; Pictures as tokens and 5 more | 36 min |
| 23 | Every Sense Is a TokenCompute a word's probability under a unigram tokenizer with the forward algorithm, and its best cut with Viterbi. | One sequence; How we got here; Merges as compression; A probability for every cut; What a token is worth; Bytes and patches; Learning a codebook; Codes without a codebook; Sampling sound and 7 more | 46 min |
| 24 | Learning Without LabelsWrite the NT-Xent loss, compute its value at a collapsed encoder, and say what the temperature does to the push on near and far negatives. | Nobody told it what a digit is; Learning without labels; Invent a puzzle; Telling the real from the fake; Two views of one digit; Collapse; No negatives: BYOL and SimSiam; Decorrelate: Barlow Twins and VICReg; Self-distillation: DINO and 4 more | 42 min |
| 25 | Symmetry and ScienceWrite a Deep Sets network and one round of message passing, and check their permutation symmetry. | Turn the molecule; How we got here; Invariance and equivariance; Functions of sets; Message passing; Deep graph networks; The protein-folding problem; AlphaFold 2: the Evoformer; AlphaFold 2: frames, FAPE and recycling and 5 more | 44 min |
| 26 | Reinforcement Learning, from Bellman to AlphaZeroProve that the Bellman operator is a contraction in the max norm and deduce that value iteration converges at rate gamma. | The move nobody would play; Learning from consequences; Explore or exploit; Bellman's equation; Why value iteration works; Temporal differences; Q-learning; Deep Q-networks; Policy gradients and 5 more | 56 min |
| 27 | Post-Training and AlignmentDerive the optimum of the KL-regularized objective and its value beta log Z. | The same model, before and after; From predictor to assistant; Supervised fine-tuning; Low-rank adapters; Learning what people prefer; Reinforcement learning on a leash; When the measure becomes the target; Direct preference optimization; Feedback from AI, rules from people and 4 more | 42 min |
| 28 | ReasoningDerive GRPO's objective from the policy gradient: the group baseline, the ratio, the clip and the KL term. | From "let's think step by step" to o1 and R1; Thinking out loud is computing; Many chains, one vote; Checking the steps; Learning from a checker; GRPO, derived; The successors; How long to think; Thinking at answer time and 3 more | 41 min |
| 29 | Agents and WorldsDerive the belief update of a POMDP and identify it with the forward algorithm. | Many steps in a row; From Shakey to agents; Acting without seeing everything; The agent loop; Memory, and many agents; Compounding error; Horizons that double; Coding agents; Using a computer and 7 more | 48 min |
| 30 | Inside the ModelDesign a probing experiment with a control task and compute its selectivity. | What is it thinking?; How we got here; What does it know?; Reading the stream as it flows; Cause, not correlation; An induction circuit, end to end; More ideas than dimensions; Pulling the features apart; Better dictionaries and 5 more | 43 min |
| 31 | Can We Trust It?Derive the Bradley-Terry likelihood, its fixed point, and the Fisher information of a 2PL item. | We built every piece; Measuring a model; Has it seen the test?; Arenas and ratings; Judges, and what an item tells you; Forecasting capabilities; Reward hacking; Evidence of deception; Reading the chain of thought and 4 more | 49 min |
Research track
Each part's theory in the literature's generality, its frontier, and what is still open.
On top of the master's track: the chapters that prove the part's results in generality or reach its frontier, and the hardest problems of each set.
31 parts · about 27 hours of film.
| Part | What you take from it | Chapters of this track | Time |
|---|---|---|---|
| 1 | The Guessing GameState the asymptotic equipartition property, bound the size of the typical set, and prove the source coding theorem from it. | Typical sequences and the source coding theorem; Mutual information: what the past tells the future | 56 min |
| 2 | Thinking MachinesProve the halting problem undecidable by diagonalization. | Satisfiability | 53 min |
| 3 | Vectors That Mean ThingsProve the Johnson-Lindenstrauss lemma by a Gaussian projection, a chi-squared Chernoff bound and a union bound, and state the matching lower bound. | Random matrices and trained weights; Johnson-Lindenstrauss, proved; GPT-2's lopsided space | 52 min |
| 4 | ChangeState the KKT conditions and the assumptions under which strong duality holds, and derive the dual of the hard-margin SVM. | Inequalities, KKT and duality; Differentiating through a fixed point | 50 min |
| 5 | Randomness in MotionDerive Ito's lemma from the quadratic variation of Brownian motion, and the Fokker-Planck equation from Ito's lemma by integration by parts. | Itô's lemma; The density's own law | 52 min |
| 6 | Classical MLProve the Gauss-Markov theorem and the representer theorem, and state what each assumes. | Kernels: lifting without lifting | 49 min |
| 7 | Statistical MLDerive the ELBO identity, run coordinate-ascent variational inference on a conjugate model, and explain why the mean-field answer is too narrow. | Bayesian Occam's razor; Variational inference | 52 min |
| 8 | Fitting and GeneralizingProve the PAC-Bayes theorem by a change of measure, and optimize the bound over a Gaussian posterior for a small network. | PAC-Bayes: a bound that says something; Benign overfitting; Flat minima and the sharpness debate | 48 min |
| 9 | NetworksReproduce Maurey's argument for the 1/sqrt(n) rate of random units, and state Barron's theorem with its lower bound for fixed bases. | Escaping the curse of dimensionality; The edge of chaos; Kolmogorov-Arnold networks | 53 min |
| 10 | Seeing and RememberingDerive the fast gradient sign method from the linearity argument, and compare FGSM, PGD and adversarial training under one threat model. | Adversarial examples; Recurrence returns | 52 min |
| 11 | Going DownhillState the stochastic differential equation that models SGD, the stationary covariance it predicts, and the assumptions under which the step size over the batch size acts as a temperature. | Noise as temperature; The natural gradient and K-FAC; The optimizer race, 2024 to 2026 | 52 min |
| 12 | The Mathematics of ScaleDefine the neural tangent kernel, show that gradient flow at infinite width is kernel regression, and state what the lazy regime cannot learn. | Infinitely wide; Why power laws?; Has pretraining stalled? | 49 min |
| 13 | Attention as GeometryShow that one gradient step on in-context least squares is a linear attention layer, and state what agreement between a trained layer and that step does and does not establish. | Learning inside the prompt; What a transformer can compute | 54 min |
| 14 | The Language-Model LineageSay what an equal-compute comparison of a causal and a masked model holds fixed and what it does not, and design a task on which both can be scored. | Learning in context, in our own models | 52 min |
| 15 | MemoryClassify linear attention, decay, the delta rule, the gated delta rule, Titans and softmax attention as online learners: name each one's loss and optimizer. | A memory that learns; The frontier, late 2026 | 50 min |
| 16 | SparsityCompare block selection (NSA, MoBA) with a learned indexer (DSA) as sparse attention, and state what each can and cannot retrieve at a fixed number of keys per query. | Sparse attention by design; The frontier, late 2026 | 44 min |
| 17 | SiliconState Hong and Kung's lower bound on the traffic of a matrix product and the bandwidth lower bound for all-reduce, and say which algorithms meet them. | The frontier, late 2026 | 52 min |
| 18 | Pretraining at ScaleProve that no all-reduce beats the ring's bandwidth term, by counting the messages one number needs. | Data parallelism and the all-reduce; Keeping the run stable | 54 min |
| 19 | InferenceDerive the Optimal Brain Surgeon update and its error with a Lagrange multiplier, and explain how GPTQ applies it column by column. | Rotations: QuaRot and SpinQuant; The frontier, late 2026 | 55 min |
| 20 | Four Ways to GenerateState Kantorovich-Rubinstein duality, derive the WGAN objective from it, and explain why Jensen-Shannon is flat at log 2 for disjoint supports. | Wasserstein GANs; Neural ODEs and continuous flows; Where the families meet | 53 min |
| 21 | Diffusion and FlowProve the marginal-field theorem of flow matching and relate its straight paths to the Benamou-Brenier optimum. | Optimal transport and flow matching; One step from scratch; Diffusion for discrete data | 53 min |
| 22 | Images, Video and 3DDerive the projected covariance of a 3D Gaussian by linearizing the projection, and say when the linearization fails. | Borrowed eyes; One model for words and pictures; Gaussian splatting | 45 min |
| 23 | Every Sense Is a TokenDerive InfoNCE's optimal critic and the bound log N - L <= I(X; Y), and explain why a batch of N cannot certify more than log N. | Matching pictures and words | 50 min |
| 24 | Learning Without LabelsDerive InfoNCE's optimal critic and its bound, and the alignment-uniformity limit of the contrastive loss as N grows. | Alignment and uniformity; Predict the meaning, not the pixels; Do all models see the same world? | 52 min |
| 25 | Symmetry and ScienceProve that a message-passing network is at most as discriminating as 1-WL, and that an EGNN layer is E(n)-equivariant, reflections included. | What message passing can't see; Networks that turn with the molecule; Geometry and proofs; Discovery by search | 58 min |
| 26 | Reinforcement Learning, from Bellman to AlphaZeroState the Lai-Robbins lower bound and UCB1's regret, and prove that no-regret play by both players of a zero-sum game gives an approximate Nash equilibrium. | Planning with a learned model; Beyond perfect information | 62 min |
| 27 | Post-Training and AlignmentProve best-of-n's KL formula for an atomless reward and explain why it is only an upper bound for discrete text. | Inside our reward model | 47 min |
| 28 | ReasoningDerive the first-order entropy change of a softmax policy under a policy-gradient step and explain entropy collapse with it. | Entropy collapse; Sharper, or wider?; Thinking without words | 51 min |
| 29 | Agents and WorldsState DAgger's no-regret reduction and what its guarantee assumes about the expert and the policy class. | Worlds you can walk through | 51 min |
| 30 | Inside the ModelCompare the expected losses of the dedicated and antipodal solutions of the two-feature model and locate the phase boundary between them. | The phase diagram; Transcoders and attribution graphs; The frontier, 2025 to 2026; Where the field disagrees | 58 min |
| 31 | Can We Trust It?State what debate and weak-to-strong generalization would need to show to count as scalable oversight, and what the performance gap recovered measured here. | Supervising something stronger; Open problems | 56 min |
Engineering track
How labs and products use the idea: the systems, the published configurations, the failure cases.
For engineers: the undergraduate core of each part, then how it is built and served in practice, and the labs, which are the series' models in miniature.
31 parts · about 13 hours of film.
| Part | What you take from it | Chapters of this track | Time |
|---|---|---|---|
| 1 | The Guessing GameConvert between bits per token, bits per character, bits per byte and perplexity, and compare two models only in a unit that does not depend on the tokenizer. | Arithmetic coding: prediction is compression; Bits per character, bits per token; The scoreboard: language modeling is compression | 34 min |
| 2 | Thinking MachinesChoose between exact search, weighted A* and local search for a problem from its size and from how much a suboptimal answer costs. | Knowledge is power; What survives | 30 min |
| 3 | Vectors That Mean ThingsWrite a contraction in einsum and count its cost, and pick the cheaper order of a matrix chain. | Gradients are low rank; Low rank in the wild | 26 min |
| 4 | ChangeChoose the step of a gradient check from the precision in use, and recognise cancellation and overflow in a loss. | Numbers in a computer; Cancellation, and the gradient check; Memory: storing or recomputing | 23 min |
| 5 | Randomness in MotionChoose and report a decoding rule, measuring surprise, diversity and repetition rather than likelihood alone. | How a language model chooses; The gradient of an average | 26 min |
| 6 | Classical MLCompare classifiers on the same cross-validation folds, reporting ROC area, log loss and calibration as well as accuracy. | Keeping score honestly; The contest, and two cultures | 20 min |
| 7 | Statistical MLBuild an n-gram model with Kneser-Ney smoothing and report its bits per character on held-out text. | Translation by counting; The infinity-gram; Bayesian optimization | 24 min |
| 8 | Fitting and GeneralizingCorrect a covariate shift by importance weighting, with weights from a domain classifier, and report the effective sample size. | Distribution shift; Memorization in language models | 24 min |
| 9 | NetworksCount the weights of a transformer block from a published configuration, including the 8d/3 width of a SwiGLU MLP. | The modern block; A neural language model | 24 min |
| 10 | Seeing and RememberingCompute the cost ratio of a depthwise separable convolution, and explain why measured speed-ups differ from the FLOP ratio. | Cheaper convolutions; Sequence to sequence | 24 min |
| 11 | Going DownhillRun a fair optimizer comparison: tune each baseline over a grid, match budgets and data order, use several seeds and report the spread. | The race, run fairly; Schedules and the river valley; Keeping training stable | 21 min |
| 12 | The Mathematics of ScaleTransfer a learning rate tuned on a narrow, shallow model to a wide, deep one, and say what copying the rate costs without muP. | One learning rate for every width; How big a batch?; Trained for the long run; Experts and bits | 20 min |
| 13 | Attention as GeometryChoose among sinusoidal, rotary, ALiBi and no positions, and extend a rotary model's context with position interpolation or YaRN and a short fine-tune. | What a block costs; Longer than it was trained for; Keeping scores in range; Attention in 2026 | 30 min |
| 14 | The Language-Model LineageRead a model card: layers, width, heads, context, total and active parameters, tokens per parameter, and whether a compute figure is published or an outside estimate. | The architecture converges; The open frontier, 2024 to 2026; Compute, cost and data | 35 min |
| 15 | MemoryChoose a cache policy (a window, kept sink tokens, heavy hitters) and say what each risks evicting. | Keeping less of the cache; Hybrids; Retrieval as memory | 23 min |
| 16 | SparsityChoose between an auxiliary loss, a loss-free bias and a capacity factor for a mixture, and say what each costs in dropped tokens and in the busiest chip's load. | Capacity and dropped tokens; Experts across chips; Two in four, and sparse activations | 21 min |
| 17 | SiliconRead a datasheet's peak, bandwidth and link speed, compute the ridge, and decide whether a matrix-vector or a matrix-matrix workload can reach the roof. | Writing a kernel; FLOPs, dollars and watts; Beyond the GPU | 30 min |
| 18 | Pretraining at ScaleChoose a layout of data, tensor, pipeline, context and expert parallelism for a given cluster, and compute the run's model FLOPs utilization. | Quality, and keeping the test clean; Context, experts, and utilization; When hardware fails; Our own full recipe | 20 min |
| 19 | InferenceSize a server: choose a batch, a page size and a prefix cache from the context length, the memory and the price of a GPU-hour. | Batching: speed against cost; Continuous batching; Pages and shared prefixes; The cache in fewer bits; Attention at serve time | 26 min |
| 20 | Four Ways to GenerateReport a generator with FID, precision and recall together, stating the feature network, the sample size and the reference set. | GANs at scale: BigGAN, StyleGAN, inversion; Judging a generator; Five models, one budget | 24 min |
| 21 | Diffusion and FlowChoose a sampler, a step spacing and a noise schedule for a budget of network evaluations, and measure the result against a many-step reference. | Noise schedules; DPM-Solver: an exact linear part; Distillation; Diffusion language models | 24 min |
| 22 | Images, Video and 3DChoose a latent size knowing the reconstruction-generation dilemma, and budget a model by tokens and multiply-adds. | U-Net or transformer; Stable Diffusion 3 and Flux; Squeezing time; Rolling forward | 20 min |
| 23 | Every Sense Is a TokenChoose a vocabulary size and tokenizer for a corpus, and compare models with different tokenizers in bits per character on the same text. | Neural codecs; Listening at scale; Speaking; Models that see; Every sense at once | 33 min |
| 24 | Learning Without LabelsChoose between a frozen probe, few-label probe and fine-tuning to evaluate an encoder, and monitor training without labels with the effective rank. | Scale and curation; Every method, one budget; Embeddings for search | 23 min |
| 25 | Symmetry and ScienceCheck a trained model's symmetry numerically by turning, shifting and reordering its inputs, and report the error against its test error. | Designing proteins; Weather on a mesh; Materials by the million | 21 min |
| 26 | Reinforcement Learning, from Bellman to AlphaZeroImplement tabular Q-learning and a DQN with replay and a target network, and diagnose divergence from the deadly triad. | Deep Q-networks; Trust regions and PPO; Learning from zero | 34 min |
| 27 | Post-Training and AlignmentChoose a LoRA rank from the parameter count r(d + k) and the measured trade between accuracy and forgetting. | Low-rank adapters; Distillation; Adding models together; The open recipes | 25 min |
| 28 | ReasoningCompare GRPO with Dr. GRPO, DAPO, GSPO and CISPO by the term each changes, and recognize a collapsed run from its entropy and its share of groups with no signal. | The successors; How long to think; Thinking at answer time | 27 min |
| 29 | Agents and WorldsRead an agent benchmark score (SWE-bench Verified, OSWorld, Terminal-Bench) with its known flaws, and tell a company claim from an independent measurement. | Coding agents; Using a computer; From simulation to reality; Action tokens, and robot foundation models | 30 min |
| 30 | Inside the ModelTrain a sparse autoencoder and report sparsity, variance explained, spliced-in loss and dead latents, not reconstruction error alone. | Pulling the features apart; Better dictionaries; Reaching in | 18 min |
| 31 | Can We Trust It?Report an evaluation with its interval, its pairing, its contamination check and its prompt sensitivity, and read an arena rating with its error bar. | Forecasting capabilities; Reading the chain of thought; Dangerous capabilities and safeguards | 32 min |