Volume 1 / Part 4 Why It Can Do That / Chapter 39
Intelligence as Compression — What Does It Mean to Memorize the Whole Internet?
Ask ChatGPT almost anything and you get a plausible answer back, as if it had read the entire internet and memorized it. But compare the volume of text used to train it against the size of the finished model, and the numbers don't add up — not even close. Looking at this gap through the lens of 'compression' gets us a little closer to understanding what AI intelligence actually is.
Can You Really 'Memorize the Whole Internet'?
Ask an AI like ChatGPT about ancient history or a piece of code, and you'll get an answer that holds together surprisingly well. It feels like it read every scrap of text on the planet and just kept it all in its head.
But stop and think about the scale here. The text on the internet is almost incomprehensibly large. Storing all of it as-is would blow past the capacity of any ordinary computer's hard drive. And yet the model file itself — the thing you're actually running — is often no bigger than the video folder on your phone.
The key to this puzzle is compression. The model isn't memorizing everything whole; it's squeezing something down and tucking it away in a much smaller space. So what does that compression actually look like?
AI doesn't store text verbatim. It compresses it in some way — and that's the angle we'll explore here.
From 45 Terabytes to 570 Gigabytes — What GPT-3's Numbers Tell Us
Let's look at real numbers. OpenAI's 2020 paper on GPT-3 lays out exactly how much data went into training it. Starting from CommonCrawl, a massive collection of web text, the team first assembled 45 terabytes of raw data. After filtering out low-quality text, they narrowed that down to 570 gigabytes of training text.
Here's the important part: 570 gigabytes is still just the amount of text used for training. The size of the model itself — the 'weights' left over once training is done — is a completely different number. GPT-3 has 175 billion parameters, and storing those at 16-bit precision works out to roughly 350 gigabytes, or about 700 gigabytes at 32-bit precision.
So GPT-3 went through two rounds of compression: 45 terabytes of raw data got filtered down to 570 gigabytes of text, and training then turned that text into 350 to 700 gigabytes of weights. This is just one data point from one model, and there's no guarantee later models follow the same ratio. Still, it gives us something concrete to reason about when we talk about text volume versus model size.
The volume of training text and the size of a model's weights are two separate things. For GPT-3, 570 gigabytes of text produced 350 to 700 gigabytes of weights.
Not Rote Memorization — Extracting Patterns
Copying a dictionary word-for-word and internalizing the rules of grammar require wildly different amounts of storage. A dictionary grows with every new word you add. Grammar rules, once learned, apply to word combinations you've never seen before. Training a language model looks a lot more like the second case.
Through hundreds of billions of repetitions of predicting the next word, a model's weights end up encoding not individual sentences but the patterns that connect sentences to each other — how grammar works, how arguments unfold, how one concept relates to another. The reason next-word prediction, which we covered in the last article, can handle translation and summarization too ultimately comes down to this accumulation of patterns.
Because of these patterns, a model can produce sentences that never appeared in its training data in exactly that form, without anything feeling off. We call this 'generalization.' Try it yourself: ask a model something deliberately unlikely, like 'how would a sushi chef from the Edo period write Python code,' and you'll get a visceral sense that it isn't just copy-pasting from some document it read.
Training isn't about memorizing individual sentences. It's about carving the patterns hidden behind those sentences into the weights.
Yet Some of It Sticks — Between Memory and Recall
In an official help article, OpenAI explains that its models don't 'retain a copy' of the text or images they were trained on. The analogy used is a teacher who's studied the material deeply: they can explain the concepts without having the textbook memorized word for word. The weights get updated, but the original text isn't stored anywhere, the explanation goes.
That said, this needs a caveat. In 2021, a research team at Google led by Nicholas Carlini ran a specific attack technique against GPT-2 and found that more than 600 of the generated candidate texts matched training data word for word. Some even reproduced real people's names, phone numbers, and email addresses exactly as they appeared in the original source.
A separate survey adds that this kind of verbatim memorization becomes more likely as model size increases, and especially when the same piece of text appears many times, duplicated, in the training data. So 'doesn't retain the original text' is true as a general rule, but a subset of highly duplicated data is an exception — it can be memorized and reproduced. Pattern extraction and scattered pockets of memorized recall live side by side inside the same model.
Models generally don't retain original text, but research has demonstrated that a portion of highly duplicated data is memorized verbatim and can be reproduced.
What Compression Loses — The Root of Errors
When you save a photo as a JPEG or a song as an MP3, you shrink the file size by throwing away details your eyes and ears barely notice anyway. This is called lossy compression — you can't get the original back, but you save a huge amount of space.
Language model compression has a similar character. Knowledge and patterns that show up frequently get carved firmly into the weights. But rare proper nouns, specific numbers, and minor events are exactly the kind of information that tends to blur or fade during compression. Given that model capacity is limited relative to the sheer volume of training data, it's simply not possible to preserve everything with equal precision.
This is one reason models sometimes produce answers that sound plausible but are factually wrong. The model isn't fabricating lies from nothing — it's assembling the most probable continuation from a memory whose resolution has dropped due to compression. Compression is a useful mechanism, but it comes at the cost of detail. Once you see this not as some flaw unique to AI but as a property baked into compression itself, the picture starts to look a little different.
Losing detail during compression is unavoidable. Many of those plausible-sounding mistakes trace back to this drop in resolution.
Is Intelligence Really Compression? — Sutskever and DeepMind's View
Ilya Sutskever, OpenAI's co-founder, framed neural network training in terms of compression during a 2023 lecture at the Simons Institute. His argument: there's a near one-to-one relationship between being good at predicting something and being good at compressing it.
Backing that idea up, Google DeepMind published a 2024 paper that evaluated large language models as general-purpose, lossless compressors. The results were striking — not just for text, but for images and audio too, language-model-based compression beat out specialized compression algorithms like PNG and FLAC.
That said, this is an experimental result showing a strong correlation between predictive ability and compression ratio — it doesn't prove the claim that 'intelligence is compression' outright. Still, when you trace the whole arc — 45 terabytes of text turning into a few hundred gigabytes of weights, those weights behaving as extracted patterns, and occasionally letting slip a fragment of raw memory — compression starts to feel like a genuinely useful lens for understanding what's going on inside AI.
DeepMind's experiments show that models good at prediction also tend to be good at compression. That's not the same as proving intelligence equals compression.
FAQ
Does AI store the text it was trained on word for word?
OpenAI's official documentation states that models don't retain a copy of the text they were trained on. However, research has confirmed that some highly duplicated text is memorized verbatim and can be reproduced through specific techniques.
Why does AI sometimes give answers that are factually wrong?
Training data gets compressed into a limited amount of weight storage, so rare, fine-grained details lose accuracy more easily than common information. Many plausible-sounding errors are thought to stem from this loss of information during compression.
What's the connection between compression and intelligence?
DeepMind's research showed that language models, when used as general-purpose compressors, outperform specialized algorithms even on images and audio, not just text. This suggests a deep link between prediction skill and compression skill, though it hasn't been proven that intelligence itself is literally compression.
Add more data, more weights, more compute, and performance keeps going up — that's an empirical pattern researchers have actually observed. Next time, we'll look at what this 'scaling law' really means and where its limits lie.
Primary sources
- Language Models are Few-Shot Learners (GPT-3 paper) — Primary source for GPT-3's training data volume (45TB → 570GB)
- Computational Costs of Full Fine-Tuning — Basis for GPT-3's weight size calculations (FP16/FP32)
- How ChatGPT and our foundation models are developed - OpenAI Help Center — OpenAI's official explanation that models don't retain original text
- Extracting Training Data from Large Language Models (USENIX Security 2021) — Empirical research demonstrating verbatim memorization of training data by LLMs
- Training Data Extraction From Pre-trained Language Models: A Survey — Survey on the relationship between model size and memorization
- Notes on "An Observation on Generalization" — Summary of Sutskever's lecture on compression theory
- Language Modeling Is Compression - Google DeepMind — Official DeepMind research showing language models function as compressors
This article organizes general knowledge based on our experience and public sources. Product specs, prices, and regulations reflect the time of writing (October 10, 2026) and may change.