Zenaique

Define the pretraining data wall and its consequence.

Flashcard·Easy·4.0 · 0·~30s·Asked atAmdGoogleOpenAI
Attempt it
TL;DR

The data wall is where unique, high-quality human text runs short of what scaling needs, so growth must come from repetition, wider sources or synthetic data, and quality control becomes the limit.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Think of a gold mine. At first, every shovel of earth holds gold, and the miners dig as fast as they can. Over time the rich veins run out. There is still plenty of rock, but each ton holds less gold, and digging deeper costs more. Training text works the same way. The web holds a huge amount of text, but much of it is junk or copies. The good, original text is limited, and the biggest training runs are close to using all of it. After that point, teams can re-read the same good text a few more times, look for new kinds of text, or have models write new text. Each option helps, and each has a cost.

Key concepts

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Scaling laws say that bigger models need more training tokens. The data wall is the point where the supply of new, high-quality human text can no longer keep up. There is still plenty of raw text on the web. But the clean, original part is limited, and the largest training runs are close to using it.

The consequence is a change in what limits progress. Below the wall, teams mostly decide how much compute to spend. Near it, they must decide how to repeat, widen and generate data, and how to keep quality high while doing so.

Demand: how many tokens scaling asks for

Compute-optimal training uses about 20 tokens per parameter:

Dopt≈20ND_{\text{opt}} \approx 20N

By this rule, a 70B model needs about 1.4T tokens, a 405B model about 8.1T, and a 1T-parameter model about 20T.

Real runs often go well past this. A smaller model trained for longer is cheaper to serve, so teams overtrain: they spend extra training compute to save inference compute later. Llama 3 8B trained on about 15T tokens. That is about 1,900 tokens per parameter, nearly 94 times its compute-optimal count. Llama 3 70B trained on about the same 15T tokens, about 10 times its count. GPT-3 175B, by contrast, trained on about 300B tokens in 2020.

So demand grows from two sides. Frontier models get bigger, which raises the compute-optimal count. And overtraining multiplies the count for models of every size, because inference cost matters more as more people use a model. Training sets grew from about 300B tokens to about 15T tokens, a factor of 50, in about four years.

Every one of those tokens should ideally be new. A token that repeats earlier text teaches less than a fresh one, and the gap grows with each repeat. That is what turns token demand into a data problem.

Supply: how much good text exists
Repetition: the first lever
Wider sources and synthetic data
What changes at the wall
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • Epoch AI estimates about 300T tokens of usable public human text (90% range 100T to 1,000T) and projects that frontier training sets reach it between 2026 and 2032.
  • Llama 3 8B trained on about 15T tokens, close to 1,900 tokens per parameter, far past the compute-optimal count of about 20.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow would you decide how many epochs to allow for each data domain?
A

Count unique deduplicated tokens per domain, compare them with the planned share, and keep valuable domains near or under 4 epochs unless ablations show more repetition still helps.

3 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Thinking the data wall means the internet is out of text. Raw text is plentiful. What runs short is unique, high-quality text. The limit depends on how strictly a team filters and how much it repeats.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Definition of the data wall

  • Compute-optimal token demand and overtraining

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
When does n-gram dedup…
MCQ·Medium