Learn AI, from first principles to the frontier¶
A field guide to the whole of artificial intelligence: the maths underneath it, the models that power the boom, the systems that run them, and the people and papers that got us here. 162 pages, each one readable from three altitudes.
10,000 ft Where an idea sits in the whole field and why it matters. Read only these and you will know the shape of AI.
2,000 ft The mechanism as a map: one diagram and a few steps you could explain to a colleague.
Ground level Derivations, first principles, code you can run, self-tests, and the papers, lectures and books to go deeper.
The tracks¶
Foundations¶
-
Linear algebra, calculus, probability, information theory and optimisation — from first principles, with the AI use of each.
14 pages
-
Learning from data before deep learning — and the ideas deep learning never stopped using.
12 pages
-
Neural networks from a single neuron to deep residual stacks — built by hand, then trained properly.
13 pages
Models¶
-
Tokens to attention to GPT — the architecture of the boom, every equation derived.
16 pages
-
How a raw next-token predictor becomes a helpful, honest assistant — SFT, RLHF, DPO, RL with verifiable rewards.
10 pages
-
Learning by acting — from Bellman equations to AlphaZero to RL that trains reasoning models.
10 pages
-
Generative models and multimodal
VAEs, GANs, diffusion and flow matching; images, vision-language, audio and video.
10 pages
Building¶
-
GPUs, kernels, numerics, distributed training, quantisation, serving — and what it all costs.
10 pages
-
Building real products on models — prompting, RAG, tools, agents, evals, guardrails and shipping.
14 pages
-
Where the data comes from, how it is cleaned, labelled, synthesised and kept honest in production.
5 pages
-
Learn by building — a ladder of projects from a micrograd clone to a production agent, plus self-tests.
6 pages
Safety & frontier¶
-
Evaluation, safety and interpretability
Measuring models honestly, opening the black box, and governing what we build.
8 pages
-
Where the field is moving — and how to keep up without drowning.
6 pages
Story & library¶
-
The Thinking Machine Era, rewritten — three booms, the people, the companies and the road ahead.
12 pages
-
The canon — papers, lectures, courses, books, blogs and people — plus the glossary and formula sheets.
9 pages
Three ways in¶
-
Just get the big picture
Read the map of AI, then the 2,000-ft index page of each track. A weekend.
-
Become a builder
LLM engineering and the project ladder, dipping into theory as you need it.
-
Master it properly
Follow a learning path: maths → ML → deep learning → transformers → post-training → systems.