AI, machine learning, deep learning, LLMs
How these words relate, as nested circles, with one real example each.
Video coming soon. The full transcript is below.
Four machines, four words
Four machines. One plays chess. One catches spam. One finds the dog in your photos. And one is a chatbot.
All four of them get called AI.
But one of them, didn't learn its skill. At all.
People wrote it in, by hand.
Which one? Keep a guess in mind.
They also line up with four words. AI, machine learning, deep learning, and large language models.
Most people swap these words freely, as if they all meant the same thing.
They don't. But they aren't four separate things, either.
They fit inside each other. Every large language model is a kind of deep learning.
All deep learning is machine learning. And all machine learning is AI.
But not the other way round.
There's plenty of AI out here, that never learns at all.
So let's walk in from the outside, with one real machine in each ring.
Rules written by people
May, nineteen ninety-seven. IBM's chess computer, Deep Blue, beats the world champion, Garry Kasparov.
How? It looks ahead. Every move it could make, every reply, and every reply to that.
Often around two hundred million positions, every single second.
To judge each position, it adds up scores for things like king safety and pawn structure. About eight thousand of them.
And almost every one of those scores was written and tuned by hand, by its team, with help from a chess grandmaster.
Deep Blue didn't learn chess from experience. People wrote the rules, and it followed them, very, very fast.
So that's the answer to our guess. The chess machine is the one.
And it's still artificial intelligence. A machine doing something we'd call intelligent, if a person did it.
That's roughly how the people who coined the term put it, back in nineteen fifty-five.
Rules learned from examples
Now a different job: spotting spam. You could write rules by hand.
If an email says free prize, it's spam. Caught.
But spammers just change the spelling, and the next one walks straight past your rule.
Machine learning flips the job around. Instead of writing rules, you collect examples. Thousands of emails, each marked spam, or not spam.
The program counts which words turn up in spam, and which in real mail, and sets a dial for each word, by itself.
When spammers invent a new spelling, it shows up in the new examples, and its dial gets learned too.
A fresh email arrives. The filter adds up the dials for its words. Spam.
Filters like this took off around two thousand two. One early filter, on its author's own inbox, missed fewer than five spams in a thousand.
Today's big filters add deep learning on top. But this simpler kind is already machine learning.
The rules come from examples, not from a person.
Learning what to look at
But a person still chose what that filter looks at. The words.
Now, try the same trick on a photo. Is there a dog, in this picture?
So, what are the words, of a photo?
Zoom in, and it's just a grid of numbers. How bright each dot is.
No single number means dog. There's nothing obvious to count.
Deep learning's answer: stack many layers of simple units. Each layer takes in numbers, and passes new numbers on to the next.
The connections between them are set by dials.
Show it millions of labelled photos, and the dials get nudged, a tiny bit at a time, just like last episode.
Nobody tells the layers what to look for.
But in networks like this, early layers end up catching edges, later ones textures, and deeper ones, parts like dog faces.
Deep just means many layers. And the network learns what to look at, by itself.
In twenty thirteen, Google used networks like this to let people search their own photos, without labelling a single one.
The smallest circle
And the smallest circle: large language models. Deep learning again, but for language.
Same layers of dials. But instead of photos, it trains on text, with one job: guess the next piece.
The cat sat on the, mat. Exactly the loop from last episode.
Large is the key word. The photo network that helped kick off the deep learning boom, in twenty twelve, had about sixty million dials.
GPT-3, in twenty twenty, had a hundred and seventy-five billion, stacked in ninety-six layers.
Two years later, a model from that same family was trained to chat.
That became ChatGPT, released in November, twenty twenty-two.
The whole map
So here's the whole map.
Rules written by people. Rules learned from examples. Learned through many layers. And many layers, trained on text.
Try one yourself. AlphaFold predicts the shapes of proteins. Its makers shared the twenty twenty-four Nobel Prize in Chemistry.
It's built with deep learning, but it doesn't read or write language. So where does it go?
Deep learning. But not a large language model.
So next time a headline says AI, ask: which circle?
These days it often means the smallest one. But the word covers all of this.
Next time: how we got from the outer ring to the inner one. From Eliza, to ChatGPT.
Sources and fact-check What was checked, what was corrected, and where it comes from.
Checked 2026-12-01. Every claim in the script is listed with a source. Primary sources are preferred: the original paper, the company's own announcement, or the prize committee.
The nesting itself
- AI ⊃ machine learning ⊃ deep learning is the standard textbook picture. Goodfellow, Bengio & Courville, Deep Learning (MIT Press 2016), Figure 1.4, is a Venn diagram of AI ⊃ machine learning ⊃ representation learning ⊃ deep learning (https://www.deeplearningbook.org/contents/intro.html). We drop the "representation learning" ring for beginners. It is a simplification and is noted in the description.
- Deep learning = many layers that learn their own features. LeCun, Bengio & Hinton, "Deep learning", Nature 521 (2015) (https://doi.org/10.1038/nature14539):
- "computational models that are composed of multiple processing layers to learn representations of data with multiple levels of abstraction"
- "these layers of features are not designed by human engineers: they are learned from data"
- They contrast this with conventional machine learning, which needed hand-designed features to handle raw data. This is the exact contrast the script draws between spam words and photo pixels.
- LLMs ⊂ deep learning. This is true of every model called an LLM today (transformer neural networks). Nuance: the phrase was used earlier for non-neural models. Brants et al., "Large Language Models in Machine Translation" (EMNLP 2007, https://aclanthology.org/D07-1090/), describes huge n-gram count models. The script says "large language models" in today's sense. Not worth a line in the video.
- "AI" has no single agreed definition. The script paraphrases the 1955 Dartmouth proposal, the document that coined the term: "the artificial intelligence problem is taken to be that of making a machine behave in ways that would be called intelligent if a human were so behaving" (McCarthy, Minsky, Rochester, Shannon, 31 Aug 1955, https://www-formal.stanford.edu/jmc/history/dartmouth/dartmouth.html). Safe, because we attribute it as "roughly how the people who coined the term put it".
- Avoided: "the field of study that gives computers the ability to learn without being explicitly programmed", attributed to Arthur Samuel (1959). It is widely quoted, but it does not appear verbatim in his paper. Don't use it.
Ring 1: AI that isn't machine learning, Deep Blue
Source: Campbell, Hoane & Hsu, "Deep Blue", Artificial Intelligence 134 (2002) 57–83 (https://doi.org/10.1016/S0004-3702(01)00129-1), and IBM's history page (https://www.ibm.com/history/deep-blue).
| Claim in script | Verdict | Source / fix |
|---|---|---|
| May 1997, Deep Blue beat Garry Kasparov | ✅ The rematch was in May 1997. Deep Blue won 3.5–2.5 (it lost the 1996 match 4–2). | Campbell 2002 §1; IBM |
| "the world champion" | ✅ with a nuance. Kasparov was the reigning (classical) world champion. The title was split in 1993, and FIDE's champion in 1997 was Karpov. IBM and the paper both say "world champion". | Fine for beginners. |
| "Looks ahead: every move, every reply…" | ✅ Large-scale alpha-beta search, with selective extensions. | Campbell 2002 §2, §4 |
| "Often around two hundred million positions every second" | ⚠️ Hedged. Quiet positions were typically about 200M/s, and tactical ones about 100M/s. The match average (searches over a minute) was 126M/s, and the peak was 330M/s. | Campbell 2002 §1.5. Say "often around two hundred million", not "two hundred million" flat. On screen: "~200,000,000 / sec". |
| Scores positions with features like king safety, pawn structure; about eight thousand | ✅ The chip's evaluation went "from around 6400 features to over 8000". Named features include king safety, pawn structure, passed pawns, rooks on files and mobility. | Campbell 2002 §1.4, §7. On-screen feature names are taken from the paper. |
| "Almost every one of those scores was written and tuned by hand… with help from a chess grandmaster" | ✅ "Although the large majority of the features and weights in the Deep Blue evaluation function were created/tuned by hand, there were two instances where automated analysis tools aided in this process." Grandmaster Joel Benjamin was the team's consultant: new features responded to problems seen in test games against him, and he built most of the opening book by hand. | Campbell 2002 §7.3, §8.1, §1.4. Don't say "no learning at all": one tool used comparison training (a learning method) on pawn-shelter weights. Say "almost every", and "didn't learn chess from experience". |
| Hook: "one of them didn't learn its skill. People wrote it in, by hand." | ⚠️ Slightly simplified. It is true in spirit (the large majority was hand-written, and nothing was learned from its own play). Fully hedged at blue_5 ("almost every one"). | Mention in the video description. |
| Deep Blue is AI | ✅ The canonical example. It was published in the journal Artificial Intelligence and won the Fredkin Prize. | Campbell 2002 |
Ring 2: machine learning that isn't deep learning, the learned spam filter
| Claim in script | Verdict | Source / fix |
|---|---|---|
| Hand-written rules catch spam, but spammers change the spelling | ✅ Graham calls rule-based filtering a pesticide that breeds resistant strains. Earlier Bayesian work also called rule-based filters "of limited utility". | Paul Graham, "A Plan for Spam" (Aug 2002), https://paulgraham.com/spam.html; Sahami, Dumais, Heckerman & Horvitz, "A Bayesian Approach to Filtering Junk E-Mail" (AAAI workshop, 1998), https://www.microsoft.com/en-us/research/publication/a-bayesian-approach-to-filtering-junk-e-mail/ |
| "Collect examples… each marked spam or not spam. The program counts which words turn up in spam and which in real mail, and sets a number for each word by itself." | ✅ Exactly Graham's method. "I start with one corpus of spam and one of nonspam mail", about 4,000 each. It counts each token in each corpus, turns the counts into a spam probability per word, and combines the most telling words. | Graham 2002 |
| New spellings get learned too | ✅ Graham argues Bayesian filters "evolve with the spam". Misspelled words become new tokens with their own probabilities. | Graham 2002 |
| "Filters like this took off around two thousand two" | ✅ with a hedge. Sahami et al. published it in 1998, and Graham's essay (Aug 2002) popularised it. Many open-source Bayesian filters followed. | "took off around" is a fair hedge. |
| "One early filter, on its author's own inbox, missed fewer than five spams in a thousand" | ✅ "we now miss less than 5 per 1000 spams, with 0 false positives." This was on his own mail. | Graham 2002. The script says "its author's own inbox". |
| "Today's big filters add deep learning on top" | ✅ Gmail said TensorFlow models block about 100M extra spam a day, on top of existing ML and rule-based filters (Feb 2019). | https://workspace.google.com/blog/product-announcements/ridding-gmail-of-100-million-more-spam-messages-with-tensorflow. This is why our example is placed as early learned filters, not Gmail. |
| Naive Bayes counting is machine learning, not deep learning | ✅ There is no neural network and no layers. It learns per-word numbers from labelled data. | Standard. |
| "A person still chose what to look at: the words" | ✅ The representation (words as tokens) is designed by people. This is LeCun et al.'s "hand-designed features" contrast. | LeCun 2015 |
| On-screen word numbers ("free 0.92", etc.) | Illustrative, not taken from a real filter. They have the shape of Graham's per-word probabilities (he lists real ones, e.g. "madam 0.99", "sexy 0.99"). | Note in the description. |
Ring 3: deep learning that isn't an LLM, photo search
| Claim in script | Verdict | Source / fix |
|---|---|---|
| A photo is a grid of numbers (brightness) | ✅ Standard. Colour photos have three numbers per pixel. We show greyscale. | Simplification. |
| Stack many layers of simple units; connections are set by numbers (dials) | ✅ Neural network basics. Note: in a convolutional net, weights are shared across positions, so not every connection has its own unique number. The script says "the connections between them are set by dials", not "every connection has its own dial". | LeCun 2015 |
| Trained on labelled photos, numbers nudged a tiny bit at a time | ✅ Supervised training with gradient descent, the same wording as 0.1's fact-check. | 0.1 fact-check |
| "Early layers end up catching edges, later ones textures, deeper ones parts like dog faces" | ✅ For convnets trained on ImageNet. Zeiler & Fergus (2013/ECCV 2014): "Layer 2 responds to corners and other edge/color conjunctions. Layer 3… similar textures… Layer 4… more class-specific: dog faces… Layer 5 shows entire objects". The first layer learns edge-like filters. | https://arxiv.org/abs/1311.2901. Hedged as "in networks like this". |
| "Deep just means many layers" | ✅ | LeCun 2015 ("multiple processing layers") |
| "In twenty thirteen, Google used networks like this to let people search their own photos, without labelling them" | ✅ Google Research blog, 12 Jun 2013, "Improving Photo Search": "you can now easily search your own photos without having to manually label each and every one of them". It used "deep learning and convolutional neural networks", the approach of Hinton's ImageNet-winning team. | https://research.google/blog/improving-photo-search-a-step-across-the-semantic-gap/ |
| The photo network that helped kick off the deep-learning boom (2012) had about sixty million numbers | ✅ AlexNet (Krizhevsky, Sutskever & Hinton, NeurIPS 2012) has "60 million parameters and 650,000 neurons", in 5 convolutional and 3 fully connected layers, and won ILSVRC-2012. "Helped kick off the boom" is a common, fair characterisation. | https://papers.nips.cc/paper/4824 |
Ring 4: large language models
| Claim in script | Verdict | Source / fix |
|---|---|---|
| An LLM is deep learning trained on text to guess the next piece | ✅ Matches 0.1. Pretraining is next-token prediction. | Brown et al. 2020; 0.1 fact-check |
| GPT-3 (2020): a hundred and seventy-five billion parameters, ninety-six layers | ✅ Table 2.1: GPT-3 175B, n_layers = 96, d_model = 12288. It was trained on 300B tokens (not in the script). | Brown et al., "Language Models are Few-Shot Learners", https://arxiv.org/abs/2005.14165 |
| AlexNet → GPT-3 ratio drawn as areas | ✅ 175e9 / 60e6 ≈ 2,917×, so the side ratio is √2917 ≈ 54. The squares are drawn to that ratio. | Computed. |
| "Two years later, a model from that same family was trained to chat… ChatGPT, released November twenty twenty-two" | ✅ "ChatGPT is fine-tuned from a model in the GPT-3.5 series, which finished training in early 2022." It was released 30 Nov 2022. "Same family" (GPT-3 → GPT-3.5) is fair. | https://openai.com/index/chatgpt/ |
Payoff quiz: AlphaFold
| Claim in script | Verdict | Source / fix |
|---|---|---|
| AlphaFold predicts the 3-D shapes of proteins | ✅ | Nobel press release, https://www.nobelprize.org/prizes/chemistry/2024/press-release/; Jumper et al., Nature 596 (2021) |
| Its makers shared the 2024 Nobel Prize in Chemistry | ✅ Hassabis and Jumper shared half "for protein structure prediction", and David Baker got the other half. | Nobel press release. "Shared" is accurate. |
| Built with deep learning, but doesn't read or write language, so it's not an LLM | ✅ It is a deep neural network (it uses attention internally) whose inputs are amino-acid sequences and structures, not human language. Nuance: "protein language models" (e.g. ESM) exist and borrow LLM methods. AlphaFold 2 is not one of them, and it is not called an LLM. | Jumper 2021 |
Framing claims
| Claim in script | Verdict | Fix |
|---|---|---|
| "Most people swap these words freely" | Opinion, broadly observed. | Phrased as people's usage, not a statistic. |
| "These days 'AI' in a headline often means the smallest circle" | Opinion. Hedged with "often". | Fine. |
| "Plenty of AI that never learns" (outer band) | ✅ Search, planning, rule-based expert systems and classic game-tree programs. | Fine. |
What we deliberately simplified (put in the video description)
- The representation-learning ring between ML and deep learning is left out.
- Deep Blue: "almost all" of its features and weights were hand-tuned. Two automated tools helped, one of which used comparison training.
- The spam numbers on screen are illustrative.
- Photos are shown in greyscale. Colour photos have three numbers per pixel.
- "Dials" = parameters (weights), as in 0.1.