AI Foundationspredict · compress · act
A FIELD GUIDE TO HOW MACHINES LEARN

Guess. Check.
Improve.

A machine makes a guess. It checks how wrong the guess was. Then it changes itself a little. Do that a few billion times and you get a model. This guide follows that one loop — from a single bit of information to an agent that acts.

Start the story →See the map

the whole field in one picture

One idea, seen six ways

Every topic in this guide is one of six jobs. They are not rivals. They are the same object looked at from six angles.

DATA · EXPERIENCETHE PRISMRepresentWhat is the state?InferWhat follows?LearnWhat should change?Search & planningWhat sequence?ActWhat to do now?MeasureHow good, and how much?
The same data, refracted into six jobs. A real topic can use several at once — that is why the field feels tangled until you see the prism.
the six jobs

What an AI is actually doing

RepresentWhat is the state?

Turn the world into numbers a machine can work with.

tokens, embeddings, world models
InferWhat follows?

Work out what is likely, given what it knows.

Bayes, causality, retrieval
LearnWhat should change?

Get a little less wrong by looking at data.

gradient descent, scaling laws
Search & planningWhat sequence?

Look through many options and keep a good one.

planning, MCTS, theorem proving
ActWhat to do now?

Choose an action and live with the result.

reinforcement learning, tools, agents
MeasureHow good, and how much?

Put a number on surprise, error, and cost.

entropy, cross-entropy, evaluations
the stack

Eight layers, from maths to institutions

A topic lives at one layer and is looked at through one or more jobs. The lower layers change slowly. The upper layers change monthly.

L0Foundations & theoryThe maths underneath everything.probability, optimisation, information
L1ModelThe shape of the thing that learns.transformer, CNN, diffusion, mixture of experts
L2DataWhat it reads.curation, synthetic data, licensing
L3ComputeWhat runs it.GPUs, memory bandwidth, power
L4TrainingHow it is taught.gradients, fine-tuning, RLHF
L5Serving & deploymentHow it answers once it is trained.decoding, batching, quantisation
L6Systems, agents & applicationsWhat it does for someone.tools, memory, sandboxes, coding agents
L7Ecosystem & institutionsWho builds it and who governs it.labs, open weights, policy
the map

Where everything sits

Six jobs across, eight layers down. Each box is filled from the graph — the terms are the concepts, and every one links to the chapter that explains it. Dashed boxes are open ground. Grey boxes do not apply at all — a GPU does not infer, and an institution does not learn.

Represent
Infer
Learn
Search & planning
Act
Measure
L0 Foundations & theory
L1 Model
open
L2 Data
open
open
open
open
L3 Compute
n/a
n/a
n/a
n/a
n/a
L4 Training
open
L5 Serving & deployment
open
open
L6 Systems, agents & applications
open
open
L7 Ecosystem & institutions
n/a
n/a
n/a
n/a
n/a

swipe to scroll →

Colour marks the job: cyan for information, violet for learning, magenta for decision. Dashed = open. Grey = not applicable.340 concepts, generated from one graph.

Open the full atlas →Every concept →Reading routes →

how we got here

Ninety years, in one line

Two winters, two thaws, and one architecture that ate the field. Fifteen turns that explain the shape of the present — and why the money ran out twice before it worked.

swipe to scroll →

See all 68 moments →

open ground

What we still don't know

These are not footnotes. They are the live edge of the field.

the story

65 chapters, in order

If the map is the territory, this is the walk across it. Each chapter is short, plain, and carries a diagram. Prefer the arc by year? See the timeline →

act I · The Core Question
01What Is Intelligence, Really?intelligence · agent
02Intelligence Is Compressioncompression · prediction
act II · The Substrate
03The Bit: A Yes or a Nobit · uncertainty
04Entropy: The Price of Surpriseentropy · surprise
05Codes: Saying More with Lesssource coding · prefix code
07Distance Between BeliefsKL divergence · mutual information
act III · The Instruments
08Belief, Updatedprobability · Bayes' rule
09Everything Is a Vectorvector · dot product
10Rolling Downhillloss function · gradient descent
11Why Memorising Failsoverfitting · underfitting
12No Free Lunchinductive bias · no free lunch
act IV · The Learning Floor
13How Much Data Is Enough?sample complexity · VC dimension
14The Shortest Explanationminimum description length · Kolmogorov complexity
15The Bottleneckinformation bottleneck · rate-distortion theory
16Why Bigger Worksdouble descent · scaling exponent
act V · The Machines
17Can Machines Think?Turing machine · computability
18The First Neuronneuron · perceptron
19Why Silicon Got Good at Thisparallelism · GPU
act VI · The First Attempts
20Rules All the Way Downsymbolic AI · knowledge representation
21The First WinterAI winter · combinatorial explosion
22Feedback: The Other Treefeedback · control theory
act VII · The Connectionist Turn
23Learning from Blamehidden layer · multilayer perceptron
24Seeing with Windowsconvolution · convolutional neural network
25Memory in a Looprecurrent neural network · LSTM
26Words as Coordinatesword embedding · word2vec
27Learning from Rewardreinforcement learning · policy
act VIII · The Attention Revolution
28Attention Is All You Needattention · transformer
29Breaking Language into Piecestoken · tokeniser
30The Big Readpretraining · self-supervised learning
31More Is Differentscaling law · compute-optimal
32Teaching Tastefine-tuning · instruction tuning
33Noise into Imagesgenerative adversarial network · mode collapse
act IX · The Alignment Layer
34Opening the Black Boxmechanistic interpretability · feature
35Getting the Goal Rightalignment · specification
36How Do We Even Know?benchmark · evaluation
act X · The Agent Infrastructure
37From Answer to Actionagent loop · ReAct
38Hands and Function Callsfunction calling · tool schema
39Memory Outside the Weightsretrieval-augmented generation · vector database
40A Port for ToolsModel Context Protocol · MCP server
41Many Hands, One Joborchestration · workflow
42How Tokens Get Servedinference · KV cache
43A Safe Place to Actsandbox · permission
44Watching the Looptracing · observability
act XI · The Frontier
45Thinking Before Answeringchain-of-thought · reasoning model
46Models of the Worldworld model · model-based RL
47The Open QuestionAGI · superintelligence
act XII · The Open-Weight World
48What 'Open' Meansopen weights · open-source AI
49DeepSeekmixture of experts · multi-head latent attention
50The Chinese Labsmodel family · Qwen
51The Other Open LineagesLlama · Mistral
52The Compute Squeezeexport controls · Huawei Ascend
53Licences and Rulesopen-weight licence · acceptable use policy
54Running One YourselfGGUF · LoRA
55The Open Frontiercommoditisation · open-weight risk
act XIII · Beyond Text
56The Harnessagent harness · harness engineering
57Image Modelslatent diffusion · diffusion transformer
58Omni-Modelsomni-model · any-to-any
59Video Modelsvideo model · temporal consistency
60Audio Modelsaudio model · speech recognition
61World Modelsrenderer · simulator
62Physical AIvision-language-action · action tokenisation
act XIV · AI for Science
63Seeing Structureprotein folding · structure prediction
64Simulating the Worldsurrogate model · neural weather model
65Doing Sciencecontamination