The reflex for a better language model is more parameters. The cheaper lever sits upstream, in the data: two models of identical size differ sharply on held-out text when one trained on a deduplicated, filtered corpus and the other trained on whatever the crawl returned. The difference shows up in one number, and that number has a name.
The trending query Lowering Perplexity Without Scaling reached the Hacker News front page in late November 2026, and the discussion rehearses one of the field's most repeatable results. Perplexity is the standard quality metric for language models, and data quality moves it at constant size. The query reads like an engineer's to-do list, and the posts underneath it describe results at constant parameter counts.
What the number measures
Perplexity measures prediction surprise on held-out text, data the model never trained on. A model assigns a probability to each next token, and perplexity compresses those probabilities into one number: roughly, how many equally likely choices the model faces on average. Lower means the model predicts the text better. The math rewards confidence: spreading probability across many candidate words raises the number, committing to likely words lowers it.
Held-out matters. A model can score brilliantly on text it memorized and badly on anything new, which is why the metric only says something when the evaluation set stayed outside training.
Cleaning moves the curve
Scaling laws relate loss to parameters, data volume, and compute, and they assume data quality holds steady. Feed a model the same pages hundreds of times and quality has stopped holding steady: capacity goes to memorizing repetition.
Deduplication removes exact and near-exact repeats, and quality filtering drops boilerplate and noise. At fixed size the cleaned corpus trains a model with lower perplexity on held-out text, which is why cleaning is the first lever teams reach for before buying compute. A cleaned corpus also trains faster per step, because fewer tokens carry the same information.
Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.
Crawl data arrives with duplicates by the page and by the paragraph: boilerplate footers, cookie notices, and templates repeated across thousands of sites. Filters also drop pages of broken text and machine-generated filler. Repetition teaches a model to continue lists it has already seen, which is a poor skill to reward.
- Deduplicate exact repeats and near-duplicates, at page and paragraph level.
- Filter by quality signals: language, formatting integrity, repetition ratios.
- Balance the remaining mix across domains and languages.
- Re-evaluate on a fixed held-out set so the comparison stays honest.
Every step is a judgment about what the model should spend capacity on, which is why data work behaves like editorial work with an evaluation harness attached.
Fix the inputs, then buy capacity
The ordering matters because capacity amplifies whatever it is given: more parameters on a dirty corpus memorize more junk, faster. Clean inputs first, and every later parameter earns its keep on signal. The same order applies to any measured system: instruments first, upgrades second.
The lesson is to measure the right metric, fix the inputs, and only then grow the system. Perplexity at fixed size is the cheap experiment that tells you whether capacity was the bottleneck at all.
Key takeaways
- Perplexity measures a model's surprise on held-out text, and lower means better prediction.
- The metric only means something when the evaluation set never appeared in training.
- Deduplication and quality filtering reliably lower perplexity at fixed model size.
- Scaling laws assume constant data quality, and repeated or dirty data bends the curve.
- Clean inputs first, then add capacity, so new parameters train on signal instead of repetition.
Quick answers
What is perplexity?
A measure of how surprised a model is by unseen text; lower means it predicts better.
Why hold evaluation data out?
Text seen in training can be memorized, so only held-out text measures real prediction.
What does deduplication remove?
Exact repeats and near-duplicates at page and paragraph level, including cross-site boilerplate.
Does cleaning beat scaling?
At fixed size it reliably lowers perplexity, and it changes what additional capacity learns from.
What is the first experiment to run?
Clean the corpus, retrain at the same size, and compare perplexity on a fixed held-out set.
One thing to do tonight
Take any text collection you work with tonight and search it for one duplicated paragraph. Finding the same sentences five times in a small corpus makes the deduplication case at industrial scale obvious.